Constructor
new GBTRegressionModel(trees, treeWeights)
Parameters:
Name |
Type |
Description |
trees |
Array.<DecisionTreeRegressionModel>
|
Decision trees in the ensemble. |
treeWeights |
Array.<float>
|
Weights for the decision trees in the ensemble. |
- Source:
Extends
Methods
Parameters:
Name |
Type |
Description |
path |
string
|
|
- Source:
Returns:
-
Type
-
module:eclairjs/ml/regression.GBTRegressionModel
- Source:
Returns:
-
Type
-
module:eclairjs/ml/util.MLReader
Parameters:
- Overrides:
- Source:
Returns:
-
Type
-
module:eclairjs/ml/regression.GBTRegressionModel
Param for features column name.
- Inherited From:
- Source:
Returns:
-
Type
-
module:eclairjs/ml/param.Param
getFeaturesCol() → {string}
- Inherited From:
- Source:
Returns:
-
Type
-
string
getLabelCol() → {string}
- Inherited From:
- Source:
Returns:
-
Type
-
string
getPredictionCol() → {string}
- Inherited From:
- Source:
Returns:
-
Type
-
string
hasParent() → {boolean}
- Inherited From:
- Source:
Returns:
-
Type
-
boolean
Param for label column name.
- Inherited From:
- Source:
Returns:
-
Type
-
module:eclairjs/ml/param.Param
numFeatures() → {integer}
- Inherited From:
- Source:
Returns:
-
Type
-
integer
- Inherited From:
- Source:
Returns:
-
Type
-
module:eclairjs/ml.Estimator
Param for prediction column name.
- Inherited From:
- Source:
Returns:
-
Type
-
module:eclairjs/ml/param.Param
setFeaturesCol(value) → {object}
Parameters:
Name |
Type |
Description |
value |
string
|
|
- Inherited From:
- Source:
Returns:
-
Type
-
object
setParent(parent) → {object}
Sets the parent of this model.
Parameters:
- Inherited From:
- Source:
Returns:
-
Type
-
object
setPredictionCol(value) → {object}
Parameters:
Name |
Type |
Description |
value |
string
|
|
- Inherited From:
- Source:
Returns:
-
Type
-
object
toDebugString() → {string}
- Source:
Returns:
-
Type
-
string
toString() → {string}
- Source:
Returns:
-
Type
-
string
Transforms dataset by reading from featuresCol, calling [[predict()]], and storing
the predictions as a new column predictionCol.
Parameters:
- Inherited From:
- Source:
Returns:
transformed dataset with [[predictionCol]] of type [[Double]]
-
Type
-
module:eclairjs/sql.Dataset
Parameters:
- Inherited From:
- Source:
Returns:
-
Type
-
module:eclairjs/sql/types.StructType
trees() → {Array.<DecisionTreeModel>}
- Source:
Returns:
-
Type
-
Array.<DecisionTreeModel>
treeWeights() → {Array.<float>}
- Source:
Returns:
-
Type
-
Array.<float>
uid() → {string}
An immutable unique ID for the object and its derivatives.
- Source:
Returns:
-
Type
-
string
Validates and transforms the input schema with the provided param map.
Parameters:
- Inherited From:
- Source:
Returns:
-
Type
-
module:eclairjs/sql/types.StructType
- Source:
Returns:
-
Type
-
module:eclairjs/ml/util.MLWriter