How to modify trainlm?

조회 수: 2 (최근 30일)
goay chan hong
goay chan hong 2017년 4월 5일
댓글: John D'Errico 2017년 4월 5일
Good day. I want to modify trainlm function by changing the performance index but I do not know how to do it. Can anyone help me? I've read this article: http://ieeexplore.ieee.org/document/7879611/
where they claimed that changing the performance index from Eq. (5) to Eq. (6) can improve the performance.
  댓글 수: 1
John D'Errico
John D'Errico 2017년 4월 5일
Modifying supplied code from MathWorks (or any source, including me) is generally a dangerous, bad idea. If you can't write it yourself, and don't even know how to modify it, you will surely not be able to make the changes in a safe way. As well, the only possible way to deal with changes made to code provided to users is the rule "You break it, you own it". That is, if you make changes to supplied code, then any future problems with that code are completely your own to resolve, even if they appear not to be directly related to the change you made.
If you think this modification is a good idea, then I'd suggest you put it in as a feature request, directly to MathWorks. They will evaluate the idea and decide if it really does have merit. If so, then they may well add it in a future release, and do so in a stable, safe, and well tested fashion.

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

답변 (0개)

카테고리

Help CenterFile Exchange에서 Genomics and Next Generation Sequencing에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by