Skip to content
/ purge Public

❗ This is a read-only mirror of the CRAN R package repository. purge — Purge Training Data from Models

License

Notifications You must be signed in to change notification settings

cran/purge

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

#Overview# This package enables the removal of training data from fitted R models while retaining predict functionality. The purged models are more portable as their memory footprints do not scale with the training sample size.

#Example Usage#

x <- rnorm(1000)
y <- x + rnorm(1000)
unpurged.model <- lm(y ~ x)
purged.model <- purge(unpurged.model)
object.size(unpurged.model)
object.size(purged.model)

#Installation#

if (!require(devtools)) install.packages("devtools")
devtools:::install_github("massmutual/purge")

About

❗ This is a read-only mirror of the CRAN R package repository. purge — Purge Training Data from Models

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages