Jacobin matrix of the NN's output respect to the input

2 ビュー (過去 30 日間)
Yunshen Huang
Yunshen Huang 2020 年 2 月 19 日
回答済み: Pan Zhao 2021 年 11 月 8 日
Hi all,
Is there a convenient built-in funciton for the NN can get me the Jacobin matrix of output respect to input? For instance, # input (feature) = 4, # output = 3. Then this function gives me a 3*4 matrix.
I found one called defaultderiv, but this gives the Jacobian of errors with respect to the net's weights and biases, which is not what I want.
Even though, by knowing the weights, biases, active function, I could form a symbolic equation fed into jacobin( ) function to obatin what I need. But it seems a bit messy.
Thanks for your answer

回答 (2 件)

Nikhil Sonavane
Nikhil Sonavane 2020 年 4 月 20 日
There is a function to compute the jacobian of a matrix. You may refer to its documentation for more details.

Pan Zhao
Pan Zhao 2021 年 11 月 8 日
Hi Yunshen, have you found a solution?

カテゴリ

Help Center および File ExchangeParameterization Methods についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by