Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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!

image text in transcribed

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

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

Databases And Information Systems 1 International Baltic Conference Dbandis 2020 Tallinn Estonia June 19 2020 Proceedings

Authors: Tarmo Robal ,Hele-Mai Haav ,Jaan Penjam ,Raimundas Matulevicius

1st Edition

303057671X, 978-3030576714

More Books

Students also viewed these Databases questions