Skip to content

Package For Simplifying Decision Trees from RPart into Table Readable Format

License

Notifications You must be signed in to change notification settings

jasonwi1202/rpart.translator

Repository files navigation

Introduction

This is the source code for rpart.translator. This package will translate rpart models into table formatted rules with value volumes for each node in a tree.

Installation

Installing local package in R: setwd("C:/pathtopackage") install.packages('rpart.translator_1.0.2.tar.gz', repos=NULL, type='source')

Installing local package in Docker: RUN R -e "install.packages('rpart.translator_1.0.2.tar.gz', repos=NULL, type='source')"

Latest File

The most recent build of the latest file can be found in the top level of this directory and labled rpart.translator_buildversion.tar.gz.

Example

library(rpart) library(rpart.translator)

fit <- rpart(Kyphosis ~ Age + Number + Start, data = kyphosis)

dataTable <- rpart.translator(fit, kyphosis)

About

Package For Simplifying Decision Trees from RPart into Table Readable Format

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages