R/pmml.ksvm.R
pmml.ksvm.Rd
Generate the PMML representation for a ksvm object from the package kernlab.
# S3 method for ksvm
pmml(
model,
model_name = "SVM_model",
app_name = "SoftwareAG PMML Generator",
description = "Support Vector Machine Model",
copyright = NULL,
model_version = NULL,
transforms = NULL,
missing_value_replacement = NULL,
dataset = NULL,
...
)
A ksvm object.
A name to be given to the PMML model.
The name of the application that generated the PMML.
A descriptive text for the Header element of the PMML.
The copyright notice for the model.
A string specifying the model version.
Data transformations.
Value to be used as the 'missingValueReplacement' attribute for all MiningFields.
Data used to train the ksvm model.
Further arguments passed to or from other methods.
PMML representation of the ksvm object.
Both classification (multi-class and binary) as well as regression cases are supported.
The following ksvm kernels are currently supported: rbfdot, polydot, vanilladot, tanhdot.
The argument dataset
is required since the ksvm
object does not
contain information about the used categorical variable.