How can I add constraint on Neural network

15 views (last 30 days)
I use matlab to model ANN using some data. and some minmun target has zero value
ANN model and it's graph is continuous, so it has - region but it is impossble for output data to get - value
so i want to exclude thoes - region
How can i give my ANN such constraints?
  1 Comment
gyuyoung Hwang
gyuyoung Hwang on 21 Nov 2019
Edited: gyuyoung Hwang on 21 Nov 2019
actually, there is no change at activation function tanhx(-1<y<1);
but while i model neural network, can i put some constraint in neural network to get postive values of output?

Sign in to comment.

Answers (1)

Srivardhan Gadila
Srivardhan Gadila on 14 Jan 2020

Categories

Find more on Deep Learning Toolbox 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!