README.md

!!! Archived -- this repository is archived and currently not actively maintained!

pmmlExtensionr

Build Status Build status

Overview

The goal of pmmlExtensionr is to convert specific R model types to PMML which are not yet supported by the standard pmml package. To do so it leverages functionality of the pmmlTransformations package and of the pmml package itself.

The following model types are currently supported:

Installation

You can install pmmlExtensionr from GitHub with:


# install.packages("devtools")
devtools::install_github("SoftwareAG/pmmlExtensionr")

Usage

prcomp

pmml_prcomp() extracts one principal component from a prcomp object together with the centering and scaling information and generates the PMML representation.

library(pmmlExtensionr)

iris <- iris[, -5]
piris <- prcomp(iris, center = TRUE, scale. = TRUE)

# Create a PMML representation for the third eigenvector
pmml_prcomp(piris, 3)

These tools are provided as-is and without warranty or support. They do not constitute part of the Software AG product suite. Users are free to use, fork and modify them, subject to the license agreement. While Software AG welcomes contributions, we cannot guarantee to include every contribution in the master project.

Contact us at TECHcommunity if you have any questions.



alex23lemm/pmmlExtensionr documentation built on Sept. 21, 2023, 2:20 p.m.