hex
Class DPCA.PCAModel

java.lang.Object
  extended by water.Iced
      extended by water.OldModel
          extended by hex.DPCA.PCAModel
All Implemented Interfaces:
java.lang.Cloneable, Freezable
Enclosing class:
DPCA

public static class DPCA.PCAModel
extends OldModel


Field Summary
 double[] _cumVar
           
 double[][] _eigVec
           
 int _num_pc
           
 DPCA.PCAParams _pcaParams
           
 double[] _propVar
           
 int _rank
           
 double[] _sdev
           
static java.lang.String KEY_PREFIX
           
static java.lang.String NAME
           
 
Fields inherited from class water.OldModel
_dataKey, _selfKey, _va, DOC_FIELDS
 
Constructor Summary
DPCA.PCAModel(DGLM.GLMModel.Status status, float progress, Key k, NewRowVecTask.DataFrame data, double[] sdev, double[] propVar, double[] cumVar, double[][] eigVec, int rank, int response, int num_pc, DPCA.PCAParams pcaps)
           
DPCA.PCAModel(DGLM.GLMModel.Status status, float progress, Key k, ValueArray ary, int[] colIds, int[] colCatMap, double[] sdev, double[] propVar, double[] cumVar, double[][] eigVec, int rank, int response, int num_pc, DPCA.PCAParams pcap)
           
 
Method Summary
 boolean columnFilter(ValueArray.Column C)
           
 java.lang.String error()
           
static Key makeKey()
           
protected  double score0(double[] data)
           
 DGLM.GLMModel.Status status()
           
 void store()
           
 com.google.gson.JsonObject toJson()
           
 
Methods inherited from class water.OldModel
adapt, adapt, columnMapping, delete, fromJson, identityMap, isCompatible, isCompatible, isCompatible, response, responseName, score, score, score0, score0
 
Methods inherited from class water.Iced
clone, frozenType, init, newInstance, read, toDocField, write, writeJSON, writeJSONFields
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_pcaParams

public final DPCA.PCAParams _pcaParams

_sdev

public final double[] _sdev

_propVar

public final double[] _propVar

_cumVar

public final double[] _cumVar

_eigVec

public final double[][] _eigVec

_rank

public final int _rank

_num_pc

public int _num_pc

NAME

public static final java.lang.String NAME

KEY_PREFIX

public static final java.lang.String KEY_PREFIX
See Also:
Constant Field Values
Constructor Detail

DPCA.PCAModel

public DPCA.PCAModel(DGLM.GLMModel.Status status,
                     float progress,
                     Key k,
                     NewRowVecTask.DataFrame data,
                     double[] sdev,
                     double[] propVar,
                     double[] cumVar,
                     double[][] eigVec,
                     int rank,
                     int response,
                     int num_pc,
                     DPCA.PCAParams pcaps)

DPCA.PCAModel

public DPCA.PCAModel(DGLM.GLMModel.Status status,
                     float progress,
                     Key k,
                     ValueArray ary,
                     int[] colIds,
                     int[] colCatMap,
                     double[] sdev,
                     double[] propVar,
                     double[] cumVar,
                     double[][] eigVec,
                     int rank,
                     int response,
                     int num_pc,
                     DPCA.PCAParams pcap)
Method Detail

status

public DGLM.GLMModel.Status status()

error

public java.lang.String error()

makeKey

public static final Key makeKey()

store

public void store()

columnFilter

public boolean columnFilter(ValueArray.Column C)
Overrides:
columnFilter in class OldModel

score0

protected double score0(double[] data)
Specified by:
score0 in class OldModel

toJson

public com.google.gson.JsonObject toJson()
Overrides:
toJson in class OldModel