Skip to main content
POST
Ensemble Regression (Random Forest, Gradient Boosting)

Authorizations

X-API-Key
string
header
required

API key for authentication. Get your key at https://api.fincept.in/auth/register

Body

application/json
X
number[][]
required

Feature matrix

Example:
y
number[]
required

Continuous target values

Example:
method
enum<string>
default:random_forest

Ensemble method

Available options:
random_forest,
gradient_boosting
Example:

"gradient_boosting"

n_estimators
integer
default:100

Number of trees

Example:

100

max_depth
integer
default:5

Maximum tree depth

Example:

5

predict_X
number[][]

Optional feature matrix for prediction

Example:

Response

Ensemble regression results

success
boolean
Example:

true

data
object