knnlearner.html

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

HTML
443
字号
public <B>KNNLearner</B>(<A HREF="../../../../../com/rapidminer/operator/OperatorDescription.html" title="class in com.rapidminer.operator">OperatorDescription</A>&nbsp;description)</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="learn(com.rapidminer.example.ExampleSet)"><!-- --></A><H3>learn</H3><PRE>public <A HREF="../../../../../com/rapidminer/operator/Model.html" title="interface in com.rapidminer.operator">Model</A> <B>learn</B>(<A HREF="../../../../../com/rapidminer/example/ExampleSet.html" title="interface in com.rapidminer.example">ExampleSet</A>&nbsp;exampleSet)            throws <A HREF="../../../../../com/rapidminer/operator/OperatorException.html" title="class in com.rapidminer.operator">OperatorException</A></PRE><DL><DD><B>Description copied from interface: <CODE><A HREF="../../../../../com/rapidminer/operator/learner/Learner.html#learn(com.rapidminer.example.ExampleSet)">Learner</A></CODE></B></DD><DD>Trains a model. This method should be called by apply() and is implemented by subclasses.<P><DD><DL><DT><B>Throws:</B><DD><CODE><A HREF="../../../../../com/rapidminer/operator/OperatorException.html" title="class in com.rapidminer.operator">OperatorException</A></CODE></DL></DD></DL><HR><A NAME="supportsCapability(com.rapidminer.operator.learner.LearnerCapability)"><!-- --></A><H3>supportsCapability</H3><PRE>public boolean <B>supportsCapability</B>(<A HREF="../../../../../com/rapidminer/operator/learner/LearnerCapability.html" title="class in com.rapidminer.operator.learner">LearnerCapability</A>&nbsp;lc)</PRE><DL><DD><B>Description copied from interface: <CODE><A HREF="../../../../../com/rapidminer/operator/learner/Learner.html#supportsCapability(com.rapidminer.operator.learner.LearnerCapability)">Learner</A></CODE></B></DD><DD>Checks for Learner capabilities. Should return true if the given capability is supported.<P><DD><DL></DL></DD></DL><HR><A NAME="getInputDescription(java.lang.Class)"><!-- --></A><H3>getInputDescription</H3><PRE>public <A HREF="../../../../../com/rapidminer/operator/InputDescription.html" title="class in com.rapidminer.operator">InputDescription</A> <B>getInputDescription</B>(java.lang.Class&nbsp;cls)</PRE><DL><DD><B>Description copied from class: <CODE><A HREF="../../../../../com/rapidminer/operator/learner/AbstractLearner.html#getInputDescription(java.lang.Class)">AbstractLearner</A></CODE></B></DD><DD>Indicates that the consumption of example sets can be user defined.<P><DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../../../../com/rapidminer/operator/learner/AbstractLearner.html#getInputDescription(java.lang.Class)">getInputDescription</A></CODE> in class <CODE><A HREF="../../../../../com/rapidminer/operator/learner/AbstractLearner.html" title="class in com.rapidminer.operator.learner">AbstractLearner</A></CODE></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="getParameterTypes()"><!-- --></A><H3>getParameterTypes</H3><PRE>public java.util.List&lt;<A HREF="../../../../../com/rapidminer/parameter/ParameterType.html" title="class in com.rapidminer.parameter">ParameterType</A>&gt; <B>getParameterTypes</B>()</PRE><DL><DD><B>Description copied from class: <CODE><A HREF="../../../../../com/rapidminer/operator/Operator.html#getParameterTypes()">Operator</A></CODE></B></DD><DD>Returns a list of <tt>ParameterTypes</tt> describing the parameters of this operator. The default implementation returns an empty list if no input objects can be retained and special parameters for those input objects which can be prevented from being consumed.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../com/rapidminer/parameter/ParameterHandler.html#getParameterTypes()">getParameterTypes</A></CODE> in interface <CODE><A HREF="../../../../../com/rapidminer/parameter/ParameterHandler.html" title="interface in com.rapidminer.parameter">ParameterHandler</A></CODE><DT><B>Overrides:</B><DD><CODE><A HREF="../../../../../com/rapidminer/operator/Operator.html#getParameterTypes()">getParameterTypes</A></CODE> in class <CODE><A HREF="../../../../../com/rapidminer/operator/Operator.html" title="class in com.rapidminer.operator">Operator</A></CODE></DL></DD><DD><DL></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="class-use/KNNLearner.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&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>  </TR></TABLE></TD><TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM><a href="http://sourceforge.net"><img src="http://sourceforge.net/sflogo.php?group_id=114160&amp;type=2" width="125" height="37" border="0" alt="SourceForge.net Logo" /></a></EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">&nbsp;<A HREF="../../../../../com/rapidminer/operator/learner/lazy/KNNClassificationModel.html" title="class in com.rapidminer.operator.learner.lazy"><B>PREV CLASS</B></A>&nbsp;&nbsp;<A HREF="../../../../../com/rapidminer/operator/learner/lazy/KNNRegressionModel.html" title="class in com.rapidminer.operator.learner.lazy"><B>NEXT CLASS</B></A></FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">  <A HREF="../../../../../index.html?com/rapidminer/operator/learner/lazy/KNNLearner.html" target="_top"><B>FRAMES</B></A>  &nbsp;&nbsp;<A HREF="KNNLearner.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><i>Copyright &#169; 2001-2008 by <a href="http://rapid-i.com" target="_blank">Rapid-I</a></i></BODY></HTML>

⌨️ 快捷键说明

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