Constructor
new PCAModel(pc)
Parameters:
Name |
Type |
Description |
pc |
|
A principal components Matrix. Each column is one principal component. |
- Source:
Methods
(static) load(path) → {module:eclairjs/mllib/feature.PCAModel}
Parameters:
Name |
Type |
Description |
path |
string
|
|
- Source:
Returns:
-
Type
-
module:eclairjs/mllib/feature.PCAModel
(static) read() → {MLReader}
- Source:
Returns:
-
Type
-
MLReader
copy(extra) → {module:eclairjs/mllib/feature.PCAModel}
Parameters:
- Source:
Returns:
-
Type
-
module:eclairjs/mllib/feature.PCAModel
Parameters:
Name |
Type |
Description |
value |
string
|
|
- Source:
Returns:
-
Type
-
module:eclairjs/mllib/feature.PCAModel
setOutputCol(value) → {module:eclairjs/mllib/feature.PCAModel}
Parameters:
Name |
Type |
Description |
value |
string
|
|
- Source:
Returns:
-
Type
-
module:eclairjs/mllib/feature.PCAModel
Transform a vector by computed Principal Components.
NOTE: Vectors to be transformed must be the same length
as the source vectors given to [[PCA.fit()]].
Parameters:
- Source:
Returns:
-
Type
-
module:eclairjs/sql.Dataset
Parameters:
- Source:
Returns:
-
Type
-
module:eclairjs/sql/types.StructType
- Source:
Returns:
-
Type
-
MLWriter