smltar icon indicating copy to clipboard operation
smltar copied to clipboard

There are `notes` on multiclass model in Ch 7

Open juliasilge opened this issue 4 years ago • 2 comments

Sometimes we get some notes about convergence for the glmnet model in Ch 7 (only the multiclass model, I think). They look like this:

Warning message:
This tuning result has notes. Example notes on model fitting include:
preprocessor 1/1, model 1/1: from glmnet Fortran code (error code -99); Convergence for 99th lambda value not reached after maxit=100000 iterations; solutions for larger lambdas returned
preprocessor 1/1, model 1/1: from glmnet Fortran code (error code -53); Convergence for 53th lambda value not reached after maxit=100000 iterations; solutions for larger lambdas returned 

juliasilge avatar Nov 12 '21 00:11 juliasilge

I suspect this is due to the unbalanced nature of the classes. I think we should try doing a LIGHT upsample

EmilHvitfeldt avatar Nov 12 '21 00:11 EmilHvitfeldt

We have temporarily disabled printing of the tune results to avoid showing these errors https://github.com/EmilHvitfeldt/smltar/pull/180/commits/880387cdc7f2ec730a5db3de4a176c6abb0fa082

EmilHvitfeldt avatar May 11 '22 20:05 EmilHvitfeldt