New! Use Simple ML for Sheets to apply machine learning to the data in your Google Sheets
Read More
Module: tfdf.py_tree
Stay organized with collections
Save and categorize content based on your preferences.
Decision trees stored as python objects.
To be used with the model inspector and model builder.
Modules
condition
module: Conditions / splits for non-leaf nodes.
dataspec
module: Utility for the dataset specification.
node
module: Nodes (leaf and non-leafs) in a tree.
objective
module: Definition of a model objective.
tree
module: A decision tree.
value
module: The value/prediction/output of a leaf node.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-04-26 UTC.
[null,null,["Last updated 2024-04-26 UTC."],[],[],null,["# Module: tfdf.py_tree\n\n\u003cbr /\u003e\n\n|---------------------------------------------------------------------------------------------------------------------------------------------|\n| [View source on GitHub](https://github.com/tensorflow/decision-forests/blob/main/tensorflow_decision_forests/component/py_tree/__init__.py) |\n\nDecision trees stored as python objects.\n\nTo be used with the model inspector and model builder.\n\nModules\n-------\n\n[`condition`](../tfdf/py_tree/condition) module: Conditions / splits for non-leaf nodes.\n\n[`dataspec`](../tfdf/py_tree/dataspec) module: Utility for the dataset specification.\n\n[`node`](../tfdf/py_tree/node) module: Nodes (leaf and non-leafs) in a tree.\n\n[`objective`](../tfdf/py_tree/objective) module: Definition of a model objective.\n\n[`tree`](../tfdf/py_tree/tree) module: A decision tree.\n\n[`value`](../tfdf/py_tree/value) module: The value/prediction/output of a leaf node."]]