/** * 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. * * @param IDFTransform true if the word frequecies are to be transformed */ public void setIDFTransform(boolean IDFTransform) { m_dictionaryBuilder.setIDFTransform(IDFTransform); }
/** * 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. * * @param IDFTransform true if the word frequecies are to be transformed */ public void setIDFTransform(boolean IDFTransform) { m_dictionaryBuilder.setIDFTransform(IDFTransform); }
/** * 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. * * @param IDFTransform true if the word frequecies are to be transformed */ @OptionMetadata(displayName = "IDF transform", description = "Set whether the word frequencies in a document should be " + "transformed into\nfij*log(num of Docs/num of docs with word i), " + "where fij is the frequency\nof word i in document (instance) j.", commandLineParamName = "I", commandLineParamSynopsis = "-I", displayOrder = 8) public void setIDFTransform(boolean IDFTransform) { m_vectorizer.setIDFTransform(IDFTransform); }
/** * 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. * * @param IDFTransform true if the word frequecies are to be transformed */ @OptionMetadata(displayName = "IDF transform", description = "Set whether the word frequencies in a document should be " + "transformed into\nfij*log(num of Docs/num of docs with word i), " + "where fij is the frequency\nof word i in document (instance) j.", commandLineParamName = "I", commandLineParamSynopsis = "-I", displayOrder = 8) public void setIDFTransform(boolean IDFTransform) { m_vectorizer.setIDFTransform(IDFTransform); }
setIDFTransform(Utils.getFlag('I', options));
setIDFTransform(Utils.getFlag('I', options));