Class: BoostingStrategy

eclairjs/mllib/tree/configuration. BoostingStrategy

new BoostingStrategy(treeStrategy, loss, numIterations, learningRate, validationTol)

Parameters:
Name Type Description
treeStrategy module:eclairjs/mllib/tree/configuration.Strategy
loss module:eclairjs/mllib/tree/loss.Loss
numIterations number
learningRate number
validationTol number
Source:

Methods

(static) defaultParams(algo) → {module:eclairjs/mllib/tree/configuration.BoostingStrategy}

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

getLoss() → {module:eclairjs/mllib/tree/loss.Loss}

Source:
Returns:
Type
module:eclairjs/mllib/tree/loss.Loss

getNumIterations()

Source:

getTreeStrategy() → {module:eclairjs/mllib/tree/configuration.Strategy}

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:
Name Type Description
loss module:eclairjs/mllib/tree/loss.Loss
Source:

setNumIterations(num)

Parameters:
Name Type Description
num integer
Source:

setTreeStrategy(strategy)

Parameters:
Name Type Description
strategy module:eclairjs/mllib/tree/configuration.Strategy
Source:

setValidationTol(tol)

Parameters:
Name Type Description
tol float
Source: