Tree-Based Regression (Decision Tree, Gradient Boosting)
quantlib-ml
Tree-Based Regression (Decision Tree, Gradient Boosting)
Fits tree-based regression models. Decision trees for interpretability and non-linear relationships, gradient boosting for maximum predictive power. Returns predictions and optional feature importances. [Tier: ENTERPRISE, Credits: 10]
POST
Tree-Based Regression (Decision Tree, Gradient Boosting)
Authorizations
API key for authentication. Get your key at https://api.fincept.in/auth/register
Body
application/json
Feature matrix
Example:
[
[1.2, 0.5, 3.1],
[2.1, 1.3, 2.5],
[0.8, 0.9, 4.2]
]Continuous target values
Example:
[0.35, 0.42, 0.28]Tree method
Available options:
tree, gradient_boosting Example:
"gradient_boosting"
Maximum tree depth
Example:
3
Number of trees (for gradient boosting)
Example:
50
Learning rate (for gradient boosting)
Example:
0.05
Optional feature matrix for prediction
Example:
[[1.5, 0.7, 3.3]]