pmml.nnet {pmml} | R Documentation |
Generate the PMML representation for a nnet object from package nnet.
## S3 method for class 'nnet' pmml(model, model.name="NeuralNet_model", app.name="Rattle/PMML", description="Neural Network PMML Model", copyright=NULL, transforms=NULL, unknownValue=NULL, ...)
model |
a nnet object. |
model.name |
a name to be given to the model in the PMML code. |
app.name |
the name of the application that generated the PMML code. |
description |
a descriptive text for the Header element of the PMML code. |
copyright |
the copyright notice for the model. |
transforms |
data transformations represented in PMML via package pmmlTransformations. |
unknownValue |
value to be used as the 'missingValueReplacement' attribute for all MiningFields. |
... |
further arguments passed to or from other methods. |
The pmml
function supports both regression and classification neural network
models. The model is represented in the PMML NeuralNetwork format.
Zementis Inc. info@zementis.com
R project CRAN package:
nnet: Feed-forward Neural Networks and Multinomial Log-Linear Models
http://cran.r-project.org/web/packages/nnet/index.html
library(nnet) fit <- nnet(Species ~ ., data=iris, size=4) pmml(fit) rm(fit)