public class PCA extends hex.ModelBuilder<PCAModel,PCAModel.PCAParameters,PCAModel.PCAOutput>
| Modifier and Type | Class and Description |
|---|---|
static class |
PCA.Initialization |
| Constructor and Description |
|---|
PCA(PCAModel.PCAParameters parms) |
| Modifier and Type | Method and Description |
|---|---|
hex.ModelBuilder.BuilderVisibility |
builderVisibility() |
hex.Model.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, createModelBuilder, error_count, error, getAlgo, getAlgo, getAlgo, getAlgoFullName, getModelBuilder, getModelBuilders, getModelClass, hide, info, registerModelBuilder, train, valid, validationErrors, warncancel, cancel, checksum_impl, dest, done, failed, get, isCancelledOrCrashed, isDone, isRunning, isRunning, isStopped, jobs, msec, onCancelled, progress_msg, progress, remove_impl, start, update, update, update, updatepublic 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.Model.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)