CoCalc Shared Filesversions.ipynbOpen in CoCalc with one click!
Authors: Alex B, William A. Stein
Views : 119
Description: Jupyter notebook versions.ipynb
In [16]:
import nltk import sklearn #from pyspark import SparkFiles #from pyspark import SparkConf, SparkContext from __future__ import print_function import torch print ('The nltk version is {}.'.format(nltk.__version__)) print ('The scikit-learn version is {}.'.format(sklearn.__version__)) print( "blah2018_04_06") torch.version.__version__
The nltk version is 3.2.5. The scikit-learn version is 0.20.2. blah2018_04_06
'0.4.1'
In [2]:
from plotly import __version__ print (__version__)
3.2.1
In [3]:
from plotly.offline import download_plotlyjs,init_notebook_mode,plot,iplot
In [4]:
from plotly.offline import download_plotlyjs,init_notebook_mode,plot,iplot
In [5]:
init_notebook_mode(connected=True)
In [6]:
import plotly.plotly as py #import cufflinks as cf import pandas as pd import numpy as np #print (cf.__version__)
In [7]:
import tensorflow as tf hello = tf.constant('Yo bro') sess = tf.Session() sess.run(hello)
b'Yo bro'
In [8]:
print (tf.__version__)
1.9.0
In [9]:
a = tf.constant(10) b = tf.constant(32) sess.run(a + b)
42
In [10]:
sess.close()