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

📄 learner.html

📁 数据挖掘方面最新软件
💻 HTML
📖 第 1 页 / 共 2 页
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><!--NewPage--><HTML><HEAD><!-- Generated by javadoc (build 1.5.0_13) on Mon Jul 14 01:36:27 CEST 2008 --><TITLE>Learner (RapidMiner Class Documentation)</TITLE><META NAME="keywords" CONTENT="com.rapidminer.operator.learner.Learner interface"><LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style"><SCRIPT type="text/javascript">function windowTitle(){    parent.document.title="Learner (RapidMiner Class Documentation)";}</SCRIPT><NOSCRIPT></NOSCRIPT></HEAD><BODY BGCOLOR="white" onload="windowTitle();"><!-- ========= START OF TOP NAVBAR ======= --><A NAME="navbar_top"><!-- --></A><A HREF="#skip-navbar_top" 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_top_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/Learner.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></EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">&nbsp;<A HREF="../../../../com/rapidminer/operator/learner/CapabilityCheck.html" title="class in com.rapidminer.operator.learner"><B>PREV CLASS</B></A>&nbsp;&nbsp;<A HREF="../../../../com/rapidminer/operator/learner/LearnerCapability.html" title="class in com.rapidminer.operator.learner"><B>NEXT CLASS</B></A></FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">  <A HREF="../../../../index.html?com/rapidminer/operator/learner/Learner.html" target="_top"><B>FRAMES</B></A>  &nbsp;&nbsp;<A HREF="Learner.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;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD></TR></TABLE><A NAME="skip-navbar_top"></A><!-- ========= END OF TOP NAVBAR ========= --><HR><!-- ======== START OF CLASS DATA ======== --><H2><FONT SIZE="-1">com.rapidminer.operator.learner</FONT><BR>Interface Learner</H2><DL><DT><B>All Known Implementing Classes:</B> <DD><A HREF="../../../../com/rapidminer/operator/learner/AbstractLearner.html" title="class in com.rapidminer.operator.learner">AbstractLearner</A>, <A HREF="../../../../com/rapidminer/operator/learner/meta/AbstractMetaLearner.html" title="class in com.rapidminer.operator.learner.meta">AbstractMetaLearner</A>, <A HREF="../../../../com/rapidminer/operator/learner/functions/kernel/AbstractMySVMLearner.html" title="class in com.rapidminer.operator.learner.functions.kernel">AbstractMySVMLearner</A>, <A HREF="../../../../com/rapidminer/operator/learner/meta/AbstractStacking.html" title="class in com.rapidminer.operator.learner.meta">AbstractStacking</A>, <A HREF="../../../../com/rapidminer/operator/learner/tree/AbstractTreeLearner.html" title="class in com.rapidminer.operator.learner.tree">AbstractTreeLearner</A>, <A HREF="../../../../com/rapidminer/operator/learner/meta/AdaBoost.html" title="class in com.rapidminer.operator.learner.meta">AdaBoost</A>, <A HREF="../../../../com/rapidminer/operator/learner/meta/AdditiveRegression.html" title="class in com.rapidminer.operator.learner.meta">AdditiveRegression</A>, <A HREF="../../../../com/rapidminer/operator/learner/lazy/AttributeBasedVotingLearner.html" title="class in com.rapidminer.operator.learner.lazy">AttributeBasedVotingLearner</A>, <A HREF="../../../../com/rapidminer/operator/learner/meta/Bagging.html" title="class in com.rapidminer.operator.learner.meta">Bagging</A>, <A HREF="../../../../com/rapidminer/operator/learner/meta/BayBoostStream.html" title="class in com.rapidminer.operator.learner.meta">BayBoostStream</A>, <A HREF="../../../../com/rapidminer/operator/learner/meta/BayesianBoosting.html" title="class in com.rapidminer.operator.learner.meta">BayesianBoosting</A>, <A HREF="../../../../com/rapidminer/operator/learner/rules/BestRuleInduction.html" title="class in com.rapidminer.operator.learner.rules">BestRuleInduction</A>, <A HREF="../../../../com/rapidminer/operator/learner/meta/Binary2MultiClassLearner.html" title="class in com.rapidminer.operator.learner.meta">Binary2MultiClassLearner</A>, <A HREF="../../../../com/rapidminer/operator/learner/tree/CHAIDLearner.html" title="class in com.rapidminer.operator.learner.tree">CHAIDLearner</A>, <A HREF="../../../../com/rapidminer/operator/learner/meta/ClassificationByRegression.html" title="class in com.rapidminer.operator.learner.meta">ClassificationByRegression</A>, <A HREF="../../../../com/rapidminer/operator/learner/meta/CostBasedThresholdLearner.html" title="class in com.rapidminer.operator.learner.meta">CostBasedThresholdLearner</A>, <A HREF="../../../../com/rapidminer/operator/learner/tree/DecisionStumpLearner.html" title="class in com.rapidminer.operator.learner.tree">DecisionStumpLearner</A>, <A HREF="../../../../com/rapidminer/operator/learner/tree/DecisionTreeLearner.html" title="class in com.rapidminer.operator.learner.tree">DecisionTreeLearner</A>, <A HREF="../../../../com/rapidminer/operator/learner/lazy/DefaultLearner.html" title="class in com.rapidminer.operator.learner.lazy">DefaultLearner</A>, <A HREF="../../../../com/rapidminer/operator/learner/functions/kernel/evosvm/EvoSVM.html" title="class in com.rapidminer.operator.learner.functions.kernel.evosvm">EvoSVM</A>, <A HREF="../../../../com/rapidminer/operator/learner/weka/GenericWekaEnsembleLearner.html" title="class in com.rapidminer.operator.learner.weka">GenericWekaEnsembleLearner</A>, <A HREF="../../../../com/rapidminer/operator/learner/weka/GenericWekaLearner.html" title="class in com.rapidminer.operator.learner.weka">GenericWekaLearner</A>, <A HREF="../../../../com/rapidminer/operator/learner/weka/GenericWekaMetaLearner.html" title="class in com.rapidminer.operator.learner.weka">GenericWekaMetaLearner</A>, <A HREF="../../../../com/rapidminer/operator/learner/functions/kernel/GPLearner.html" title="class in com.rapidminer.operator.learner.functions.kernel">GPLearner</A>, <A HREF="../../../../com/rapidminer/operator/learner/functions/kernel/hyperhyper/HyperHyper.html" title="class in com.rapidminer.operator.learner.functions.kernel.hyperhyper">HyperHyper</A>, <A HREF="../../../../com/rapidminer/operator/learner/tree/ID3Learner.html" title="class in com.rapidminer.operator.learner.tree">ID3Learner</A>, <A HREF="../../../../com/rapidminer/operator/learner/tree/ID3NumericalLearner.html" title="class in com.rapidminer.operator.learner.tree">ID3NumericalLearner</A>, <A HREF="../../../../com/rapidminer/operator/learner/igss/IteratingGSS.html" title="class in com.rapidminer.operator.learner.igss">IteratingGSS</A>, <A HREF="../../../../com/rapidminer/operator/learner/functions/kernel/JMySVMLearner.html" title="class in com.rapidminer.operator.learner.functions.kernel">JMySVMLearner</A>, <A HREF="../../../../com/rapidminer/operator/learner/functions/kernel/KernelLogisticRegression.html" title="class in com.rapidminer.operator.learner.functions.kernel">KernelLogisticRegression</A>, <A HREF="../../../../com/rapidminer/operator/learner/lazy/KNNLearner.html" title="class in com.rapidminer.operator.learner.lazy">KNNLearner</A>, <A HREF="../../../../com/rapidminer/operator/learner/functions/kernel/LibSVMLearner.html" title="class in com.rapidminer.operator.learner.functions.kernel">LibSVMLearner</A>, <A HREF="../../../../com/rapidminer/operator/learner/functions/LinearRegression.html" title="class in com.rapidminer.operator.learner.functions">LinearRegression</A>, <A HREF="../../../../com/rapidminer/operator/learner/functions/LogisticRegression.html" title="class in com.rapidminer.operator.learner.functions">LogisticRegression</A>, <A HREF="../../../../com/rapidminer/operator/learner/meta/MetaCost.html" title="class in com.rapidminer.operator.learner.meta">MetaCost</A>, <A HREF="../../../../com/rapidminer/operator/learner/tree/MultiCriterionDecisionStumps.html" title="class in com.rapidminer.operator.learner.tree">MultiCriterionDecisionStumps</A>, <A HREF="../../../../com/rapidminer/operator/learner/functions/kernel/MyKLRLearner.html" title="class in com.rapidminer.operator.learner.functions.kernel">MyKLRLearner</A>, <A HREF="../../../../com/rapidminer/operator/learner/bayes/NaiveBayes.html" title="class in com.rapidminer.operator.learner.bayes">NaiveBayes</A>, <A HREF="../../../../com/rapidminer/operator/learner/functions/neuralnet/NeuralNetLearner.html" title="class in com.rapidminer.operator.learner.functions.neuralnet">NeuralNetLearner</A>, <A HREF="../../../../com/rapidminer/operator/learner/functions/Perceptron.html" title="class in com.rapidminer.operator.learner.functions">Perceptron</A>, <A HREF="../../../../com/rapidminer/operator/learner/functions/kernel/evosvm/PSOSVM.html" title="class in com.rapidminer.operator.learner.functions.kernel.evosvm">PSOSVM</A>, <A HREF="../../../../com/rapidminer/operator/learner/tree/RandomForestLearner.html" title="class in com.rapidminer.operator.learner.tree">RandomForestLearner</A>, <A HREF="../../../../com/rapidminer/operator/learner/tree/RandomTreeLearner.html" title="class in com.rapidminer.operator.learner.tree">RandomTreeLearner</A>, <A HREF="../../../../com/rapidminer/operator/learner/meta/RelativeRegression.html" title="class in com.rapidminer.operator.learner.meta">RelativeRegression</A>, <A HREF="../../../../com/rapidminer/operator/learner/tree/RelevanceTreeLearner.html" title="class in com.rapidminer.operator.learner.tree">RelevanceTreeLearner</A>, <A HREF="../../../../com/rapidminer/operator/learner/rules/RuleLearner.html" title="class in com.rapidminer.operator.learner.rules">RuleLearner</A>, <A HREF="../../../../com/rapidminer/operator/learner/functions/kernel/RVMLearner.html" title="class in com.rapidminer.operator.learner.functions.kernel">RVMLearner</A>, <A HREF="../../../../com/rapidminer/operator/learner/rules/SimpleRuleLearner.html" title="class in com.rapidminer.operator.learner.rules">SimpleRuleLearner</A>, <A HREF="../../../../com/rapidminer/operator/learner/rules/SingleRuleLearner.html" title="class in com.rapidminer.operator.learner.rules">SingleRuleLearner</A>, <A HREF="../../../../com/rapidminer/operator/learner/meta/Stacking.html" title="class in com.rapidminer.operator.learner.meta">Stacking</A>, <A HREF="../../../../com/rapidminer/operator/learner/meta/Tree2RuleConverter.html" title="class in com.rapidminer.operator.learner.meta">Tree2RuleConverter</A>, <A HREF="../../../../com/rapidminer/operator/learner/meta/Vote.html" title="class in com.rapidminer.operator.learner.meta">Vote</A></DD></DL><HR><DL><DT><PRE>public interface <B>Learner</B></DL></PRE><P>A <tt>Learner</tt> is an operator that encapsulates the learning step of a machine learning method. Some Learners may be capable of estimating the performance of the generated model. In that case, they additionally return a <A HREF="../../../../com/rapidminer/operator/performance/PerformanceVector.html" title="class in com.rapidminer.operator.performance"><CODE>PerformanceVector</CODE></A>. Furthermore some learner can calculate weights of the used attributes which can also be delivered.<P><P><DL><DT><B>Version:</B></DT>  <DD>$Id: Learner.java,v 1.4 2008/05/09 19:23:25 ingomierswa Exp $</DD><DT><B>Author:</B></DT>  <DD>Ingo Mierswa</DD></DL><HR><P><!-- ========== METHOD SUMMARY =========== --><A NAME="method_summary"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"><B>Method Summary</B></FONT></TH></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<A HREF="../../../../com/rapidminer/operator/performance/PerformanceVector.html" title="class in com.rapidminer.operator.performance">PerformanceVector</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../com/rapidminer/operator/learner/Learner.html#getEstimatedPerformance()">getEstimatedPerformance</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Most learners should throw an exception if they are not able to estimate the learning performance.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;java.lang.String</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../com/rapidminer/operator/learner/Learner.html#getName()">getName</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the name of the learner.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<A HREF="../../../../com/rapidminer/example/AttributeWeights.html" title="class in com.rapidminer.example">AttributeWeights</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../com/rapidminer/operator/learner/Learner.html#getWeights(com.rapidminer.example.ExampleSet)">getWeights</A></B>(<A HREF="../../../../com/rapidminer/example/ExampleSet.html" title="interface in com.rapidminer.example">ExampleSet</A>&nbsp;eSet)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Most learners should throw an exception if they are not able to calculate attribute weights.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<A HREF="../../../../com/rapidminer/operator/Model.html" title="interface in com.rapidminer.operator">Model</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../com/rapidminer/operator/learner/Learner.html#learn(com.rapidminer.example.ExampleSet)">learn</A></B>(<A HREF="../../../../com/rapidminer/example/ExampleSet.html" title="interface in com.rapidminer.example">ExampleSet</A>&nbsp;exampleSet)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Trains a model.</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/Learner.html#shouldCalculateWeights()">shouldCalculateWeights</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Most learners will return false since they are not able to calculate attribute weights.</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/Learner.html#shouldEstimatePerformance()">shouldEstimatePerformance</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Most learners will return false since they are not able to estimate the learning performance.</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/Learner.html#supportsCapability(com.rapidminer.operator.learner.LearnerCapability)">supportsCapability</A></B>(<A HREF="../../../../com/rapidminer/operator/learner/LearnerCapability.html" title="class in com.rapidminer.operator.learner">LearnerCapability</A>&nbsp;capability)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Checks for Learner capabilities.</TD></TR></TABLE>&nbsp;

⌨️ 快捷键说明

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