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

📄 ensemblelibrary.html

📁 数据挖掘的最常用工具。由于开源
💻 HTML
📖 第 1 页 / 共 2 页
字号:
<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="EnsembleLibrary()"><!-- --></A><H3>EnsembleLibrary</H3><PRE>public <B>EnsembleLibrary</B>()</PRE><DL><DD>Constructor is responsible for initializing the data  structure hoilding all of the models<P></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="size()"><!-- --></A><H3>size</H3><PRE>public int <B>size</B>()</PRE><DL><DD>Returns the number of models in the ensemble library<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>the number of models</DL></DD></DL><HR><A NAME="addModel(weka.classifiers.EnsembleLibraryModel)"><!-- --></A><H3>addModel</H3><PRE>public void <B>addModel</B>(<A HREF="../../weka/classifiers/EnsembleLibraryModel.html" title="class in weka.classifiers">EnsembleLibraryModel</A>&nbsp;model)</PRE><DL><DD>adds a LibraryModel to the Library<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>model</CODE> - the model to add</DL></DD></DL><HR><A NAME="addModel(java.lang.String)"><!-- --></A><H3>addModel</H3><PRE>public void <B>addModel</B>(java.lang.String&nbsp;modelString)</PRE><DL><DD>adds a LibraryModel to the Library<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>modelString</CODE> - the model to add</DL></DD></DL><HR><A NAME="removeModel(weka.classifiers.EnsembleLibraryModel)"><!-- --></A><H3>removeModel</H3><PRE>public void <B>removeModel</B>(<A HREF="../../weka/classifiers/EnsembleLibraryModel.html" title="class in weka.classifiers">EnsembleLibraryModel</A>&nbsp;model)</PRE><DL><DD>removes a LibraryModel from the Library<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>model</CODE> - the model to remove</DL></DD></DL><HR><A NAME="createModel(weka.classifiers.Classifier)"><!-- --></A><H3>createModel</H3><PRE>public <A HREF="../../weka/classifiers/EnsembleLibraryModel.html" title="class in weka.classifiers">EnsembleLibraryModel</A> <B>createModel</B>(<A HREF="../../weka/classifiers/Classifier.html" title="class in weka.classifiers">Classifier</A>&nbsp;classifier)</PRE><DL><DD>creates a LibraryModel from a string representing the command line invocation<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>classifier</CODE> - the classifier to create a model from<DT><B>Returns:</B><DD>the generated model</DL></DD></DL><HR><A NAME="createModel(java.lang.String)"><!-- --></A><H3>createModel</H3><PRE>public <A HREF="../../weka/classifiers/EnsembleLibraryModel.html" title="class in weka.classifiers">EnsembleLibraryModel</A> <B>createModel</B>(java.lang.String&nbsp;modelString)</PRE><DL><DD>This method takes a String argument defining a classifier and uses it to create a base Classifier.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>modelString</CODE> - the classifier string<DT><B>Returns:</B><DD>the generated model</DL></DD></DL><HR><A NAME="getModels()"><!-- --></A><H3>getModels</H3><PRE>public java.util.TreeSet <B>getModels</B>()</PRE><DL><DD>getter for the set of models in this library<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>the current models</DL></DD></DL><HR><A NAME="setModels(java.util.TreeSet)"><!-- --></A><H3>setModels</H3><PRE>public void <B>setModels</B>(java.util.TreeSet&nbsp;models)</PRE><DL><DD>setter for the set of models in this library<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>models</CODE> - the models to use</DL></DD></DL><HR><A NAME="clearModels()"><!-- --></A><H3>clearModels</H3><PRE>public void <B>clearModels</B>()</PRE><DL><DD>removes all models from the current library<P><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="loadLibrary(java.io.File, javax.swing.JComponent, weka.classifiers.EnsembleLibrary)"><!-- --></A><H3>loadLibrary</H3><PRE>public static void <B>loadLibrary</B>(java.io.File&nbsp;selectedFile,                               javax.swing.JComponent&nbsp;dialogParent,                               <A HREF="../../weka/classifiers/EnsembleLibrary.html" title="class in weka.classifiers">EnsembleLibrary</A>&nbsp;library)</PRE><DL><DD>Loads and returns a library from the specified file<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>selectedFile</CODE> - the file to load from<DD><CODE>dialogParent</CODE> - the parent component<DD><CODE>library</CODE> - will contain the data after loading</DL></DD></DL><HR><A NAME="loadLibrary(java.io.File, weka.classifiers.EnsembleLibrary)"><!-- --></A><H3>loadLibrary</H3><PRE>public static void <B>loadLibrary</B>(java.io.File&nbsp;selectedFile,                               <A HREF="../../weka/classifiers/EnsembleLibrary.html" title="class in weka.classifiers">EnsembleLibrary</A>&nbsp;library)                        throws java.lang.Exception</PRE><DL><DD>This method takes a model list file and a library object as arguments and Instantiates all of the models in the library list file.  It is assumed that the passed library was an associated working directory and can take care of creating the model objects itself.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>selectedFile</CODE> - the file to load<DD><CODE>library</CODE> - the library<DT><B>Throws:</B><DD><CODE>java.lang.Exception</CODE> - if something goes wrong</DL></DD></DL><HR><A NAME="loadLibrary(java.io.InputStream, weka.classifiers.EnsembleLibrary)"><!-- --></A><H3>loadLibrary</H3><PRE>public static void <B>loadLibrary</B>(java.io.InputStream&nbsp;stream,                               <A HREF="../../weka/classifiers/EnsembleLibrary.html" title="class in weka.classifiers">EnsembleLibrary</A>&nbsp;library)                        throws java.lang.Exception</PRE><DL><DD>This method takes an XML input stream and a library object as arguments  and Instantiates all of the models in the stream.  It is assumed that the passed library was an associated working directory and can take care of creating the model objects itself.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>stream</CODE> - the XML stream to load<DD><CODE>library</CODE> - the library<DT><B>Throws:</B><DD><CODE>java.lang.Exception</CODE> - if something goes wrong</DL></DD></DL><HR><A NAME="saveLibrary(java.io.File, weka.classifiers.EnsembleLibrary, javax.swing.JComponent)"><!-- --></A><H3>saveLibrary</H3><PRE>public static void <B>saveLibrary</B>(java.io.File&nbsp;selectedFile,                               <A HREF="../../weka/classifiers/EnsembleLibrary.html" title="class in weka.classifiers">EnsembleLibrary</A>&nbsp;library,                               javax.swing.JComponent&nbsp;dialogParent)</PRE><DL><DD>Saves the given library in the specified file.  This saves only the specification of the models as a model list.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>selectedFile</CODE> - the file to save to<DD><CODE>library</CODE> - the library to save<DD><CODE>dialogParent</CODE> - the component parent</DL></DD></DL><HR><A NAME="addPropertyChangeListener(java.beans.PropertyChangeListener)"><!-- --></A><H3>addPropertyChangeListener</H3><PRE>public void <B>addPropertyChangeListener</B>(java.beans.PropertyChangeListener&nbsp;listener)</PRE><DL><DD>Adds an object to the list of those that wish to be informed when the library changes.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>listener</CODE> - a new listener to add to the list</DL></DD></DL><HR><A NAME="getRevision()"><!-- --></A><H3>getRevision</H3><PRE>public java.lang.String <B>getRevision</B>()</PRE><DL><DD>Returns the revision string.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../weka/core/RevisionHandler.html#getRevision()">getRevision</A></CODE> in interface <CODE><A HREF="../../weka/core/RevisionHandler.html" title="interface in weka.core">RevisionHandler</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>the revision</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=2 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>&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> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="http://www.cs.waikato.ac.nz/ml/weka/" target="_blank"><FONT CLASS="NavBarFont1"><B>Weka's home</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/CostMatrix.html" title="class in weka.classifiers"><B>PREV CLASS</B></A>&nbsp;&nbsp;<A HREF="../../weka/classifiers/EnsembleLibraryModel.html" title="class in weka.classifiers"><B>NEXT CLASS</B></A></FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">  <A HREF="../../index.html?weka/classifiers/EnsembleLibrary.html" target="_top"><B>FRAMES</B></A>  &nbsp;&nbsp;<A HREF="EnsembleLibrary.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;&nbsp;<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:&nbsp;NESTED&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><A NAME="skip-navbar_bottom"></A><!-- ======== END OF BOTTOM NAVBAR ======= --><HR></BODY></HTML>

⌨️ 快捷键说明

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