sequentialdatabase.html

来自「数据挖掘的最常用工具。由于开源」· HTML 代码 · 共 622 行 · 第 1/3 页

HTML
622 行
字号
<TD><CODE><B><A HREF="../../../../weka/clusterers/forOPTICSAndDBScan/Databases/SequentialDatabase.html#getInstances()">getInstances</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the original instances delivered from WEKA</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="../../../../weka/clusterers/forOPTICSAndDBScan/Databases/SequentialDatabase.html#getRevision()">getRevision</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the revision string.</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="../../../../weka/clusterers/forOPTICSAndDBScan/Databases/SequentialDatabase.html#insert(weka.clusterers.forOPTICSAndDBScan.DataObjects.DataObject)">insert</A></B>(<A HREF="../../../../weka/clusterers/forOPTICSAndDBScan/DataObjects/DataObject.html" title="interface in weka.clusterers.forOPTICSAndDBScan.DataObjects">DataObject</A>&nbsp;dataObject)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Inserts a new dataObject into the database</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;java.util.List</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../weka/clusterers/forOPTICSAndDBScan/Databases/SequentialDatabase.html#k_nextNeighbourQuery(int, double, weka.clusterers.forOPTICSAndDBScan.DataObjects.DataObject)">k_nextNeighbourQuery</A></B>(int&nbsp;k,                     double&nbsp;epsilon,                     <A HREF="../../../../weka/clusterers/forOPTICSAndDBScan/DataObjects/DataObject.html" title="interface in weka.clusterers.forOPTICSAndDBScan.DataObjects">DataObject</A>&nbsp;dataObject)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Emits the k next-neighbours and performs an epsilon-range-query at the parallel.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;java.util.Iterator</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../weka/clusterers/forOPTICSAndDBScan/Databases/SequentialDatabase.html#keyIterator()">keyIterator</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns an iterator over all the keys</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="../../../../weka/clusterers/forOPTICSAndDBScan/Databases/SequentialDatabase.html#setMinMaxValues()">setMinMaxValues</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the minimum and maximum values for each attribute in different arrays by walking through every DataObject of the database</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../weka/clusterers/forOPTICSAndDBScan/Databases/SequentialDatabase.html#size()">size</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the size of the database (the number of dataObjects in the database)</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, 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="SequentialDatabase(weka.core.Instances)"><!-- --></A><H3>SequentialDatabase</H3><PRE>public <B>SequentialDatabase</B>(<A HREF="../../../../weka/core/Instances.html" title="class in weka.core">Instances</A>&nbsp;instances)</PRE><DL><DD>Constructs a new sequential database and holds the original instances<P><DL><DT><B>Parameters:</B><DD><CODE>instances</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="getDataObject(java.lang.String)"><!-- --></A><H3>getDataObject</H3><PRE>public <A HREF="../../../../weka/clusterers/forOPTICSAndDBScan/DataObjects/DataObject.html" title="interface in weka.clusterers.forOPTICSAndDBScan.DataObjects">DataObject</A> <B>getDataObject</B>(java.lang.String&nbsp;key)</PRE><DL><DD>Select a dataObject from the database<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../weka/clusterers/forOPTICSAndDBScan/Databases/Database.html#getDataObject(java.lang.String)">getDataObject</A></CODE> in interface <CODE><A HREF="../../../../weka/clusterers/forOPTICSAndDBScan/Databases/Database.html" title="interface in weka.clusterers.forOPTICSAndDBScan.Databases">Database</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>key</CODE> - The key that is associated with the dataObject<DT><B>Returns:</B><DD>dataObject</DL></DD></DL><HR><A NAME="setMinMaxValues()"><!-- --></A><H3>setMinMaxValues</H3><PRE>public void <B>setMinMaxValues</B>()</PRE><DL><DD>Sets the minimum and maximum values for each attribute in different arrays by walking through every DataObject of the database<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../weka/clusterers/forOPTICSAndDBScan/Databases/Database.html#setMinMaxValues()">setMinMaxValues</A></CODE> in interface <CODE><A HREF="../../../../weka/clusterers/forOPTICSAndDBScan/Databases/Database.html" title="interface in weka.clusterers.forOPTICSAndDBScan.Databases">Database</A></CODE></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="getAttributeMinValues()"><!-- --></A><H3>getAttributeMinValues</H3><PRE>public double[] <B>getAttributeMinValues</B>()</PRE><DL><DD>Returns the array of minimum-values for each attribute<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../weka/clusterers/forOPTICSAndDBScan/Databases/Database.html#getAttributeMinValues()">getAttributeMinValues</A></CODE> in interface <CODE><A HREF="../../../../weka/clusterers/forOPTICSAndDBScan/Databases/Database.html" title="interface in weka.clusterers.forOPTICSAndDBScan.Databases">Database</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>attributeMinValues</DL></DD></DL><HR><A NAME="getAttributeMaxValues()"><!-- --></A><H3>getAttributeMaxValues</H3><PRE>public double[] <B>getAttributeMaxValues</B>()</PRE><DL><DD>Returns the array of maximum-values for each attribute<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../weka/clusterers/forOPTICSAndDBScan/Databases/Database.html#getAttributeMaxValues()">getAttributeMaxValues</A></CODE> in interface <CODE><A HREF="../../../../weka/clusterers/forOPTICSAndDBScan/Databases/Database.html" title="interface in weka.clusterers.forOPTICSAndDBScan.Databases">Database</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>attributeMaxValues</DL></DD></DL><HR><A NAME="epsilonRangeQuery(double, weka.clusterers.forOPTICSAndDBScan.DataObjects.DataObject)"><!-- --></A><H3>epsilonRangeQuery</H3><PRE>public java.util.List <B>epsilonRangeQuery</B>(double&nbsp;epsilon,                                        <A HREF="../../../../weka/clusterers/forOPTICSAndDBScan/DataObjects/DataObject.html" title="interface in weka.clusterers.forOPTICSAndDBScan.DataObjects">DataObject</A>&nbsp;queryDataObject)</PRE><DL><DD>Performs an epsilon range query for this dataObject<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../weka/clusterers/forOPTICSAndDBScan/Databases/Database.html#epsilonRangeQuery(double, weka.clusterers.forOPTICSAndDBScan.DataObjects.DataObject)">epsilonRangeQuery</A></CODE> in interface <CODE><A HREF="../../../../weka/clusterers/forOPTICSAndDBScan/Databases/Database.html" title="interface in weka.clusterers.forOPTICSAndDBScan.Databases">Database</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>epsilon</CODE> - Specifies the range for the query<DD><CODE>queryDataObject</CODE> - The dataObject that is used as query-object for epsilon range query<DT><B>Returns:</B><DD>List with all the DataObjects that are within the specified range</DL></DD></DL><HR><A NAME="k_nextNeighbourQuery(int, double, weka.clusterers.forOPTICSAndDBScan.DataObjects.DataObject)"><!-- --></A><H3>k_nextNeighbourQuery</H3><PRE>public java.util.List <B>k_nextNeighbourQuery</B>(int&nbsp;k,                                           double&nbsp;epsilon,                                           <A HREF="../../../../weka/clusterers/forOPTICSAndDBScan/DataObjects/DataObject.html" title="interface in weka.clusterers.forOPTICSAndDBScan.DataObjects">DataObject</A>&nbsp;dataObject)</PRE><DL><DD>Emits the k next-neighbours and performs an epsilon-range-query at the parallel. The returned list contains two elements: At index=0 --> list with all k next-neighbours; At index=1 --> list with all dataObjects within epsilon;<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../weka/clusterers/forOPTICSAndDBScan/Databases/Database.html#k_nextNeighbourQuery(int, double, weka.clusterers.forOPTICSAndDBScan.DataObjects.DataObject)">k_nextNeighbourQuery</A></CODE> in interface <CODE><A HREF="../../../../weka/clusterers/forOPTICSAndDBScan/Databases/Database.html" title="interface in weka.clusterers.forOPTICSAndDBScan.Databases">Database</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>k</CODE> - number of next neighbours<DD><CODE>epsilon</CODE> - Specifies the range for the query<DD><CODE>dataObject</CODE> - the start object<DT><B>Returns:</B><DD>list with the k-next neighbours (PriorityQueueElements) and a list         with candidates from the epsilon-range-query (EpsilonRange_ListElements)</DL></DD></DL><HR>

⌨️ 快捷键说明

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