Question

2. The following truth table defines the logical NAND operation: In1 In2 In1 NAND inz 0 Draw a two-layer ANN that implements

0 0
Add a comment Improve this question Transcribed image text
Answer #1

TWO LAYER ARTIFICIAL NEURAL NETWORK

First LayerS | Second Layer Inlwl I In2

Output is sum = (ln1* w1) + (In2 * w2) + bias

The output should be greater than 0 , sum > 0

In1 In2 w1 w2 Bias Sum NAND gate Output
0 0 -0.5 0.1 1 1 1
0 1 -0.5 0.1 1 0.5 1
1 0 -0.5 0.1 1 0.5 1
1 1 -0.5

0.1

1 0 0

Error can be find out by using the formula - current output - Expected output

current output can be done by using the sum and expected output is the NAND gate output.

Add a comment
Know the answer?
Add Answer to:
2. The following truth table defines the logical NAND operation: In1 In2 In1 NAND inz 0...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • Lab Assignment : In this lab, you are going to implement QueueADT interface that defines a...

    Lab Assignment : In this lab, you are going to implement QueueADT interface that defines a queue. Then you are going to use the queue to store animals. 1. Write a LinkedQueue class that implements the QueueADT.java interface using links. 2. Textbook implementation uses a count variable to keep track of the elements in the queue. Don't use variable count in your implementation (points will be deducted if you use instance variable count). You may use a local integer variable...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT