public class PCA extends hex.ModelBuilder<PCAModel,PCAModel.PCAParameters,PCAModel.PCAOutput>
Modifier and Type | Class and Description |
---|---|
class |
PCA.EmbeddedGLRM |
class |
PCA.EmbeddedSVD |
static class |
PCA.Initialization |
hex.ModelBuilder.BuilderVisibility, hex.ModelBuilder.ValidationMessage
_messages, _nclass, _offset, _parms, _response, _train, _valid, _vresponse, _weights
Constructor and Description |
---|
PCA(PCAModel.PCAParameters parms) |
Modifier and Type | Method and Description |
---|---|
hex.ModelBuilder.BuilderVisibility |
builderVisibility() |
hex.ModelCategory[] |
can_build() |
protected void |
checkMemoryFootPrint() |
static double[][] |
formGram(double[][] x) |
static double[][] |
formGram(double[][] x,
boolean transpose)
Given a n by k matrix X, form its Gram matrix
|
void |
init(boolean expensive) |
hex.schemas.ModelBuilderSchema |
schema() |
water.Job<PCAModel> |
trainModel() |
clearInitState, computePriorClassDistribution, createModelBuilder, error_count, error, getAlgo, getAlgo, getAlgo, getAlgoFullName, getModelBuilder, getModelBuilders, getModelClass, hasOffset, hasWeights, hide, ignoreBadColumns, ignoreStringColumns, info, isClassifier, isSupervised, nclasses, registerModelBuilder, response, responseMean, separateFeatureVecs, train, updateValidationMessages, valid, validationErrors, vresponse, warn
cancel, cancel, checksum_impl, createProgressKey, deleteProgressKey, dest, done, failed, get, isCancelledOrCrashed, isDone, isRunning, isRunning, isStopped, jobs, msec, progress_msg, progress, remove_impl, start, update, update, update, update
checksum, getBinarySerializer, getPublishedKeys, remove, remove, remove, remove
public PCA(PCAModel.PCAParameters parms)
public hex.schemas.ModelBuilderSchema schema()
schema
in class hex.ModelBuilder<PCAModel,PCAModel.PCAParameters,PCAModel.PCAOutput>
public water.Job<PCAModel> trainModel()
trainModel
in class hex.ModelBuilder<PCAModel,PCAModel.PCAParameters,PCAModel.PCAOutput>
public hex.ModelCategory[] can_build()
can_build
in class hex.ModelBuilder<PCAModel,PCAModel.PCAParameters,PCAModel.PCAOutput>
public hex.ModelBuilder.BuilderVisibility builderVisibility()
builderVisibility
in class hex.ModelBuilder<PCAModel,PCAModel.PCAParameters,PCAModel.PCAOutput>
protected void checkMemoryFootPrint()
checkMemoryFootPrint
in class hex.ModelBuilder<PCAModel,PCAModel.PCAParameters,PCAModel.PCAOutput>
public void init(boolean expensive)
init
in class hex.ModelBuilder<PCAModel,PCAModel.PCAParameters,PCAModel.PCAOutput>
public static double[][] formGram(double[][] x, boolean transpose)
x
- Matrix of real numberstranspose
- If true, compute n by n Gram of rows = XX'
If false, compute k by k Gram of cols = X'Xpublic static double[][] formGram(double[][] x)