Estimating inputs from outputs in neural networks
조회 수: 1 (최근 30일)
이전 댓글 표시
If I have a neural networks of 8 inputs and 6 outputs. Is it possible after training to estimate inputs from outputs?
댓글 수: 0
답변 (1개)
Ameer Hamza
2020년 6월 6일
You may try fsolve(). However, due to the complexity of a neural network, it is unlikely that it will be able to find a solution.
fsolve(@(x) net(x)-out_vec, rand(8,1)); % out_vec is 6x1 output vector
You may also try optimization based methods
fmincon(@(x) norm(net(x)-[1.5 -0.5]), rand(3,1)) % fmincon
ga(@(x) norm(net(x(:))-[1.5 -0.5]), 3) % genetic algorithm
댓글 수: 0
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!