could someone figure out why is my output always 1?

5 vues (au cours des 30 derniers jours)
anu vru
anu vru le 5 Mar 2018
Modifié(e) : anu vru le 5 Mar 2018
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 commentaires
KSSV
KSSV le 5 Mar 2018
Try changing activation function.
anu vru
anu vru le 5 Mar 2018
Modifié(e) : anu vru le 5 Mar 2018
Tried that...changed it to tansig The predicted output is -1

Connectez-vous pour commenter.

Réponses (0)

Catégories

En savoir plus sur Sequence and Numeric Feature Data Workflows dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by