hypothesis.html

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

HTML
820
字号
</TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>abstract &nbsp;int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../../com/rapidminer/operator/learner/igss/hypothesis/Hypothesis.html#getComplexity()">getComplexity</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns complexity of the hypothesis.</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/igss/hypothesis/Hypothesis.html#getCoveredWeight()">getCoveredWeight</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the covered weight of this hypothesis.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<A HREF="../../../../../../com/rapidminer/example/Attribute.html" title="interface in com.rapidminer.example">Attribute</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../../com/rapidminer/operator/learner/igss/hypothesis/Hypothesis.html#getLabel()">getLabel</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the label.</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/igss/hypothesis/Hypothesis.html#getPositiveWeight()">getPositiveWeight</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the covered positive weight of this hypothesis.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>abstract &nbsp;int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../../com/rapidminer/operator/learner/igss/hypothesis/Hypothesis.html#getPrediction()">getPrediction</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the label index the hypothesis predicts.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>abstract &nbsp;java.util.LinkedList&lt;<A HREF="../../../../../../com/rapidminer/operator/learner/igss/hypothesis/Hypothesis.html" title="class in com.rapidminer.operator.learner.igss.hypothesis">Hypothesis</A>&gt;</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../../com/rapidminer/operator/learner/igss/hypothesis/Hypothesis.html#init(int)">init</A></B>(int&nbsp;minComplexity)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Used to generate the first hypothesis or the first group of hypothesis.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>abstract &nbsp;java.util.LinkedList&lt;<A HREF="../../../../../../com/rapidminer/operator/learner/igss/hypothesis/Hypothesis.html" title="class in com.rapidminer.operator.learner.igss.hypothesis">Hypothesis</A>&gt;</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../../com/rapidminer/operator/learner/igss/hypothesis/Hypothesis.html#refine()">refine</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Generates new hypothesis by adding one degree of complexity and creating all rules that are possible now.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../../com/rapidminer/operator/learner/igss/hypothesis/Hypothesis.html#reset()">reset</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets 'coveredWeight' and 'positiveWeight' back to 0.0d.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../../com/rapidminer/operator/learner/igss/hypothesis/Hypothesis.html#setCoveredWeight(double)">setCoveredWeight</A></B>(double&nbsp;value)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the covered weight of this hypothesis.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../../com/rapidminer/operator/learner/igss/hypothesis/Hypothesis.html#setPositiveWeight(double)">setPositiveWeight</A></B>(double&nbsp;value)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the covered positive weight of this hypothesis.</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>equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD></TR></TABLE>&nbsp;<P><!-- ============ FIELD DETAIL =========== --><A NAME="field_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>Field Detail</B></FONT></TH></TR></TABLE><A NAME="HYPOTHESIS_SPACE_TYPES"><!-- --></A><H3>HYPOTHESIS_SPACE_TYPES</H3><PRE>public static final java.lang.String[] <B>HYPOTHESIS_SPACE_TYPES</B></PRE><DL><DL></DL></DL><HR><A NAME="FIRST_TYPE_INDEX"><!-- --></A><H3>FIRST_TYPE_INDEX</H3><PRE>public static final int <B>FIRST_TYPE_INDEX</B></PRE><DL><DL><DT><B>See Also:</B><DD><A HREF="../../../../../../constant-values.html#com.rapidminer.operator.learner.igss.hypothesis.Hypothesis.FIRST_TYPE_INDEX">Constant Field Values</A></DL></DL><HR><A NAME="TYPE_RULE"><!-- --></A><H3>TYPE_RULE</H3><PRE>public static final int <B>TYPE_RULE</B></PRE><DL><DL><DT><B>See Also:</B><DD><A HREF="../../../../../../constant-values.html#com.rapidminer.operator.learner.igss.hypothesis.Hypothesis.TYPE_RULE">Constant Field Values</A></DL></DL><HR><A NAME="LAST_TYPE_INDEX"><!-- --></A><H3>LAST_TYPE_INDEX</H3><PRE>public static final int <B>LAST_TYPE_INDEX</B></PRE><DL><DL><DT><B>See Also:</B><DD><A HREF="../../../../../../constant-values.html#com.rapidminer.operator.learner.igss.hypothesis.Hypothesis.LAST_TYPE_INDEX">Constant Field Values</A></DL></DL><HR><A NAME="POSITIVE_CLASS"><!-- --></A><H3>POSITIVE_CLASS</H3><PRE>public static final int <B>POSITIVE_CLASS</B></PRE><DL><DL><DT><B>See Also:</B><DD><A HREF="../../../../../../constant-values.html#com.rapidminer.operator.learner.igss.hypothesis.Hypothesis.POSITIVE_CLASS">Constant Field Values</A></DL></DL><HR><A NAME="NEGATIVE_CLASS"><!-- --></A><H3>NEGATIVE_CLASS</H3><PRE>public static final int <B>NEGATIVE_CLASS</B></PRE><DL><DL><DT><B>See Also:</B><DD><A HREF="../../../../../../constant-values.html#com.rapidminer.operator.learner.igss.hypothesis.Hypothesis.NEGATIVE_CLASS">Constant Field Values</A></DL></DL><HR><A NAME="rejectionSampling"><!-- --></A><H3>rejectionSampling</H3><PRE>protected boolean <B>rejectionSampling</B></PRE><DL><DD>Indicates if rejection sampling is used to draw the examples that this rule is applied to. In this case (positive)example counter is incremented by one for every (positive)example the rule is applicable to. In the other case(weights are used directly) the weight of the example is added to the counters.<P><DL></DL></DL><HR><A NAME="coveredWeight"><!-- --></A><H3>coveredWeight</H3><PRE>protected double <B>coveredWeight</B></PRE><DL><DD>Stores the total weight of all examples covered by this hypothesis.<P><DL></DL></DL><HR><A NAME="positiveWeight"><!-- --></A><H3>positiveWeight</H3><PRE>protected double <B>positiveWeight</B></PRE><DL><DD>Stores the weight of examples covered by this hypothesis with correct prediction.<P><DL></DL></DL><HR><A NAME="createAllHypothesis"><!-- --></A><H3>createAllHypothesis</H3><PRE>protected boolean <B>createAllHypothesis</B></PRE><DL><DD>Create h->Y+/Y- or h->Y+ only.<P><DL></DL></DL><!-- ========= 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="Hypothesis(com.rapidminer.example.Attribute[], com.rapidminer.example.Attribute, boolean, boolean)"><!-- --></A><H3>Hypothesis</H3><PRE>public <B>Hypothesis</B>(<A HREF="../../../../../../com/rapidminer/example/Attribute.html" title="interface in com.rapidminer.example">Attribute</A>[]&nbsp;regulars,                  <A HREF="../../../../../../com/rapidminer/example/Attribute.html" title="interface in com.rapidminer.example">Attribute</A>&nbsp;l,                  boolean&nbsp;rs,                  boolean&nbsp;createAll)</PRE><DL><DD>Create a new dummy hypothesis to allow calling the 'init' method,  initialize the regularAttributes, label and p0 fields.<P></DL><HR><A NAME="Hypothesis()"><!-- --></A><H3>Hypothesis</H3><PRE>public <B>Hypothesis</B>()</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="clone()"><!-- --></A><H3>clone</H3><PRE>public abstract <A HREF="../../../../../../com/rapidminer/operator/learner/igss/hypothesis/Hypothesis.html" title="class in com.rapidminer.operator.learner.igss.hypothesis">Hypothesis</A> <B>clone</B>()</PRE><DL><DD>Clone method.<P><DD><DL><DT><B>Overrides:</B><DD><CODE>clone</CODE> in class <CODE>java.lang.Object</CODE></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="getPrediction()"><!-- --></A><H3>getPrediction</H3><PRE>public abstract int <B>getPrediction</B>()</PRE>

⌨️ 快捷键说明

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