<!-- Copyright 2020 The TensorFlow Lattice Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
=============================================================================-->
# TensorFlow Lattice
TensorFlow Lattice is a library that implements constrained and interpretable
lattice based models. It is an implementation of
[Monotonic Calibrated Interpolated Look-Up Tables](http://jmlr.org/papers/v17/15-243.html)
in [TensorFlow](https://www.tensorflow.org).
The library enables you to inject domain knowledge into
the learning process through common-sense or policy-driven shape constraints.
This is done using a collection of Keras layers that can satisfy constraints
such as monotonicity, convexity and pairwise trust:
* PWLCalibration: piecewise linear calibration of signals.
* CategoricalCalibration: mapping of categorical inputs into real values.
* Lattice: interpolated look-up table implementation.
* Linear: linear function with monotonicity and norm constraints.
The library also provides easy to setup canned estimators for common use cases:
* Calibrated Linear
* Calibrated Lattice
* Random Tiny Lattices (RTL)
* Crystals
With TF Lattice you can use domain knowledge to better extrapolate to the parts
of the input space not covered by the training dataset. This helps avoid
unexpected model behaviour when the serving distribution is different from the
training distribution.
<div align="center">
<img src="docs/images/model_comparison.png">
</div>
You can install our prebuilt pip package using
```bash
pip install tensorflow-lattice
```
没有合适的资源?快使用搜索试试~ 我知道了~
tensorflow_lattice-2.0.1.tar.gz
需积分: 1 0 下载量 5 浏览量
2024-03-02
12:33:29
上传
评论
收藏 116KB GZ 举报
温馨提示
共35个文件
py:27个
txt:4个
pkg-info:2个
TensorFlow是一个开放源代码的软件库,用于进行高性能数值计算。通过其灵活的架构,它允许用户轻松地部署计算工作在各种平台(CPUs、GPUs、TPUs)上,无论是在桌面、服务器还是移动设备上。TensorFlow最初由Google Brain团队(属于Google的人工智能部门)开发,并在2015年被发布到Apache 2.0开源许可证下。 TensorFlow的主要特点包括它的高度灵活性、可扩展性和可移植性。它支持从小到大的各种计算,从手机应用到复杂的机器学习系统。TensorFlow提供了一个全面的、灵活的生态系统的库、工具和社区资源,使研究人员能够推动人工智能领域的最前沿,并使开发人员能够轻松构建和部署由机器学习驱动的应用。 TensorFlow的核心是使用数据流图来表示计算。在数据流图中,节点表示在数据上执行的操作,而图中的边表示在操作之间流动的数据。这种表示法允许TensorFlow有效地执行并行计算,并且可以在不同的硬件平台上高效运行。此外,TensorFlow支持自动微分,这对于实现复杂的机器学习算法(如深度学习网络)至关重要。
资源推荐
资源详情
资源评论
收起资源包目录
tensorflow_lattice-2.0.1.tar.gz (35个子文件)
tensorflow_lattice-2.0.1
setup.py 3KB
PKG-INFO 2KB
tensorflow_lattice
__init__.py 1KB
layers
__init__.py 987B
python
utils.py 6KB
__init__.py 727B
model_info.py 3KB
pwl_calibration_test.py 41KB
pwl_calibration_lib.py 40KB
lattice_test.py 50KB
lattice_lib.py 91KB
test_utils.py 10KB
categorical_calibration_test.py 11KB
estimators.py 92KB
pwl_calibration_layer.py 37KB
visualization.py 18KB
lattice_layer.py 35KB
categorical_calibration_lib.py 6KB
parallel_combination_layer.py 6KB
linear_test.py 20KB
linear_lib.py 11KB
categorical_calibration_layer.py 11KB
configs_test.py 5KB
linear_layer.py 12KB
utils_test.py 2KB
configs.py 35KB
estimators_test.py 29KB
parallel_combination_test.py 5KB
setup.cfg 38B
tensorflow_lattice.egg-info
SOURCES.txt 1KB
top_level.txt 19B
PKG-INFO 2KB
requires.txt 84B
dependency_links.txt 1B
README.md 2KB
共 35 条
- 1
资源评论
程序员Chino的日记
- 粉丝: 2876
- 资源: 4万+
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功