Skip to content
Snippets Groups Projects
  • Yuhao Yang's avatar
    ed9d8038
    [SPARK-14635][ML] Documentation and Examples for TF-IDF only refer to HashingTF · ed9d8038
    Yuhao Yang authored
    ## What changes were proposed in this pull request?
    
    Currently, the docs for TF-IDF only refer to using HashingTF with IDF. However, CountVectorizer can also be used. We should probably amend the user guide and examples to show this.
    
    ## How was this patch tested?
    
    unit tests and doc generation
    
    Author: Yuhao Yang <hhbyyh@gmail.com>
    
    Closes #12454 from hhbyyh/tfdoc.
    ed9d8038
    History
    [SPARK-14635][ML] Documentation and Examples for TF-IDF only refer to HashingTF
    Yuhao Yang authored
    ## What changes were proposed in this pull request?
    
    Currently, the docs for TF-IDF only refer to using HashingTF with IDF. However, CountVectorizer can also be used. We should probably amend the user guide and examples to show this.
    
    ## How was this patch tested?
    
    unit tests and doc generation
    
    Author: Yuhao Yang <hhbyyh@gmail.com>
    
    Closes #12454 from hhbyyh/tfdoc.