📄 ensembleselectionlibrarymodel.html
字号:
</DD><DD><DL><DT><B>Parameters:</B><DD><CODE>seed</CODE> - the seed value</DL></DD></DL><HR><A NAME="getSeed()"><!-- --></A><H3>getSeed</H3><PRE>public int <B>getSeed</B>()</PRE><DL><DD>Get the seed<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>the seed value</DL></DD></DL><HR><A NAME="setValidationRatio(double)"><!-- --></A><H3>setValidationRatio</H3><PRE>public void <B>setValidationRatio</B>(double validationRatio)</PRE><DL><DD>Sets the validation set ratio (only meaningful if folds == 1)<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>validationRatio</CODE> - the new ration</DL></DD></DL><HR><A NAME="getValidationRatio()"><!-- --></A><H3>getValidationRatio</H3><PRE>public double <B>getValidationRatio</B>()</PRE><DL><DD>get validationRatio<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>the current ratio</DL></DD></DL><HR><A NAME="setFolds(int)"><!-- --></A><H3>setFolds</H3><PRE>public void <B>setFolds</B>(int folds)</PRE><DL><DD>Set the number of folds for cross validation. The number of folds also indicates how many classifiers will be built to represent this model.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>folds</CODE> - the number of folds to use</DL></DD></DL><HR><A NAME="getFolds()"><!-- --></A><H3>getFolds</H3><PRE>public int <B>getFolds</B>()</PRE><DL><DD>get the number of folds<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>the current number of folds</DL></DD></DL><HR><A NAME="setChecksum(java.lang.String)"><!-- --></A><H3>setChecksum</H3><PRE>public void <B>setChecksum</B>(java.lang.String instancesChecksum)</PRE><DL><DD>set the checksum<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>instancesChecksum</CODE> - the new checksum</DL></DD></DL><HR><A NAME="getChecksum()"><!-- --></A><H3>getChecksum</H3><PRE>public java.lang.String <B>getChecksum</B>()</PRE><DL><DD>get the checksum<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>the current checksum</DL></DD></DL><HR><A NAME="getModels()"><!-- --></A><H3>getModels</H3><PRE>public <A HREF="../../../../weka/classifiers/Classifier.html" title="class in weka.classifiers">Classifier</A>[] <B>getModels</B>()</PRE><DL><DD>Returs the array of classifiers<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>the current models</DL></DD></DL><HR><A NAME="setFileName(java.lang.String)"><!-- --></A><H3>setFileName</H3><PRE>public void <B>setFileName</B>(java.lang.String fileName)</PRE><DL><DD>Sets the .elm file name for this library model<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>fileName</CODE> - the new filename</DL></DD></DL><HR><A NAME="getStringChecksum(java.lang.String)"><!-- --></A><H3>getStringChecksum</H3><PRE>public static java.lang.String <B>getStringChecksum</B>(java.lang.String string)</PRE><DL><DD>Gets a checksum for the string defining this classifier. This is used to preserve uniqueness in the classifier names.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>string</CODE> - the classifier definition<DT><B>Returns:</B><DD>the checksum string</DL></DD></DL><HR><A NAME="getFileName(java.lang.String)"><!-- --></A><H3>getFileName</H3><PRE>public static java.lang.String <B>getFileName</B>(java.lang.String stringRepresentation)</PRE><DL><DD>The purpose of this method is to get an appropriate file name for a model based on its string representation of a model. All generated filenames are limited to less than 128 characters and all of them will end with a 64 bit checksum value of their string representation to try to maintain some uniqueness of file names.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>stringRepresentation</CODE> - string representation of model<DT><B>Returns:</B><DD>unique filename</DL></DD></DL><HR><A NAME="saveModel(java.lang.String, weka.classifiers.meta.ensembleSelection.EnsembleSelectionLibraryModel)"><!-- --></A><H3>saveModel</H3><PRE>public static void <B>saveModel</B>(java.lang.String directory, <A HREF="../../../../weka/classifiers/meta/ensembleSelection/EnsembleSelectionLibraryModel.html" title="class in weka.classifiers.meta.ensembleSelection">EnsembleSelectionLibraryModel</A> model)</PRE><DL><DD>Saves the given model to the specified file.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>directory</CODE> - the directory to save the model to<DD><CODE>model</CODE> - the model to save</DL></DD></DL><HR><A NAME="loadModel(java.lang.String)"><!-- --></A><H3>loadModel</H3><PRE>public static <A HREF="../../../../weka/classifiers/meta/ensembleSelection/EnsembleSelectionLibraryModel.html" title="class in weka.classifiers.meta.ensembleSelection">EnsembleSelectionLibraryModel</A> <B>loadModel</B>(java.lang.String modelFilePath)</PRE><DL><DD>loads the specified model<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>modelFilePath</CODE> - the path of the model<DT><B>Returns:</B><DD>the model</DL></DD></DL><HR><A NAME="getValidationPredictions()"><!-- --></A><H3>getValidationPredictions</H3><PRE>public double[][] <B>getValidationPredictions</B>()</PRE><DL><DD>getter for validation predictions<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>the current validation predictions</DL></DD></DL><HR><A NAME="setValidationPredictions(double[][])"><!-- --></A><H3>setValidationPredictions</H3><PRE>public void <B>setValidationPredictions</B>(double[][] predictions)</PRE><DL><DD>setter for validation predictions<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>predictions</CODE> - the new validation predictions</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/EnsembleSelectionLibrary.html" title="class in weka.classifiers.meta.ensembleSelection"><B>PREV CLASS</B></A> <A HREF="../../../../weka/classifiers/meta/ensembleSelection/ModelBag.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/EnsembleSelectionLibraryModel.html" target="_top"><B>FRAMES</B></A> <A HREF="EnsembleSelectionLibraryModel.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 + -