Is mapstd the same as Zcore ? what is the reverse function?
显示 更早的评论
Hi All
for my work , I should apply zcore to my target matrix , that is a 4x1055 matrix , the zcore I apply is like :
[ tc meanT stdT] = zscore(tc)
and for rolling back I do :
an = meanT + stdT'* an';
I just wanted to know if the mapstd works the same and if the above is correct ?
thank you very much
1 个评论
I tried
an = meanT + stdT* tc';
and
an = meanT .+ stdT* tc';
but unsuccessful
采纳的回答
They are not the same. The most notable difference is that mapstd operates on rows, while zscore operates on columns.
If you are using neural networks, use mapstd for consistency with other neural network functions.
9 个评论
thank you so much
just shall you please tell me , if it works on the rows ,then should the rows be the samples or it doesn't matter ?
can you please tell me , that how to roll back the mapstd after training the net ?
My pleasure.
It appears to operate on the rows of your data array.
According the mapstd documentation, you can reverse the mapping. See the documentation under ‘Definitions’ for details.
thank you very much
one point in the doc not clear :
x1 = [1 2 4; 1 1 1; 3 2 2; 0 0 0]
[y1,PS] = mapstd(x1)
Next, apply the same processing settings to new values.
x2 = [5 2 3; 1 1 1; 6 7 3; 0 0 0]
y2 = mapstd('apply',x2,PS)
what is PS (settings??) and y1 and y2 should be produced both for every mapping procedure or they are 2 separate methods?
The documentation is not clear on ‘PS’, and I haven’t looked at the mapstd code to see what it is. I assume it is a structure that contains the mapping information used to standardise the input, and necessary to reverse-map the results. The standardisation mapping needs to be done separately for every input and target, and the associated ‘PS’ saved for each (with a slightly different name) to reverse-map the associated result.
You will likely have to experiment with it with your data and network to thoroughly understand it in that context.
thank you for your comment
and there comes one question , why we can't know who has written this documentation so we could ask him directly what did you mean by that ??!!
My pleasure.
My impression (from having worked with neural nets on and off for the past 20 or so years, with my own FORTRAN code and with MATLAB) is that they are at least as much art as science.
I am confused about whether or not you need clarification.
help mapstd
doc mapstd
type mapstd
The latter should have the name of the coder. However, I can probably answer any further clear-cut questions.
Greg
thank you dear Greg , with the other tutorial, I am done , and got my answer ,thank you very much
更多回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 MATLAB 的更多信息
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!选择网站
选择网站以获取翻译的可用内容,以及查看当地活动和优惠。根据您的位置,我们建议您选择:。
您也可以从以下列表中选择网站:
如何获得最佳网站性能
选择中国网站(中文或英文)以获得最佳网站性能。其他 MathWorks 国家/地区网站并未针对您所在位置的访问进行优化。
美洲
- América Latina (Español)
- Canada (English)
- United States (English)
欧洲
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom (English)
