Question
Task: Implement a program that's a multi-layer feedforward back-propagation algorithm (or in short, an artificial neural network, NOT a perceptron!) to recognize a 2 by
Task: Implement a program that's a multi-layer feedforward back-propagation algorithm (or in short, an artificial neural network, NOT a perceptron!) to recognize a 2 by 2 block (like the one below) to decide if it is "bright" or "dark". It needs 16 samples for training inputs. It can be written in C++, Java, or Python. If in Python, please take a screenshot so I can apply appropriate indentation. Thank you!
To be classified as "bright", it must have 2, 3, or 4 white pixels. For "dark", it must be 0 or 1 pixels.
Here are 16 training inputs:
[-1,-1,-1,-1]
[-1,-1,-1,1]
[-1,-1,1,-1]
[-1,-1,1,1]
[-1,1,-1,-1]
[-1,1,-1,1]
[-1,1,1,-1]
[-1,1,1,1]
[1,-1,-1,-1]
[1,-1,-1,1]
[1,-1,1,-1]
[1,-1,1,1]
[1,1,-1,-1]
[1,1,-1,1]
[1,1,1,-1]
[1,1,1,1]
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started