Like scikit-image, scikit-learn is another open source library that provides easy-to-use APIs for most of the machine learning algorithms that we are going to use in this chapter.
Installing sklearn is fairly simple. The following steps show how to install it on various platforms:
- Windows: Since you have pip installed already (hopefully you installed scikit-image during the first chapter), run the following command in your terminal.
pip3 install sklearn
To verify you have successfully installed sklearn, run the following command in your terminal:
python3 -c "import sklearn"
If you see no errors, you are good to go.
- Linux/macOS: Both Linux and macOS have the same steps to install sklearn. Assuming you have pip ...