public class VariableImportance extends MRTask2<VariableImportance>
Modifier and Type | Class and Description |
---|---|
static class |
VariableImportance.TreeMeasures<T extends VariableImportance.TreeMeasures>
A simple holder for set of different tree measurements.
|
static class |
VariableImportance.TreeVotes
A class holding tree votes.
|
DTask.DKeyTask<T extends DTask.DKeyTask,V extends Iced>
Modifier and Type | Method and Description |
---|---|
static int |
alignEnumDomains(java.lang.String[] modelDomain,
java.lang.String[] dataDomain,
int[] modelMapping,
int[] dataMapping) |
static VariableImportance.TreeVotes |
asVotes(VariableImportance.TreeMeasures tm)
A simple holder serving SSE per tree.
|
static VariableImportance.TreeVotes[] |
collectVotes(int trees,
int nclasses,
Frame f,
int ncols,
float rate,
int variable,
SpeeDRFModel model,
Vec resp) |
void |
map(Chunk[] chks)
Override with your map implementation.
|
void |
reduce(VariableImportance t)
Override to combine results from 'mrt' into 'this' MRTask2.
|
VariableImportance.TreeVotes[] |
resultVotes() |
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, vecs
copyOver, frozenType, getDException, hasException, logVerbose, newInstance, onAck, onAckAck, read, setException, toDocField, write, writeJSONFields
compute
addToPendingCount, compareAndSetPendingCount, complete, exec, getCompleter, getPendingCount, getRawResult, setCompleter, setPendingCount, setRawResult, tryComplete
adapt, 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, tryUnfork
public void map(Chunk[] chks)
MRTask2
map
in class MRTask2<VariableImportance>
public void reduce(VariableImportance t)
MRTask2
reduce
in class MRTask2<VariableImportance>
public static int alignEnumDomains(java.lang.String[] modelDomain, java.lang.String[] dataDomain, int[] modelMapping, int[] dataMapping)
public VariableImportance.TreeVotes[] resultVotes()
public static VariableImportance.TreeVotes[] collectVotes(int trees, int nclasses, Frame f, int ncols, float rate, int variable, SpeeDRFModel model, Vec resp)
public static VariableImportance.TreeVotes asVotes(VariableImportance.TreeMeasures tm)