Intro Lab. This lab is meant to expose workshop participants to examples of problems which can be applied to the SpiNNaker architecture.

Similar documents
6 th SpiNNaker Workshop Lab Manuals September 5 th 9 th 2016

Simple Data Input Output and Visualisation on Spinnaker Lab Manual

Week 1: Introduction to R, part 1

Creating New Neuron Models for SpiNNaker

SpiNNaker Graph Front End New Application Lab Manual

CS 201 Advanced Object-Oriented Programming Lab 6 - Sudoku, Part 2 Due: March 10/11, 11:30 PM

SpiNNaker a Neuromorphic Supercomputer. Steve Temple University of Manchester, UK SOS21-21 Mar 2017

SpiNNaker - a million core ARM-powered neural HPC

Simulator System SUN ABET

How do we use Superlab conceptually.

CS 4510/9010 Applied Machine Learning. Neural Nets. Paula Matuszek Fall copyright Paula Matuszek 2016

BERKELEY DAVIS IRVINE LOS ANGELES RIVERSIDE SAN DIEGO SAN FRANCISCO

Biologically-Inspired Massively-Parallel Architectures - computing beyond a million processors

GAME100 Lab 5. Before beginning the lab, please download and install Cisco Packet Trace

Required code separation. C Data Structures and Parameters. Required code separation. We will first describe the C requirements...

Making use of other Applications

PyMOL is a molecular visualization tool. There are many such tools available both commercially and publicly available:

The other function of this talk is to introduce some terminology that will be used through the workshop.

Supplement: Case Study: Sudoku

Mission Superchill Pluto Edition

CS/NEUR125 Brains, Minds, and Machines. Due: Wednesday, April 5

Chemistry 1A Graphing Tutorial CSUS Department of Chemistry

TracePro Tutorial Tissue Optics

QUICK XAFS MANUAL. Andrew Friedman 1 and Elie Horowitz 2 Yeshiva University, New York, NY 10033

Power Estimation and Management for LatticeXP2 Devices

Advanced Visualization for Chemistry

Topic 7: Lists, Dictionaries and Strings

Matlab notes Matlab is a matrix-based, high-performance language for technical computing It integrates computation, visualisation and programming usin

Using the IMfig program.

Transaction Desk. Creating Transactions

PCSIM Parallel neural Circuit SIMulator

WHAT TYPE OF NEURAL NETWORK IS IDEAL FOR PREDICTIONS OF SOLAR FLARES?

Lab 12 - Interference-Diffraction of Light Waves

Charts in Excel 2003

Physics Experiment 13

Introduction To Python

ACTIVITY 2: Reflection of Light

RFlex Generator for RecurDyn.

Assignment 6: Ray Tracing

Nanostructure Software Procedure. 1. If running off of LANL system: a. Open MobaXterm and double click on the LANL link to the left

Cross Teaching Parallelism and Ray Tracing: A Project based Approach to Teaching Applied Parallel Computing

Practical 1P1 Computing Exercise

Intro to ipad Learning Outcomes

Phys 1020, Day 18: Questions? Cameras, Blmfld Reminders: Next Up: digital cameras finish Optics Note Final Project proposals next week!

Physics 1230 Light and Color Fall 2012 M. Goldman. Practice Exam #1 Tuesday, Sept 25, Your full name: Last First and middle.

Python lab session 1

Physics 309 Lab 3. where the small angle approximation has been used. This pattern has maxima at. Y Max. n L /d (2)

From Here to There: Applications of the Distance Formula

The exam begins at 2:40pm and ends at 4:00pm. You must turn your exam in when time is announced or risk not having it accepted.

Simplified model of ray propagation and outcoupling in TFs.

2. All answers should go on blank paper that will be provided. Very carefully number and draw lines separating each solution!

HPOG RoundTable: How to Manipulate PAGES Data with Excel

Chapter 2. Basic Operations. you through the routine procedures that you will use nearly every time you work with SPSS.

Determining The Surface Tension Of Water Via Light Scattering

MANUFACTURING OPTIMIZING COMPONENT DESIGN

Test 1 - Python Edition

Computing Key Skills

Spelling-Punctuation-Grammar Subject How will you promote high standards within this module? Term Duration (approx.)

Introduction to SPSS

Lighting. To do. Course Outline. This Lecture. Continue to work on ray programming assignment Start thinking about final project

Chemistry 30 Tips for Creating Graphs using Microsoft Excel

IALP Algorithms

Working with Census Data Excel 2013

3. Saving Your Work: You will want to save your work periodically, especially during long exercises.

Data Science Training

Power Estimation and Management for MachXO Devices

1.1. FireCR Calibration

Introduction to Hermes

U-Viewer USB Handhold Digital Microscope. User s Manual

Lastly, in case you don t already know this, and don t have Excel on your computers, you can get it for free through IT s website under software.

CS 6958 LECTURE 5 TM ANALYSIS SHADING

Introduction To Python

TMA Standard Operating Procedure [Updated April 30, 2015]

ShadowProtect Bare Metal Restore

Version 1.1 October 2017 Teaching Subset v5.39

Title: Bruce Furnaces Semiconductor & Microsystems Fabrication Laboratory Revision: C Rev Date: 02/21/06

3.2 A Three-Bar Linkage 51

Importance of Functional Software Testing

Rotating Prisms with Scripting

AutoForm plus R6.0.3 Release Notes

TracePro Tutorial LED Example

The first few questions on this worksheet will deal with measures of central tendency. These data types tell us where the center of the data set lies.

NET323 D: NETWORKS PROTOCOLS

KENDRIYA VIDYALAYA MAHASAMUND

Research Question: Do people perform better on a math task after observing Impressionist art or modern art?

Susan L. Wearne ( )

Barchard Introduction to SPSS Marks

Python: Developing Geoprocessing Tools. David Wynne, Jon Bodamer

NAMI Affiliate Profile Center Contact Manual

KING FAHD UNIVERSITY OF PETROLEUM & MINERALS ELECTRICAL ENGINEERING DEPARTMENT

CS 105 Lab As a review of what we did last week a. What are two ways in which the Python shell is useful to us?

FOR 240 Lab 8 Assignment Using GPS to Collect Spatial Data of Forest Management Introduction to Computing in Natural Resources

FACULTY AND STAFF COMPUTER FOOTHILL-DE ANZA. Office Graphics

How to use Excel Spreadsheets for Graphing

Excel to R and back 1

Activity Graphical Analysis with Excel and Logger Pro

Data needs to be prepped for loading into matlab.

Getting started with the Spyder IDE

Residential 1-Line Multifamily Instructions. User s Manual APPROVED. Copyright 2016 Durand & Associates. Page 1

Barchard Introduction to SPSS Marks

Transcription:

Intro Lab This lab is meant to expose workshop participants to examples of problems which can be applied to the SpiNNaker architecture. Installation The software installation instructions can be found here: https://spinnakermanchester.github.io/latest/spynnaker_install.html https://spinnakermanchester.github.io/latest/gfe_install.html File download All of these examples can be found here: https://spinnakermanchester.github.io/latest/intro_lab.html Please download and open a terminal at the top level of the folder. Run Applications Below is a list of applications with the corresponding folders and execution commands, please run each script as it currently stands, and attempt to understand what the application is doing. 1. Neural Network Synfire Chain 2. Conductive Material with Applied Heat 3. Sudoku Game Through Neural Network 4. Graphic Ray Tracer of an Environment 5. Simple Learning Network

Neural Network Synfire Chain Figure 1 : The output from a simple Synfire chain. cd synfire python synfire.py A plot like the above should appear. This example shows a PyNN Neural Network with a chain of 10 populations of 100 neurons each, where 10 neurons from each population excite all the neurons in the next population in the chain. The first population is then stimulated at the start of the simulation to start the chain running. Figure 2 : The Synfire Chain of Populations

Conductive Material with Applied Heat Figure 3 : The output from the conductive material simulation cd heat_demo python heat_demo.py A visualiser should appear here, as shown in Figure 3. You can press 9 to randomize the heat applied at each edge of the simulation, or press select a black square and press + to increase the temperature, or to decrease it, followed by g to update it. This example shows a piece of conductive material (e.g. a metal sheet) which is represented by a collections of cells which represent atoms of the material. Temperature is transferred between the atoms of the material in the simulation by sending packets over the SpiNNaker network. Figure 4 shows this application in graphical form. Figure 4 : The conductive material application in graphical form

Sudoku Game Through Neural Network Figure 5 : The output from the Sudoku game application cd sudoku python sudoku.py A visualiser will pop up, which is shown in Figure 5. This example shows a PyNN neural network which describes a neural network for running sudoku problems. The spikes representing each cell are shown behind each number, with green output indicating that the value is valid according to the rules of Sudoku and red output indicating that the value is invalid. The problem to be solved is described near the top of the sudoku.py file, with 0s representing values to be computed. Note that on a small SpiNNaker board, the network is not always successful at solving the problem.

Graphic Ray Tracer of an Environment Figure 6 : The output from the graphical ray tracer application cd ray_trace python ray_trace.py A visualiser will pop up, which is shown in Figure 6. This example shows a ray tracing application on SpiNNaker. This has been designed so that to operate in parallel; the more cores in use, the faster it completes. Note that it is still quite slow, and you may have to click on the window to force it to update.

Simple Learning Network Figure 7 : The output from the learning application To run this example, from the top level folder type: cd learning python learning.py A plot like the above should appear. This example shows the spike outputs from two populations of neurons. At the start, only one of the populations spikes regularly. In the middle, some learning is done, and at the end, both populations spike regularly.