Deep learning | Computer Science homework help

 

k

Back Propagation

Neural Network

For the multi

layer neural network that you will be implementing in the following problems, you may use 

either the hyperbolic tangent or the sigmoid for the activation function.  Obviously you will be implementing 

the back propagation method to train the n

etwork.  Your code should include an arbitrary method that allows 

you to code it for any number of input dimensions, hidden layers, neurons and output neurons, (i.e. you need 

it to be able to allow you to change a variable and it changes the number of laye

rs, or the number of neurons 

at a given layer, or the number of dimensions, or the number of output layers…in other words this cannot be 

hard coded

for a specific data set

).   

1.

(25pts) 

Develop a multi

layer neural network to solve the 

regression problem: f

(x) = 1/x

, (for only the 

positive values of x)

.  Be sure to create a testing and training set.  

I am 

NOT

providing you with data. 

The 

number of hidden layers and neurons 

is your discretion, however, you must provide an explanation as to why 

the number of l

ayers and nodes you used was a good choice.  You will need to create multiple different 

structures that you train and p

lot this error for the different models to show why you chose the final model 

that you did for this problem.

Report your network configu

ration, and comment on your observations 

regarding the performance of your network as you try to determine the number of hidden layers and hidden 

nodes of your final network, once you determine the correct model

:

a.

(10pts) 

T

rack 

your training and testing history.  

This means that you 

check your training performance 

and your testing performance at multiples of some fixed number of 

iterations

(and over many Epochs 

also)

[thus you will provide a graph of this information]

, implement 

the online learning method.

Be 

sure to label plots appropriately.

(Remember to scale the data in the range that provides the best 

results for your activation function

… normalization is a must)

b.

(5pts) 

What did you observe regarding the value of the learni

ng parameter and how the network 

performed given

(do one of each)  

i.

(2.5pts)

a fixed value, 

ii.

(2.5pts) 

and a time decreasing value 

c.

(2.5pts) 

Choose a couple of points beyond your training set (i.e., if your max training input 

is 

x=10, 

try testing your netw

ork with, say, x=10.5, x=

12

, and x=

30

).  What do you observe regarding the 

networks ability to generalize for data that is beyond its training set (note, you may have to increase 

the v

alue of x 

to a large number 

to get a good idea

to answer this

)

.

d.

(2.5pts)

Briefly comment on 

the extrapolation capability 

compared 

to the interpolation capability

of 

the network.

e.

(5pts) 

Plot the final results

showing the capability of your network to determine the function f(x) = 

1/x versus the function f(x) = 1/x.

2.

(25pts)

Develop a multi

layer neural network to

classif

y

the 

IRIS 

data set.  

Use K

Fold Cross Validation for 

this problem.

The code you use for thi

s problem will be an extension of the code you created for problem 1.

a.

(12pts) Implement the NN and r

eport your network configuration: number of hidden layers, number 

of nodes per hidden layer, learning rate/learning schedule, encoding of the output

, etc.

b.

(

5pts) 

Plot 

the 

error metric versus the number of training steps (similar to problem 

1

).

c.

(8pts) 

Comment on how well your network learned the data.  Things to think about: did the network 

classify the data well (or not), and why (or why not); how well did it

classify each class independently 

(you might consider contingency

table

s for this

); and what observation do you have regarding number 

of training samples

: was the normalization technique I used adequat







Calculate Your Essay Price
(550 words)

Approximate price: $22

Calculate the price of your order

550 words
We'll send you the first draft for approval by September 11, 2018 at 10:52 AM
Total price:
$26
The price is based on these factors:
Academic level
Number of pages
Urgency
Basic features
  • Free title page and bibliography
  • Unlimited revisions
  • Plagiarism-free guarantee
  • Money-back guarantee
  • 24/7 support
On-demand options
  • Writer’s samples
  • Part-by-part delivery
  • Overnight delivery
  • Copies of used sources
  • Expert Proofreading
Paper format
  • 275 words per page
  • 12 pt Arial/Times New Roman
  • Double line spacing
  • Any citation style (APA, MLA, Chicago/Turabian, Harvard)

Our guarantees

Delivering a high-quality product at a reasonable price is not enough anymore.
That’s why we have developed 5 beneficial guarantees that will make your experience with our service enjoyable, easy, and safe.

Money-back guarantee

You have to be 100% sure of the quality of your product to give a money-back guarantee. This describes us perfectly. Make sure that this guarantee is totally transparent.

Read more

Zero-plagiarism guarantee

Each paper is composed from scratch, according to your instructions. It is then checked by our plagiarism-detection software. There is no gap where plagiarism could squeeze in.

Read more

Free-revision policy

Thanks to our free revisions, there is no way for you to be unsatisfied. We will work on your paper until you are completely happy with the result.

Read more

Privacy policy

Your email is safe, as we store it according to international data protection rules. Your bank details are secure, as we use only reliable payment systems.

Read more

Fair-cooperation guarantee

By sending us your money, you buy the service we provide. Check out our terms and conditions if you prefer business talks to be laid out in official language.

Read more

Order your essay today and save 10% with the coupon code: best10