hi I read on http://www.mathworks.com/matlabcentral/answers/83053-regularization-in-neural-networks-help-needed that "To rank the effectiveness of each input just use randperm to scramble it's order and record the resulting increase in mse."
Can you please help to elaborate how that can be done?
Thanks.

 채택된 답변

Greg Heath
Greg Heath 2016년 1월 24일

0 개 추천

I don't know how to be any clearer than that. So, why don't you submit your code and I can comment

댓글 수: 2

h c
h c 2016년 1월 24일
hi Greg - thanks for the prompt response. I prepare my input outside of matlab so I don't exactly have that code for comment, but maybe I can ask a clarifying question (I just didn't know what "it's order" in the original statement was referring to). Did you mean to use randperm to change order of all input values of a specific feature, and measure resulting increase in mse? Then do it in turn for other features, and then the feature with biggest increase in mse is the most effective, etc.?
Thanks again.
Greg Heath
Greg Heath 2016년 1월 25일
Yes.
However, I find it useful to use zscore or mapstd to standardize the inputs to zero-mean/unit-variance.
Then in addition to
1. input(i,1:N) --> input( i, randperm(N))
You could also use
2. input(i,1:N) --> randn(1,N)
or
3. input(i,1:N) --> zeros(1,N)
I have also found that just using the MATLAB backward or forward ranking algorithms on a linear coefficient model tends to yield good results.
Hope this helps.
Greg

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

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Deep Learning Toolbox에 대해 자세히 알아보기

질문:

h c
2016년 1월 24일

댓글:

2016년 1월 25일

Community Treasure Hunt

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

Start Hunting!

Translated by