CoCalc Public Filesversions.ipynbOpen with one click!
Author: Alex B
Views : 331
Description: Jupyter notebook versions.ipynb
Compute Environment: Ubuntu 18.04 (Deprecated)
In [20]:
from __future__ import print_function import nltk import sklearn #from pyspark import SparkFiles #from pyspark import SparkConf, SparkContext 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.4.5. The scikit-learn version is 0.23.2. blah2018_04_06
'1.3.1'
In [21]:
from plotly import __version__ print (__version__)
4.12.0
In [22]:
from plotly.offline import download_plotlyjs,init_notebook_mode,plot,iplot
In [23]:
from plotly.offline import download_plotlyjs,init_notebook_mode,plot,iplot
In [24]:
init_notebook_mode(connected=True)
In [25]:
#import plotly.plotly as py #import cufflinks as cf import pandas as pd import numpy as np #print (cf.__version__)
In [26]:
import tensorflow as tf hello = tf.constant('Yo bro') #sess = tf.Session() #sess.run(hello) hello
<tf.Tensor: shape=(), dtype=string, numpy=b'Yo bro'>
In [27]:
print (tf.__version__)
2.3.0
In [28]:
a = tf.constant(10) b = tf.constant(32) #sess.run(a + b) print(a,b)
tf.Tensor(10, shape=(), dtype=int32) tf.Tensor(32, shape=(), dtype=int32)
In [29]:
#sess.close()
In [ ]: