Constructor
new PCA(uidopt)
Parameters:
Name |
Type |
Attributes |
Description |
uid |
string
|
<optional>
|
|
- Source:
Methods
(static) load(path) → {module:eclairjs/mllib/feature.PCA}
Parameters:
Name |
Type |
Description |
path |
string
|
|
- Source:
Returns:
-
Type
-
module:eclairjs/mllib/feature.PCA
copy(extra) → {module:eclairjs/mllib/feature.PCA}
Parameters:
- Source:
Returns:
-
Type
-
module:eclairjs/mllib/feature.PCA
fit(dataset) → {module:eclairjs/mllib/feature.PCAModel}
Computes a PCAModel that contains the principal components of the input vectors.
Parameters:
- Source:
Returns:
-
Type
-
module:eclairjs/mllib/feature.PCAModel
Parameters:
Name |
Type |
Description |
value |
string
|
|
- Source:
Returns:
-
Type
-
module:eclairjs/mllib/feature.PCA
setK(value) → {module:eclairjs/mllib/feature.PCA}
Parameters:
Name |
Type |
Description |
value |
number
|
|
- Source:
Returns:
-
Type
-
module:eclairjs/mllib/feature.PCA
setOutputCol(value) → {module:eclairjs/mllib/feature.PCA}
Parameters:
Name |
Type |
Description |
value |
string
|
|
- Source:
Returns:
-
Type
-
module:eclairjs/mllib/feature.PCA
Parameters:
- Source:
Returns:
-
Type
-
module:eclairjs/sql/types.StructType
uid() → {string}
An immutable unique ID for the object and its derivatives.
- Source:
Returns:
-
Type
-
string