NARX Neural Network - Adding a constraint

Hi
I'm working with NARX NN and predicting the weighted average ,high and low prices of electricity market based on forecast.
The correlation that I'm with Weighted average is good, however for low and high it isn't which is understandable as it's a spot market price and very speculative.
However, the problem I'm facing is that even in training and testing, the high price does get lower than the weighted average (many times) and even lower than low price a few times, which is practically impossible.
My question is, is there a way to add a numeric constraint of sorts that, for instance, if I use the predicted weighted average as an input for the high price (or low for that matter) it should remain above the weighted average for high or below the weighted average for low.
Any thoughts?

 Respuesta aceptada

Greg Heath
Greg Heath el 22 de Abr. de 2015
Scale target prices to [ 0 1 ]
Estimate
1. average >=0
2. high - average >=0
3. average - low >= 0
Use 'logsig' to prevent negative outputs.
Hope this helps.
Thank you for formally accepting my answer
Greg

Más respuestas (0)

Categorías

Más información sobre Deep Learning Toolbox en Centro de ayuda y File Exchange.

Preguntada:

el 21 de Abr. de 2015

Respondida:

el 22 de Abr. de 2015

Community Treasure Hunt

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

Start Hunting!

Translated by