I'm trying to use scikit LogisticRegression to solve a multiclass text classification problem with variying number of columns (unigrams) in the trainging datasets. From what I understood, L2 regularization constant should change depending on the number of parameters in a model (L2 Regularization Constant). Is there any agreed formula/pattern to follow? Should it change linearly/exponentially, etc? Should the constant be increased or decreased when the number of columns increases? Does it also depend on the number of rows/observations?


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.