Extends
Methods
copy(extra) → {module:eclairjs/ml.Transformer}
Parameters:
Name | Type | Description |
---|---|---|
extra |
module:eclairjs/ml/param.ParamMap |
- Overrides:
- Source:
Returns:
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 |
- 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: