Currently set to Index
Currently set to Follow
Skip main navigation

How to get started with TensorFlow Playground

Familiarise yourself with Google's TensorFlow Playground and machine learning algorithms by completing this simple task.
The webpages: Playground.tensorflow
© Luleå University of Technology
Google’s TensorFlow Playground is an interactive visualisation of neural networks. With it, you can simulate small neural networks in real-time in your browser, and see the results instantly.
Here, we we will train your first little neural network and help to familiarise you with the concept of artificial neural networks (ANNs). 

The concept of ANNs

The main purpose of this task is to explore a bit of what is happening inside the most famous machine learning algorithms and to understand how typical parameters influence learning.

The Task:

1 Go to playground.tensorflow.org
2 Settings
In the top part of the menu you’ll see the network hyperparameter (settings):
  • Learning rate; how fast the network learns
  • Activation function (a mathematic function – don’t worry, you can just try different ones if you like; ReLu learns fastest);
  • Epoch; the number of times that the ANN will work through the entire training dataset
  • Regularisation; ensures better training
3 Data
  • Select the type of data you want to use from Data (on the left side) and the classification type problem
  • NB. There are four types of classification and two types of regression (regression means that one does not just predict classes, but also real values, e.g. the colour intensity in these examples).
4 Increasing the number of neurons – Linear activation
  • Try increasing the number of neurons in the hidden layer from 1 to 2, and also try changing from a linear activation to a nonlinear activation like ReLU.__
5 Increasing the number of neurons – Nonlinear activation
  • Try increasing the number of neurons in the hidden layer from 2 to 3, using a nonlinear activation like ReLU.
6 Adding or removing hidden layers
  • Continue experimenting by adding or removing hidden layers and neurons per layer. Feel free to change learning rates, regularisation and other learning settings.
© Luleå University of Technology
This article is from the free online

An Introduction to Artificial Intelligence in the Tourism Industry

Created by
FutureLearn - Learning For Life

Our purpose is to transform access to education.

We offer a diverse selection of courses from leading universities and cultural institutions from around the world. These are delivered one step at a time, and are accessible on mobile, tablet and desktop, so you can fit learning around your life.

We believe learning should be an enjoyable, social experience, so our courses offer the opportunity to discuss what you’re learning with others as you go, helping you make fresh discoveries and form new ideas.
You can unlock new opportunities with unlimited access to hundreds of online short courses for a year by subscribing to our Unlimited package. Build your knowledge with top universities and organisations.

Learn more about how FutureLearn is transforming access to education