Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Problem: Write a neural network ( NN ) model to perform one epoch forward propagation. The following are required: Use python to program your solution.

Problem: Write a neural network (NN) model to perform one epoch forward propagation. The following are required:
Use python to program your solution.
Use matrix based equations only.
Your code should print the output of the final layer to the screen (31
numbers).
NN Architecture:
a. First input layer: 7 nodes + bias.
b. Second layer: 5 nodes + bias.
c. Third layer: 2 nodes + bias.
d. Output layer: 1 node.
e. All weights to be set to random numbers greater than 0 and less than 1.
f. Use logistic function for each node activation.
Data: 5 features + bias. There should be 31 examples/samples for each feature, all set to a value 3.
Uploads:
1. Code file named HW_2.py
2. Screenshot of code run and output. Call your program using:
python HW_2.py

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

Graph Databases

Authors: Ian Robinson, Jim Webber, Emil Eifrem

1st Edition

1449356265, 978-1449356262

More Books

Students also viewed these Databases questions

Question

What is the difference between Needs and GAP Analyses?

Answered: 1 week ago

Question

What are ERP suites? Are HCMSs part of ERPs?

Answered: 1 week ago