pmml.multinom {pmml} | R Documentation |
Generate the PMML representation for a multinom object from package nnet.
## S3 method for class 'multinom' pmml(model, model.name="multinom_Model", app.name="Rattle/PMML", description="Multinomial Logistic Model", copyright = NULL, transforms = NULL, unknownValue=NULL, ...)
model |
a |
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. |
This function outputs the multinomial logistic model in the PMML RegressionModel format. It implements the use of numerical, categorical and multiplicative terms involving both numerical and categorical variables.
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