costsensitiveasevaluation.html

来自「数据挖掘的最常用工具。由于开源」· HTML 代码 · 共 996 行 · 第 1/3 页

HTML
996
字号
<DT><B>Returns:</B><DD>The cost file search directory.</DL></DD></DL><HR><A NAME="setOnDemandDirectory(java.io.File)"><!-- --></A><H3>setOnDemandDirectory</H3><PRE>public void <B>setOnDemandDirectory</B>(java.io.File&nbsp;newDir)</PRE><DL><DD>Sets the directory that will be searched for cost files when loading on demand.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>newDir</CODE> - The cost file search directory.</DL></DD></DL><HR><A NAME="costMatrixTipText()"><!-- --></A><H3>costMatrixTipText</H3><PRE>public java.lang.String <B>costMatrixTipText</B>()</PRE><DL><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="getCostMatrix()"><!-- --></A><H3>getCostMatrix</H3><PRE>public <A HREF="../../weka/classifiers/CostMatrix.html" title="class in weka.classifiers">CostMatrix</A> <B>getCostMatrix</B>()</PRE><DL><DD>Gets the misclassification cost matrix.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>the cost matrix</DL></DD></DL><HR><A NAME="setCostMatrix(weka.classifiers.CostMatrix)"><!-- --></A><H3>setCostMatrix</H3><PRE>public void <B>setCostMatrix</B>(<A HREF="../../weka/classifiers/CostMatrix.html" title="class in weka.classifiers">CostMatrix</A>&nbsp;newCostMatrix)</PRE><DL><DD>Sets the misclassification cost matrix.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>newCostMatrix</CODE> - the cost matrix</DL></DD></DL><HR><A NAME="seedTipText()"><!-- --></A><H3>seedTipText</H3><PRE>public java.lang.String <B>seedTipText</B>()</PRE><DL><DD>Returns the tip text for this property<P><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="setSeed(int)"><!-- --></A><H3>setSeed</H3><PRE>public void <B>setSeed</B>(int&nbsp;seed)</PRE><DL><DD>Set the seed for random number generation.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>seed</CODE> - the seed</DL></DD></DL><HR><A NAME="getSeed()"><!-- --></A><H3>getSeed</H3><PRE>public int <B>getSeed</B>()</PRE><DL><DD>Gets the seed for the random number generations.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>the seed for the random number generation</DL></DD></DL><HR><A NAME="evaluatorTipText()"><!-- --></A><H3>evaluatorTipText</H3><PRE>public java.lang.String <B>evaluatorTipText</B>()</PRE><DL><DD>Returns the tip text for this property<P><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="setEvaluator(weka.attributeSelection.ASEvaluation)"><!-- --></A><H3>setEvaluator</H3><PRE>public void <B>setEvaluator</B>(<A HREF="../../weka/attributeSelection/ASEvaluation.html" title="class in weka.attributeSelection">ASEvaluation</A>&nbsp;newEvaluator)                  throws java.lang.IllegalArgumentException</PRE><DL><DD>Set the base evaluator.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>newEvaluator</CODE> - the evaluator to use.<DT><B>Throws:</B><DD><CODE>java.lang.IllegalArgumentException</CODE> - if the evaluator is of the wrong type</DL></DD></DL><HR><A NAME="getEvaluator()"><!-- --></A><H3>getEvaluator</H3><PRE>public <A HREF="../../weka/attributeSelection/ASEvaluation.html" title="class in weka.attributeSelection">ASEvaluation</A> <B>getEvaluator</B>()</PRE><DL><DD>Get the evaluator used as the base evaluator.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>the evaluator used as the base evaluator</DL></DD></DL><HR><A NAME="getCapabilities()"><!-- --></A><H3>getCapabilities</H3><PRE>public <A HREF="../../weka/core/Capabilities.html" title="class in weka.core">Capabilities</A> <B>getCapabilities</B>()</PRE><DL><DD>Returns default capabilities of the classifier.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../weka/core/CapabilitiesHandler.html#getCapabilities()">getCapabilities</A></CODE> in interface <CODE><A HREF="../../weka/core/CapabilitiesHandler.html" title="interface in weka.core">CapabilitiesHandler</A></CODE><DT><B>Overrides:</B><DD><CODE><A HREF="../../weka/attributeSelection/ASEvaluation.html#getCapabilities()">getCapabilities</A></CODE> in class <CODE><A HREF="../../weka/attributeSelection/ASEvaluation.html" title="class in weka.attributeSelection">ASEvaluation</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>the capabilities of this classifier<DT><B>See Also:</B><DD><A HREF="../../weka/core/Capabilities.html" title="class in weka.core"><CODE>Capabilities</CODE></A></DL></DD></DL><HR><A NAME="buildEvaluator(weka.core.Instances)"><!-- --></A><H3>buildEvaluator</H3><PRE>public void <B>buildEvaluator</B>(<A HREF="../../weka/core/Instances.html" title="class in weka.core">Instances</A>&nbsp;data)                    throws java.lang.Exception</PRE><DL><DD>Generates a attribute evaluator. Has to initialize all fields of the  evaluator that are not being set via options.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../weka/attributeSelection/ASEvaluation.html#buildEvaluator(weka.core.Instances)">buildEvaluator</A></CODE> in class <CODE><A HREF="../../weka/attributeSelection/ASEvaluation.html" title="class in weka.attributeSelection">ASEvaluation</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>data</CODE> - set of instances serving as training data<DT><B>Throws:</B><DD><CODE>java.lang.Exception</CODE> - if the evaluator has not been  generated successfully</DL></DD></DL><HR><A NAME="postProcess(int[])"><!-- --></A><H3>postProcess</H3><PRE>public int[] <B>postProcess</B>(int[]&nbsp;attributeSet)                  throws java.lang.Exception</PRE><DL><DD>Provides a chance for a attribute evaluator to do any special post processing of the selected attribute set.<P><DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../weka/attributeSelection/ASEvaluation.html#postProcess(int[])">postProcess</A></CODE> in class <CODE><A HREF="../../weka/attributeSelection/ASEvaluation.html" title="class in weka.attributeSelection">ASEvaluation</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>attributeSet</CODE> - the set of attributes found by the search<DT><B>Returns:</B><DD>a possibly ranked list of postprocessed attributes<DT><B>Throws:</B><DD><CODE>java.lang.Exception</CODE> - if postprocessing fails for some reason</DL></DD></DL><HR><A NAME="toString()"><!-- --></A><H3>toString</H3><PRE>public java.lang.String <B>toString</B>()</PRE><DL><DD>Output a representation of this evaluator<P><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 string representation of the classifier</DL></DD></DL><HR><A NAME="getRevision()"><!-- --></A><H3>getRevision</H3><PRE>public java.lang.String <B>getRevision</B>()</PRE><DL><DD>Returns the revision string.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../weka/core/RevisionHandler.html#getRevision()">getRevision</A></CODE> in interface <CODE><A HREF="../../weka/core/RevisionHandler.html" title="interface in weka.core">RevisionHandler</A></CODE><DT><B>Overrides:</B><DD><CODE><A HREF="../../weka/attributeSelection/ASEvaluation.html#getRevision()">getRevision</A></CODE> in class <CODE><A HREF="../../weka/attributeSelection/ASEvaluation.html" title="class in weka.attributeSelection">ASEvaluation</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>the revision</DL></DD></DL><!-- ========= END OF CLASS DATA ========= --><HR><!-- ======= START OF BOTTOM NAVBAR ====== --><A NAME="navbar_bottom"><!-- --></A><A HREF="#skip-navbar_bottom" title="Skip navigation links"></A><TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""><TR><TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"><A NAME="navbar_bottom_firstrow"><!-- --></A><TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">  <TR ALIGN="center" VALIGN="top">  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="http://www.cs.waikato.ac.nz/ml/weka/" target="_blank"><FONT CLASS="NavBarFont1"><B>Weka's home</B></FONT></A>&nbsp;</TD>  </TR></TABLE></TD><TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM></EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">&nbsp;<A HREF="../../weka/attributeSelection/ConsistencySubsetEval.hashKey.html" title="class in weka.attributeSelection"><B>PREV CLASS</B></A>&nbsp;&nbsp;<A HREF="../../weka/attributeSelection/CostSensitiveAttributeEval.html" title="class in weka.attributeSelection"><B>NEXT CLASS</B></A></FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">  <A HREF="../../index.html?weka/attributeSelection/CostSensitiveASEvaluation.html" target="_top"><B>FRAMES</B></A>  &nbsp;&nbsp;<A HREF="CostSensitiveASEvaluation.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;&nbsp;<SCRIPT type="text/javascript">  <!--  if(window==top) {    document.writeln('<A HREF="../../allclasses-noframe.html"><B>All Classes</B></A>');  }  //--></SCRIPT><NOSCRIPT>  <A HREF="../../allclasses-noframe.html"><B>All Classes</B></A></NOSCRIPT></FONT></TD></TR><TR><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD></TR></TABLE><A NAME="skip-navbar_bottom"></A><!-- ======== END OF BOTTOM NAVBAR ======= --><HR></BODY></HTML>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?