R Interface to the Keras Deep Learning Library
Building a model in Keras starts by constructing an empty Sequential model. The result of Sequential, as with most of the functions provided by kerasR, is a python.builtin.object. This object type, defined from the reticulate package, provides direct access to all of the methods and attributes exposed by the underlying python class. To access these, we use the $ operator followed by the method name. Layers are added by calling the method add.
Sep-6-2017, 17:20:25 GMT
- Technology: