new BoostingStrategy(treeStrategy, loss, numIterations, learningRate, validationTol)
Parameters:
- Source:
Methods
Returns default configuration for the boosting algorithm
Parameters:
Name |
Type |
Description |
algo |
string
|
Learning goal. Supported: "Classification" or "Regression" |
- Source:
Returns:
Configuration for boosting algorithm
-
Type
-
module:eclairjs/mllib/tree/configuration.BoostingStrategy
getLearningRate() → {Promise.<Number>}
- Source:
Returns:
-
Type
-
Promise.<Number>
- Source:
Returns:
-
Type
-
module:eclairjs/mllib/tree/loss.Loss
getNumIterations() → {Promise.<Number>}
- Source:
Returns:
-
Type
-
Promise.<Number>
- Source:
Returns:
-
Type
-
module:eclairjs/mllib/tree/configuration.Strategy
getValidationTol() → {Promise.<Number>}
- Source:
Returns:
-
Type
-
Promise.<Number>
setLearningRate(rate) → {Promise.<void>}
Parameters:
Name |
Type |
Description |
rate |
float
|
|
- Source:
Returns:
-
Type
-
Promise.<void>
setLoss(loss) → {Promise.<void>}
Parameters:
- Source:
Returns:
-
Type
-
Promise.<void>
setNumIterations(num) → {Promise.<void>}
Parameters:
Name |
Type |
Description |
num |
integer
|
|
- Source:
Returns:
-
Type
-
Promise.<void>
setTreeStrategy(strategy) → {Promise.<void>}
Parameters:
- Source:
Returns:
-
Type
-
Promise.<void>
setValidationTol(tol) → {Promise.<void>}
Parameters:
Name |
Type |
Description |
tol |
float
|
|
- Source:
Returns:
-
Type
-
Promise.<void>