Sharedversions.ipynbOpen in CoCalc
Authors: Alex B, William A. Stein
Views : 7
Description: Jupyter notebook versions.ipynb
In [7]:
import nltk import sklearn #from pyspark import SparkFiles #from pyspark import SparkConf, SparkContext print ('The nltk version is {}.'.format(nltk.__version__)) print ('The scikit-learn version is {}.'.format(sklearn.__version__)) print( "blah2018_04_06")
The nltk version is 3.2.5. The scikit-learn version is 0.20.2. blah2018_04_06
In [8]:
from plotly import __version__ print (__version__)
3.2.1
In [9]:
from plotly.offline import download_plotlyjs,init_notebook_mode,plot,iplot
In [10]:
from plotly.offline import download_plotlyjs,init_notebook_mode,plot,iplot
In [11]:
init_notebook_mode(connected=True)
In [12]:
import plotly.plotly as py #import cufflinks as cf import pandas as pd import numpy as np #print (cf.__version__)
--------------------------------------------------------------------------- NameError Traceback (most recent call last) <ipython-input-12-d63e7803b37b> in <module>() 3 import pandas as pd 4 import numpy as np ----> 5 print (cf.__version__) NameError: name 'cf' is not defined
In [ ]:
import tensorflow as tf hello = tf.constant('Yo bro') sess = tf.Session() sess.run(hello)
In [ ]:
print (tf.__version__)
In [ ]:
a = tf.constant(10) b = tf.constant(32) sess.run(a + b)
In [ ]:
sess.close()