Skip to content

Instantly share code, notes, and snippets.

@kyrcha

kyrcha/confirm-ml.py

Last active Apr 11, 2020
Embed
What would you like to do?
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