Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

(3-2). (5 points) (due: 5 pm, 2/18) This programming assignment is to simulate Backpropagation algorithm to solve the following non-linear separable problem. You can use

image text in transcribed

image text in transcribed

(3-2). (5 points) (due: 5 pm, 2/18) This programming assignment is to simulate Backpropagation algorithm to solve the following non-linear separable problem. You can use your favorite computer language. Do not use Machine learning libraries for this question. The cube is given. Eight corners of this cube are classified into two groups. The four corners A, E, H, and D belong to one group, and the four corners B, C, G, and F belong to the other group. Train your 3-layer neural network to classify this problem. You will need 3 input units in the input layer. One output unit is enough to solve this problem, but if you want to have more than one output unit for your exercise, that is fine. You can have any number of hidden units. G(0,1,1) H(1,1,1) E (0,0,1) F(1,0,11 C (0,1,0) D (1,1,0) A (0,0,0) B (1,0,0) The given problem can be displayed as below. Input data Target attributel attribute2 attribute3 output A 0 0 0 0 1 1 B D E F G H 1 0 1 0 0 1 1 0 0 1 1 0 0 0 1 1 1 1 0 0 1 0 1 1 1 0 When your actual output of output unit is larger than 0.9, you can accept this output as 1. When your actual output of output unit is less than 0.1, you can accept this output as 0. You need to decide your learning coefficient. You will start with your small random initial weights for this problem. You do not need to print the process of the weights updating. After your training process is done, you need to print your final actual output (the result produced from Sigmoid function) for each input to verify your actual output is close enough to target output. You should submit the followings to have full score: (1) your program source file (2) printed program source list (3) the output printed by running your program. Screenshots are accepted. (3-2). (5 points) (due: 5 pm, 2/18) This programming assignment is to simulate Backpropagation algorithm to solve the following non-linear separable problem. You can use your favorite computer language. Do not use Machine learning libraries for this question. The cube is given. Eight corners of this cube are classified into two groups. The four corners A, E, H, and D belong to one group, and the four corners B, C, G, and F belong to the other group. Train your 3-layer neural network to classify this problem. You will need 3 input units in the input layer. One output unit is enough to solve this problem, but if you want to have more than one output unit for your exercise, that is fine. You can have any number of hidden units. G(0,1,1) H(1,1,1) E (0,0,1) F(1,0,11 C (0,1,0) D (1,1,0) A (0,0,0) B (1,0,0) The given problem can be displayed as below. Input data Target attributel attribute2 attribute3 output A 0 0 0 0 1 1 B D E F G H 1 0 1 0 0 1 1 0 0 1 1 0 0 0 1 1 1 1 0 0 1 0 1 1 1 0 When your actual output of output unit is larger than 0.9, you can accept this output as 1. When your actual output of output unit is less than 0.1, you can accept this output as 0. You need to decide your learning coefficient. You will start with your small random initial weights for this problem. You do not need to print the process of the weights updating. After your training process is done, you need to print your final actual output (the result produced from Sigmoid function) for each input to verify your actual output is close enough to target output. You should submit the followings to have full score: (1) your program source file (2) printed program source list (3) the output printed by running your program. Screenshots are accepted

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Demystifying Databases A Hands On Guide For Database Management

Authors: Shiva Sukula

1st Edition

8170005345, 978-8170005346

More Books

Students also viewed these Databases questions

Question

use the information below to fill out the balance sheets

Answered: 1 week ago