TensorFlow Lattice 是一个实现受限且可解释的基于格子的模型的库。该库使您能够通过常识或策略驱动的 形状约束 将领域知识注入学习过程。这是通过使用一系列 Keras 层 来完成的,这些层可以满足诸如单调性、凸性和特征交互方式之类的约束。该库还提供易于设置的 预制模型。
使用 TF Lattice,您可以利用领域知识更好地推断到训练数据集未涵盖的输入空间部分。这有助于避免在服务分布与训练分布不同时出现意外的模型行为。
[{ "type": "thumb-down", "id": "missingTheInformationINeed", "label":"缺少我需要的信息" },{ "type": "thumb-down", "id": "tooComplicatedTooManySteps", "label":"太复杂/步骤太多" },{ "type": "thumb-down", "id": "outOfDate", "label":"过时" },{ "type": "thumb-down", "id": "samplesCodeIssue", "label":"示例/代码问题" },{ "type": "thumb-down", "id": "otherDown", "label":"其他" }]
[{ "type": "thumb-up", "id": "easyToUnderstand", "label":"易于理解" },{ "type": "thumb-up", "id": "solvedMyProblem", "label":"解决了我的问题" },{ "type": "thumb-up", "id": "otherUp", "label":"其他" }]