Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/TheAlgorithms/Python
/ decision_tree.py
File
decision_tree.py
machine_learning/decision_tree.py:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
""
"
2
Implementation of a basic regression decision tree.
3
Input data set: The input data set must be 1-dimensional
with
continuous labels.
4
Output: The decision tree maps a real number input to a real number output.
Callers
nothing calls this directly
Calls
1
main
Function · 0.70
Tested by
no test coverage detected