📄 ensembleselectionlibrary.html
字号:
<DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>modelKey</CODE> - the key of the model</DL></DD></DL><HR><A NAME="getModelNames()"><!-- --></A><H3>getModelNames</H3><PRE>public java.util.Set <B>getModelNames</B>()</PRE><DL><DD>This method will return a Set object containing all the String representations of the models. The iterator across this Set object will return the model name in alphebetical order.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>all model representations</DL></DD></DL><HR><A NAME="getHillclimbPredictions()"><!-- --></A><H3>getHillclimbPredictions</H3><PRE>public double[][][] <B>getHillclimbPredictions</B>()</PRE><DL><DD>This method will get the predictions for all the models in the ensemble library. If cross validaiton is used, then predictions will be returned for the entire training set. If cross validation is not used, then predictions will only be returned for the ratio of the training set reserved for validation.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>the predictions</DL></DD></DL><HR><A NAME="getWorkingDirectory()"><!-- --></A><H3>getWorkingDirectory</H3><PRE>public java.io.File <B>getWorkingDirectory</B>()</PRE><DL><DD>Gets the working Directory of the ensemble library.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>the working directory.</DL></DD></DL><HR><A NAME="setWorkingDirectory(java.io.File)"><!-- --></A><H3>setWorkingDirectory</H3><PRE>public void <B>setWorkingDirectory</B>(java.io.File workingDirectory)</PRE><DL><DD>Sets the working Directory of the ensemble library.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>workingDirectory</CODE> - the working directory to use.</DL></DD></DL><HR><A NAME="getModelListFile()"><!-- --></A><H3>getModelListFile</H3><PRE>public java.lang.String <B>getModelListFile</B>()</PRE><DL><DD>Gets the model list file that holds the list of models in the ensemble library.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>the working directory.</DL></DD></DL><HR><A NAME="setModelListFile(java.lang.String)"><!-- --></A><H3>setModelListFile</H3><PRE>public void <B>setModelListFile</B>(java.lang.String modelListFile)</PRE><DL><DD>Sets the model list file that holds the list of models in the ensemble library.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>modelListFile</CODE> - the model list file to use</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> classifier)</PRE><DL><DD>creates a LibraryModel from a set of arguments<P><DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../../../weka/classifiers/EnsembleLibrary.html#createModel(weka.classifiers.Classifier)">createModel</A></CODE> in class <CODE><A HREF="../../../../weka/classifiers/EnsembleLibrary.html" title="class in weka.classifiers">EnsembleLibrary</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>classifier</CODE> - the classifier to use<DT><B>Returns:</B><DD>the generated library 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 modelString)</PRE><DL><DD>This method takes a String argument defining a classifier and uses it to create a base Classifier. WARNING! This method is only called when trying to craete models from flat files (.mlf). This method is highly untested and foreseeably will cause problems when trying to nest arguments within multiplte meta classifiers. To avoid any problems we recommend using only XML serialization, via saving to .model.xml and using only the createModel(Classifier) method above.<P><DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../../../weka/classifiers/EnsembleLibrary.html#createModel(java.lang.String)">createModel</A></CODE> in class <CODE><A HREF="../../../../weka/classifiers/EnsembleLibrary.html" title="class in weka.classifiers">EnsembleLibrary</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>modelString</CODE> - the classifier definition<DT><B>Returns:</B><DD>the generated library model</DL></DD></DL><HR><A NAME="getInstancesChecksum(weka.core.Instances)"><!-- --></A><H3>getInstancesChecksum</H3><PRE>public static java.lang.String <B>getInstancesChecksum</B>(<A HREF="../../../../weka/core/Instances.html" title="class in weka.core">Instances</A> instances)</PRE><DL><DD>This method takes an Instances object and returns a checksum of its toString method - that is the checksum of the .arff file that would be created if the Instances object were transformed into an arff file in the file system.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>instances</CODE> - the data to get the checksum for<DT><B>Returns:</B><DD>the checksum</DL></DD></DL><HR><A NAME="getDataDirectoryName(weka.core.Instances)"><!-- --></A><H3>getDataDirectoryName</H3><PRE>public static java.lang.String <B>getDataDirectoryName</B>(<A HREF="../../../../weka/core/Instances.html" title="class in weka.core">Instances</A> instances)</PRE><DL><DD>Returns the unique name for the set of instances supplied. This is used to create a directory for all of the models corresponding to that set of instances. This was intended as a way to keep Working Directories "organized"<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>instances</CODE> - the data to get the directory for<DT><B>Returns:</B><DD>the directory</DL></DD></DL><HR><A NAME="addWorkingDirectoryListener(java.beans.PropertyChangeListener)"><!-- --></A><H3>addWorkingDirectoryListener</H3><PRE>public void <B>addWorkingDirectoryListener</B>(java.beans.PropertyChangeListener listener)</PRE><DL><DD>Adds an object to the list of those that wish to be informed when the eotking directory 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><!-- ========= 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> </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> <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> </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/meta/ensembleSelection/EnsembleModelMismatchException.html" title="class in weka.classifiers.meta.ensembleSelection"><B>PREV CLASS</B></A> <A HREF="../../../../weka/classifiers/meta/ensembleSelection/EnsembleSelectionLibraryModel.html" title="class in weka.classifiers.meta.ensembleSelection"><B>NEXT CLASS</B></A></FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../index.html?weka/classifiers/meta/ensembleSelection/EnsembleSelectionLibrary.html" target="_top"><B>FRAMES</B></A> <A HREF="EnsembleSelectionLibrary.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="#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><A NAME="skip-navbar_bottom"></A><!-- ======== END OF BOTTOM NAVBAR ======= --><HR></BODY></HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -