AlphaSelection not being scored properly #157
Labels
level: intermediate
python coding expertise required
priority: medium
can wait until after next release
type: bug
something isn't working
Milestone
The
AlphaSelection
visualizer, implemented in #103 has a slight bug:Right now the alphas and errors selection method uses a search to find the right attributes on the model (rather than responding to specific model names). However, some models return different values for the attributes in different scenarios, resulting in an error regarding the mismatch between x and y values during plotting (must have same shape).
For example, RidgeCV
cv_values_
can be:But the current implementation only handles the shape [n_samples, n_alphas].
Additionally ElasticNetCV
mse_path_
can be:Which means we're probably not doing the right average on this array.
Basically, we need to do a better job of figuring out what the alphas and mse error properties are, computing the scores for visualization; I think right now the plots might just be wrong.
The text was updated successfully, but these errors were encountered: