📄 olm.html
字号:
</DL><HR><A NAME="DT_EUCLID"><!-- --></A><H3>DT_EUCLID</H3><PRE>public static final int <B>DT_EUCLID</B></PRE><DL><DD>Use the Euclidian distance whenever a nearest neighbour rule is fired.<P><DL><DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#weka.classifiers.misc.OLM.DT_EUCLID">Constant Field Values</A></DL></DL><HR><A NAME="DT_HAMMING"><!-- --></A><H3>DT_HAMMING</H3><PRE>public static final int <B>DT_HAMMING</B></PRE><DL><DD>Use the Hamming distance, this is the number of positions in which the instances differ, whenever a nearest neighbour rule is fired<P><DL><DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#weka.classifiers.misc.OLM.DT_HAMMING">Constant Field Values</A></DL></DL><HR><A NAME="TAGS_DISTANCETYPES"><!-- --></A><H3>TAGS_DISTANCETYPES</H3><PRE>public static final <A HREF="../../../weka/core/Tag.html" title="class in weka.core">Tag</A>[] <B>TAGS_DISTANCETYPES</B></PRE><DL><DD>the distance types<P><DL></DL></DL><HR><A NAME="ET_MIN"><!-- --></A><H3>ET_MIN</H3><PRE>public static final int <B>ET_MIN</B></PRE><DL><DD>Use only the minimal extension, as in the original algorithm of Ben-David.<P><DL><DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#weka.classifiers.misc.OLM.ET_MIN">Constant Field Values</A></DL></DL><HR><A NAME="ET_MAX"><!-- --></A><H3>ET_MAX</H3><PRE>public static final int <B>ET_MAX</B></PRE><DL><DD>Use only the maximal extension. In this case an algorithm dual to the original one is performed.<P><DL><DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#weka.classifiers.misc.OLM.ET_MAX">Constant Field Values</A></DL></DL><HR><A NAME="ET_BOTH"><!-- --></A><H3>ET_BOTH</H3><PRE>public static final int <B>ET_BOTH</B></PRE><DL><DD>Combine both the minimal and maximal extension, and use the midpoint of the resulting interval as prediction.<P><DL><DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#weka.classifiers.misc.OLM.ET_BOTH">Constant Field Values</A></DL></DL><HR><A NAME="TAGS_EXTENSIONTYPES"><!-- --></A><H3>TAGS_EXTENSIONTYPES</H3><PRE>public static final <A HREF="../../../weka/core/Tag.html" title="class in weka.core">Tag</A>[] <B>TAGS_EXTENSIONTYPES</B></PRE><DL><DD>the mode types<P><DL></DL></DL><!-- ========= CONSTRUCTOR DETAIL ======== --><A NAME="constructor_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>Constructor Detail</B></FONT></TH></TR></TABLE><A NAME="OLM()"><!-- --></A><H3>OLM</H3><PRE>public <B>OLM</B>()</PRE><DL></DL><!-- ============ METHOD DETAIL ========== --><A NAME="method_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>Method Detail</B></FONT></TH></TR></TABLE><A NAME="globalInfo()"><!-- --></A><H3>globalInfo</H3><PRE>public java.lang.String <B>globalInfo</B>()</PRE><DL><DD>Returns a string describing the classifier.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>a description suitable for displaying in the explorer/experimenter gui</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/classifiers/Classifier.html#getCapabilities()">getCapabilities</A></CODE> in class <CODE><A HREF="../../../weka/classifiers/Classifier.html" title="class in weka.classifiers">Classifier</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="getTechnicalInformation()"><!-- --></A><H3>getTechnicalInformation</H3><PRE>public <A HREF="../../../weka/core/TechnicalInformation.html" title="class in weka.core">TechnicalInformation</A> <B>getTechnicalInformation</B>()</PRE><DL><DD>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.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../weka/core/TechnicalInformationHandler.html#getTechnicalInformation()">getTechnicalInformation</A></CODE> in interface <CODE><A HREF="../../../weka/core/TechnicalInformationHandler.html" title="interface in weka.core">TechnicalInformationHandler</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>the technical information about this class</DL></DD></DL><HR><A NAME="classificationTypeTipText()"><!-- --></A><H3>classificationTypeTipText</H3><PRE>public java.lang.String <B>classificationTypeTipText</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="setClassificationType(weka.core.SelectedTag)"><!-- --></A><H3>setClassificationType</H3><PRE>public void <B>setClassificationType</B>(<A HREF="../../../weka/core/SelectedTag.html" title="class in weka.core">SelectedTag</A> value)</PRE><DL><DD>Sets the classification type.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>value</CODE> - the classification type to be set.</DL></DD></DL><HR><A NAME="getClassificationType()"><!-- --></A><H3>getClassificationType</H3><PRE>public <A HREF="../../../weka/core/SelectedTag.html" title="class in weka.core">SelectedTag</A> <B>getClassificationType</B>()</PRE><DL><DD>Gets the classification type.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>the classification type</DL></DD></DL><HR><A NAME="averagingTypeTipText()"><!-- --></A><H3>averagingTypeTipText</H3><PRE>public java.lang.String <B>averagingTypeTipText</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="setAveragingType(weka.core.SelectedTag)"><!-- --></A><H3>setAveragingType</H3><PRE>public void <B>setAveragingType</B>(<A HREF="../../../weka/core/SelectedTag.html" title="class in weka.core">SelectedTag</A> value)</PRE><DL><DD>Sets the averaging type to use in phase 1 of the algorithm.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>value</CODE> - the averaging type to use</DL></DD></DL><HR><A NAME="getAveragingType()"><!-- --></A><H3>getAveragingType</H3><PRE>public <A HREF="../../../weka/core/SelectedTag.html" title="class in weka.core">SelectedTag</A> <B>getAveragingType</B>()</PRE><DL><DD>Gets the averaging type.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>the averaging type</DL></DD></DL><HR><A NAME="distanceTypeTipText()"><!-- --></A><H3>distanceTypeTipText</H3><PRE>public java.lang.String <B>distanceTypeTipText</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="setDistanceType(weka.core.SelectedTag)"><!-- --></A><H3>setDistanceType</H3><PRE>public void <B>setDistanceType</B>(<A HREF="../../../weka/core/SelectedTag.html" title="class in weka.core">SelectedTag</A> value)</PRE><DL><DD>Sets the distance type to be used by a nearest neighbour rule (if any).<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>value</CODE> - the distance type to use</DL></DD></DL><HR><A NAME="getDistanceType()"><!-- --></A><H3>getDistanceType</H3><PRE>public <A HREF="../../../weka/core/SelectedTag.html" title="class in weka.core">SelectedTag</A> <B>getDistanceType</B>()</PRE><DL><DD>Gets the distance type used by a nearest neighbour rule (if any).<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>the distance type</DL></DD></DL><HR><A NAME="extensionTypeTipText()"><!-- --></A><H3>extensionTypeTipText</H3><PRE>public java.lang.String <B>extensionTypeTipText</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="setExtensionType(weka.core.SelectedTag)"><!-- --></A><H3>setExtensionType</H3><PRE>public void <B>setExtensionType</B>(<A HREF="../../../weka/core/SelectedTag.html" title="class in weka.core">SelectedTag</A> value)</PRE><DL><DD>Sets the extension type to use. The minimal extension is the one used by Ben-David in the original algorithm. The maximal extension is a completely dual variant of the minimal extension. When using both, then the midpoint of the interval determined by both extensions is returned.<P><DD><DL></DL></DD>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -