📄 regressionsplitevaluator.html
字号:
</DL><HR><A NAME="getMeasure(java.lang.String)"><!-- --></A><H3>getMeasure</H3><PRE>public double <B>getMeasure</B>(java.lang.String additionalMeasureName)</PRE><DL><DD>Returns the value of the named measure<DD><DL><DT><B>Specified by: </B><DD><CODE><A HREF="../../weka/core/AdditionalMeasureProducer.html#getMeasure(java.lang.String)">getMeasure</A></CODE> in interface <CODE><A HREF="../../weka/core/AdditionalMeasureProducer.html">AdditionalMeasureProducer</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>measureName</CODE> - the name of the measure to query for its value<DT><B>Returns:</B><DD>the value of the named measure<DT><B>Throws:</B><DD><CODE>java.lang.IllegalArgumentException</CODE> - if the named measure is not supported</DL></DD></DL><HR><A NAME="getKeyTypes()"><!-- --></A><H3>getKeyTypes</H3><PRE>public java.lang.Object[] <B>getKeyTypes</B>()</PRE><DL><DD>Gets the data types of each of the key columns produced for a single run. The number of key fields must be constant for a given SplitEvaluator.<DD><DL><DT><B>Specified by: </B><DD><CODE><A HREF="../../weka/experiment/SplitEvaluator.html#getKeyTypes()">getKeyTypes</A></CODE> in interface <CODE><A HREF="../../weka/experiment/SplitEvaluator.html">SplitEvaluator</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>an array containing objects of the type of each key column. The objects should be Strings, or Doubles.</DL></DD></DL><HR><A NAME="getKeyNames()"><!-- --></A><H3>getKeyNames</H3><PRE>public java.lang.String[] <B>getKeyNames</B>()</PRE><DL><DD>Gets the names of each of the key columns produced for a single run. The number of key fields must be constant for a given SplitEvaluator.<DD><DL><DT><B>Specified by: </B><DD><CODE><A HREF="../../weka/experiment/SplitEvaluator.html#getKeyNames()">getKeyNames</A></CODE> in interface <CODE><A HREF="../../weka/experiment/SplitEvaluator.html">SplitEvaluator</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>an array containing the name of each key column</DL></DD></DL><HR><A NAME="getKey()"><!-- --></A><H3>getKey</H3><PRE>public java.lang.Object[] <B>getKey</B>()</PRE><DL><DD>Gets the key describing the current SplitEvaluator. For example This may contain the name of the classifier used for classifier predictive evaluation. The number of key fields must be constant for a given SplitEvaluator.<DD><DL><DT><B>Specified by: </B><DD><CODE><A HREF="../../weka/experiment/SplitEvaluator.html#getKey()">getKey</A></CODE> in interface <CODE><A HREF="../../weka/experiment/SplitEvaluator.html">SplitEvaluator</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>an array of objects containing the key.</DL></DD></DL><HR><A NAME="getResultTypes()"><!-- --></A><H3>getResultTypes</H3><PRE>public java.lang.Object[] <B>getResultTypes</B>()</PRE><DL><DD>Gets the data types of each of the result columns produced for a single run. The number of result fields must be constant for a given SplitEvaluator.<DD><DL><DT><B>Specified by: </B><DD><CODE><A HREF="../../weka/experiment/SplitEvaluator.html#getResultTypes()">getResultTypes</A></CODE> in interface <CODE><A HREF="../../weka/experiment/SplitEvaluator.html">SplitEvaluator</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>an array containing objects of the type of each result column. The objects should be Strings, or Doubles.</DL></DD></DL><HR><A NAME="getResultNames()"><!-- --></A><H3>getResultNames</H3><PRE>public java.lang.String[] <B>getResultNames</B>()</PRE><DL><DD>Gets the names of each of the result columns produced for a single run. The number of result fields must be constant for a given SplitEvaluator.<DD><DL><DT><B>Specified by: </B><DD><CODE><A HREF="../../weka/experiment/SplitEvaluator.html#getResultNames()">getResultNames</A></CODE> in interface <CODE><A HREF="../../weka/experiment/SplitEvaluator.html">SplitEvaluator</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>an array containing the name of each result column</DL></DD></DL><HR><A NAME="getResult(weka.core.Instances, weka.core.Instances)"><!-- --></A><H3>getResult</H3><PRE>public java.lang.Object[] <B>getResult</B>(<A HREF="../../weka/core/Instances.html">Instances</A> train, <A HREF="../../weka/core/Instances.html">Instances</A> test) throws java.lang.Exception</PRE><DL><DD>Gets the results for the supplied train and test datasets.<DD><DL><DT><B>Specified by: </B><DD><CODE><A HREF="../../weka/experiment/SplitEvaluator.html#getResult(weka.core.Instances, weka.core.Instances)">getResult</A></CODE> in interface <CODE><A HREF="../../weka/experiment/SplitEvaluator.html">SplitEvaluator</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>train</CODE> - the training Instances.<DD><CODE>test</CODE> - the testing Instances.<DT><B>Returns:</B><DD>the results stored in an array. The objects stored in the array may be Strings, Doubles, or null (for the missing value).<DT><B>Throws:</B><DD><CODE>java.lang.Exception</CODE> - if a problem occurs while getting the results</DL></DD></DL><HR><A NAME="classifierTipText()"><!-- --></A><H3>classifierTipText</H3><PRE>public java.lang.String <B>classifierTipText</B>()</PRE><DL><DD>Returns the tip text for this property<DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>tip text for this property suitable for displaying in the explorer/experimenter gui</DL></DD></DL><HR><A NAME="getClassifier()"><!-- --></A><H3>getClassifier</H3><PRE>public <A HREF="../../weka/classifiers/Classifier.html">Classifier</A> <B>getClassifier</B>()</PRE><DL><DD>Get the value of Classifier.<DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>Value of Classifier.</DL></DD></DL><HR><A NAME="setClassifier(weka.classifiers.Classifier)"><!-- --></A><H3>setClassifier</H3><PRE>public void <B>setClassifier</B>(<A HREF="../../weka/classifiers/Classifier.html">Classifier</A> newClassifier)</PRE><DL><DD>Sets the classifier.<DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>newClassifier</CODE> - the new classifier to use.</DL></DD></DL><HR><A NAME="updateOptions()"><!-- --></A><H3>updateOptions</H3><PRE>protected void <B>updateOptions</B>()</PRE><DL><DD>Updates the options that the current classifier is using.<DD><DL></DL></DD></DL><HR><A NAME="setClassifierName(java.lang.String)"><!-- --></A><H3>setClassifierName</H3><PRE>public void <B>setClassifierName</B>(java.lang.String newClassifierName) throws java.lang.Exception</PRE><DL><DD>Set the Classifier to use, given it's class name. A new classifier will be instantiated.<DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>newClassifier</CODE> - the Classifier class name.<DT><B>Throws:</B><DD><CODE>java.lang.Exception</CODE> - if the class name is invalid.</DL></DD></DL><HR><A NAME="getRawResultOutput()"><!-- --></A><H3>getRawResultOutput</H3><PRE>public java.lang.String <B>getRawResultOutput</B>()</PRE><DL><DD>Gets the raw output from the classifier<DD><DL><DT><B>Specified by: </B><DD><CODE><A HREF="../../weka/experiment/SplitEvaluator.html#getRawResultOutput()">getRawResultOutput</A></CODE> in interface <CODE><A HREF="../../weka/experiment/SplitEvaluator.html">SplitEvaluator</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>the raw output from the classifier</DL></DD></DL><HR><A NAME="toString()"><!-- --></A><H3>toString</H3><PRE>public java.lang.String <B>toString</B>()</PRE><DL><DD>Returns a text description of the split evaluator.<DD><DL><DT><B>Overrides:</B><DD><CODE>toString</CODE> in class <CODE>java.lang.Object</CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>a text description of the split evaluator.</DL></DD></DL><!-- ========= END OF CLASS DATA ========= --><HR><!-- ========== START OF NAVBAR ========== --><A NAME="navbar_bottom"><!-- --></A><TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0"><TR><TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"><A NAME="navbar_bottom_firstrow"><!-- --></A><TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3"> <TR ALIGN="center" VALIGN="top"> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> </TR></TABLE></TD><TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM></EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../weka/experiment/RandomSplitResultProducer.html"><B>PREV CLASS</B></A> <A HREF="../../weka/experiment/RemoteEngine.html"><B>NEXT CLASS</B></A></FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../index.html" TARGET="_top"><B>FRAMES</B></A> <A HREF="RegressionSplitEvaluator.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD></TR><TR><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> SUMMARY: INNER | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD></TR></TABLE><!-- =========== END OF NAVBAR =========== --><HR></BODY></HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -