Skip to content
Snippets Groups Projects
  • Yu ISHIKAWA's avatar
    46927696
    [SPARK-6259] [MLLIB] Python API for LDA · 46927696
    Yu ISHIKAWA authored
    I implemented the Python API for LDA. But I didn't implemented a method for `LDAModel.describeTopics()`, beause it's a little hard to implement it now. And adding document about that and an example code would fit for another issue.
    
    TODO: LDAModel.describeTopics() in Python must be also implemented. But it would be nice to fit for another issue. Implementing it is a little hard, since the return value of `describeTopics` in Scala consists of Tuple classes.
    
    Author: Yu ISHIKAWA <yuu.ishikawa@gmail.com>
    
    Closes #6791 from yu-iskw/SPARK-6259 and squashes the following commits:
    
    6855f59 [Yu ISHIKAWA] LDA inherits object
    28bd165 [Yu ISHIKAWA] Change the place of testing code
    d7a332a [Yu ISHIKAWA] Remove the doc comment about the optimizer's default value
    083e226 [Yu ISHIKAWA] Add the comment about the supported values and the default value of `optimizer`
    9f8bed8 [Yu ISHIKAWA] Simplify casting
    faa9764 [Yu ISHIKAWA] Add some comments for the LDA paramters
    98f645a [Yu ISHIKAWA] Remove the interface for `describeTopics`. Because it is not implemented.
    57ac03d [Yu ISHIKAWA] Remove the unnecessary import in Python unit testing
    73412c3 [Yu ISHIKAWA] Fix the typo
    2278829 [Yu ISHIKAWA] Fix the indentation
    39514ec [Yu ISHIKAWA] Modify how to cast the input data
    8117e18 [Yu ISHIKAWA] Fix the validation problems by `lint-scala`
    77fd1b7 [Yu ISHIKAWA] Not use LabeledPoint
    68f0653 [Yu ISHIKAWA] Support some parameters for `ALS.train()` in Python
    25ef2ac [Yu ISHIKAWA] Resolve conflicts with rebasing
    46927696
    History
    [SPARK-6259] [MLLIB] Python API for LDA
    Yu ISHIKAWA authored
    I implemented the Python API for LDA. But I didn't implemented a method for `LDAModel.describeTopics()`, beause it's a little hard to implement it now. And adding document about that and an example code would fit for another issue.
    
    TODO: LDAModel.describeTopics() in Python must be also implemented. But it would be nice to fit for another issue. Implementing it is a little hard, since the return value of `describeTopics` in Scala consists of Tuple classes.
    
    Author: Yu ISHIKAWA <yuu.ishikawa@gmail.com>
    
    Closes #6791 from yu-iskw/SPARK-6259 and squashes the following commits:
    
    6855f59 [Yu ISHIKAWA] LDA inherits object
    28bd165 [Yu ISHIKAWA] Change the place of testing code
    d7a332a [Yu ISHIKAWA] Remove the doc comment about the optimizer's default value
    083e226 [Yu ISHIKAWA] Add the comment about the supported values and the default value of `optimizer`
    9f8bed8 [Yu ISHIKAWA] Simplify casting
    faa9764 [Yu ISHIKAWA] Add some comments for the LDA paramters
    98f645a [Yu ISHIKAWA] Remove the interface for `describeTopics`. Because it is not implemented.
    57ac03d [Yu ISHIKAWA] Remove the unnecessary import in Python unit testing
    73412c3 [Yu ISHIKAWA] Fix the typo
    2278829 [Yu ISHIKAWA] Fix the indentation
    39514ec [Yu ISHIKAWA] Modify how to cast the input data
    8117e18 [Yu ISHIKAWA] Fix the validation problems by `lint-scala`
    77fd1b7 [Yu ISHIKAWA] Not use LabeledPoint
    68f0653 [Yu ISHIKAWA] Support some parameters for `ALS.train()` in Python
    25ef2ac [Yu ISHIKAWA] Resolve conflicts with rebasing