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