Github user helenahm commented on the issue:

    https://github.com/apache/incubator-hivemall/pull/93
  
    I think you are right about CSRMatrix (_x here). I should use it without 
converting it back to unscaleable structures via DataIndexer.
    
    As I literary did by:
    
    EventStream es = new MatrixEventStream(_x, _y, _attributes); 
    AbstractModel model;
    try {
        model = GIS.trainModel(1000, new OnePassRealValueDataIndexer(es,0), 
_USE_SMOOTHING);
    } catch (IOException e) {
        throw new HiveException(e.getMessage());
    }
    
    I will re-write the code to be more scalable, by changing OpenNLP code to a 
code that uses Smile's and Hivemall's structures. I was mistaken about the ways 
OpenNLP processes the data from the EventStream. 


---
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 [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to