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.

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

Sign in to comment.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!