⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 attributeselectedclassifier.html

📁 < 数据挖掘--实用机器学习技术及java实现> 一书结合数据挖掘和机器学习的知识,作者陈述了自动挖掘模式的基础理论,并且以java语言实现了具有代表性的各类数据挖掘方法.例如:class
💻 HTML
📖 第 1 页 / 共 3 页
字号:
<DT><B>Parameters:</B><DD><CODE>classifier</CODE> - the classifier with all options set.</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>Gets the classifier used.<DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>the classifier</DL></DD></DL><HR><A NAME="getClassifierSpec()"><!-- --></A><H3>getClassifierSpec</H3><PRE>protected java.lang.String <B>getClassifierSpec</B>()</PRE><DL><DD>Gets the classifier specification string, which contains the class name of the classifier and any options to the classifier<DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>the classifier string.</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<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">ASEvaluation</A>&nbsp;evaluator)</PRE><DL><DD>Sets the attribute evaluator<DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>evaluator</CODE> - the evaluator with all options set.</DL></DD></DL><HR><A NAME="getEvaluator()"><!-- --></A><H3>getEvaluator</H3><PRE>public <A HREF="../../weka/attributeSelection/ASEvaluation.html">ASEvaluation</A> <B>getEvaluator</B>()</PRE><DL><DD>Gets the attribute evaluator used<DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>the attribute evaluator</DL></DD></DL><HR><A NAME="getEvaluatorSpec()"><!-- --></A><H3>getEvaluatorSpec</H3><PRE>protected java.lang.String <B>getEvaluatorSpec</B>()</PRE><DL><DD>Gets the evaluator specification string, which contains the class name of the attribute evaluator and any options to it<DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>the evaluator string.</DL></DD></DL><HR><A NAME="searchTipText()"><!-- --></A><H3>searchTipText</H3><PRE>public java.lang.String <B>searchTipText</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="setSearch(weka.attributeSelection.ASSearch)"><!-- --></A><H3>setSearch</H3><PRE>public void <B>setSearch</B>(<A HREF="../../weka/attributeSelection/ASSearch.html">ASSearch</A>&nbsp;search)</PRE><DL><DD>Sets the search method<DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>search</CODE> - the search method with all options set.</DL></DD></DL><HR><A NAME="getSearch()"><!-- --></A><H3>getSearch</H3><PRE>public <A HREF="../../weka/attributeSelection/ASSearch.html">ASSearch</A> <B>getSearch</B>()</PRE><DL><DD>Gets the search method used<DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>the search method</DL></DD></DL><HR><A NAME="getSearchSpec()"><!-- --></A><H3>getSearchSpec</H3><PRE>protected java.lang.String <B>getSearchSpec</B>()</PRE><DL><DD>Gets the search specification string, which contains the class name of the search method and any options to it<DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>the search string.</DL></DD></DL><HR><A NAME="buildClassifier(weka.core.Instances)"><!-- --></A><H3>buildClassifier</H3><PRE>public void <B>buildClassifier</B>(<A HREF="../../weka/core/Instances.html">Instances</A>&nbsp;data)                     throws java.lang.Exception</PRE><DL><DD>Build the classifier on the dimensionally reduced data.<DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../weka/classifiers/Classifier.html#buildClassifier(weka.core.Instances)">buildClassifier</A></CODE> in class <CODE><A HREF="../../weka/classifiers/Classifier.html">Classifier</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>data</CODE> - the training data<DT><B>Throws:</B><DD><CODE>java.lang.Exception</CODE> - if the classifier could not be built successfully</DL></DD></DL><HR><A NAME="distributionForInstance(weka.core.Instance)"><!-- --></A><H3>distributionForInstance</H3><PRE>public double[] <B>distributionForInstance</B>(<A HREF="../../weka/core/Instance.html">Instance</A>&nbsp;instance)                                 throws java.lang.Exception</PRE><DL><DD>Classifies a given instance after attribute selection<DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../weka/classifiers/DistributionClassifier.html#distributionForInstance(weka.core.Instance)">distributionForInstance</A></CODE> in class <CODE><A HREF="../../weka/classifiers/DistributionClassifier.html">DistributionClassifier</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>instance</CODE> - the instance to be classified<DT><B>Throws:</B><DD><CODE>java.lang.Exception</CODE> - if instance could not be classified successfully</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 classifier<DD><DL><DT><B>Overrides:</B><DD><CODE>toString</CODE> in class <CODE>java.lang.Object</CODE></DL></DD></DL><HR><A NAME="measureNumAttributesSelected()"><!-- --></A><H3>measureNumAttributesSelected</H3><PRE>public double <B>measureNumAttributesSelected</B>()</PRE><DL><DD>Additional measure --- number of attributes selected<DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>the number of attributes selected</DL></DD></DL><HR><A NAME="measureSelectionTime()"><!-- --></A><H3>measureSelectionTime</H3><PRE>public double <B>measureSelectionTime</B>()</PRE><DL><DD>Additional measure --- time taken (milliseconds) to select the attributes<DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>the time taken to select attributes</DL></DD></DL><HR><A NAME="measureTime()"><!-- --></A><H3>measureTime</H3><PRE>public double <B>measureTime</B>()</PRE><DL><DD>Additional measure --- time taken (milliseconds) to select attributes and build the classifier<DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>the total time (select attributes + build classifier)</DL></DD></DL><HR><A NAME="enumerateMeasures()"><!-- --></A><H3>enumerateMeasures</H3><PRE>public java.util.Enumeration <B>enumerateMeasures</B>()</PRE><DL><DD>Returns an enumeration of the additional measure names<DD><DL><DT><B>Specified by: </B><DD><CODE><A HREF="../../weka/core/AdditionalMeasureProducer.html#enumerateMeasures()">enumerateMeasures</A></CODE> in interface <CODE><A HREF="../../weka/core/AdditionalMeasureProducer.html">AdditionalMeasureProducer</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>an enumeration of the measure names</DL></DD></DL><HR><A NAME="getMeasure(java.lang.String)"><!-- --></A><H3>getMeasure</H3><PRE>public double <B>getMeasure</B>(java.lang.String&nbsp;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="main(java.lang.String[])"><!-- --></A><H3>main</H3><PRE>public static void <B>main</B>(java.lang.String[]&nbsp;argv)</PRE><DL><DD>Main method for testing this class.<DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>argv</CODE> - should contain the following arguments: -t training file [-T test file] [-c class index]</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>&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>  </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/classifiers/AdditiveRegression.html"><B>PREV CLASS</B></A>&nbsp;&nbsp;<A HREF="../../weka/classifiers/Bagging.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>  &nbsp;&nbsp;<A HREF="AttributeSelectedClassifier.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD></TR><TR><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">  SUMMARY: &nbsp;INNER&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><!-- =========== END OF NAVBAR =========== --><HR></BODY></HTML>

⌨️ 快捷键说明

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