📄 olm.html
字号:
Build the OLM classifier, meaning that the rule bases are built.</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/misc/OLM.html#classificationTypeTipText()">classificationTypeTipText</A></B>()</CODE><BR> Returns the tip text for this property.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> double</CODE></FONT></TD><TD><CODE><B><A HREF="../../../weka/classifiers/misc/OLM.html#classifyInstance(weka.core.Instance)">classifyInstance</A></B>(<A HREF="../../../weka/core/Instance.html" title="class in weka.core">Instance</A> instance)</CODE><BR> Classifies a given instance according to the current settings of the classifier.</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/misc/OLM.html#distanceTypeTipText()">distanceTypeTipText</A></B>()</CODE><BR> Returns the tip text for this property.</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/misc/OLM.html#extensionTypeTipText()">extensionTypeTipText</A></B>()</CODE><BR> Returns the tip text for this property.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../weka/core/SelectedTag.html" title="class in weka.core">SelectedTag</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../weka/classifiers/misc/OLM.html#getAveragingType()">getAveragingType</A></B>()</CODE><BR> Gets the averaging type.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../weka/core/Capabilities.html" title="class in weka.core">Capabilities</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../weka/classifiers/misc/OLM.html#getCapabilities()">getCapabilities</A></B>()</CODE><BR> Returns default capabilities of the classifier.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../weka/core/SelectedTag.html" title="class in weka.core">SelectedTag</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../weka/classifiers/misc/OLM.html#getClassificationType()">getClassificationType</A></B>()</CODE><BR> Gets the classification type.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../weka/core/SelectedTag.html" title="class in weka.core">SelectedTag</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../weka/classifiers/misc/OLM.html#getDistanceType()">getDistanceType</A></B>()</CODE><BR> Gets the distance type used by a nearest neighbour rule (if any).</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../weka/core/SelectedTag.html" title="class in weka.core">SelectedTag</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../weka/classifiers/misc/OLM.html#getExtensionType()">getExtensionType</A></B>()</CODE><BR> Gets the extension type.</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/misc/OLM.html#getOptions()">getOptions</A></B>()</CODE><BR> Gets an array of string with the current options of the classifier.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../weka/classifiers/misc/OLM.html#getSizeRuleBaseMax()">getSizeRuleBaseMax</A></B>()</CODE><BR> Return the number of examples in the maximal rule base.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../weka/classifiers/misc/OLM.html#getSizeRuleBaseMin()">getSizeRuleBaseMin</A></B>()</CODE><BR> Return the number of examples in the minimal rule base.</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/misc/OLM.html#getSort()">getSort</A></B>()</CODE><BR> Returns if the instances are sorted prior to building the rule bases.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../weka/core/TechnicalInformation.html" title="class in weka.core">TechnicalInformation</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../weka/classifiers/misc/OLM.html#getTechnicalInformation()">getTechnicalInformation</A></B>()</CODE><BR> Returns an instance of a TechnicalInformation object, containing detailed information about the technical background of this class, e.g., paper reference or book this class is based 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/misc/OLM.html#globalInfo()">globalInfo</A></B>()</CODE><BR> Returns a string describing the classifier.</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/misc/OLM.html#listOptions()">listOptions</A></B>()</CODE><BR> Get an enumeration of all available options for this classifier.</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/misc/OLM.html#main(java.lang.String[])">main</A></B>(java.lang.String[] args)</CODE><BR> Main method for testing this class.</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/misc/OLM.html#seedTipText()">seedTipText</A></B>()</CODE><BR> Returns the tip text for this property.</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/misc/OLM.html#setAveragingType(weka.core.SelectedTag)">setAveragingType</A></B>(<A HREF="../../../weka/core/SelectedTag.html" title="class in weka.core">SelectedTag</A> value)</CODE><BR> Sets the averaging type to use in phase 1 of the algorithm.</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/misc/OLM.html#setClassificationType(weka.core.SelectedTag)">setClassificationType</A></B>(<A HREF="../../../weka/core/SelectedTag.html" title="class in weka.core">SelectedTag</A> value)</CODE><BR> Sets the classification type.</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/misc/OLM.html#setDistanceType(weka.core.SelectedTag)">setDistanceType</A></B>(<A HREF="../../../weka/core/SelectedTag.html" title="class in weka.core">SelectedTag</A> value)</CODE><BR> Sets the distance type to be used by a nearest neighbour rule (if any).</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/misc/OLM.html#setExtensionType(weka.core.SelectedTag)">setExtensionType</A></B>(<A HREF="../../../weka/core/SelectedTag.html" title="class in weka.core">SelectedTag</A> value)</CODE><BR> Sets the extension type to use.</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/misc/OLM.html#setOptions(java.lang.String[])">setOptions</A></B>(java.lang.String[] options)</CODE><BR> Parses the options for this object.</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/misc/OLM.html#setSort(boolean)">setSort</A></B>(boolean sort)</CODE><BR> Sets if the instances are to be sorted prior to building the rule bases.</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/misc/OLM.html#sortTipText()">sortTipText</A></B>()</CODE><BR> Returns the tip text for this property.</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/misc/OLM.html#toString()">toString</A></B>()</CODE><BR> Returns a string description of the classifier.</TD></TR></TABLE> <A NAME="methods_inherited_from_class_weka.classifiers.RandomizableClassifier"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TH ALIGN="left"><B>Methods inherited from class weka.classifiers.<A HREF="../../../weka/classifiers/RandomizableClassifier.html" title="class in weka.classifiers">RandomizableClassifier</A></B></TH></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../../weka/classifiers/RandomizableClassifier.html#getSeed()">getSeed</A>, <A HREF="../../../weka/classifiers/RandomizableClassifier.html#setSeed(int)">setSeed</A></CODE></TD></TR></TABLE> <A NAME="methods_inherited_from_class_weka.classifiers.Classifier"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TH ALIGN="left"><B>Methods inherited from class weka.classifiers.<A HREF="../../../weka/classifiers/Classifier.html" title="class in weka.classifiers">Classifier</A></B></TH></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../../weka/classifiers/Classifier.html#debugTipText()">debugTipText</A>, <A HREF="../../../weka/classifiers/Classifier.html#distributionForInstance(weka.core.Instance)">distributionForInstance</A>, <A HREF="../../../weka/classifiers/Classifier.html#forName(java.lang.String, java.lang.String[])">forName</A>, <A HREF="../../../weka/classifiers/Classifier.html#getDebug()">getDebug</A>, <A HREF="../../../weka/classifiers/Classifier.html#makeCopies(weka.classifiers.Classifier, int)">makeCopies</A>, <A HREF="../../../weka/classifiers/Classifier.html#makeCopy(weka.classifiers.Classifier)">makeCopy</A>, <A HREF="../../../weka/classifiers/Classifier.html#setDebug(boolean)">setDebug</A></CODE></TD></TR></TABLE> <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE>equals, getClass, hashCode, notify, notifyAll, wait, wait, wait</CODE></TD></TR></TABLE> <P><!-- ============ FIELD DETAIL =========== --><A NAME="field_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"><B>Field Detail</B></FONT></TH></TR></TABLE><A NAME="CT_ROUNDED"><!-- --></A><H3>CT_ROUNDED</H3><PRE>public static final int <B>CT_ROUNDED</B></PRE><DL><DD>Round the real value that is returned by the original algorithm to the nearest label.<P><DL><DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#weka.classifiers.misc.OLM.CT_ROUNDED">Constant Field Values</A></DL></DL><HR><A NAME="CT_REAL"><!-- --></A><H3>CT_REAL</H3><PRE>public static final int <B>CT_REAL</B></PRE><DL><DD>No rounding is performed during classification, this is the classification is done in a regression like way.<P><DL><DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#weka.classifiers.misc.OLM.CT_REAL">Constant Field Values</A></DL></DL><HR><A NAME="TAGS_CLASSIFICATIONTYPES"><!-- --></A><H3>TAGS_CLASSIFICATIONTYPES</H3><PRE>public static final <A HREF="../../../weka/core/Tag.html" title="class in weka.core">Tag</A>[] <B>TAGS_CLASSIFICATIONTYPES</B></PRE><DL><DD>the classification types<P><DL></DL></DL><HR><A NAME="AT_MEAN"><!-- --></A><H3>AT_MEAN</H3><PRE>public static final int <B>AT_MEAN</B></PRE><DL><DD>Use the mean for averaging in phase 1. This is in fact a non ordinal procedure. The scores used for averaging are the internal values of WEKA.<P><DL><DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#weka.classifiers.misc.OLM.AT_MEAN">Constant Field Values</A></DL></DL><HR><A NAME="AT_MEDIAN"><!-- --></A><H3>AT_MEDIAN</H3><PRE>public static final int <B>AT_MEDIAN</B></PRE><DL><DD>Use the median for averaging in phase 1. The possible values are in the extended set of labels, this is labels in between the original labels are possible.<P><DL><DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#weka.classifiers.misc.OLM.AT_MEDIAN">Constant Field Values</A></DL></DL><HR><A NAME="AT_MAXPROB"><!-- --></A><H3>AT_MAXPROB</H3><PRE>public static final int <B>AT_MAXPROB</B></PRE><DL><DD>Use the mode for averaging in phase 1. The label that has maximum frequency is used. If there is more than one label that has maximum frequency, the lowest one is prefered.<P><DL><DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#weka.classifiers.misc.OLM.AT_MAXPROB">Constant Field Values</A></DL></DL><HR><A NAME="TAGS_AVERAGINGTYPES"><!-- --></A><H3>TAGS_AVERAGINGTYPES</H3><PRE>public static final <A HREF="../../../weka/core/Tag.html" title="class in weka.core">Tag</A>[] <B>TAGS_AVERAGINGTYPES</B></PRE><DL><DD>the averaging types<P><DL></DL></DL><HR><A NAME="DT_NONE"><!-- --></A><H3>DT_NONE</H3><PRE>public static final int <B>DT_NONE</B></PRE><DL><DD>No nearest neighbour rule will be fired when classifying an instance for which there is no smaller rule in the rule base?<P><DL><DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#weka.classifiers.misc.OLM.DT_NONE">Constant Field Values</A></DL>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -