Answered step by step
Verified Expert Solution
Question
1 Approved Answer
I want to code in c++ The program you will prepare must have an interface, Inputs (inputs.xlsx) and outputs (targets.xlsx) will be read from the
I want to code in c++
The program you will prepare must have an interface,
Inputs (inputs.xlsx) and outputs (targets.xlsx) will be read from the files given to you in the program. The program will automatically determine the number of inputs and outputs according to the data read.
There will be only one hidden layer in the program,
The user will be able to determine the number of neurons in the hidden layer, the training rate, the number of epochs, and the data rates to be used for training and testing,
Training and test data will be randomly selected according to the determined rate,
The neurons in the hidden layer will use the sigmoid activation function, and the neuron in the output layer will use the linear activation (k=1) function,
When the program starts, the initial weight values of the artificial neural network will be determined as random real numbers between -5 and 5.
Backpropagation algorithm will be used for training.
After the user-specified amount of training data and the desired epoch number are completed, the weights of the trained network should be displayed in the program.
After the training is completed, the success of the test data will be graphically displayed using the trained network and test data. The metric to be used to determine success will be the Mean squared error.
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