public class PCAModel extends hex.Model<PCAModel,PCAModel.PCAParameters,PCAModel.PCAOutput>
| Modifier and Type | Class and Description |
|---|---|
static class |
PCAModel.PCAOutput |
static class |
PCAModel.PCAParameters |
| Constructor and Description |
|---|
PCAModel(water.Key selfKey,
PCAModel.PCAParameters parms,
PCAModel.PCAOutput output) |
| Modifier and Type | Method and Description |
|---|---|
hex.ModelMetrics.MetricBuilder |
makeMetricBuilder(java.lang.String[] domain) |
protected water.fvec.Frame |
predictScoreImpl(water.fvec.Frame orig,
water.fvec.Frame adaptedFr,
java.lang.String destination_key) |
protected double[] |
score0(double[] data,
double[] preds) |
protected water.util.SB |
toJavaInit(water.util.SB sb,
water.util.SB fileContextSB) |
protected void |
toJavaPredictBody(water.util.SB bodySb,
water.util.SB classCtxSb,
water.util.SB fileCtxSb) |
adaptTestForTrain, adaptTestForTrain, addMetrics, addWarning, checksum_impl, cleanup_adapt, defaultThreshold, delete, deviance, getPublishedKeys, isSupervised, remove_impl, score, score, score, score0, score0, score0, scoreMetrics, testJavaScoring, toJava, toJava, toJavaCheckTooBig, toJavaNCLASSES, toJavaPROB, toJavaSuper, toStringdelete_and_lock, delete, delete, read_lock, read_lock, unlock_all, unlock, update, write_lockchecksum, getBinarySerializer, remove, remove, remove, removepublic PCAModel(water.Key selfKey,
PCAModel.PCAParameters parms,
PCAModel.PCAOutput output)
public hex.ModelMetrics.MetricBuilder makeMetricBuilder(java.lang.String[] domain)
makeMetricBuilder in class hex.Model<PCAModel,PCAModel.PCAParameters,PCAModel.PCAOutput>protected water.fvec.Frame predictScoreImpl(water.fvec.Frame orig,
water.fvec.Frame adaptedFr,
java.lang.String destination_key)
predictScoreImpl in class hex.Model<PCAModel,PCAModel.PCAParameters,PCAModel.PCAOutput>protected double[] score0(double[] data,
double[] preds)
score0 in class hex.Model<PCAModel,PCAModel.PCAParameters,PCAModel.PCAOutput>protected water.util.SB toJavaInit(water.util.SB sb,
water.util.SB fileContextSB)
toJavaInit in class hex.Model<PCAModel,PCAModel.PCAParameters,PCAModel.PCAOutput>protected void toJavaPredictBody(water.util.SB bodySb,
water.util.SB classCtxSb,
water.util.SB fileCtxSb)
toJavaPredictBody in class hex.Model<PCAModel,PCAModel.PCAParameters,PCAModel.PCAOutput>