In: Computer Science
Design a decision tree that computes the logical AND function. How does it compare to the Perceptron solution? Can a perceptron be used to implement a 3 input exclusive NOR gate?
Decision tree for Logical And Function:
In And function, output depends on the given number of input values (if all are true then the output is always true, else for all the cases, the generated output is false.) whereas in Perceptron, the output only depends on the input vector x. Perceptron implements the following function:
Here, y hat indicates that this number has been produced by this model.
Perceptron can implement AND NOT, OR and XOR logic function.
Yes, perceptron can be used to implement a 3 input exclusive NOR gate.
Let me know if you have any doubts or if you need anything to change. If you are satisfied with the solution, please leave a +ve feedback : ) Let me know for any help with any other questions. Thank You! ===========================================================================