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
- Source:
Returns:
-
Type
-
module:eclairjs/ml/util.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:
Name |
Type |
Description |
schema |
StructType
|
|
- Source:
Returns:
-
Type
-
StructType
uid() → {string}
An immutable unique ID for the object and its derivatives.
- Source:
Returns:
-
Type
-
string
- Source:
Returns:
-
Type
-
module:eclairjs/ml/util.MLWriter