Sklearn Introduction (page 4 of 4) |
Certain regressors and classifiers in sklearn do not provide all of the hyper-parameters necessary to tune the resulting models. That is, we cannot set certain inputs that maybe we would like to set. The good news is that these algorithms in the sklearn package are open source. Therefore, we should be able to get into the source code to tweak the underlying code if we really have to customize the algorithm. In practice, however, we will rarely have to make these modifications.
If you are following along with the video and get an interactive mode Traceback message, please add the following to the top of your script.
Video Solution File and Investments In-Class Example