How can I implement a multilayer social network in R?

How could I implement this neural network in R?

  • In http://arxiv.org/ftp/arxiv/papers/1112/1112.5463.pdf, Varier et al develop a neural network model of motor control and then "lesion" it as it is training. I am new to neural networks and really do not even know where to begin in emulating them so that I can investigate this further for myself. Any hints would be appreciated. The details of the model can be found on page 16 of the linked arxiv paper. Figure 1 from the linked paper:

  • Answer:

    Actually, there are two considerable packages in R to handle neural networks with easiness. Here they are: nnet and neuralnet. Install them via install.packages('nnet') install.packages('neuralnet') in R. To get help and see examples, see ?neuralnet::neuralnet ?nnet::nnet You can look at a neural network as a function f(x) where x is a vector of inputs. You put a vector and the neural network answers you a number. The first two problems you will find are Define an architecture. For simplicity, take a single node at first, this will be equal to a linear regression. Train the network. There are algorithms such as Levenberg-Marquardt. This is the absolute minimum you have to know in order to program/run a neural network in R.

Flask at Computational Science Visit the source

Was this solution helpful to you?

Related Q & A:

Just Added Q & A:

Find solution

For every problem there is a solution! Proved by Solucija.

  • Got an issue and looking for advice?

  • Ask Solucija to search every corner of the Web for help.

  • Get workable solutions and helpful tips in a moment.

Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.