# mxnet examples with R
the purpose of this repo is simply to give you an easy access to mxnet and its api
## dependencies:
* mxnet
* ggplot2
* reshape2
* darch
## to use the code:
1. run preprocessing/get_mnist.R
2. run preprocessing/conversion.R
3. run models/
note that you have to edit directories in some files (to load data or save results)
## model overview
| Model | Time to execute* | Type |
| ------------- |:-------------------:|:---------------------------------------------------:|
| 01 | roughly 1.3 min | very simple (dense) network with 3 layers |
| 02 | roughly 43.5 min | 4 dense networks with dropout (batchsize benchmark |
| 03 | roughly 13.5 min | CNN with 3 conv + 3 dense layers |
| 04 | roughly 2 min | Denoising Autoencoder |
\* models were executed on mainstream CPU with 4 cores/4 threads @ 3.9 GHZ
I'm planing to add more models in the future (RNNs/lstm, image segmentation models)
## model 01 results:
![alt text](https://github.com/NiklasDL/mxnet-tutorials-in-R/blob/master/results/simpleNetErrors.png?raw=true)
## model 02 results:
![alt text](https://github.com/NiklasDL/mxnet-tutorials-in-R/blob/master/results/deepNetTrainError.png?raw=true)
![alt text](https://github.com/NiklasDL/mxnet-tutorials-in-R/blob/master/results/deepNetTestError.png?raw=true)
## model 03 results:
![alt text](https://github.com/NiklasDL/mxnet-tutorials-in-R/blob/master/results/cnnError.png?raw=true)
## model 04 results for arbitrary digits (top row shows original digits, intermediate row noised images used for training and bottom row prediction):
![alt text](https://github.com/NiklasDL/mxnet-tutorials-in-R/blob/master/results/denoising_autoencoder.png?raw=true)
没有合适的资源?快使用搜索试试~ 我知道了~
资源推荐
资源详情
资源评论
收起资源包目录
No_Description_mxnet-examples-with-R.zip (22个子文件)
DataXujing-mxnet-examples-with-R-3e91d29
.gitignore.txt 443B
data
train.RData 21.28MB
test.RData 3.61MB
models
04_denoising_autoencoder.R 5KB
01_simple_neural_network.R 3KB
03_cnn.R 3KB
02_deep_neural_network_with_dropout.R 4KB
results
denoising_autoencoder.png 11KB
cnnError 1KB
deepNetTestError.png 6KB
nnBenchmarkTrainError 7KB
nnTrainError 7KB
simpleNetErrors.png 5KB
deepNetTrainError.png 5KB
simpleNetErrors 27KB
nnBenchmarkTestError 7KB
simpleNetError 3KB
cnnError.png 5KB
nnTestError 7KB
preprocessing
get_mnist.R 603B
preprocessing.R 1KB
README.md 2KB
共 22 条
- 1
资源评论
好家伙VCC
- 粉丝: 2125
- 资源: 9145
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功