JuliaAI / MLJLinearModels.jl

Generalized Linear Regressions Models (penalized regressions, robust regressions, ...)
MIT License
80 stars 13 forks source link

throw error much ealier for LogisticClassifier #71

Closed OkonSamuel closed 4 years ago

OkonSamuel commented 4 years ago

@tlienart . Sorry to disturb you again. I think a more informative error message should be thrown. I ran LogisticClassifier using the default values on a dataset having nclasses > 2. it thows the following Error

ERROR: DimensionMismatch("new dimensions (4, 4) must be consistent with array size 4")

Although setting multi_class=true works. i think there should be a more informative error message.

tlienart commented 4 years ago

right , I'll get on to that :+1: it should just work