DO i need to process the unit8 data when i use "trainautoencoder" function?

I want to use the SAE net to processing my image data. But my data is unit8 format,and should I use "mapminmax" funtion to make the data betwen[-1,1]? Thanks all.

 採用された回答

Massimo Zanetti
Massimo Zanetti 2016 年 10 月 9 日
編集済み: Massimo Zanetti 2016 年 10 月 9 日
The trainAutoencoder accepts inputs of type single, double (and cell).
So, just cast your data as double
A=double(A);
and then run the function.

5 件のコメント

Liang Seacom
Liang Seacom 2016 年 10 月 10 日
編集済み: Liang Seacom 2016 年 10 月 10 日
Thanks,and should I use "mapminmax" funtion to make the data betwen[-1,1] like the normal neural networks?
Walter Roberson
Walter Roberson 2016 年 10 月 10 日
SAE does not require that, and defaults to not doing that, according to the documentation.
That said... you would have been much further along by now if you had just gone ahead and tried both with and without the mapminmax .
Liang Seacom
Liang Seacom 2016 年 10 月 10 日
I have tried the both ways,but the result is very different when i use the the SAE networks to predict the test data.So I have the question:need to process the data between[-1,1]?
Walter Roberson
Walter Roberson 2016 年 10 月 10 日
Which way gives you better results for your purpose?
Liang Seacom
Liang Seacom 2016 年 10 月 10 日
funny result,the data*10 is the best. DATA*10 > DATA > mapminmax(DATA);

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

その他の回答 (0 件)

カテゴリ

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

Community Treasure Hunt

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

Start Hunting!

Translated by