Data Science, Model Performance, Model Selection, Machine Learning, Bobrupakroy.
training dataset, LL is the log-likelihood of the model on the training dataset, and k is the number of parameters in the model. Python version: aic = n * log(mse) + 2 * num_params where the number of parameters is num_params = len(model.coef_) + 1 model.coef_ is the model coefficients (that is the