📄 kstarnumericattribute.html
字号:
</TABLE> <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from class java.lang.Object</B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD></TR></TABLE> <P><!-- ============ FIELD DETAIL =========== --><A NAME="field_detail"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Field Detail</B></FONT></TD></TR></TABLE><A NAME="m_TrainSet"><!-- --></A><H3>m_TrainSet</H3><PRE>protected <A HREF="../../../weka/core/Instances.html">Instances</A> <B>m_TrainSet</B></PRE><DL><DD>The training instances used for classification.</DL><HR><A NAME="m_Test"><!-- --></A><H3>m_Test</H3><PRE>protected <A HREF="../../../weka/core/Instance.html">Instance</A> <B>m_Test</B></PRE><DL><DD>The test instance</DL><HR><A NAME="m_Train"><!-- --></A><H3>m_Train</H3><PRE>protected <A HREF="../../../weka/core/Instance.html">Instance</A> <B>m_Train</B></PRE><DL><DD>The train instance</DL><HR><A NAME="m_AttrIndex"><!-- --></A><H3>m_AttrIndex</H3><PRE>protected int <B>m_AttrIndex</B></PRE><DL><DD>The index of the attribute in the test and train instances</DL><HR><A NAME="m_Scale"><!-- --></A><H3>m_Scale</H3><PRE>protected double <B>m_Scale</B></PRE><DL><DD>The scale parameter</DL><HR><A NAME="m_MissingProb"><!-- --></A><H3>m_MissingProb</H3><PRE>protected double <B>m_MissingProb</B></PRE><DL><DD>Probability of test attribute transforming into train attribute with missing value</DL><HR><A NAME="m_AverageProb"><!-- --></A><H3>m_AverageProb</H3><PRE>protected double <B>m_AverageProb</B></PRE><DL><DD>Average probability of test attribute transforming into train attribute</DL><HR><A NAME="m_SmallestProb"><!-- --></A><H3>m_SmallestProb</H3><PRE>protected double <B>m_SmallestProb</B></PRE><DL><DD>Smallest probability of test attribute transforming into train attribute</DL><HR><A NAME="m_Distances"><!-- --></A><H3>m_Distances</H3><PRE>protected double[] <B>m_Distances</B></PRE><DL><DD>The set of disctances from the test attribute to the set of train attributes</DL><HR><A NAME="m_RandClassCols"><!-- --></A><H3>m_RandClassCols</H3><PRE>protected int[][] <B>m_RandClassCols</B></PRE><DL><DD>Set of colomns: each colomn representing a randomised version of the train dataset class colomn</DL><HR><A NAME="m_ActualCount"><!-- --></A><H3>m_ActualCount</H3><PRE>protected int <B>m_ActualCount</B></PRE><DL><DD>The number of train instances with no missing attribute values</DL><HR><A NAME="m_Cache"><!-- --></A><H3>m_Cache</H3><PRE>protected <A HREF="../../../weka/classifiers/kstar/KStarCache.html">KStarCache</A> <B>m_Cache</B></PRE><DL><DD>A cache for storing attribute values and their corresponding scale parameters</DL><HR><A NAME="m_NumInstances"><!-- --></A><H3>m_NumInstances</H3><PRE>protected int <B>m_NumInstances</B></PRE><DL><DD>The number of instances in the dataset</DL><HR><A NAME="m_NumClasses"><!-- --></A><H3>m_NumClasses</H3><PRE>protected int <B>m_NumClasses</B></PRE><DL><DD>The number of class values</DL><HR><A NAME="m_NumAttributes"><!-- --></A><H3>m_NumAttributes</H3><PRE>protected int <B>m_NumAttributes</B></PRE><DL><DD>The number of attributes</DL><HR><A NAME="m_ClassType"><!-- --></A><H3>m_ClassType</H3><PRE>protected int <B>m_ClassType</B></PRE><DL><DD>The class attribute type</DL><HR><A NAME="m_MissingMode"><!-- --></A><H3>m_MissingMode</H3><PRE>protected int <B>m_MissingMode</B></PRE><DL><DD>missing value treatment</DL><HR><A NAME="m_BlendMethod"><!-- --></A><H3>m_BlendMethod</H3><PRE>protected int <B>m_BlendMethod</B></PRE><DL><DD>0 = use specified blend, 1 = entropic blend setting</DL><HR><A NAME="m_BlendFactor"><!-- --></A><H3>m_BlendFactor</H3><PRE>protected int <B>m_BlendFactor</B></PRE><DL><DD>default sphere of influence blend setting</DL><!-- ========= CONSTRUCTOR DETAIL ======== --><A NAME="constructor_detail"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Constructor Detail</B></FONT></TD></TR></TABLE><A NAME="KStarNumericAttribute(weka.core.Instance, weka.core.Instance, int, weka.core.Instances, int[][], weka.classifiers.kstar.KStarCache)"><!-- --></A><H3>KStarNumericAttribute</H3><PRE>public <B>KStarNumericAttribute</B>(<A HREF="../../../weka/core/Instance.html">Instance</A> test, <A HREF="../../../weka/core/Instance.html">Instance</A> train, int attrIndex, <A HREF="../../../weka/core/Instances.html">Instances</A> trainSet, int[][] randClassCols, <A HREF="../../../weka/classifiers/kstar/KStarCache.html">KStarCache</A> cache)</PRE><DL><DD>Constructor</DL><!-- ============ METHOD DETAIL ========== --><A NAME="method_detail"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Method Detail</B></FONT></TD></TR></TABLE><A NAME="transProb()"><!-- --></A><H3>transProb</H3><PRE>public double <B>transProb</B>()</PRE><DL><DD>Calculates the transformation probability of the attribute indexed "m_AttrIndex" in test instance "m_Test" to the same attribute in the train instance "m_Train".<DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>the probability value</DL></DD></DL><HR><A NAME="setOptions(int, int, int)"><!-- --></A><H3>setOptions</H3><PRE>public void <B>setOptions</B>(int missingmode, int blendmethod, int blendfactor)</PRE><DL><DD>Set options.<DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>missingmode</CODE> - the missing value treatment to use<DD><CODE>blendmethod</CODE> - the blending method to use<DD><CODE>blendfactor</CODE> - the level of blending to use</DL></DD></DL><HR><A NAME="setMissingMode(int)"><!-- --></A><H3>setMissingMode</H3><PRE>public void <B>setMissingMode</B>(int mode)</PRE><DL><DD>Set the missing value mode.<DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>mode</CODE> - the type of missing value treatment to use</DL></DD></DL><HR><A NAME="setBlendMethod(int)"><!-- --></A><H3>setBlendMethod</H3><PRE>public void <B>setBlendMethod</B>(int method)</PRE><DL><DD>Set the blending method<DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>method</CODE> - the blending method to use</DL></DD></DL><HR><A NAME="setBlendFactor(int)"><!-- --></A><H3>setBlendFactor</H3><PRE>public void <B>setBlendFactor</B>(int factor)</PRE><DL><DD>Set the blending factor<DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>factor</CODE> - the level of blending to use</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/classifiers/kstar/KStarNominalAttribute.html"><B>PREV CLASS</B></A> <A HREF="../../../weka/classifiers/kstar/KStarWrapper.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="KStarNumericAttribute.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 + -