hivemall-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From myui <...@git.apache.org>
Subject [GitHub] incubator-hivemall issue #87: [HIVEMALL-108] Support `-iter` option in gener...
Date Wed, 28 Jun 2017 02:38:33 GMT
Github user myui commented on the issue:

    https://github.com/apache/incubator-hivemall/pull/87
  
    There are several design options to consider:
     1) move `-iter` and `-mini-batch` functionalities to LeanerBaseUDTF
       => but, it cannot be used for MulticlassOnlineClassifier.. :-(
     2) make BinaryOnlineClassfierUDTF/RegressionBaseUDTF the subclass of GeneraLearnerBaseUDTF
       => regression bug may occur ..
     3) make Abstract IterativeLearnerBaseUDTF as the subclass of LearnerBaseUDTF
       => too complex object hierarchy (not good design)
     4) implement `-iter` and `-mini-batch` functionalities in BinaryOnlineClassfierUDTF/RegressionBaseUDTF
       => duplicate code, hard for maintenance
     5) Mixin iteration supoprt
       => callback is needed and not a pattern for mixin
     6) generalize `-iter` support for MulticlassOnelineClassifierUDTF
       => not straightforward design
    
    Also, `-mini_batch` design should be well revised for online perceptron variants.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

Mime
View raw message