# 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)
好家伙VCC
- 粉丝: 2398
- 资源: 9142
最新资源
- COMSOL流沙层注浆数值模拟研究 案例 本模型来源于文献复现,该文献分析了流沙层地质结构特点,应用有限元分析软件COMSOL Multiphysics对流沙层渗透注浆进行稳态与瞬态的数值模拟研究
- HTML5实现好看的博客网站、通用大作业网页模板源码.zip
- sony a6700 使用指南
- COMSOL案例,非均质储层的地热能群井抽采 适用于做地热能开采,模型为非均质模型,利用地质统计学模拟得到储层的非均质性,加载到comsol中,表征渗透率的非均质性
- 网络系统建设与运维实验手册.rar
- comsol钻孔流固耦合案例
- 2022年大学生就业前景研判及高考志愿填报攻略
- 外圆激光测量机sw20可编辑全套技术资料100%好用.zip
- 2023年大学生就业前景研判及高考志愿填报攻略final
- 基于距离变换和标记分水岭算法的棒材断面图像计数技术
- 2024年大学生就业前景研判及高考志愿填报攻略final
- 2档AMT纯电动汽车(EV),运行良好,含说明文件,以前做开发买的量产模型,可用于WLTC,NEDC等多种工况仿真,可用于动力性经济性计算、挡冲击、整车冲击、能量管理等策略设计,具有重要的工程参考价值
- 复杂背景下基于Lab颜色模型与凹点搜寻的蛋鸡识别及粘连分离算法研究
- 基于深度学习的LSTM算法双色球预测实战完整代码
- 完成品特性检测sw20可编辑全套技术资料100%好用.zip
- 基于深度学习的LSTM算法双色球预测实战完整代码(高分项目)
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