referenceinstances.html
来自「由java开发的软件包」· HTML 代码 · 共 301 行 · 第 1/2 页
HTML
301 行
</TABLE> <!-- ========== METHOD SUMMARY =========== --><A NAME="method_summary"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=2><FONT SIZE="+2"><B>Method Summary</B></FONT></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/trees/adtree/ReferenceInstances.html#addReference(weka.core.Instance)">addReference</A></B>(<A HREF="../../../../weka/core/Instance.html" title="class in weka.core">Instance</A> instance)</CODE><BR> Adds one instance reference to the end of the set.</TD></TR></TABLE> <A NAME="methods_inherited_from_class_weka.core.Instances"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from class weka.core.<A HREF="../../../../weka/core/Instances.html" title="class in weka.core">Instances</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../../../weka/core/Instances.html#add(weka.core.Instance)">add</A>, <A HREF="../../../../weka/core/Instances.html#attribute(int)">attribute</A>, <A HREF="../../../../weka/core/Instances.html#attribute(java.lang.String)">attribute</A>, <A HREF="../../../../weka/core/Instances.html#attributeStats(int)">attributeStats</A>, <A HREF="../../../../weka/core/Instances.html#attributeToDoubleArray(int)">attributeToDoubleArray</A>, <A HREF="../../../../weka/core/Instances.html#checkForStringAttributes()">checkForStringAttributes</A>, <A HREF="../../../../weka/core/Instances.html#checkInstance(weka.core.Instance)">checkInstance</A>, <A HREF="../../../../weka/core/Instances.html#classAttribute()">classAttribute</A>, <A HREF="../../../../weka/core/Instances.html#classIndex()">classIndex</A>, <A HREF="../../../../weka/core/Instances.html#compactify()">compactify</A>, <A HREF="../../../../weka/core/Instances.html#delete()">delete</A>, <A HREF="../../../../weka/core/Instances.html#delete(int)">delete</A>, <A HREF="../../../../weka/core/Instances.html#deleteAttributeAt(int)">deleteAttributeAt</A>, <A HREF="../../../../weka/core/Instances.html#deleteStringAttributes()">deleteStringAttributes</A>, <A HREF="../../../../weka/core/Instances.html#deleteWithMissing(weka.core.Attribute)">deleteWithMissing</A>, <A HREF="../../../../weka/core/Instances.html#deleteWithMissing(int)">deleteWithMissing</A>, <A HREF="../../../../weka/core/Instances.html#deleteWithMissingClass()">deleteWithMissingClass</A>, <A HREF="../../../../weka/core/Instances.html#enumerateAttributes()">enumerateAttributes</A>, <A HREF="../../../../weka/core/Instances.html#enumerateInstances()">enumerateInstances</A>, <A HREF="../../../../weka/core/Instances.html#equalHeaders(weka.core.Instances)">equalHeaders</A>, <A HREF="../../../../weka/core/Instances.html#firstInstance()">firstInstance</A>, <A HREF="../../../../weka/core/Instances.html#getRandomNumberGenerator(long)">getRandomNumberGenerator</A>, <A HREF="../../../../weka/core/Instances.html#insertAttributeAt(weka.core.Attribute, int)">insertAttributeAt</A>, <A HREF="../../../../weka/core/Instances.html#instance(int)">instance</A>, <A HREF="../../../../weka/core/Instances.html#lastInstance()">lastInstance</A>, <A HREF="../../../../weka/core/Instances.html#main(java.lang.String[])">main</A>, <A HREF="../../../../weka/core/Instances.html#meanOrMode(weka.core.Attribute)">meanOrMode</A>, <A HREF="../../../../weka/core/Instances.html#meanOrMode(int)">meanOrMode</A>, <A HREF="../../../../weka/core/Instances.html#mergeInstances(weka.core.Instances, weka.core.Instances)">mergeInstances</A>, <A HREF="../../../../weka/core/Instances.html#numAttributes()">numAttributes</A>, <A HREF="../../../../weka/core/Instances.html#numClasses()">numClasses</A>, <A HREF="../../../../weka/core/Instances.html#numDistinctValues(weka.core.Attribute)">numDistinctValues</A>, <A HREF="../../../../weka/core/Instances.html#numDistinctValues(int)">numDistinctValues</A>, <A HREF="../../../../weka/core/Instances.html#numInstances()">numInstances</A>, <A HREF="../../../../weka/core/Instances.html#randomize(java.util.Random)">randomize</A>, <A HREF="../../../../weka/core/Instances.html#readInstance(java.io.Reader)">readInstance</A>, <A HREF="../../../../weka/core/Instances.html#relationName()">relationName</A>, <A HREF="../../../../weka/core/Instances.html#renameAttribute(weka.core.Attribute, java.lang.String)">renameAttribute</A>, <A HREF="../../../../weka/core/Instances.html#renameAttribute(int, java.lang.String)">renameAttribute</A>, <A HREF="../../../../weka/core/Instances.html#renameAttributeValue(weka.core.Attribute, java.lang.String, java.lang.String)">renameAttributeValue</A>, <A HREF="../../../../weka/core/Instances.html#renameAttributeValue(int, int, java.lang.String)">renameAttributeValue</A>, <A HREF="../../../../weka/core/Instances.html#resample(java.util.Random)">resample</A>, <A HREF="../../../../weka/core/Instances.html#resampleWithWeights(java.util.Random)">resampleWithWeights</A>, <A HREF="../../../../weka/core/Instances.html#resampleWithWeights(java.util.Random, double[])">resampleWithWeights</A>, <A HREF="../../../../weka/core/Instances.html#setClass(weka.core.Attribute)">setClass</A>, <A HREF="../../../../weka/core/Instances.html#setClassIndex(int)">setClassIndex</A>, <A HREF="../../../../weka/core/Instances.html#setRelationName(java.lang.String)">setRelationName</A>, <A HREF="../../../../weka/core/Instances.html#sort(weka.core.Attribute)">sort</A>, <A HREF="../../../../weka/core/Instances.html#sort(int)">sort</A>, <A HREF="../../../../weka/core/Instances.html#stratify(int)">stratify</A>, <A HREF="../../../../weka/core/Instances.html#stringFreeStructure()">stringFreeStructure</A>, <A HREF="../../../../weka/core/Instances.html#sumOfWeights()">sumOfWeights</A>, <A HREF="../../../../weka/core/Instances.html#swap(int, int)">swap</A>, <A HREF="../../../../weka/core/Instances.html#test(java.lang.String[])">test</A>, <A HREF="../../../../weka/core/Instances.html#testCV(int, int)">testCV</A>, <A HREF="../../../../weka/core/Instances.html#toString()">toString</A>, <A HREF="../../../../weka/core/Instances.html#toSummaryString()">toSummaryString</A>, <A HREF="../../../../weka/core/Instances.html#trainCV(int, int)">trainCV</A>, <A HREF="../../../../weka/core/Instances.html#trainCV(int, int, java.util.Random)">trainCV</A>, <A HREF="../../../../weka/core/Instances.html#variance(weka.core.Attribute)">variance</A>, <A HREF="../../../../weka/core/Instances.html#variance(int)">variance</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"><TD><B>Methods inherited from class java.lang.Object</B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE>equals, getClass, hashCode, notify, notifyAll, wait, wait, wait</CODE></TD></TR></TABLE> <P><!-- ============ FIELD DETAIL =========== --><!-- ========= CONSTRUCTOR DETAIL ======== --><A NAME="constructor_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Constructor Detail</B></FONT></TD></TR></TABLE><A NAME="ReferenceInstances(weka.core.Instances, int)"><!-- --></A><H3>ReferenceInstances</H3><PRE>public <B>ReferenceInstances</B>(<A HREF="../../../../weka/core/Instances.html" title="class in weka.core">Instances</A> dataset, int capacity)</PRE><DL><DD>Creates an empty set of instances.<P><DT><B>Parameters:</B><DD><CODE>dataset</CODE> - the instances to get the header information from<DD><CODE>capacity</CODE> - the initial storage capacity of the set</DL><!-- ============ METHOD DETAIL ========== --><A NAME="method_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Method Detail</B></FONT></TD></TR></TABLE><A NAME="addReference(weka.core.Instance)"><!-- --></A><H3>addReference</H3><PRE>public final void <B>addReference</B>(<A HREF="../../../../weka/core/Instance.html" title="class in weka.core">Instance</A> instance)</PRE><DL><DD>Adds one instance reference to the end of the set. Does not copy instance before it is added. Increases the size of the dataset if it is not large enough. Does not check if the instance is compatible with the dataset.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>instance</CODE> - the instance to be added</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=3 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> </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="../../../../../Tutorial.pdf"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="http://www.cs.waikato.ac.nz/ml/weka/index.html"><FONT CLASS="NavBarFont1"><B>Weka's home</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/trees/adtree/PredictionNode.html" title="class in weka.classifiers.trees.adtree"><B>PREV CLASS</B></A> <A HREF="../../../../weka/classifiers/trees/adtree/Splitter.html" title="class in weka.classifiers.trees.adtree"><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="ReferenceInstances.html" target="_top"><B>NO FRAMES</B></A> <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: NESTED | <A HREF="#fields_inherited_from_class_weka.core.Instances">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: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <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 + -
显示快捷键?