public class PCAParametersV3 extends ModelParametersSchemaV3
| Modifier and Type | Field and Description |
|---|---|
boolean |
computeMetrics
Whether to compute metrics on the training data
|
boolean |
imputeMissing
Whether to impute missing entries with the column mean
|
int |
k
Rank of matrix approximation
|
int |
maxIterations
Maximum training iterations
|
PCAImplementation |
pcaImpl
Specify the implementation to use for computing PCA (via SVD or EVD): MTJ_EVD_DENSEMATRIX - eigenvalue
decompositions for dense matrix using MTJ; MTJ_EVD_SYMMMATRIX - eigenvalue decompositions for symmetric matrix
using MTJ; MTJ_SVD_DENSEMATRIX - singular-value decompositions for dense matrix using MTJ; JAMA - eigenvalue
decompositions for dense matrix using JAMA.
|
PCAMethod |
pcaMethod
Specify the algorithm to use for computing the principal components: GramSVD - uses a distributed computation of
the Gram matrix, followed by a local SVD; Power - computes the SVD using the power iteration method
(experimental); Randomized - uses randomized subspace iteration method; GLRM - fits a generalized low-rank model
with L2 loss function and no regularization and solves for the SVD using local matrix algebra (experimental)
|
long |
seed
RNG seed for initialization
|
DataInfoTransformType |
transform
Transformation of training data
|
boolean |
useAllFactorLevels
Whether first factor level is included in each categorical expansion
|
categoricalEncoding, checkpoint, customMetricFunc, distribution, exportCheckpointsDir, foldAssignment, foldColumn, huberAlpha, ignoreConstCols, ignoredColumns, keepCrossValidationFoldAssignment, keepCrossValidationModels, keepCrossValidationPredictions, maxCategoricalLevels, maxRuntimeSecs, modelId, nfolds, offsetColumn, parallelizeCrossValidation, quantileAlpha, responseColumn, scoreEachIteration, stoppingMetric, stoppingRounds, stoppingTolerance, trainingFrame, tweediePower, validationFrame, weightsColumn| Constructor and Description |
|---|
PCAParametersV3()
Public constructor
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
toString()
Return the contents of this object as a JSON String.
|
public DataInfoTransformType transform
@SerializedName(value="pca_method") public PCAMethod pcaMethod
@SerializedName(value="pca_impl") public PCAImplementation pcaImpl
public int k
@SerializedName(value="max_iterations") public int maxIterations
public long seed
@SerializedName(value="use_all_factor_levels") public boolean useAllFactorLevels
@SerializedName(value="compute_metrics") public boolean computeMetrics
@SerializedName(value="impute_missing") public boolean imputeMissing
public java.lang.String toString()
toString in class ModelParametersSchemaV3