Access to the variable "e" in the +mse folder?

For a neural network I want to write my own Performance function. As a template I use the MSE Mean squared error performance function. In the Folder +mse are several functions:
  • apply.m
  • backprop.m
  • dperf_dwb.m
  • forwardprop.m
  • name.m
  • normalize.m
  • parameterInfo.m
  • perfw_to_ew.m
  • perfwb.m
  • type.m
The apply.m function looks like this:
function perfs = apply(t,y,e,param)
perfs = e .* e;
end
Where can I get access to the variable e? Respectively modify or define it to my own purposes? I can't find the directory where e is deposited/calculated.
Thanks in Advance
David

1 件のコメント

Maria Duarte Rosa
Maria Duarte Rosa 2017 年 12 月 18 日
Hi David,
The easiest way to write your own performance function is to use the files from 'mse' which you are correctly doing and change the functions in the +mse folder, such as the 'apply' function to the performance function you wish to use. Is there a reason why this is not possible in your case?

サインインしてコメントする。

回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeDeep Learning Toolbox についてさらに検索

質問済み:

2017 年 12 月 13 日

コメント済み:

2017 年 12 月 18 日

Community Treasure Hunt

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

Start Hunting!

Translated by