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() → {float}
- Source:
Returns:
-
Type
-
float
- Source:
Returns:
-
Type
-
module:eclairjs/mllib/tree/loss.Loss
getNumIterations()
- Source:
- Source:
Returns:
-
Type
-
module:eclairjs/mllib/tree/configuration.Strategy
getValidationTol() → {flaot}
- Source:
Returns:
-
Type
-
flaot
setLearningRate(rate)
Parameters:
Name |
Type |
Description |
rate |
float
|
|
- Source:
setLoss(loss)
Parameters:
- Source:
setNumIterations(num)
Parameters:
Name |
Type |
Description |
num |
integer
|
|
- Source:
setTreeStrategy(strategy)
Parameters:
- Source:
setValidationTol(tol)
Parameters:
Name |
Type |
Description |
tol |
float
|
|
- Source: