Encoding Sensory Inputs in Numeric / Binary Form n CS/PY 231 Lab Presentation # 7 n March 4, 2005 n Mount Union College.

Slides:



Advertisements
Similar presentations
1 Chapter 3 Input Devices. 2 Overview of the Input Process.
Advertisements

1 The 2-to-4 decoder is a block which decodes the 2-bit binary inputs and produces four output All but one outputs are zero One output corresponding to.
Introduction to Training and Learning in Neural Networks n CS/PY 399 Lab Presentation # 4 n February 1, 2001 n Mount Union College.
Encoding Sensory Inputs in Numeric / Binary Form n CS/PY 399 Lecture Presentation # 18 n February 19, 2001 n Mount Union College.
Chapter 4: The Building Blocks: Binary Numbers, Boolean Logic, and Gates Invitation to Computer Science, Java Version, Third Edition.
How Computers Represent Numbers Friday, Week 5. Binary Code A series of 1’s and 0’s Place value is in powers of 2.
Copyright © 2008 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Starting Out with Programming Logic & Design First Edition by Tony Gaddis.
J. Michael Moore Computer Organization CPSC 110. J. Michael Moore High Level View Of A Computer ProcessorInputOutput Memory Storage.
CSCI 3 Chapter 1 Data Storage. Bits  Today’s computer information is encoded as patterns of 0s and 1s.  These digits are called “bits” (binary digits)
Representation of Data How is data (numbers, characters) represented so that it can be used in a Computer ?
Chapter 1 Data Storage. 2 Chapter 1: Data Storage 1.1 Bits and Their Storage 1.2 Main Memory 1.3 Mass Storage 1.4 Representing Information as Bit Patterns.
Chapter 4: The Building Blocks: Binary Numbers, Boolean Logic, and Gates Invitation to Computer Science, C++ Version, Fourth Edition.
Data Representation (in computer system) Computer Fundamental CIM2460 Bavy LI.
Binary Conversion In today’s lesson we will link together the binary and algorithm topics by looking at how to get the computer to: convert binary to decimal.
Binary Numbers.
ENEL 111 Digital Electronics Richard Nelson G.1.29
Chapter 1 Data Storage(2) Yonsei University 1 st Semester, 2014 Sanghyun Park.
NAME – vivek singh. Class – VIII. WHAT IS COMPUTER ? A COMPUTER IS AN ELECTRONIC MACHINE. THAT CONVERT DATA INTO MEANINGFUL INFORMATION. IT CALCULATED.
How many computers do you have?. All digital electronics use computers. Computer CD & DVD players IPod Cell phone HDTV Digital cameras.
IT253: Computer Organization
Wednesday, September 16 th Warm Up: Write down how you would explain binary code to someone who had never heard of it before What is this number written.
Chapter 2 Computer Hardware
Binary Code.
Chapter 3 Section 1 Number Representation Modern cryptographic methods, unlike the classical methods we just learned, are computer based. Representation.
CHAPTER 1 INTRODUCTION NUMBER SYSTEMS AND CONVERSION
Choosing Weight and Threshold Values for Single Perceptrons n CS/PY 231 Lab Presentation # 2 n January 24, 2005 n Mount Union College.
Methodology of Simulations n CS/PY 399 Lecture Presentation # 19 n February 21, 2001 n Mount Union College.
Section 3.1: Number Representation Practice HW (not to hand in) From Barr Text p. 185 # 1-5.
Perceptron Networks and Vector Notation n CS/PY 231 Lab Presentation # 3 n January 31, 2005 n Mount Union College.
Introduction to Digital Media. What is it? Digital media is what computers use to; Store, transmit, receive and manipulate data Raw data are numbers,
Binary System Presented by Mr. Wilhelmi Internal Representation of Data Input Input  Data that is put into the computer for processing Data Data  The.
Binary Bracelets. Objectives Encode letters into binary Decode binary back to letters Relate the idea of storing initials on a bracelet to the idea of.
CEC 220 Digital Circuit Design Number Systems & Conversions Friday, January 9 CEC 220 Digital Circuit Design Slide 1 of 16.
Controlling a Robot with a Neural Network n CS/PY 231 Lab Presentation # 9 n March 30, 2005 n Mount Union College.
M204 - Data Representation
Circuits & Switches. Electricity Formed when an excess of positive or negative particles that are parts of atoms attempts to balance itself=electrical.
CEC 220 Digital Circuit Design Number Systems & Conversions Wednesday, Aug 26 CEC 220 Digital Circuit Design Slide 1 of 16.
Progress check Learning Objective: Success Criteria : Can identify various input and output devices - Level 4 – 5 Can identify all the major items of hardware.
A+ Computer Repair Lesson 3: Number System. Objectives Define binary, decimal, octal, and hexadecimal numbering systems. Define binary, decimal, octal,
Lesson 6 Binary Understand what Binary Code means and apply this knowledge Understand how data is represented using bit systems and be able to change decimal.
 A transistor is the basic building block of electronic components.  The average computer may have millions of them within its circuits.  Essentially,
