Description
The following method in LogisticRegressionModel is marked as private, which prevents users from creating a summary on any given data set. Check here.
// TODO: decide on a good name before exposing to public API private[classification] def evaluate(dataset: DataFrame) : LogisticRegressionSummary = { new BinaryLogisticRegressionSummary( this.transform(dataset), $(probabilityCol), $(labelCol)) }
This method is definitely necessary to test model performance.
By the way, the name evaluate is already pretty good for me.
mengxr Could you check this ? Thx