Setting up Scikit-Learn & Conda.

cd Downloads/
sudo bash Anaconda3-5.2.0-Linux-x86_64.sh -u
cd /home/user/
nano .bashrc
source .bashrc
conda create --name eninf
conda activate eninf
conda install scikit-learn matplotlib pandas jupyter
Please mind that this is merely a symbolic image, as our environment is named eninf and there is no nilmtk.yml in this context.

Jupyter

The next step involves Jupyter notebooks. Add the environment to Jupyter:

python -m ipykernel install --user --name eninf --display-name "Python (eninf)"

Testing your Installation

The time has come to check your installation. Create a new folder and open Jupyter.

mkdir lab
jupyter notebook lab/

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Christoph Klemenjak

Christoph Klemenjak

Researcher. Machine Learning Enthusiast. European Citizen. https://klemenjak.com