基于三层自动编码机训练的人脸识别,输出ROC曲线,matlab2021a仿真测试
%三层自动编码机
hidden_size =80;
autoenc_1=trainAutoencoder(X,hidden_size,...
'MaxEpochs',1000,...
'L2WeightRegularization',0.001,...
'SparsityRegularization',4,...
'SparsityProportion',0.05,...
'DecoderTransferFunction','purelin');