searchobject.html
来自「数据挖掘方面最新软件」· HTML 代码 · 共 931 行 · 第 1/3 页
HTML
931 行
<!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:44 CEST 2008 --><TITLE>SearchObject (RapidMiner Class Documentation)</TITLE><META NAME="keywords" CONTENT="com.rapidminer.operator.preprocessing.outlier.SearchObject class"><LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../stylesheet.css" TITLE="Style"><SCRIPT type="text/javascript">function windowTitle(){ parent.document.title="SearchObject (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> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/SearchObject.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> </TR></TABLE></TD><TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM></EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../../com/rapidminer/operator/preprocessing/outlier/LOFOutlierOperator.html" title="class in com.rapidminer.operator.preprocessing.outlier"><B>PREV CLASS</B></A> <A HREF="../../../../../com/rapidminer/operator/preprocessing/outlier/SearchSpace.html" title="class in com.rapidminer.operator.preprocessing.outlier"><B>NEXT CLASS</B></A></FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../../index.html?com/rapidminer/operator/preprocessing/outlier/SearchObject.html" target="_top"><B>FRAMES</B></A> <A HREF="SearchObject.html" target="_top"><B>NO FRAMES</B></A> <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: NESTED | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <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.preprocessing.outlier</FONT><BR>Class SearchObject</H2><PRE>java.lang.Object <IMG SRC="../../../../../resources/inherit.gif" ALT="extended by "><B>com.rapidminer.operator.preprocessing.outlier.SearchObject</B></PRE><HR><DL><DT><PRE>public class <B>SearchObject</B><DT>extends java.lang.Object</DL></PRE><P>The SearchObject class creates SearchObjects which handle the representation of objects from the test data set in the core of the outlier operators. Such an object is able to store all relevant coordinates, dimensions, etc. for an object (e.g. from an Example from a RapidMiner ExampleSet) as well as perform various operations, such as radius search to other objects.<P><P><DL><DT><B>Version:</B></DT> <DD>$Id: SearchObject.java,v 1.5 2008/05/09 19:22:55 ingomierswa Exp $</DD><DT><B>Author:</B></DT> <DD>Stephan Deutsch, Ingo Mierswa</DD></DL><HR><P><!-- ======== CONSTRUCTOR SUMMARY ======== --><A NAME="constructor_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>Constructor Summary</B></FONT></TH></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><B><A HREF="../../../../../com/rapidminer/operator/preprocessing/outlier/SearchObject.html#SearchObject()">SearchObject</A></B>()</CODE><BR> 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>.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><B><A HREF="../../../../../com/rapidminer/operator/preprocessing/outlier/SearchObject.html#SearchObject(int, java.lang.String)">SearchObject</A></B>(int dim, java.lang.String l)</CODE><BR> 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>.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><B><A HREF="../../../../../com/rapidminer/operator/preprocessing/outlier/SearchObject.html#SearchObject(int, java.lang.String, int, int)">SearchObject</A></B>(int dim, java.lang.String l, int minptslb, int minptsub)</CODE><BR> 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.</TD></TR></TABLE> <!-- ========== 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> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../com/rapidminer/operator/preprocessing/outlier/SearchObject.html#addKdContainer()">addKdContainer</A></B>()</CODE><BR> Adds a new KdContainer to the SearchObject at the end of the container list.</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/SearchObject.html#addKdContainer(int)">addKdContainer</A></B>(int index)</CODE><BR> Adds a new KdContainer to the SearchObject at index in the container list.</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/SearchObject.html#addKdContainer(int, double)">addKdContainer</A></B>(int index, double dist)</CODE><BR> Adds a new KdContainer to the SearchObject at index in the container list and also sets the distance value of the container to dist.</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/SearchObject.html#addKdContainer(int, com.rapidminer.operator.preprocessing.outlier.KdistanceContainer)">addKdContainer</A></B>(int index, <A HREF="../../../../../com/rapidminer/operator/preprocessing/outlier/KdistanceContainer.html" title="class in com.rapidminer.operator.preprocessing.outlier">KdistanceContainer</A> kd)</CODE><BR> Adds an existing KdContainer to the container list at position index.</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/SearchObject.html#addKdContainer(com.rapidminer.operator.preprocessing.outlier.KdistanceContainer)">addKdContainer</A></B>(<A HREF="../../../../../com/rapidminer/operator/preprocessing/outlier/KdistanceContainer.html" title="class in com.rapidminer.operator.preprocessing.outlier">KdistanceContainer</A> kd)</CODE><BR> Adds an existing KdContainer to the container lost at the end of the list.</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/SearchObject.html#getCardN(int)">getCardN</A></B>(int k)</CODE><BR> Returns the cardinality for k-neighbourhood (|N_k(p)|) for a SearchObject for k.</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/SearchObject.html#getDimensions()">getDimensions</A></B>()</CODE><BR> Provides the (integer) number of dimensions of the Object.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> double</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../com/rapidminer/operator/preprocessing/outlier/SearchObject.html#getDistance(com.rapidminer.operator.preprocessing.outlier.SearchObject, int)">getDistance</A></B>(<A HREF="../../../../../com/rapidminer/operator/preprocessing/outlier/SearchObject.html" title="class in com.rapidminer.operator.preprocessing.outlier">SearchObject</A> toObject, int kindOfDistance)</CODE><BR> This method returns the distance between two objects according to a specification on which distance shall be computed (at the moment the method supports EUCLIDIAN distance (int kindOfDistance = 1) and COSINE distance (int kindOfDistance = 2) and the following similar distances: SQUARED (0) (the squared value of the metric/euclidian distance, INV_COSINE (3) the inversted cosine (actually the sine) distance which is simply 1-cos, and ANGLE_RADIANT (4) the angle between the objects related to zero coordinates in the actual n-dimensional euclidian coordinate system (ARC COSINE in radiant between [0 ; pi]).</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> double</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../com/rapidminer/operator/preprocessing/outlier/SearchObject.html#getDistanceEuclidian(com.rapidminer.operator.preprocessing.outlier.SearchObject)">getDistanceEuclidian</A></B>(<A HREF="../../../../../com/rapidminer/operator/preprocessing/outlier/SearchObject.html" title="class in com.rapidminer.operator.preprocessing.outlier">SearchObject</A> toObject)</CODE><BR> Returns the euclidian (metric) distance between two SearchObjects by looking at the object's vektors and returning the length of the substracted vector between the two object's vectors.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> java.util.ListIterator</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../com/rapidminer/operator/preprocessing/outlier/SearchObject.html#getKdContainerListIterator()">getKdContainerListIterator</A></B>()</CODE><BR> returns a ListIterator for the list of containes in the SearchObject.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> double</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../com/rapidminer/operator/preprocessing/outlier/SearchObject.html#getKDistance(int)">getKDistance</A></B>(int k)</CODE><BR> Returns the k-distance for the SearchObject for k.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> java.lang.String</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../com/rapidminer/operator/preprocessing/outlier/SearchObject.html#getLabel()">getLabel</A></B>()</CODE><BR> Returns the label of the object (e.g. its "name" for other purposes)</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> double</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../com/rapidminer/operator/preprocessing/outlier/SearchObject.html#getLOF(int)">getLOF</A></B>(int k)</CODE><BR> Returns the k-LOF for a SearchObject for k.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> double</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../com/rapidminer/operator/preprocessing/outlier/SearchObject.html#getLRD(int)">getLRD</A></B>(int k)</CODE><BR> Returns the local reachability density for k for a SearchObject.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> double</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../com/rapidminer/operator/preprocessing/outlier/SearchObject.html#getOutlierFactor()">getOutlierFactor</A></B>()</CODE><BR> Returns the Outlier factor of an object.</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/SearchObject.html#getOutlierStatus()">getOutlierStatus</A></B>()</CODE><BR> 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 ;-).</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> double</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../com/rapidminer/operator/preprocessing/outlier/SearchObject.html#getVektor(int)">getVektor</A></B>(int dim)</CODE><BR>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?