📄 sequence.html
字号:
<P><DL><DT><B>Parameters:</B><DD><CODE>elements</CODE> - the Elements of the Sequence</DL></DL><HR><A NAME="Sequence(int)"><!-- --></A><H3>Sequence</H3><PRE>public <B>Sequence</B>(int supportCount)</PRE><DL><DD>Constructor accepting an int value as parameter to set the support count.<P><DL><DT><B>Parameters:</B><DD><CODE>supportCount</CODE> - the support count to set</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="aprioriGen(weka.core.FastVector)"><!-- --></A><H3>aprioriGen</H3><PRE>public static <A HREF="../../../weka/core/FastVector.html" title="class in weka.core">FastVector</A> <B>aprioriGen</B>(<A HREF="../../../weka/core/FastVector.html" title="class in weka.core">FastVector</A> kMinusOneSequences) throws java.lang.CloneNotSupportedException</PRE><DL><DD>Generates all possible candidate k-Sequences and prunes the ones that contain an infrequent (k-1)-Sequence.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>kMinusOneSequences</CODE> - the set of (k-1)-Sequences, used for verification<DT><B>Returns:</B><DD>the generated set of k-candidates<DT><B>Throws:</B><DD><CODE>java.lang.CloneNotSupportedException</CODE></DL></DD></DL><HR><A NAME="deleteInfrequentSequences(weka.core.FastVector, long)"><!-- --></A><H3>deleteInfrequentSequences</H3><PRE>public static <A HREF="../../../weka/core/FastVector.html" title="class in weka.core">FastVector</A> <B>deleteInfrequentSequences</B>(<A HREF="../../../weka/core/FastVector.html" title="class in weka.core">FastVector</A> sequences, long minSupportCount)</PRE><DL><DD>Deletes Sequences of a given set which don't meet the minimum support count threshold.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>sequences</CODE> - the set Sequences to be checked<DD><CODE>minSupportCount</CODE> - the minimum support count<DT><B>Returns:</B><DD>the set of Sequences after deleting</DL></DD></DL><HR><A NAME="oneElementsToSequences(weka.core.FastVector)"><!-- --></A><H3>oneElementsToSequences</H3><PRE>public static <A HREF="../../../weka/core/FastVector.html" title="class in weka.core">FastVector</A> <B>oneElementsToSequences</B>(<A HREF="../../../weka/core/FastVector.html" title="class in weka.core">FastVector</A> elements)</PRE><DL><DD>Converts a set of 1-Elements into a set of 1-Sequences.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>elements</CODE> - the set of 1-Elements<DT><B>Returns:</B><DD>the set of 1-Sequences</DL></DD></DL><HR><A NAME="printSetOfSequences(weka.core.FastVector)"><!-- --></A><H3>printSetOfSequences</H3><PRE>public static void <B>printSetOfSequences</B>(<A HREF="../../../weka/core/FastVector.html" title="class in weka.core">FastVector</A> setOfSequences)</PRE><DL><DD>Prints a set of Sequences as String output.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>setOfSequences</CODE> - the set of sequences</DL></DD></DL><HR><A NAME="setOfSequencesToString(weka.core.FastVector, weka.core.Instances, weka.core.FastVector)"><!-- --></A><H3>setOfSequencesToString</H3><PRE>public static java.lang.String <B>setOfSequencesToString</B>(<A HREF="../../../weka/core/FastVector.html" title="class in weka.core">FastVector</A> setOfSequences, <A HREF="../../../weka/core/Instances.html" title="class in weka.core">Instances</A> dataSet, <A HREF="../../../weka/core/FastVector.html" title="class in weka.core">FastVector</A> filterAttributes)</PRE><DL><DD>Returns a String representation of a set of Sequences where the numeric value of each event/item is represented by its respective nominal value.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>setOfSequences</CODE> - the set of Sequences<DD><CODE>dataSet</CODE> - the corresponding data set containing the header information<DD><CODE>filterAttributes</CODE> - the attributes to filter out<DT><B>Returns:</B><DD>the String representation</DL></DD></DL><HR><A NAME="updateSupportCount(weka.core.FastVector, weka.core.FastVector)"><!-- --></A><H3>updateSupportCount</H3><PRE>public static void <B>updateSupportCount</B>(<A HREF="../../../weka/core/FastVector.html" title="class in weka.core">FastVector</A> candidates, <A HREF="../../../weka/core/FastVector.html" title="class in weka.core">FastVector</A> dataSequences)</PRE><DL><DD>Updates the support count of a set of Sequence candidates according to a given set of data sequences.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>candidates</CODE> - the set of candidates<DD><CODE>dataSequences</CODE> - the set of data sequences</DL></DD></DL><HR><A NAME="clone()"><!-- --></A><H3>clone</H3><PRE>public <A HREF="../../../weka/associations/gsp/Sequence.html" title="class in weka.associations.gsp">Sequence</A> <B>clone</B>()</PRE><DL><DD>Returns a deep clone of a Sequence.<P><DD><DL><DT><B>Overrides:</B><DD><CODE>clone</CODE> in class <CODE>java.lang.Object</CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>the cloned Sequence</DL></DD></DL><HR><A NAME="equals(java.lang.Object)"><!-- --></A><H3>equals</H3><PRE>public boolean <B>equals</B>(java.lang.Object obj)</PRE><DL><DD>Checks if two Sequences are equal.<P><DD><DL><DT><B>Overrides:</B><DD><CODE>equals</CODE> in class <CODE>java.lang.Object</CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>true, if the two Sequences are equal, else false</DL></DD></DL><HR><A NAME="toNominalString(weka.core.Instances)"><!-- --></A><H3>toNominalString</H3><PRE>public java.lang.String <B>toNominalString</B>(<A HREF="../../../weka/core/Instances.html" title="class in weka.core">Instances</A> dataSet)</PRE><DL><DD>Returns a String representation of a Sequences where the numeric value of each event/item is represented by its respective nominal value.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>dataSet</CODE> - the corresponding data set containing the header information<DT><B>Returns:</B><DD>the String representation</DL></DD></DL><HR><A NAME="toString()"><!-- --></A><H3>toString</H3><PRE>public java.lang.String <B>toString</B>()</PRE><DL><DD>Returns a String representation of a Sequence.<P><DD><DL><DT><B>Overrides:</B><DD><CODE>toString</CODE> in class <CODE>java.lang.Object</CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>the String representation</DL></DD></DL><HR><A NAME="getRevision()"><!-- --></A><H3>getRevision</H3><PRE>public java.lang.String <B>getRevision</B>()</PRE><DL><DD>Returns the revision string.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../weka/core/RevisionHandler.html#getRevision()">getRevision</A></CODE> in interface <CODE><A HREF="../../../weka/core/RevisionHandler.html" title="interface in weka.core">RevisionHandler</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>the revision</DL></DD></DL><!-- ========= END OF CLASS DATA ========= --><HR><!-- ======= START OF BOTTOM NAVBAR ====== --><A NAME="navbar_bottom"><!-- --></A><A HREF="#skip-navbar_bottom" 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_bottom_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="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> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="http://www.cs.waikato.ac.nz/ml/weka/" target="_blank"><FONT CLASS="NavBarFont1"><B>Weka's home</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="../../../weka/associations/gsp/Element.html" title="class in weka.associations.gsp"><B>PREV CLASS</B></A> NEXT CLASS</FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../index.html?weka/associations/gsp/Sequence.html" target="_top"><B>FRAMES</B></A> <A HREF="Sequence.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_bottom"></A><!-- ======== END OF BOTTOM NAVBAR ======= --><HR></BODY></HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -