You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@predictionio.apache.org by Rainer-Kempkes <gi...@git.apache.org> on 2016/11/18 10:39:08 UTC

[GitHub] incubator-predictionio-template-attribute-based-classifier issue #1: Support...

Github user Rainer-Kempkes commented on the issue:

    https://github.com/apache/incubator-predictionio-template-attribute-based-classifier/issues/1
  
    hi, browsing through the PredictionIO template gallery there still seems to be no PredictionIo classifier for discrete non-numeric features, in which I am highly interested. Do you know any or can you provide me a hint how to do it for myself?
    
    I tried to modify the DataSource.scala and Engine.scala but ran into errors. 
    ```
              LabeledPoint(properties.get[Double]("plan"),
                Vectors.dense(Array(
                  properties.get[**String**]("attr0"),
                  properties.get[**String**]("attr1"),
                  properties.get[**String**]("attr2")
                ))
    ```
    But pityfully it ain't that simple... :-(
    
    regards,
    Rainer
     


---
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.
---