public class CMTask extends MRTask2<CMTask>
| Modifier and Type | Class and Description |
|---|---|
static class |
CMTask.CMFinal |
static class |
CMTask.MSETask |
DTask.DKeyTask<T extends DTask.DKeyTask,V extends Iced>| Modifier and Type | Field and Description |
|---|---|
int |
_classcol |
double[] |
_classWt |
long[][][] |
_cms |
boolean |
_computeOOB |
Frame |
_data |
Key |
_datakey |
long[] |
_errorsPerTree |
hex.singlenoderf.CMTask.CM[] |
_localMatrices |
hex.singlenoderf.CMTask.CM |
_matrix |
SpeeDRFModel |
_model |
int[] |
_modelDataMap |
Key |
_modelKey |
int |
_N |
int[] |
_oobs |
Key[][] |
_remoteChunksKeys |
int |
_rowcnt |
boolean |
_score_new_tree_only |
float |
_ss |
float |
_sum |
int |
_treesUsed |
VarImp |
_varimp |
| Modifier and Type | Method and Description |
|---|---|
static int |
alignEnumDomains(java.lang.String[] modelDomain,
java.lang.String[] dataDomain,
int[] modelMapping,
int[] dataMapping)
Merge model and data predictor domain to produce domain for CM.
|
static float[] |
computeVarImpSD(long[][] vote_diffs) |
int |
dimension()
Return number of classes - in fact dimension of CM.
|
static java.lang.String[] |
domain(int N,
Vec modelCol,
Vec dataCol,
int[] modelEnumMapping,
int[] dataEnumMapping) |
java.lang.String[] |
domain(Vec modelResp)
Compute confusion matrix domain based on model and data key.
|
static java.lang.String[] |
domain(Vec modelCol,
Vec dataCol) |
void |
init() |
void |
map(Chunk[] chks)
Override with your map implementation.
|
void |
reduce(CMTask drt)
Reduction combines the confusion matrices.
|
static CMTask |
scoreTask(SpeeDRFModel model,
int treesToUse,
boolean computeOOB,
Frame fr,
Vec resp) |
asyncExec, asyncExec, asyncExec, block, clone, closeLocal, compute2, dfork, dfork, dfork, dfork, dinvoke, doAll, doAll, doAll, doAll, doAll, doAll, exec, exec, exec, getResult, isReleasable, map, map, map, map, map, map, map, map, map, map, map, onCompletion, onExceptionalCompletion, outputFrame, outputFrame, outputFrame, postGlobal, priority, profString, reduce4, setupLocal, vecscopyOver, frozenType, getDException, hasException, logVerbose, newInstance, onAck, onAckAck, read, setException, toDocField, write, writeJSONFieldscomputeaddToPendingCount, compareAndSetPendingCount, complete, exec, getCompleter, getPendingCount, getRawResult, setCompleter, setPendingCount, setRawResult, tryCompleteadapt, adapt, adapt, cancel, compareAndSetForkJoinTaskTag, completeExceptionally, fork, get, get, getException, getForkJoinTaskTag, getPool, getQueuedTaskCount, getSurplusQueuedTaskCount, helpQuiesce, inForkJoinPool, invoke, invokeAll, invokeAll, invokeAll, isCancelled, isCompletedAbnormally, isCompletedNormally, isDone, join, peekNextLocalTask, pollNextLocalTask, pollTask, quietlyComplete, quietlyInvoke, quietlyJoin, reinitialize, setForkJoinTaskTag, tryUnforkpublic double[] _classWt
public boolean _computeOOB
public int _treesUsed
public Key _modelKey
public Key _datakey
public int _classcol
public hex.singlenoderf.CMTask.CM _matrix
public float _sum
public hex.singlenoderf.CMTask.CM[] _localMatrices
public long[] _errorsPerTree
public SpeeDRFModel _model
public int[] _modelDataMap
public Frame _data
public int _N
public long[][][] _cms
public VarImp _varimp
public int[] _oobs
public Key[][] _remoteChunksKeys
public float _ss
public int _rowcnt
public boolean _score_new_tree_only
public static CMTask scoreTask(SpeeDRFModel model, int treesToUse, boolean computeOOB, Frame fr, Vec resp)
public void init()
public void map(Chunk[] chks)
MRTask2public static float[] computeVarImpSD(long[][] vote_diffs)
public void reduce(CMTask drt)
public static int alignEnumDomains(java.lang.String[] modelDomain,
java.lang.String[] dataDomain,
int[] modelMapping,
int[] dataMapping)
public static java.lang.String[] domain(int N,
Vec modelCol,
Vec dataCol,
int[] modelEnumMapping,
int[] dataEnumMapping)
public java.lang.String[] domain(Vec modelResp)
public final int dimension()