Constructor
new PolynomialExpansion(uidopt)
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
uid |
string |
<optional> |
Extends
Methods
(static) load(path) → {module:eclairjs/ml/feature.PolynomialExpansion}
Parameters:
Name | Type | Description |
---|---|---|
path |
string |
Returns:
copy(extra) → {module:eclairjs/ml/feature.PolynomialExpansion}
Parameters:
Name | Type | Description |
---|---|---|
extra |
module:eclairjs/ml/param.ParamMap |
- Overrides:
- Source:
Returns:
degree() → {module:eclairjs/ml/param.IntParam}
The polynomial degree to expand, which should be >= 1. A value of 1 means no expansion. Default: 2
Returns:
getDegree() → {number}
Returns:
- Type
- number
setDegree(value) → {module:eclairjs/ml/feature.PolynomialExpansion}
Parameters:
Name | Type | Description |
---|---|---|
value |
integer |
Returns:
setInputCol(value) → {module:eclairjs/ml.UnaryTransformer}
Parameters:
Name | Type | Description |
---|---|---|
value |
string |
- Inherited From:
- Source:
Returns:
setOutputCol(value) → {module:eclairjs/ml.UnaryTransformer}
Parameters:
Name | Type | Description |
---|---|---|
value |
string |
- Inherited From:
- Source:
Returns:
transform(dataset) → {module:eclairjs/sql.Dataset}
Parameters:
Name | Type | Description |
---|---|---|
dataset |
module:eclairjs/sql.Dataset |
- Inherited From:
- Source:
Returns:
transformSchema(schema) → {module:eclairjs/sql/types.StructType}
Parameters:
Name | Type | Description |
---|---|---|
schema |
module:eclairjs/sql/types.StructType |
- Inherited From:
- Source:
Returns:
uid() → {string}
An immutable unique ID for the object and its derivatives.
Returns:
- Type
- string