could someone figure out why is my output always 1?

4 views (last 30 days)
hello, i am currently working on forecasting or predicting of data. i am using back propagation for training my data unfortunately, even after training and trying every possibility of error threshold, learning rate,iterations, even changing my data,the predicted output is always 1. could someone please find out what is the error in my code. i have attached the code and the data. also for testing the code i used XOR data, the code worked perfectly. thanks in advance!
  2 Comments
anu vru
anu vru on 5 Mar 2018
Edited: anu vru on 5 Mar 2018
Tried that...changed it to tansig The predicted output is -1

Sign in to comment.

Answers (0)

Categories

Find more on Sequence and Numeric Feature Data Workflows in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!