Code to pick hyperparamters + cross validation + examine weights