searchspace.html
来自「数据挖掘方面最新软件」· HTML 代码 · 共 785 行 · 第 1/3 页
HTML
785 行
<BR> This method returns the maximum Outlier Factor of all SearchObjects in the SearchSpace.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../com/rapidminer/operator/preprocessing/outlier/SearchSpace.html#getNumberOfObjects()">getNumberOfObjects</A></B>()</CODE><BR> Returns the (integer) number of objects in the Searchroom (associated with it via <A HREF="../../../../../com/rapidminer/operator/preprocessing/outlier/SearchSpace.html#addObject(com.rapidminer.operator.preprocessing.outlier.SearchObject)"><CODE>addObject(SearchObject)</CODE></A> to the room) as an integer value as we overall do not expect the searchroom to hold more than 2 billion objects.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../../../com/rapidminer/operator/preprocessing/outlier/SearchObject.html" title="class in com.rapidminer.operator.preprocessing.outlier">SearchObject</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../com/rapidminer/operator/preprocessing/outlier/SearchSpace.html#getObject(int)">getObject</A></B>(int index)</CODE><BR> This method returns a SearchObject with the i-th index in the listOfObjects; the result has to be casted to SearchObject (Vector Class speciality, as it returns only a JAVA Object Class object).</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> java.util.Enumeration</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../com/rapidminer/operator/preprocessing/outlier/SearchSpace.html#getObjects()">getObjects</A></B>()</CODE><BR> This method returns an Enumeration of all SearchObjects from a SearchSpace.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../com/rapidminer/operator/preprocessing/outlier/SearchSpace.html#getSearchObjectOutlierStatus(int)">getSearchObjectOutlierStatus</A></B>(int i)</CODE><BR> This method returns the outlierstatus of the Searchobject (element at index i) in the SearchSpace from the Searchroom's listOfObjects.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> java.util.Vector<<A HREF="../../../../../com/rapidminer/operator/preprocessing/outlier/SearchObject.html" title="class in com.rapidminer.operator.preprocessing.outlier">SearchObject</A>></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../com/rapidminer/operator/preprocessing/outlier/SearchSpace.html#getSearchObjects()">getSearchObjects</A></B>()</CODE><BR> Delivers the list of objects.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../com/rapidminer/operator/preprocessing/outlier/SearchSpace.html#radiusODSearch(double, double, com.rapidminer.operator.preprocessing.outlier.SearchObject, int)">radiusODSearch</A></B>(double d, double p, <A HREF="../../../../../com/rapidminer/operator/preprocessing/outlier/SearchObject.html" title="class in com.rapidminer.operator.preprocessing.outlier">SearchObject</A> rObject, int kindOfDistance)</CODE><BR> BruteForce Radius Search to determine the outlier status of an object rObject of the type SearchObject this method takes d and p as parameters acc. to distance based DB(p,D)-Outlier (Knorr, Ng) and identifies an object as being an outlier, if more than a proportion p of the objects is more than distance D from rObject away.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../com/rapidminer/operator/preprocessing/outlier/SearchSpace.html#resetOutlierStatus()">resetOutlierStatus</A></B>()</CODE><BR> This method resets the Outlier Status for all Objects in the Search room to have a clean start or to have a new identification of outliers with a separate method.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../com/rapidminer/operator/preprocessing/outlier/SearchSpace.html#setDimensions(int)">setDimensions</A></B>(int dim)</CODE><BR> Sets the number of dimensions for the SearchSpace to dim.</TD></TR></TABLE> <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> <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="SearchSpace(int)"><!-- --></A><H3>SearchSpace</H3><PRE>public <B>SearchSpace</B>(int dim)</PRE><DL><DD>This constructor creates a SearchSpace with (integer) <i>dim</i> dimensions and initializes all fields in the instance of that Class with zero values where appropriate.<P></DL><HR><A NAME="SearchSpace()"><!-- --></A><H3>SearchSpace</H3><PRE>public <B>SearchSpace</B>()</PRE><DL><DD>This constructor creates a SearchSpace with (integer) <i>2</i> dimensions as a default and initializes all fields in the instance of that Class with zero values where appropriate.<P></DL><HR><A NAME="SearchSpace(int, int, int)"><!-- --></A><H3>SearchSpace</H3><PRE>public <B>SearchSpace</B>(int dim, int minptslb, int minptsub)</PRE><DL><DD>This constructor creates a SearchSpace with (integer) <i>dim</i> dimensions and initializes all fields in the instance of that Class with zero values where appropriate.<P></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="getNumberOfObjects()"><!-- --></A><H3>getNumberOfObjects</H3><PRE>public int <B>getNumberOfObjects</B>()</PRE><DL><DD>Returns the (integer) number of objects in the Searchroom (associated with it via <A HREF="../../../../../com/rapidminer/operator/preprocessing/outlier/SearchSpace.html#addObject(com.rapidminer.operator.preprocessing.outlier.SearchObject)"><CODE>addObject(SearchObject)</CODE></A> to the room) as an integer value as we overall do not expect the searchroom to hold more than 2 billion objects.<P><DD><DL></DL></DD></DL><HR><A NAME="setDimensions(int)"><!-- --></A><H3>setDimensions</H3><PRE>public void <B>setDimensions</B>(int dim)</PRE><DL><DD><p>Sets the number of dimensions for the SearchSpace to dim.</p> <p><em>Attention</em>: This is a value that the SearchSpace keeps for the purpose of consistency checks for all SearchObjects (as each SearchObject has its own number of dimensions and not all the dimensions of the SearchObjects need to be the same - to give implementation freedom).</p><P><DD><DL><DT><B>Parameters:</B><DD><CODE>dim</CODE> - </DL></DD></DL><HR><A NAME="getDimensions()"><!-- --></A><H3>getDimensions</H3><PRE>public int <B>getDimensions</B>()</PRE><DL><DD>Returns the number of dimensions of the SearchSpace.<P><DD><DL></DL></DD></DL><HR><A NAME="getSearchObjects()"><!-- --></A><H3>getSearchObjects</H3><PRE>public java.util.Vector<<A HREF="../../../../../com/rapidminer/operator/preprocessing/outlier/SearchObject.html" title="class in com.rapidminer.operator.preprocessing.outlier">SearchObject</A>> <B>getSearchObjects</B>()</PRE><DL><DD>Delivers the list of objects.<P><DD><DL></DL></DD></DL><HR><A NAME="getSearchObjectOutlierStatus(int)"><!-- --></A><H3>getSearchObjectOutlierStatus</H3><PRE>public boolean <B>getSearchObjectOutlierStatus</B>(int i)</PRE><DL><DD>This method returns the outlierstatus of the Searchobject (element at index i) in the SearchSpace from the Searchroom's listOfObjects.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>i</CODE> - <DT><B>Returns:</B><DD>the boolean outlier status</DL></DD></DL><HR><A NAME="addObject(com.rapidminer.operator.preprocessing.outlier.SearchObject)"><!-- --></A><H3>addObject</H3><PRE>public void <B>addObject</B>(<A HREF="../../../../../com/rapidminer/operator/preprocessing/outlier/SearchObject.html" title="class in com.rapidminer.operator.preprocessing.outlier">SearchObject</A> objectToAdd)</PRE><DL><DD>This adds a SearchObject to the SearchSpace. <p> It prints a warning to STDOUT in case the dimensions of the SearchObject and SearchSpace are incompatible, but as the SearchSpace can perform some operations over SearchObjects with different dimensions, this is not a showstopper. <p> The method also automatically updates the min/max/range information the SearchSpace knows for itself.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>objectToAdd</CODE> - </DL></DD></DL><HR><A NAME="getObject(int)"><!-- --></A><H3>getObject</H3><PRE>public <A HREF="../../../../../com/rapidminer/operator/preprocessing/outlier/SearchObject.html" title="class in com.rapidminer.operator.preprocessing.outlier">SearchObject</A> <B>getObject</B>(int index)</PRE><DL><DD>This method returns a SearchObject with the i-th index in the listOfObjects; the result has to be casted to SearchObject (Vector Class speciality, as it returns only a JAVA Object Class object). This is better than to access the listOfObjects directly, but sadly I do not use it consistently. Maybe in the cleaning-up, this will be changed.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>index</CODE> - </DL></DD></DL><HR><A NAME="getObjects()"><!-- --></A><H3>getObjects</H3><PRE>public java.util.Enumeration <B>getObjects</B>()</PRE><DL><DD>This method returns an Enumeration of all SearchObjects from a SearchSpace.
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?