ECE 4332/5332  Project 5- Scratch Neural Network Solved

35.00 $

Category:

Description

Rate this product

Use your implementation of the feed-forward neural network to

  1. Solve the XOR classification problem with 2 ReLU hidden units. Plot the resulting decision surface together with the input data.
  2. Solve the regression problem described below.
    1. Dataset:

rng(100) X=2*rand(1,50)-1; T=sin(2*pi*X)+0.3*randn(1,50);

 

  1. Network architecture: 3 hyperbolic tangent hidden units
  • Repeat with 20 hyperbolic tangent hidden units

Plot the resulting model together with the input data and report the training error on the figure.

 

 

When executed, your code must display all required plots and data at once.

 

  • Scratch_Neural_Network-7zpgs3.zip