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

Joseph K. Bradley commented on SPARK-9715:
------------------------------------------

Sounds good.  The main issue is that, for backwards compatibility, you'll need 
to provide a default value.  That should probably be -1, and documented.  
Thanks!

> 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-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to