You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Seth Hendrickson (JIRA)" <ji...@apache.org> on 2015/09/08 18:13:45 UTC

[jira] [Commented] (SPARK-9715) Store numFeatures in all ML PredictionModel types

    [ https://issues.apache.org/jira/browse/SPARK-9715?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14735065#comment-14735065 ] 

Seth Hendrickson commented on SPARK-9715:
-----------------------------------------

I can take this one if no one else has started it. Plan is to add abstract method {{def numFeatures: Int}} to the {{PredictionModel}} abstract class and implement methods for each learning model that inherits from PredictionModel. 

> Store numFeatures in all ML PredictionModel types
> -------------------------------------------------
>
>                 Key: SPARK-9715
>                 URL: https://issues.apache.org/jira/browse/SPARK-9715
>             Project: Spark
>          Issue Type: Improvement
>          Components: ML
>            Reporter: Joseph K. Bradley
>            Priority: Minor
>
> The PredictionModel abstraction should store numFeatures.  Currently, only RandomForest* types do this.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org