Skip to content

Train Classifier (Decision Tree) Node

AI/ML/Classification

Train Classifier (Decision Tree)

Fit/Train a Decision Tree classifier. Native multi-class support with interpretable rules.

fit_decision_treeml
Inputs4
Outputs2
Security exposure4/10
Packageml

Ratings

Scores range from 0 to 10. Higher values mean more impact, exposure, or operational weight.

SecurityAttack surface and exposure impact.
4/10Medium
PrivacyPotential sensitivity of processed data.
4/10Medium
PerformanceRuntime or resource pressure.
2/10High
GovernancePolicy, audit, or compliance impact.
3/10High
ReliabilityOperational stability considerations.
3/10High
CostExternal or compute cost impact.
2/10High

Input Pins

4

Input

Execution
exec_in

Execution trigger that begins Decision Tree training

Data Source

String
source

Choose which backend supplies the training data

Default Database
Database

Max Depth

Integer
max_depth

Maximum depth of the tree. None means unlimited.

Default 10

Min Samples Split

Integer
min_samples_split

Minimum number of samples required to split a node

Default 2

Output Pins

2

Done

Execution
exec_out

Activated once training completes

Model

Struct
model

Thread-safe handle to the trained Decision Tree classifier

NodeMLModelNodeMLModel1 fields
model_refstringrequired
Schema enforced

Node Info

Internal name
fit_decision_tree
Category
AI/ML/Classification