stringtowordvector.html
来自「数据挖掘的最常用工具。由于开源」· HTML 代码 · 共 1,646 行 · 第 1/5 页
HTML
1,646 行
<DD>Gets whether the supplied columns are to be processed or skipped.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>true if the supplied columns will be kept</DL></DD></DL><HR><A NAME="setInvertSelection(boolean)"><!-- --></A><H3>setInvertSelection</H3><PRE>public void <B>setInvertSelection</B>(boolean invert)</PRE><DL><DD>Sets whether selected columns should be processed or skipped.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>invert</CODE> - the new invert setting</DL></DD></DL><HR><A NAME="getAttributeNamePrefix()"><!-- --></A><H3>getAttributeNamePrefix</H3><PRE>public java.lang.String <B>getAttributeNamePrefix</B>()</PRE><DL><DD>Get the attribute name prefix.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>The current attribute name prefix.</DL></DD></DL><HR><A NAME="setAttributeNamePrefix(java.lang.String)"><!-- --></A><H3>setAttributeNamePrefix</H3><PRE>public void <B>setAttributeNamePrefix</B>(java.lang.String newPrefix)</PRE><DL><DD>Set the attribute name prefix.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>newPrefix</CODE> - String to use as the attribute name prefix.</DL></DD></DL><HR><A NAME="attributeNamePrefixTipText()"><!-- --></A><H3>attributeNamePrefixTipText</H3><PRE>public java.lang.String <B>attributeNamePrefixTipText</B>()</PRE><DL><DD>Returns the tip text for this property.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>tip text for this property suitable for displaying in the explorer/experimenter gui</DL></DD></DL><HR><A NAME="getWordsToKeep()"><!-- --></A><H3>getWordsToKeep</H3><PRE>public int <B>getWordsToKeep</B>()</PRE><DL><DD>Gets the number of words (per class if there is a class attribute assigned) to attempt to keep.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>the target number of words in the output vector (per class if assigned).</DL></DD></DL><HR><A NAME="setWordsToKeep(int)"><!-- --></A><H3>setWordsToKeep</H3><PRE>public void <B>setWordsToKeep</B>(int newWordsToKeep)</PRE><DL><DD>Sets the number of words (per class if there is a class attribute assigned) to attempt to keep.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>newWordsToKeep</CODE> - the target number of words in the output vector (per class if assigned).</DL></DD></DL><HR><A NAME="wordsToKeepTipText()"><!-- --></A><H3>wordsToKeepTipText</H3><PRE>public java.lang.String <B>wordsToKeepTipText</B>()</PRE><DL><DD>Returns the tip text for this property.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>tip text for this property suitable for displaying in the explorer/experimenter gui</DL></DD></DL><HR><A NAME="getPeriodicPruning()"><!-- --></A><H3>getPeriodicPruning</H3><PRE>public double <B>getPeriodicPruning</B>()</PRE><DL><DD>Gets the rate at which the dictionary is periodically pruned, as a percentage of the dataset size.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>the rate at which the dictionary is periodically pruned</DL></DD></DL><HR><A NAME="setPeriodicPruning(double)"><!-- --></A><H3>setPeriodicPruning</H3><PRE>public void <B>setPeriodicPruning</B>(double newPeriodicPruning)</PRE><DL><DD>Sets the rate at which the dictionary is periodically pruned, as a percentage of the dataset size.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>newPeriodicPruning</CODE> - the rate at which the dictionary is periodically pruned</DL></DD></DL><HR><A NAME="periodicPruningTipText()"><!-- --></A><H3>periodicPruningTipText</H3><PRE>public java.lang.String <B>periodicPruningTipText</B>()</PRE><DL><DD>Returns the tip text for this property.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>tip text for this property suitable for displaying in the explorer/experimenter gui</DL></DD></DL><HR><A NAME="getTFTransform()"><!-- --></A><H3>getTFTransform</H3><PRE>public boolean <B>getTFTransform</B>()</PRE><DL><DD>Gets whether if the word frequencies should be transformed into log(1+fij) where fij is the frequency of word i in document(instance) j.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>true if word frequencies are to be transformed.</DL></DD></DL><HR><A NAME="setTFTransform(boolean)"><!-- --></A><H3>setTFTransform</H3><PRE>public void <B>setTFTransform</B>(boolean TFTransform)</PRE><DL><DD>Sets whether if the word frequencies should be transformed into log(1+fij) where fij is the frequency of word i in document(instance) j.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>TFTransform</CODE> - true if word frequencies are to be transformed.</DL></DD></DL><HR><A NAME="TFTransformTipText()"><!-- --></A><H3>TFTransformTipText</H3><PRE>public java.lang.String <B>TFTransformTipText</B>()</PRE><DL><DD>Returns the tip text for this property.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>tip text for this property suitable for displaying in the explorer/experimenter gui</DL></DD></DL><HR><A NAME="getIDFTransform()"><!-- --></A><H3>getIDFTransform</H3><PRE>public boolean <B>getIDFTransform</B>()</PRE><DL><DD>Sets whether if the word frequencies in a document should be transformed into: <br> fij*log(num of Docs/num of Docs with word i) <br> where fij is the frequency of word i in document(instance) j.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>true if the word frequencies are to be transformed.</DL></DD></DL><HR><A NAME="setIDFTransform(boolean)"><!-- --></A><H3>setIDFTransform</H3><PRE>public void <B>setIDFTransform</B>(boolean IDFTransform)</PRE><DL><DD>Sets whether if the word frequencies in a document should be transformed into: <br> fij*log(num of Docs/num of Docs with word i) <br> where fij is the frequency of word i in document(instance) j.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>IDFTransform</CODE> - true if the word frequecies are to be transformed</DL></DD></DL><HR><A NAME="IDFTransformTipText()"><!-- --></A><H3>IDFTransformTipText</H3><PRE>public java.lang.String <B>IDFTransformTipText</B>()</PRE><DL><DD>Returns the tip text for this property.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>tip text for this property suitable for displaying in the explorer/experimenter gui</DL></DD></DL><HR><A NAME="getNormalizeDocLength()"><!-- --></A><H3>getNormalizeDocLength</H3><PRE>public <A HREF="../../../../weka/core/SelectedTag.html" title="class in weka.core">SelectedTag</A> <B>getNormalizeDocLength</B>()</PRE><DL><DD>Gets whether if the word frequencies for a document (instance) should be normalized or not.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>true if word frequencies are to be normalized.</DL></DD></DL><HR><A NAME="setNormalizeDocLength(weka.core.SelectedTag)"><!-- --></A><H3>setNormalizeDocLength</H3><PRE>public void <B>setNormalizeDocLength</B>(<A HREF="../../../../weka/core/SelectedTag.html" title="class in weka.core">SelectedTag</A> newType)</PRE><DL><DD>Sets whether if the word frequencies for a document (instance) should be normalized or not.<P><DD><DL></DL></DD
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?