Constructor
new MultilayerPerceptronClassifier(uidopt)
Parameters:
Name |
Type |
Attributes |
Description |
uid |
string
|
<optional>
|
|
- Source:
Extends
Methods
Block size for stacking input data in matrices to speed up the computation.
Data is stacked within partitions. If block size is more than remaining data in
a partition then it is adjusted to the size of this data. Recommended size is between 10 and 1000. Default: 128
- Source:
Returns:
-
Type
-
module:eclairjs/ml/param.IntArrayParam
Parameters:
- Overrides:
- Source:
Returns:
-
Type
-
module:eclairjs/ml/classification.MultilayerPerceptronClassifier
- Inherited From:
- Source:
Returns:
-
Type
-
module:eclairjs/ml/param.ParamMap
Param for features column name.
- Source:
Returns:
-
Type
-
module:eclairjs/ml/param.Param
Fits a model to the input data.
Parameters:
- Inherited From:
- Source:
Returns:
fitted model
-
Type
-
module:eclairjs/ml.Estimator
|
module:eclairjs/ml/feature.Bucketizer
getBlockSize() → {integer}
- Source:
Returns:
-
Type
-
integer
getFeaturesCol() → {string}
- Source:
Returns:
-
Type
-
string
getLabelCol() → {string}
- Source:
Returns:
-
Type
-
string
getLayers() → {Array.<integer>}
- Source:
Returns:
-
Type
-
Array.<integer>
getPredictionCol() → {string}
- Source:
Returns:
-
Type
-
string
Param for label column name.
- Source:
Returns:
-
Type
-
module:eclairjs/ml/param.Param
Layer sizes including input size and output size. Default: Array(1, 1)
- Source:
Returns:
-
Type
-
module:eclairjs/ml/param.IntArrayParam
Param for prediction column name.
- Source:
Returns:
-
Type
-
module:eclairjs/ml/param.Param
Parameters:
Name |
Type |
Description |
value |
integer
|
|
- Source:
Returns:
-
Type
-
module:eclairjs/ml/classification.MultilayerPerceptronClassifier
Parameters:
Name |
Type |
Description |
value |
string
|
|
- Inherited From:
- Source:
Returns:
-
Type
-
module:eclairjs/ml.Predictor
Parameters:
Name |
Type |
Description |
value |
string
|
|
- Inherited From:
- Source:
Returns:
-
Type
-
module:eclairjs/ml.Predictor
Parameters:
Name |
Type |
Description |
value |
Array.<integer>
|
|
- Source:
Returns:
-
Type
-
module:eclairjs/ml/classification.MultilayerPerceptronClassifier
Set the maximum number of iterations.
Default is 100.
Parameters:
Name |
Type |
Description |
value |
integer
|
|
- Source:
Returns:
-
Type
-
module:eclairjs/ml/classification.MultilayerPerceptronClassifier
Parameters:
Name |
Type |
Description |
value |
string
|
|
- Inherited From:
- Source:
Returns:
-
Type
-
module:eclairjs/ml.Predictor
Set the seed for weights initialization.
Parameters:
Name |
Type |
Description |
value |
integer
|
|
- Source:
Returns:
-
Type
-
module:eclairjs/ml/classification.MultilayerPerceptronClassifier
Set the convergence tolerance of iterations.
Smaller value will lead to higher accuracy with the cost of more iterations.
Default is 1E-4.
Parameters:
Name |
Type |
Description |
value |
float
|
|
- Source:
Returns:
-
Type
-
module:eclairjs/ml/classification.MultilayerPerceptronClassifier
Parameters:
- Inherited From:
- Source:
Returns:
-
Type
-
module:eclairjs/sql/types.StructType
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:
- Source:
Returns:
-
Type
-
module:eclairjs/sql/types.StructType