public class WekaClassifierEvaluationHadoopJob extends HadoopJob implements TextProducer, InstancesProducer, CommandlineRunnable
COLT_JAR, DISTRIBUTED_WEKA_BASE_JAR, DISTRIBUTED_WEKA_HADOOP_JAR, JCOMMON_JAR, JFREECHART_JAR, LA4J_JAR, OPEN_CSV_JAR, TDIGEST_JAR| Constructor and Description | 
|---|
WekaClassifierEvaluationHadoopJob()
Constructor 
 | 
| Modifier and Type | Method and Description | 
|---|---|
Instances | 
getInstances()  | 
java.lang.String[] | 
getJobOptionsOnly()
Get the options pertaining to this job only 
 | 
int | 
getNumNodesInCluster()
Get the number of nodes in the user's Hadoop cluster. 
 | 
java.lang.String[] | 
getOptions()  | 
java.lang.String | 
getSampleFractionForAUC()
Get the percentage of predictions to retain (via uniform random sampling)
 for computing AUC and AUPRC. 
 | 
java.lang.String | 
getSeparateTestSetPath()
Get the path in HDFS to the separate test set to use. 
 | 
java.lang.String | 
getText()  | 
java.lang.String | 
globalInfo()
Help info for this job 
 | 
java.util.Enumeration<Option> | 
listOptions()  | 
static void | 
main(java.lang.String[] args)  | 
java.lang.String | 
numNodesInClusterTipText()
Tip text for this property 
 | 
void | 
run(java.lang.Object toRun,
   java.lang.String[] args)  | 
boolean | 
runJob()  | 
java.lang.String | 
sampleFractionForAUCTipText()
Tip text for this property 
 | 
java.lang.String | 
separateTestSetPathTipText()
Tip text for this property 
 | 
void | 
setNumNodesInCluster(int n)
Set the number of nodes in the user's Hadoop cluster. 
 | 
void | 
setOptions(java.lang.String[] options)  | 
void | 
setSampleFractionForAUC(java.lang.String f)
Set the percentage of predictions to retain (via uniform random sampling)
 for computing AUC and AUPRC. 
 | 
void | 
setSeparateTestSetPath(java.lang.String path)
Set the path in HDFS to the separate test set to use. 
 | 
additionalWekaPackagesTipText, cleanOutputDirectory, deubgTipText, getAdditionalWekaPackages, getBaseOptionsOnly, getDebug, getLoggingInterval, getMapNumber, getMapReduceJobConfig, getMapReduceNumber, getPathToWekaJar, getReduceNumber, loggingIntervalTipText, logMessage, pathToWekaJarTipText, setAdditionalWekaPackages, setDebug, setLoggingInterval, setMapReduceJobConfig, setPathToWekaJarenvironmentSubstitute, getAdditionalWekaPackageNames, getJobName, getJobStatus, getLog, logMessage, logMessage, makeOptionsStr, objectRowToInstance, parseInstance, postExecution, preExecution, setEnvironment, setJobDescription, setJobName, setJobStatus, setLog, setStatusMessagePrefix, stackTraceToString, statusMessage, stopJobequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpostExecution, preExecutionpublic WekaClassifierEvaluationHadoopJob()
public static void main(java.lang.String[] args)
public java.lang.String globalInfo()
public java.util.Enumeration<Option> listOptions()
listOptions in interface OptionHandlerlistOptions in class HadoopJobpublic java.lang.String[] getOptions()
getOptions in interface OptionHandlergetOptions in class HadoopJobpublic void setOptions(java.lang.String[] options)
                throws java.lang.Exception
setOptions in interface OptionHandlersetOptions in class HadoopJobjava.lang.Exceptionpublic java.lang.String[] getJobOptionsOnly()
public java.lang.String separateTestSetPathTipText()
public java.lang.String getSeparateTestSetPath()
public void setSeparateTestSetPath(java.lang.String path)
path - the path in HDFS to the separate test set to evaluate onpublic java.lang.String sampleFractionForAUCTipText()
public java.lang.String getSampleFractionForAUC()
public void setSampleFractionForAUC(java.lang.String f)
f - the fraction (between 0 and 1) of all predictions to retain for
          computing AUC/AUPRC.public java.lang.String numNodesInClusterTipText()
public int getNumNodesInCluster()
public void setNumNodesInCluster(int n)
n - the number of nodes in the clusterpublic boolean runJob()
               throws weka.distributed.DistributedWekaException
runJob in class distributed.core.DistributedJobweka.distributed.DistributedWekaExceptionpublic java.lang.String getText()
getText in interface TextProducerpublic Instances getInstances()
getInstances in interface InstancesProducerpublic void run(java.lang.Object toRun,
                java.lang.String[] args)
         throws java.lang.IllegalArgumentException
run in interface CommandlineRunnablerun in class distributed.core.DistributedJobjava.lang.IllegalArgumentException