You can press shift + enter to quickly advance through each line of a notebook. Try it!

Check that you have a recent version of TensorFlow installed, v1.0 or higher.

!pip3 install tensorflow pillow
Requirement already satisfied: tensorflow in /srv/paws/lib/python3.4/site-packages
Collecting pillow
  Using cached Pillow-4.1.1-cp34-cp34m-manylinux1_x86_64.whl
Requirement already satisfied: werkzeug>=0.11.10 in /srv/paws/lib/python3.4/site-packages (from tensorflow)
Requirement already satisfied: protobuf>=3.2.0 in /srv/paws/lib/python3.4/site-packages (from tensorflow)
Requirement already satisfied: six>=1.10.0 in /srv/paws/lib/python3.4/site-packages (from tensorflow)
Requirement already satisfied: wheel>=0.26 in /srv/paws/lib/python3.4/site-packages (from tensorflow)
Requirement already satisfied: numpy>=1.11.0 in /srv/paws/lib/python3.4/site-packages (from tensorflow)
Collecting olefile (from pillow)
  Downloading olefile-0.44.zip (74kB)
    100% |████████████████████████████████| 81kB 1.5MB/s ta 0:00:011
Requirement already satisfied: setuptools in /srv/paws/lib/python3.4/site-packages (from protobuf>=3.2.0->tensorflow)
Requirement already satisfied: packaging>=16.8 in /srv/paws/lib/python3.4/site-packages (from setuptools->protobuf>=3.2.0->tensorflow)
Requirement already satisfied: appdirs>=1.4.0 in /srv/paws/lib/python3.4/site-packages (from setuptools->protobuf>=3.2.0->tensorflow)
Requirement already satisfied: pyparsing in /srv/paws/lib/python3.4/site-packages (from packaging>=16.8->setuptools->protobuf>=3.2.0->tensorflow)
Building wheels for collected packages: olefile
  Running setup.py bdist_wheel for olefile ... - \ done
  Stored in directory: /home/paws/.cache/pip/wheels/20/58/49/cc7bd00345397059149a10b0259ef38b867935ea2ecff99a9b
Successfully built olefile
Installing collected packages: olefile, pillow
Successfully installed olefile-0.44 pillow-4.1.1
import tensorflow as tf
print("You have version %s" % tf.__version__)
You have version 1.1.0

Check if Matplotlib is working. After running this cell, you should see a plot appear below.

%matplotlib inline
import pylab
import numpy as np

# create some data using numpy. y = x * 0.1 + 0.3 + noise
x = np.random.rand(100).astype(np.float32)
noise = np.random.normal(scale=0.01, size=len(x))
y = x * 0.1 + 0.3 + noise

# plot it
pylab.plot(x, y, '.')
[<matplotlib.lines.Line2D at 0x7f7bd2c9e860>]

Check if Numpy and Pillow are working. After running this cell, you should see a random image appear below.

import PIL.Image as Image
import numpy as np
from matplotlib.pyplot import imshow

image_array = np.random.rand(200,200,3) * 255
img = Image.fromarray(image_array.astype('uint8')).convert('RGBA')
imshow(np.asarray(img))
<matplotlib.image.AxesImage at 0x7f7bd00b2438>

Check if Pandas is working. After running this cell, you should see a table appear below.

import pandas as pd
names = ['Bob','Jessica','Mary','John','Mel']
births = [968, 155, 77, 578, 973]
BabyDataSet = list(zip(names,births))
pd.DataFrame(data = BabyDataSet, columns=['Names', 'Births'])
Names Births
0 Bob 968
1 Jessica 155
2 Mary 77
3 John 578
4 Mel 973

That's it! You're ready to start the workshop.