Learn R Programming

⚠️There's a newer version (2.2.10) of this package.Take me there.

emil (version 1.1-3)

Evaluation of Modeling without Information Leakage

Description

A toolbox for designing and evaluating predictive models with resampling methods. The aim of this package is to provide a simple and efficient general framework for working with any type of prediction problem, be it classification, regression or survival analysis, that is easy to extend and adapt to your specific setting. Some commonly used methods for classification, regression and survival analysis are included.

Copy Link

Version

Install

install.packages('emil')

Monthly Downloads

18

Version

1.1-3

License

GPL (>= 2)

Maintainer

Christofer Backlin

Last Published

July 31st, 2014

Functions in emil (1.1-3)

as.outcome.Surv

Convert Surv vector to outcome vector
emil.fit.qda

Fit quadratic discriminant.
emil.predict.cforest

Predict with conditional inference forest
emil.predict.glmnet

Predict using generalized linear model with elastic net regularization
emil.fit.glmnet

Fit GLM with LASSO, Ridge or elastic net regularization.
emil

Introduction to the emil package
impute

Regular imputation
emil.fit.lda

Fit linear discriminant
as.outcome

Convert object to outcome vector
is.blank

Wrapper for several methods to test if a variable is empty
pre.pamr

PAMR adapted dataset pre-processing
emil.predict.pamr

Prediction using nearest shrunken centroids.
emil.predict.qda

Prediction using already trained classifier.
emil.extensions

Extending the emil framework with user-defined methods
p.value.crr

Extracts p-value from a competing risk model
p.value

Extraction of p-value from a statistical test
nice.require

Load a package and offer to install if missing
as.Surv.Surv

Trivial function
resample.mapply

Compare true response to resampled predictions
predict.modeling.procedure

Predict the response of unknown observations
index.fit

Convert a fold to row indexes of fittdng or test set
dim.outcome

Dimension of an outcome vector
vimp

Variable importance of a fitted model
emil.fit.pamr

Fit nearest shrunken centroids model.
outcome

Create a vector of outcomes
fill

Replace values with something else
resample

Resampling schemes
subtree

Extract a subset of a tree of nested lists
subresample

Generate resampling subschemes
emil.vimp.pamr

Variable importance of nearest shrunken centroids.
evaluate.modeling

Performance estimation of modeling procedures
as.data.frame.outcome

Convert outcome vector to data frame
factor.events

Get events on factor form
emil.fit.randomForest

Fit random forest.
emil.fit.cforest

Fit conditional inference forest
print.outcome

Print outcome vector
pre.impute.knn

kNN imputation
batch.model

Perform modeling
emil.predict.randomForest

Prediction using random forest.
length.outcome

Length of an outcome vector
p.value.coxph

Extract p-value from a Cox proportional hazards model
emil.predict.lm

Prediction using linear model
subframe

Extract and organize predictions according to a resampling scheme
as.Surv.outcome

Convert outcome vector to Surv vector
error.fun

Performance estimation functions
neg.gmpa

Negative geometric mean of class specific predictive accuracy
weighted.error.rate

Weighted error rate
emil.predict.lda

Prediction using already trained prediction model
trace.msg

Print a timestamped and indented log message
p.value.cuminc

Extract p-value from a cumulative incidence estimation
is.writable

Test if a directory is writable
is.outcome

Test if object is of class outcome
modeling.procedure

Setup a modeling procedure
p.value.survdiff

Extracts p-value from a logrank test
is.na.outcome

Check for missing values
emil.predict.caret

Predict using a caret method
pre.process

Data preprocessing
as.matrix.outcome

Convert outcome vector to matrix
plot.outcome

Plot outcome vector
as.Surv

Convert object to Surv vector
integer.events

Return events in integer form
emil.fit.lm

Fit a linear model fitted with ordinary least squares
emil.vimp.randomForest

Variable importance of random forest.
as.character.outcome

Convert outcome vector to character vector
emil.fit.caret

Fit a model using the caret package
image.resample

Visualize resampling scheme
fit

Fit a model
warn.once

Print a warning message if not printed earlier
[.outcome

Extract
tune

Tune parameters of modeling procedures