Skip to content

Instantly share code, notes, and snippets.

@kyrcha
Last active April 11, 2020 13:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kyrcha/848a30b3ede1be71dfcbd032d7c6cd3e to your computer and use it in GitHub Desktop.
Save kyrcha/848a30b3ede1be71dfcbd032d7c6cd3e to your computer and use it in GitHub Desktop.
Confirm your Anaconda ML environment
# Idea from: https://machinelearningmastery.com/setup-python-environment-machine-learning-deep-learning-anaconda/
# scipy
import scipy
print('scipy: %s' % scipy.__version__)
# numpy
import numpy
print('numpy: %s' % numpy.__version__)
# matplotlib
import matplotlib
print('matplotlib: %s' % matplotlib.__version__)
# pandas
import pandas
print('pandas: %s' % pandas.__version__)
# statsmodels
import statsmodels
print('statsmodels: %s' % statsmodels.__version__)
# scikit-learn
import sklearn
print('sklearn: %s' % sklearn.__version__)
# tensorflow
import tensorflow
print('tensorflow: %s' % tensorflow.__version__)
# keras
import tensorflow.keras
print('keras: %s' % tensorflow.keras.__version__)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment