I don't see a package for doing Convolutional Neural Networks in R. Has anyone implemented this kind of algorithm in R?
I guess there is no package for cnn but you can write your own convolutional layer. mxnet or h2o will be useful for it.
check this out:
The following 2 packages are available in R for deep neural network training:
darch: Package for Deep Architectures and Restricted Boltzmann Machines. The darch package is built on the basis of the code from G. E. Hinton and R. R. Salakhutdinov (available under Matlab Code for deep belief nets). This package is for generating neural networks with many layers (deep architectures), train them and fine tuning with common known training algorithms like backpropagation or conjugate gradients. Additionally, supervised fine-tuning can be enhanced with maxout and dropout, two recently developed techniques to improve fine-tuning for deep learning. CRAN link: http://cran.um.ac.ir/web/packages/darch/index.html
deepnet: deep learning toolkit in R. Implement some deep learning architectures and neural network algorithms, including BP,RBM,DBN,Deep autoencoder and so on. CRAN link: https://cran.r-project.org/web/packages/deepnet/index.html
The MXNetR package is an interface of the MXNet library written in C++. It contains feed-forward neural networks and convolutional neural networks (CNN) (MXNetR 2016a).
Tensorflow for R is available.
Installation of Tensorflow (excerpt below) -> https://tensorflow.rstudio.com/tensorflow/
To get started, install the tensorflow R package from GitHub as follows:
Then, use the install_tensorflow() function to install TensorFlow:
You can confirm that the installation succeeded with:
sess = tf$Session() hello <- tf$constant('Hello, TensorFlow!') sess$run(hello)
This will provide you with a default installation of TensorFlow suitable for getting started with the tensorflow R package. See the article on installation to learn about more advanced options, including installing a version of TensorFlow that takes advantage of Nvidia GPUs if you have the correct CUDA libraries installed.