Here's a conda command to create a suitable environment (called ml_bd
) for this code locally:
conda create -n ml_bd -c anaconda python scikit-learn statsmodels xlrd pandas matplotlib jupyterlab nbconvert
Further commands that create another conda environment (tf_ml_bd
) with tensorflow & keras added (to go beyond Class 7):
conda create --clone ml_bd --name tf_ml_bd
conda install -c conda-forge tensorflow python-graphviz tensorflow-datasets scikit-image -n tf_ml_bd
conda install -c anaconda pydot -n tf_ml_bd
(commands were figured-out from conda cheat-sheet)
For Jupyter Lab environments you may also wish to install and activate the ipykernel
conda install ipykernel --name tf_ml_bd
# conda activate tf_ml_bd
python -m ipykernel install --user --name tf_ml_bd --display-name tf_ml_bd