Monotonic Constrained NEURAL NETWORK

I am new at the Neural Network field. Please be explicit. I have two input neurons, one output target and two hidden neurons. I want the derivative with respect to the inputs and the bias are positive. Is there a trick to constraint the Neural Network so that the derivative of the neural network's outputs with respect to the input variable is positive and the bias is positive. I believe I want that the products of the weights and the biases along all paths to be positive as long as the activation function is monotonically increasing .

댓글 수: 1

Orion Wolfe
Orion Wolfe 2016년 3월 25일
Restrict all of the gains to be positive. This can be done by using a positive mapping on the gains. For example if the network is defined using tanh(w'*x+b) activation functions replace w with g(w) where g is R to R+ mapping g(w) = log(1+e^w) is one such mapping and the activation function become tanh(g(w)*x+b)

댓글을 달려면 로그인하십시오.

답변 (1개)

Greg Heath
Greg Heath 2015년 7월 8일

0 개 추천

If the derivative of the target with respect to the input is positive, just design a good net with as few hidden nodes as possible. It may take a lot of trials.

카테고리

도움말 센터File Exchange에서 Deep Learning Toolbox에 대해 자세히 알아보기

질문:

R L
2015년 7월 7일

댓글:

2016년 3월 25일

Community Treasure Hunt

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

Start Hunting!

Translated by