Skip to content
Snippets Groups Projects
Commit 098be27a authored by sethah's avatar sethah Committed by Joseph K. Bradley
Browse files

[SPARK-9715] [ML] Store numFeatures in all ML PredictionModel types

All prediction models should store `numFeatures` indicating the number of features the model was trained on. Default value of -1 added for backwards compatibility.

Author: sethah <seth.hendrickson16@gmail.com>

Closes #8675 from sethah/SPARK-9715.
parent a1820804
No related branches found
No related tags found
No related merge requests found
Showing
with 116 additions and 46 deletions
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment