MATLAB Answers

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

1 view (last 30 days)
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.

  0 Comments

Sign in to comment.

Accepted Answer

Massimo Zanetti
Massimo Zanetti on 9 Oct 2016
Edited: Massimo Zanetti on 9 Oct 2016
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 Comments

Show 2 older comments
Liang Seacom
Liang Seacom on 10 Oct 2016
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]?

Sign in to comment.

More Answers (0)

Sign in to answer this question.


Translated by