📄 checkclassifier.html
字号:
boolean numericClass)</CODE><BR> Checks whether the scheme correctly initialises models when buildClassifier is called.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../weka/classifiers/CheckClassifier.html#datasetIntegrity(boolean, boolean, boolean, boolean, boolean)">datasetIntegrity</A></B>(boolean nominalPredictor, boolean numericPredictor, boolean numericClass, boolean predictorMissing, boolean classMissing)</CODE><BR> Checks whether the scheme alters the training dataset during training.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../weka/classifiers/CheckClassifier.html#distributionClassifier()">distributionClassifier</A></B>()</CODE><BR> Checks whether the scheme is a distribution classifier.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../weka/classifiers/CheckClassifier.html#doesntUseTestClassVal(boolean, boolean, boolean)">doesntUseTestClassVal</A></B>(boolean nominalPredictor, boolean numericPredictor, boolean numericClass)</CODE><BR> Checks whether the classifier erroneously uses the class value of test instances (if provided).</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../weka/classifiers/CheckClassifier.html#doTests()">doTests</A></B>()</CODE><BR> Begin the tests, reporting results to System.out</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../weka/classifiers/Classifier.html">Classifier</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../weka/classifiers/CheckClassifier.html#getClassifier()">getClassifier</A></B>()</CODE><BR> Get the classifier used as the classifier</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../weka/classifiers/CheckClassifier.html#getDebug()">getDebug</A></B>()</CODE><BR> Get whether debugging is turned on</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> java.lang.String[]</CODE></FONT></TD><TD><CODE><B><A HREF="../../weka/classifiers/CheckClassifier.html#getOptions()">getOptions</A></B>()</CODE><BR> Gets the current settings of the CheckClassifier.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../weka/classifiers/CheckClassifier.html#instanceWeights(boolean, boolean, boolean)">instanceWeights</A></B>(boolean nominalPredictor, boolean numericPredictor, boolean numericClass)</CODE><BR> Checks whether the classifier can handle instance weights.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> java.util.Enumeration</CODE></FONT></TD><TD><CODE><B><A HREF="../../weka/classifiers/CheckClassifier.html#listOptions()">listOptions</A></B>()</CODE><BR> Returns an enumeration describing the available options</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static void</CODE></FONT></TD><TD><CODE><B><A HREF="../../weka/classifiers/CheckClassifier.html#main(java.lang.String[])">main</A></B>(java.lang.String[] args)</CODE><BR> Test method for this class</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected <A HREF="../../weka/core/Instances.html">Instances</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../weka/classifiers/CheckClassifier.html#makeTestDataset(int, int, int, int, int, boolean)">makeTestDataset</A></B>(int seed, int numInstances, int numNominal, int numNumeric, int numClasses, boolean numericClass)</CODE><BR> Make a simple set of instances, which can later be modified for use in specific tests.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected void</CODE></FONT></TD><TD><CODE><B><A HREF="../../weka/classifiers/CheckClassifier.html#printAttributeSummary(boolean, boolean, boolean)">printAttributeSummary</A></B>(boolean nominalPredictor, boolean numericPredictor, boolean numericClass)</CODE><BR> Print out a short summary string for the dataset characteristics</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../weka/classifiers/CheckClassifier.html#runBasicTest(boolean, boolean, boolean, int, boolean, boolean, int, int, int, weka.core.FastVector)">runBasicTest</A></B>(boolean nominalPredictor, boolean numericPredictor, boolean numericClass, int missingLevel, boolean predictorMissing, boolean classMissing, int numTrain, int numTest, int numClasses, <A HREF="../../weka/core/FastVector.html">FastVector</A> accepts)</CODE><BR> Runs a text on the datasets with the given characteristics.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../weka/classifiers/CheckClassifier.html#setClassifier(weka.classifiers.Classifier)">setClassifier</A></B>(<A HREF="../../weka/classifiers/Classifier.html">Classifier</A> newClassifier)</CODE><BR> Set the classifier for boosting.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../weka/classifiers/CheckClassifier.html#setDebug(boolean)">setDebug</A></B>(boolean debug)</CODE><BR> Set debugging mode</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../weka/classifiers/CheckClassifier.html#setOptions(java.lang.String[])">setOptions</A></B>(java.lang.String[] options)</CODE><BR> Parses a given list of options.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected void</CODE></FONT></TD><TD><CODE><B><A HREF="../../weka/classifiers/CheckClassifier.html#testsPerClassType(boolean, boolean, boolean)">testsPerClassType</A></B>(boolean numericClass, boolean updateable, boolean weighted)</CODE><BR> Run a battery of tests for a given class attribute type</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../weka/classifiers/CheckClassifier.html#testWRTZeroR(weka.classifiers.Classifier, weka.classifiers.Evaluation, weka.core.Instances, weka.core.Instances)">testWRTZeroR</A></B>(<A HREF="../../weka/classifiers/Classifier.html">Classifier</A> classifier, <A HREF="../../weka/classifiers/Evaluation.html">Evaluation</A> evaluation, <A HREF="../../weka/core/Instances.html">Instances</A> train, <A HREF="../../weka/core/Instances.html">Instances</A> test)</CODE><BR> Determine whether the scheme performs worse than ZeroR during testing</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../weka/classifiers/CheckClassifier.html#updateableClassifier()">updateableClassifier</A></B>()</CODE><BR> Checks whether the scheme can build models incrementally.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../weka/classifiers/CheckClassifier.html#updatingEquality(boolean, boolean, boolean)">updatingEquality</A></B>(boolean nominalPredictor, boolean numericPredictor, boolean numericClass)</CODE><BR> Checks whether an updateable scheme produces the same model when trained incrementally as when batch trained.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../weka/classifiers/CheckClassifier.html#weightedInstancesHandler()">weightedInstancesHandler</A></B>()</CODE><BR> Checks whether the scheme says it can handle instance weights.</TD></TR></TABLE> <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from class java.lang.Object</B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD></TR></TABLE> <P><!-- ============ FIELD DETAIL =========== --><A NAME="field_detail"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Field Detail</B></FONT></TD></TR></TABLE><A NAME="m_Classifier"><!-- --></A><H3>m_Classifier</H3><PRE>protected <A HREF="../../weka/classifiers/Classifier.html">Classifier</A> <B>m_Classifier</B></PRE><DL><DD>The classifier to be examined</DL><HR><A NAME="m_ClassifierOptions"><!-- --></A><H3>m_ClassifierOptions</H3><PRE>protected java.lang.String[] <B>m_ClassifierOptions</B></PRE><DL><DD>The options to be passed to the base classifier.</DL><HR><A NAME="m_AnalysisResults"><!-- --></A><H3>m_AnalysisResults</H3><PRE>protected java.lang.String <B>m_AnalysisResults</B></PRE><DL><DD>The results of the analysis as a string</DL><HR><A NAME="m_Debug"><!-- --></A><H3>m_Debug</H3><PRE>protected boolean <B>m_Debug</B></PRE><DL><DD>Debugging mode, gives extra output if true</DL><!-- ========= CONSTRUCTOR DETAIL ======== --><A NAME="constructor_detail"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Constructor Detail</B></FONT></TD></TR></TABLE><A NAME="CheckClassifier()"><!-- --></A><H3>CheckClassifier</H3><PRE>public <B>CheckClassifier</B>()</PRE><DL></DL>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -