abstractmysvmmodel.html

来自「数据挖掘方面最新软件」· HTML 代码 · 共 699 行 · 第 1/3 页

HTML
699
字号
</TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../../com/rapidminer/operator/learner/functions/kernel/AbstractMySVMModel.html#getNumberOfSupportVectors()">getNumberOfSupportVectors</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;double</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../../com/rapidminer/operator/learner/functions/kernel/AbstractMySVMModel.html#getRegressionLabel(int)">getRegressionLabel</A></B>(int&nbsp;index)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<A HREF="../../../../../../com/rapidminer/operator/learner/functions/kernel/SupportVector.html" title="class in com.rapidminer.operator.learner.functions.kernel">SupportVector</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../../com/rapidminer/operator/learner/functions/kernel/AbstractMySVMModel.html#getSupportVector(int)">getSupportVector</A></B>(int&nbsp;index)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This method must divide the alpha by the label since internally the alpha value is already multiplied with y.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../../com/rapidminer/operator/learner/functions/kernel/AbstractMySVMModel.html#isClassificationModel()">isClassificationModel</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<A HREF="../../../../../../com/rapidminer/example/ExampleSet.html" title="interface in com.rapidminer.example">ExampleSet</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../../com/rapidminer/operator/learner/functions/kernel/AbstractMySVMModel.html#performPrediction(com.rapidminer.example.ExampleSet, com.rapidminer.example.Attribute)">performPrediction</A></B>(<A HREF="../../../../../../com/rapidminer/example/ExampleSet.html" title="interface in com.rapidminer.example">ExampleSet</A>&nbsp;exampleSet,                  <A HREF="../../../../../../com/rapidminer/example/Attribute.html" title="interface in com.rapidminer.example">Attribute</A>&nbsp;predictedLabelAttribute)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Subclasses should iterate through the given example set and set the prediction for each example.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>abstract &nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../../com/rapidminer/operator/learner/functions/kernel/AbstractMySVMModel.html#setPrediction(com.rapidminer.example.Example, double)">setPrediction</A></B>(<A HREF="../../../../../../com/rapidminer/example/Example.html" title="class in com.rapidminer.example">Example</A>&nbsp;example,              double&nbsp;prediction)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the correct prediction to the example from the result value of the SVM.</TD></TR></TABLE>&nbsp;<A NAME="methods_inherited_from_class_com.rapidminer.operator.learner.functions.kernel.KernelModel"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TH ALIGN="left"><B>Methods inherited from class com.rapidminer.operator.learner.functions.kernel.<A HREF="../../../../../../com/rapidminer/operator/learner/functions/kernel/KernelModel.html" title="class in com.rapidminer.operator.learner.functions.kernel">KernelModel</A></B></TH></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../../../../../com/rapidminer/operator/learner/functions/kernel/KernelModel.html#createWeightsTable()">createWeightsTable</A>, <A HREF="../../../../../../com/rapidminer/operator/learner/functions/kernel/KernelModel.html#getName()">getName</A>, <A HREF="../../../../../../com/rapidminer/operator/learner/functions/kernel/KernelModel.html#getVisualizationComponent(com.rapidminer.operator.IOContainer)">getVisualizationComponent</A>, <A HREF="../../../../../../com/rapidminer/operator/learner/functions/kernel/KernelModel.html#toString()">toString</A></CODE></TD></TR></TABLE>&nbsp;<A NAME="methods_inherited_from_class_com.rapidminer.operator.learner.PredictionModel"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TH ALIGN="left"><B>Methods inherited from class com.rapidminer.operator.learner.<A HREF="../../../../../../com/rapidminer/operator/learner/PredictionModel.html" title="class in com.rapidminer.operator.learner">PredictionModel</A></B></TH></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../../../../../com/rapidminer/operator/learner/PredictionModel.html#apply(com.rapidminer.example.ExampleSet)">apply</A>, <A HREF="../../../../../../com/rapidminer/operator/learner/PredictionModel.html#checkCompatibility(com.rapidminer.example.ExampleSet)">checkCompatibility</A>, <A HREF="../../../../../../com/rapidminer/operator/learner/PredictionModel.html#copyPredictedLabel(com.rapidminer.example.ExampleSet, com.rapidminer.example.ExampleSet)">copyPredictedLabel</A>, <A HREF="../../../../../../com/rapidminer/operator/learner/PredictionModel.html#createPredictedLabel(com.rapidminer.example.ExampleSet, com.rapidminer.example.Attribute)">createPredictedLabel</A>, <A HREF="../../../../../../com/rapidminer/operator/learner/PredictionModel.html#getLabel()">getLabel</A>, <A HREF="../../../../../../com/rapidminer/operator/learner/PredictionModel.html#removePredictedLabel(com.rapidminer.example.ExampleSet)">removePredictedLabel</A>, <A HREF="../../../../../../com/rapidminer/operator/learner/PredictionModel.html#removePredictedLabel(com.rapidminer.example.ExampleSet, boolean, boolean)">removePredictedLabel</A></CODE></TD></TR></TABLE>&nbsp;<A NAME="methods_inherited_from_class_com.rapidminer.operator.AbstractModel"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TH ALIGN="left"><B>Methods inherited from class com.rapidminer.operator.<A HREF="../../../../../../com/rapidminer/operator/AbstractModel.html" title="class in com.rapidminer.operator">AbstractModel</A></B></TH></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../../../../../com/rapidminer/operator/AbstractModel.html#getExtension()">getExtension</A>, <A HREF="../../../../../../com/rapidminer/operator/AbstractModel.html#getFileDescription()">getFileDescription</A>, <A HREF="../../../../../../com/rapidminer/operator/AbstractModel.html#getResultIcon()">getResultIcon</A>, <A HREF="../../../../../../com/rapidminer/operator/AbstractModel.html#getTrainingHeader()">getTrainingHeader</A>, <A HREF="../../../../../../com/rapidminer/operator/AbstractModel.html#isUpdatable()">isUpdatable</A>, <A HREF="../../../../../../com/rapidminer/operator/AbstractModel.html#setParameter(java.lang.String, java.lang.Object)">setParameter</A>, <A HREF="../../../../../../com/rapidminer/operator/AbstractModel.html#updateModel(com.rapidminer.example.ExampleSet)">updateModel</A></CODE></TD></TR></TABLE>&nbsp;<A NAME="methods_inherited_from_class_com.rapidminer.operator.ResultObjectAdapter"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TH ALIGN="left"><B>Methods inherited from class com.rapidminer.operator.<A HREF="../../../../../../com/rapidminer/operator/ResultObjectAdapter.html" title="class in com.rapidminer.operator">ResultObjectAdapter</A></B></TH></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../../../../../com/rapidminer/operator/ResultObjectAdapter.html#addAction(javax.swing.Action)">addAction</A>, <A HREF="../../../../../../com/rapidminer/operator/ResultObjectAdapter.html#getActions()">getActions</A>, <A HREF="../../../../../../com/rapidminer/operator/ResultObjectAdapter.html#isSavable()">isSavable</A>, <A HREF="../../../../../../com/rapidminer/operator/ResultObjectAdapter.html#log(java.lang.String)">log</A>, <A HREF="../../../../../../com/rapidminer/operator/ResultObjectAdapter.html#logError(java.lang.String)">logError</A>, <A HREF="../../../../../../com/rapidminer/operator/ResultObjectAdapter.html#logNote(java.lang.String)">logNote</A>, <A HREF="../../../../../../com/rapidminer/operator/ResultObjectAdapter.html#logWarning(java.lang.String)">logWarning</A>, <A HREF="../../../../../../com/rapidminer/operator/ResultObjectAdapter.html#readResolve()">readResolve</A>, <A HREF="../../../../../../com/rapidminer/operator/ResultObjectAdapter.html#save(java.io.File)">save</A>, <A HREF="../../../../../../com/rapidminer/operator/ResultObjectAdapter.html#toHTML(java.lang.String)">toHTML</A>, <A HREF="../../../../../../com/rapidminer/operator/ResultObjectAdapter.html#toResultString()">toResultString</A></CODE></TD></TR></TABLE>&nbsp;<A NAME="methods_inherited_from_class_com.rapidminer.operator.AbstractIOObject"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TH ALIGN="left"><B>Methods inherited from class com.rapidminer.operator.<A HREF="../../../../../../com/rapidminer/operator/AbstractIOObject.html" title="class in com.rapidminer.operator">AbstractIOObject</A></B></TH></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../../../../../com/rapidminer/operator/AbstractIOObject.html#copy()">copy</A>, <A HREF="../../../../../../com/rapidminer/operator/AbstractIOObject.html#getLog()">getLog</A>, <A HREF="../../../../../../com/rapidminer/operator/AbstractIOObject.html#getSource()">getSource</A>, <A HREF="../../../../../../com/rapidminer/operator/AbstractIOObject.html#initWriting()">initWriting</A>, <A HREF="../../../../../../com/rapidminer/operator/AbstractIOObject.html#read(java.io.InputStream)">read</A>, <A HREF="../../../../../../com/rapidminer/operator/AbstractIOObject.html#setSource(java.lang.String)">setSource</A>, <A HREF="../../../../../../com/rapidminer/operator/AbstractIOObject.html#setWorkingOperator(com.rapidminer.operator.Operator)">setWorkingOperator</A>, <A HREF="../../../../../../com/rapidminer/operator/AbstractIOObject.html#write(java.io.OutputStream)">write</A></CODE></TD></TR></TABLE>&nbsp;<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"><TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait</CODE></TD></TR></TABLE>&nbsp;<A NAME="methods_inherited_from_class_com.rapidminer.operator.ResultObject"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TH ALIGN="left"><B>Methods inherited from interface com.rapidminer.operator.<A HREF="../../../../../../com/rapidminer/operator/ResultObject.html" title="interface in com.rapidminer.operator">ResultObject</A></B></TH></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../../../../../com/rapidminer/operator/ResultObject.html#getActions()">getActions</A>, <A HREF="../../../../../../com/rapidminer/operator/ResultObject.html#toResultString()">toResultString</A></CODE></TD></TR></TABLE>&nbsp;<A NAME="methods_inherited_from_class_com.rapidminer.operator.IOObject"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TH ALIGN="left"><B>Methods inherited from interface com.rapidminer.operator.<A HREF="../../../../../../com/rapidminer/operator/IOObject.html" title="interface in com.rapidminer.operator">IOObject</A></B></TH></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../../../../../com/rapidminer/operator/IOObject.html#copy()">copy</A>, <A HREF="../../../../../../com/rapidminer/operator/IOObject.html#getLog()">getLog</A>, <A HREF="../../../../../../com/rapidminer/operator/IOObject.html#getSource()">getSource</A>, <A HREF="../../../../../../com/rapidminer/operator/IOObject.html#setSource(java.lang.String)">setSource</A>, <A HREF="../../../../../../com/rapidminer/operator/IOObject.html#setWorkingOperator(com.rapidminer.operator.Operator)">setWorkingOperator</A>, <A HREF="../../../../../../com/rapidminer/operator/IOObject.html#write(java.io.OutputStream)">write</A></CODE></TD></TR></TABLE>&nbsp;<A NAME="methods_inherited_from_class_com.rapidminer.operator.Saveable"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TH ALIGN="left"><B>Methods inherited from interface com.rapidminer.operator.<A HREF="../../../../../../com/rapidminer/operator/Saveable.html" title="interface in com.rapidminer.operator">Saveable</A></B></TH></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../../../../../com/rapidminer/operator/Saveable.html#isSavable()">isSavable</A>, <A HREF="../../../../../../com/rapidminer/operator/Saveable.html#save(java.io.File)">save</A></CODE></TD></TR></TABLE>&nbsp;<P><!-- ========= 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="AbstractMySVMModel(com.rapidminer.example.ExampleSet, com.rapidminer.operator.learner.functions.kernel.jmysvm.examples.SVMExamples, com.rapidminer.operator.learner.functions.kernel.jmysvm.kernel.Kernel, int)"><!-- --></A><H3>AbstractMySVMModel</H3><PRE>public <B>AbstractMySVMModel</B>(<A HREF="../../../../../../com/rapidminer/example/ExampleSet.html" title="interface in com.rapidminer.example">ExampleSet</A>&nbsp;exampleSet,                          <A HREF="../../../../../../com/rapidminer/operator/learner/functions/kernel/jmysvm/examples/SVMExamples.html" title="class in com.rapidminer.operator.learner.functions.kernel.jmysvm.examples">SVMExamples</A>&nbsp;model,                          <A HREF="../../../../../../com/rapidminer/operator/learner/functions/kernel/jmysvm/kernel/Kernel.html" title="class in com.rapidminer.operator.learner.functions.kernel.jmysvm.kernel">Kernel</A>&nbsp;kernel,                          int&nbsp;kernelType)</PRE><DL></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="createSVM()"><!-- --></A><H3>createSVM</H3><PRE>public abstract <A HREF="../../../../../../com/rapidminer/operator/learner/functions/kernel/jmysvm/svm/SVMInterface.html" title="interface in com.rapidminer.operator.learner.functions.kernel.jmysvm.svm">SVMInterface</A> <B>createSVM</B>()</PRE><DL><DD>Creates a new SVM for prediction.<P><DD><DL></DL></DD></DL><HR><A NAME="isClassificationModel()"><!-- --></A><H3>isClassificationModel</H3><PRE>public boolean <B>isClassificationModel</B>()</PRE><DL><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../../com/rapidminer/operator/learner/functions/kernel/KernelModel.html#isClassificationModel()">isClassificationModel</A></CODE> in class <CODE><A HREF="../../../../../../com/rapidminer/operator/learner/functions/kernel/KernelModel.html" title="class in com.rapidminer.operator.learner.functions.kernel">KernelModel</A></CODE></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="getBias()"><!-- --></A><H3>getBias</H3><PRE>public double <B>getBias</B>()</PRE><DL><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../../com/rapidminer/operator/learner/functions/kernel/KernelModel.html#getBias()">getBias</A></CODE> in class <CODE><A HREF="../../../../../../com/rapidminer/operator/learner/functions/kernel/KernelModel.html" title="class in com.rapidminer.operator.learner.functions.kernel">KernelModel</A></CODE></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="getSupportVector(int)"><!-- --></A><H3>getSupportVector</H3><PRE>public <A HREF="../../../../../../com/rapidminer/operator/learner/functions/kernel/SupportVector.html" title="class in com.rapidminer.operator.learner.functions.kernel">SupportVector</A> <B>getSupportVector</B>(int&nbsp;index)</PRE><DL><DD>This method must divide the alpha by the label since internally the alpha value is already multiplied with y.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../../com/rapidminer/operator/learner/functions/kernel/KernelModel.html#getSupportVector(int)">getSupportVector</A></CODE> in class <CODE><A HREF="../../../../../../com/rapidminer/operator/learner/functions/kernel/KernelModel.html" title="class in com.rapidminer.operator.learner.functions.kernel">KernelModel</A></CODE></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="getAlpha(int)"><!-- --></A><H3>getAlpha</H3><PRE>public double <B>getAlpha</B>(int&nbsp;index)</PRE><DL><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../../com/rapidminer/operator/learner/functions/kernel/KernelModel.html#getAlpha(int)">getAlpha</A></CODE> in class <CODE><A HREF="../../../../../../com/rapidminer/operator/learner/functions/kernel/KernelModel.html" title="class in com.rapidminer.operator.learner.functions.kernel">KernelModel</A></CODE></DL></DD>

⌨️ 快捷键说明

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