Load and preprocess the adult data as before. include dummy encoding and scaling Learn a logistic regression model and visualize the coefficients. Then grid-search the regularization parameter C. compare L1 penalty to L2 penalty. how are the coefficients different? which are the most important features?
In [ ]:
# %load solutions/adult_classification.py