Extracting the mathematical equation from the Neural Network
6 ビュー (過去 30 日間)
古いコメントを表示
I am trying to fit a curve using neural network. Is there any way to extract the polynomial/general(not necessarily polynomial) equation from the trained Neural Network ?
Edit 1: I am trying to find the general equation because I need the values at partial derivatives also. So my approach was to extract the equation and then calculate the derivatives. Any other methods are most welcome.!!!
0 件のコメント
回答 (1 件)
Ameer Hamza
2020 年 10 月 3 日
Why use a neural network if you want a polynomial fit. Simply use polyfit(): https://www.mathworks.com/help/matlab/ref/polyfit.html. The neural network cannot be reduced to a polynomial
2 件のコメント
Ameer Hamza
2020 年 10 月 3 日
Neural networks also use nonlinear transfer functions, so they also cannot be converted to a polynomial. You may try to fit a polynomial, starting from degree 1 and gradually increasing the degree until you get a desired level of accuracy.
参考
カテゴリ
Help Center および File Exchange で Sequence and Numeric Feature Data Workflows についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!