Understanding Computers
Introduction to Communication Lecture (11) 1. Digital Transmission A computer network is designed to send information from one point to another. This.
1 Chapter 1 Basic Structures Of Computers. Computer : Introduction A computer is an electronic machine,devised for performing calculations and controlling.
Decoders A decoder is a logic circuit that detects the presence of a specific combination of bits at its input. Two simple decoders that detect the presence.
Task 2: Define digital and analogue signals
Understanding Binary Understanding Computers. Understanding Computers L3 – Understanding Binary Learning Objectives All will Understand why all data is.
Binary Representation in Text
Binary Representation in Text
Topic: Binary Encoding – Part 1
Understanding binary Understanding Computers.
Invitation to Computer Science, C++ Version, Fourth Edition
Unit 3 Lesson 6 Electronic Technology
CHAPTER 1 INTRODUCTION NUMBER SYSTEMS AND CONVERSION
Digital Electronics Jess 2008.
PCM (Pulse Code Modulation)
Chapter 2 – Computer hardware
Neural Networks for Machine Learning Lecture 1e Three types of learning Geoffrey Hinton with Nitish Srivastava Kevin Swersky.
Data Encoding Characters.
Invitation to Computer Science, Java Version, Third Edition
Chapter 1 Data Storage.
Computers & Programming Languages
Topics Introduction Hardware and Software How Computers Store Data
Lecture 17 Logistics Last lecture Today HW5 due on Wednesday
COMS 161 Introduction to Computing
How Computers Store Data
Lecture 17 Logistics Last lecture Today HW5 due on Wednesday
ASCII LP1.
Networks & I/O Devices.
ENEL 111 Digital Electronics
Presentation transcript:

Encoding Sensory Inputs in Numeric / Binary Form n CS/PY 231 Lab Presentation # 7 n March 4, 2005 n Mount Union College

The Problem n So far, we have seen networks that can learn to produce numeric output patterns in response to a sequence of numeric inputs n What do organisms do? –produce thoughts and behaviors in response to sensory inputs n We need a way to represent real-world data in numeric form

Example: Sequence of Letters n What if we wanted to train a neural network to respond to a letter of the alphabet with the letter that follows the input letter? n e.g., C => D, U => V n Simple task, yet our TLearn networks need to have numeric data to process n What prior art can we use?

Computer Hardware example n Computer Memory is a collection of a large number of electronic circuits n Each circuit has two states: on or off –number each state: 1 or 0 n A single circuit can represent a 2-valued datum –yes/no, true/false n what to do for data items that need more than 2 possible values?

Binary #s  Group of Circuits n Consider two circuits as a single group – n 2 choices for first bit x 2 choices for second bit = 4 possible values –yes, no, maybe, huh? n still not enough for letters of the alphabet, digits, etc.

Binary #s  Group of Circuits n Consider three circuits as a single group – – n Twice as many possible patterns as with 2 bits –2 x 4 = 8 = 2 3 n 4 bits: 2 4 = 16 patterns; 5 bits: 2 5 = 32 patterns; n n bits: 2 n patterns

Example from Lab # 6 n We trained a network with 3 inputs and 2 outputs –Example from Lab # 6Example from Lab # 6 n Answer: output is the number of zeros in the input pattern, expressed as a binary number! n But how could you know that? We also need to decode numeric output into a form that humans can use….

Question for Understanding n How many binary input and output signals would be needed to train a network to discriminate thusly: given an American League baseball team, ranking the Indians as great, the Yankees, White Sox, Red Sox and Orioles as lousy, and all others as mediocre? n 14 teams, 3 possible rankings

Where does encoding/decoding happen? n In our computational model, sense organs convert analog data into digital signals that can be operated on by a neural network n To model this, we have two options: n Build hardware components that perform this conversion for us [:o (] n Convert data into digital form, then present this to the network [:o)]

Where does encoding/decoding happen? n Output of our model is a bunch of numeric signals. n We need to convert this into understandable information n Two approaches: n Build hardware to do the conversion (robot lab!!!) n Convert data ourselves (either by writing a program, or doing it manually)

Example: Diagnosing Illness n Input parameters: –temperature: numeric value –pulse: numeric value –palpating abdomen: hard, squishy, normal –headache? yes or no –how many fingers? too few, too many, right number n Output diagnoses: –ebola, migrane, hypochondria, normal health

Example: Diagnosing Illness n Input parameters: –numeric value –1 = hard, -1 = squishy, 0 = normal –1 = headache, 0 = no headache –-1 = too few fingers, 1 = too many, 0 = right number n Output diagnoses: –some numeric code for each disease

Central Problem in Compuational Neural Networks n Without a correct and proper encoding scheme, the network won’t produce meaningful answers n A large, important part of your term project will be selecting a data representation for the problem you choose

Encoding Sensory Inputs in Numeric / Binary Form n CS/PY 231 Lab Presentation # 7 n March 4, 2005 n Mount Union College