Installing scikit-learn on Ubuntu is easy and straightforward. You can install it either using apt-get install or pip.
Here is the command to install scikit-learn using apt-get install:
$ sudo apt-get install python-sklearn
We can install it using pip with the following command:
$ sudo pip install scikit-learn
After installing scikit-learn, we can test the installation with the following commands in Python Terminal:
>>> import sklearn >>> sklearn.__version__ '0.19.1'
Congratulations, you have successfully set up scikit-learn! The next section will introduce you to SVM and its application in robotics.