searchobject.html

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

HTML
931
字号
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the value of the object's vektor with dimension (integer) <i>dim</i>.</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/preprocessing/outlier/SearchObject.html#setCardN(int, int)">setCardN</A></B>(int&nbsp;k,         int&nbsp;card)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the cardinality for k-neighbourhood (|N_k(p)|) for a SearchObject for k to card.</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/preprocessing/outlier/SearchObject.html#setDimensions(int)">setDimensions</A></B>(int&nbsp;dim)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Changes the number of dimensions for an object and copies the values of the old  vector for the object into the new vektor (which is initialized with the new  dimension number).</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/preprocessing/outlier/SearchObject.html#setKDistance(int, double)">setKDistance</A></B>(int&nbsp;k,             double&nbsp;dist)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the k-distance for the SearchObject for k to dist.</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/preprocessing/outlier/SearchObject.html#setLabel(java.lang.String)">setLabel</A></B>(java.lang.String&nbsp;l)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the label of the object to (String) <i>l</i>.</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/preprocessing/outlier/SearchObject.html#setLOF(int, double)">setLOF</A></B>(int&nbsp;k,       double&nbsp;lof)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the k-LOF for a SearchObject to lof for k.</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/preprocessing/outlier/SearchObject.html#setLRD(int, double)">setLRD</A></B>(int&nbsp;k,       double&nbsp;lrdvalue)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the local reachability density for k for a SearchObject for k to lrdvalue.</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/preprocessing/outlier/SearchObject.html#setOutlierFactor(double)">setOutlierFactor</A></B>(double&nbsp;factor)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets a (double) Outlier <i>factor</i> to store smooth Outlier status information,  such as local outlier factors and others.</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/preprocessing/outlier/SearchObject.html#setOutlierStatus(boolean)">setOutlierStatus</A></B>(boolean&nbsp;status)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets a BOOLEAN Outlier Status for the object to store the results of Outlier  tests according to a yes/no Outlier state (e.g.</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/preprocessing/outlier/SearchObject.html#setVektor(int, double)">setVektor</A></B>(int&nbsp;dim,          double&nbsp;value)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the vector for the object to (double) <i>value</i> for the dimension  (integer) <i>dim</i>, with this method subsequently all dimensions of an objects  vector can be set.</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, toString, wait, wait, wait</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="SearchObject(int, java.lang.String)"><!-- --></A><H3>SearchObject</H3><PRE>public <B>SearchObject</B>(int&nbsp;dim,                    java.lang.String&nbsp;l)</PRE><DL><DD>Constructor creates a new instance of <tt>SearchObject</tt> class and initializes  the object with integer <i>dim</i> dimensions and the String label <i>l</i>. Each  dimension vektor is set to (double) ZERO and Outlier status is set to false and Outlier Factor is set to ZERO as well.<P></DL><HR><A NAME="SearchObject()"><!-- --></A><H3>SearchObject</H3><PRE>public <B>SearchObject</B>()</PRE><DL><DD>Constructor creates a new instance of <tt>SearchObject</tt> class and  initializes the object with integer <i>2</i> dimensions and the String  label <i>not labeled object</i>. Each dimension vektor is set to (double)  ZERO and Outlier status is set to false and Outlier Factor is set to ZERO  as well. this is only a default constructor and should not be used for  2-dimensional objects. The class does not provide sufficient consistency  checks to entirely rely on default construction.<P></DL><HR><A NAME="SearchObject(int, java.lang.String, int, int)"><!-- --></A><H3>SearchObject</H3><PRE>public <B>SearchObject</B>(int&nbsp;dim,                    java.lang.String&nbsp;l,                    int&nbsp;minptslb,                    int&nbsp;minptsub)</PRE><DL><DD>Constructor creates a new instance of <tt>SearchObject</tt> class and initializes the object with integer <i>dim</i> dimensions and the String label <i>l</i> and an (integer) MinPts-Range. Each dimension vektor is set to (double) ZERO and Outlier status is set to false and Outlier Factor is set to ZERO as well.<P><DL><DT><B>Parameters:</B><DD><CODE>dim</CODE> - <DD><CODE>l</CODE> - <DD><CODE>minptslb</CODE> - <DD><CODE>minptsub</CODE> - </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="setDimensions(int)"><!-- --></A><H3>setDimensions</H3><PRE>public void <B>setDimensions</B>(int&nbsp;dim)</PRE><DL><DD><p>Changes the number of dimensions for an object and copies the values of the old  vector for the object into the new vektor (which is initialized with the new  dimension number).</p>  <p><em>Attention</em>: If the new dimension number is less than the old number,  only the values of the relevant new domain range are copied. If the new vector  has more dimensions, all the old are copied and the new ones are initialized with  ZERO. Those should afterwards be initialized with the <A HREF="../../../../../com/rapidminer/operator/preprocessing/outlier/SearchObject.html#setVektor(int, double)"><CODE>setVektor(int, double)</CODE></A>  method in a proper manner.</p>  <p>The safest way to change the dimensions of an object is to create a new one with  the new dimensions and to copy the vektor values and all other relevant data and to  initialize the additional dimensions with the proper values.</p><P><DD><DL></DL></DD></DL><HR><A NAME="getDimensions()"><!-- --></A><H3>getDimensions</H3><PRE>public int <B>getDimensions</B>()</PRE><DL><DD>Provides the (integer) number of dimensions of the Object. Remark: some methods actually use the this.dimensions reference which is used  by this, but this method would be able to provide the dimensions externally.<P><DD><DL></DL></DD></DL><HR><A NAME="setLabel(java.lang.String)"><!-- --></A><H3>setLabel</H3><PRE>public void <B>setLabel</B>(java.lang.String&nbsp;l)</PRE><DL><DD>Sets the label of the object to (String) <i>l</i>.<P><DD><DL></DL></DD></DL><HR><A NAME="getLabel()"><!-- --></A><H3>getLabel</H3><PRE>public java.lang.String <B>getLabel</B>()</PRE><DL><DD>Returns the label of the object (e.g. its "name" for other purposes)<P><DD><DL></DL></DD></DL><HR><A NAME="setVektor(int, double)"><!-- --></A><H3>setVektor</H3><PRE>public void <B>setVektor</B>(int&nbsp;dim,                      double&nbsp;value)</PRE><DL><DD>Sets the vector for the object to (double) <i>value</i> for the dimension  (integer) <i>dim</i>, with this method subsequently all dimensions of an objects  vector can be set.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>dim</CODE> - <DD><CODE>value</CODE> - </DL></DD></DL><HR><A NAME="getVektor(int)"><!-- --></A><H3>getVektor</H3><PRE>public double <B>getVektor</B>(int&nbsp;dim)</PRE><DL><DD>Returns the value of the object's vektor with dimension (integer) <i>dim</i>.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>dim</CODE> - </DL></DD></DL><HR><A NAME="setOutlierStatus(boolean)"><!-- --></A><H3>setOutlierStatus</H3><PRE>public void <B>setOutlierStatus</B>(boolean&nbsp;status)</PRE><DL><DD>Sets a BOOLEAN Outlier Status for the object to store the results of Outlier  tests according to a yes/no Outlier state (e.g. DB(p,D) Outliers and others.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>status</CODE> - </DL></DD></DL><HR><A NAME="getOutlierStatus()"><!-- --></A><H3>getOutlierStatus</H3><PRE>public boolean <B>getOutlierStatus</B>()</PRE><DL><DD>Provides the BOOLEAN Outlier status of an Object (-> the status has to be set  through a test, so the user should see that the status is only set by methods  providing a consistent view on the outlier test, else this has only the meaning  of the accidentally stored status (default should be ZERO ;-).<P><DD><DL></DL></DD></DL><HR><A NAME="setOutlierFactor(double)"><!-- --></A><H3>setOutlierFactor</H3><PRE>public void <B>setOutlierFactor</B>(double&nbsp;factor)</PRE><DL><DD>Sets a (double) Outlier <i>factor</i> to store smooth Outlier status information,  such as local outlier factors and others.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>factor</CODE> - </DL></DD></DL><HR><A NAME="getOutlierFactor()"><!-- --></A><H3>getOutlierFactor</H3><PRE>public double <B>getOutlierFactor</B>()</PRE><DL><DD>Returns the Outlier factor of an object.<P><DD><DL></DL>

⌨️ 快捷键说明

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