R and Python are both great ways to quickly learn how to do machine learning in practice. They can be learned rather quickly and enable you to do almost anything you want. Mastering them is increasingly crucial for a career in data science.
These lectures are made available in 3 formats:
There exist many ways to learn R quickly:
Likewise, there are many ways to quickly learn Python:
You should now be able to:
python
in your command shelljupyter notebook
Whenever you need a package that is not already installed:
conda install <package>
pip install <package>
conda install numpy scipy scikit-learn jupyter matplotlib
Some packages need to be installed from GitHub source code:
Then clone the package and install it:
git clone <git URL>
cd <new directory>
python setup.py install
OpenML (for ML resources): https://github.com/openml/python.git
conda install -c r r
conda install -c r r-essentials
install.packages('devtools') # If necessary
library(devtools)
install_github('IRkernel/repr')
install_github('IRkernel/IRdisplay')
install_github('IRkernel/IRkernel')
IRkernel::installspec()
R
on the command line (or use RStudio)Whenever you need a package that is not already installed:
sudo R
install.packages(<package name>)
. Case sensitive!Some packages need to be installed from GitHub source code:
install.packages('devtools') # If necessary
library(devtools)
install_github('<package name>')
E.g. for OpenML:
install_github('openml/r')