- Install Anaconda
- run
conda init
during installation- adds some code into your
.bashrc
file - causes the default conda
base
environment to be activated with every shell session
- adds some code into your
- run
- Relaunch command line terminal
- Disable automatic base environment activation:
conda config --set auto_activate_base False
- adds
auto_activate_base: false
to the.condarc
file
- adds
- Clone the base environment into a new environment,
ml_course
:conda create --name ml_course --clone base
- convenient because the base environment already has a number of packages preinstalled, e.g.,
jupyter
andmatplotlib
- to list all conda environments:
conda info --envs
- to remove the environment:
conda remove --name myenv --all
- to manually create a new conda environment with Python 3.8:
conda create --name ml_course --python=3.8
- you will also need to install the following packages:
jupyter
matplotlib
pandas
seaborn
scikit-learn
xlrd
statsmodels
- you will also need to install the following packages:
- to install packages into a conda environment:
conda install [package [package ...]]
- to remove packages:
conda remove [package [package ...]]
- convenient because the base environment already has a number of packages preinstalled, e.g.,
- Activate the new environment:
conda activate ml_course
- to deactivate the environment:
conda deactivate
- to deactivate the environment:
- Install PyDotPlus:
conda install pydotplus
- Install TensorFlow:
conda install tensorflow
- Download course material: https://sundog-education.com/machine-learning/
- a collection of Jupyter Notebook files (
.ipynb
) - unzip the course material
- a collection of Jupyter Notebook files (
- Test run Jupyter Notebook
- in the course material directory:
jupyter notebook
- select one of the notebook files, e.g.,
Outliers.ipynb
- in the course material directory:
- Alternatively, you can view and run Jupyter Notebook files in VS Code; see
- See MLCourseSlides.pdf, slides 5-10
- See:
- MLCourseSlides.pdf, slides 17-22
- StdDevVariance.ipynb
- Probability density function: probability of a range of values happening with continuous data
- Probability mass function: probabilities of given discrete values occurring in a data set
- See MLCourseSlides.pdf, slides 24-27
- See:
- MLCourseSlides.pdf, slides 30-39
- Percentiles.ipynb
- Moments.ipynb
- See MatPlotLib.ipynb
- See Seaborn.ipynb
- See
- MLCourseSlides.pdf, slides 41-45
- CovarianceCorrelation.ipynb
- See
- See MLCourseSlides.pdf, slides 52-54
- See
- MLCourseSlides.pdf, slides 56-62
- LinearRegression.ipynb
- See
- MLCourseSlides.pdf, slides 65-67
- PolynomialRegression.ipynb
- See
- MLCourseSlides.pdf, slides 69-70
- MultipleRegression.ipynb
- See MLCourseSlides.pdf, slides 73-75
- https://conda.io/projects/conda/en/latest/user-guide/getting-started.html
- https://docs.anaconda.com/anaconda/install/linux/
- https://docs.conda.io/projects/conda/en/latest/user-guide/tasks/manage-environments.html
- https://stackoverflow.com/a/58068850/13709997
- https://pandas.pydata.org/pandas-docs/stable/reference/index.html
- https://numpy.org/doc/stable/reference/index.html
- https://matplotlib.org/3.3.3/api/pyplot_summary.html
- https://docs.scipy.org/doc/scipy/reference/stats.html
- https://seaborn.pydata.org/index.html
- Sundog Education. "Machine Learning, Data Science and Deep Learning with Python." Udemy, Udemy, September 2020, www.udemy.com/course/data-science-and-machine-learning-with-python-hands-on/.