【UFLDL-exercise8 Linear Decoder】

本文介绍了一个简单的线性解码器实现,该解码器通过对稀疏自编码器的输出层进行修改,使用线性激活函数来处理STL-10数据集中的彩色图像。通过这一过程,可以学习到用于后续卷积和池化操作的图像特征。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

In this exercise, you will implement a linear decoder (a sparse autoencoder whose output layer uses a linear activation function). You will then apply it to learn features on color images from the STL-10 dataset. These features will be used in an later exercise on convolution and pooling for classifying STL-10 images.

这个很简单,就改了一行代码,把最外层的sigmoid改成了线性函数。
程序跑了48分钟左右,结果如下:(Your sparse autoencoder should learn features which when visualized, look like edges and “opponent colors,” as in the figure below.)
这里写图片描述

代码在此

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值