Extends
Methods
copy(extra) → {object}
Parameters:
Name | Type | Description |
---|---|---|
extra |
module:eclairjs/ml/param.ParamMap |
- Overrides:
- Source:
Returns:
- Type
- object
hasParent() → {boolean}
- Source:
Returns:
- Type
- boolean
parent() → {module:eclairjs/ml.Estimator}
- Source:
Returns:
setParent(parent) → {object}
Sets the parent of this model.
Parameters:
Name | Type | Description |
---|---|---|
parent |
module:eclairjs/ml.Estimator |
- Source:
Returns:
- Type
- object
transform(dataset, paramsopt, …otherParamPairsopt) → {module:eclairjs/sql.Dataset}
Transforms the dataset with optional parameters
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
dataset |
module:eclairjs/sql.Dataset | input dataset | |
params |
module:eclairjs/ml/param.ParamMap | module:eclairjs/ml/param.ParamPair |
<optional> |
additional parameters, overwrite embedded params, overwrite embedded params |
otherParamPairs |
module:eclairjs/ml/param.ParamPair |
<optional> <repeatable> |
other param pairs, Only used if argument two is module:eclairjs/ml/param.ParamPair. Overwrite embedded params |
- Inherited From:
- Source:
Returns:
transformed dataset
transformSchema() → {module:eclairjs/sql/types.StructType}
Check transform validity and derive the output schema from the input schema.
Typical implementation should first conduct verification on schema change and parameter
validity, including complex parameter interaction checks. * @param {module:eclairjs/sql/types.StructType} schema
- Inherited From:
- Source: