Learn R Programming

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

emil (version 2.1.1)

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

1

Version

2.1.1

License

GPL (>= 2)

Maintainer

Christofer Backlin

Last Published

July 9th, 2015

Functions in emil (2.1.1)

error_fun

Performance estimation functions
as.modeling_procedure

Coerce to modeling procedure
extension

Extending the emil framework with user-defined methods
importance_glmnet

Feature importance extractor for elastic net models
get_prediction

Extract predictions from modeling results
get_tuning

Extract parameter tuning statistics
impute

Regular imputation
index_fit

Convert a fold to row indexes of fittdng or test set
emil

Introduction to the emil package
fit_cforest

Fit conditional inference forest
predict_cforest

Predict with conditional inference forest
na_index

Support function for identifying missing values
dichotomize

Dichotomize time-to-event data
get_response

Extract the response from a data set
fit_lda

Fit linear discriminant
pre_pamr

PAMR adapted dataset pre-processing
fit

Fit a model
fit_rpart

Fit a decision tree
fit_glmnet

Fit elastic net, LASSO or ridge regression model
pvalue.crr

Extracts p-value from a competing risk model
indent

Increase indentation
pre_impute_knn

Nearest neighbors imputation
nice_require

Load a package and offer to install if missing
predict_lda

Prediction using already trained prediction model
pvalue.coxph

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

Predict the response of unknown observations
is_blank

Wrapper for several methods to test if a variable is empty
get_importance

Feature (variable) importance of a fitted model
fit_lm

Fit a linear model fitted with ordinary least squares
notify_once

Print a warning message if not printed earlier
print.preprocessed_data

Print method for pre-processed data
subtree

Extract a subset of a tree of nested lists
log_message

Print a timestamped and indented log message
fit_randomForest

Fit random forest.
nice_axis

Plots an axis the way an axis should be plotted.
fit_caret

Fit a model using the caret package
vlines

Add vertical or horizontal lines to a plot
pre_impute

Basic imputation
get_color

Get color palettes
name_procedure

Get names for modeling procedures
is_multi_procedure

Detect if modeling results contains multiple procedures
learning_curve

Learning curve analysis
resample

Resampling schemes
predict_pamr

Prediction using nearest shrunken centroids.
get_performance

Extract prediction performance
predict_glmnet

Predict using generalized linear model with elastic net regularization
pvalue.cuminc

Extract p-value from a cumulative incidence estimation
nice_box

Plots a box around a plot
plot.learning_curve

Plot results from learning curve analysis
select_.list

emil and dplyr integration
subresample

Generate resampling subschemes
list_method

List all available methods
fill

Replace values with something else
predict_coxph

Predict using Cox proportional hazards model
pvalue.survdiff

Extracts p-value from a logrank test
roc_curve

Calculate ROC curves
fit_coxph

Fit Cox proportional hazards model
image.resample

Visualize resampling scheme
predict_qda

Prediction using already trained classifier.
predict_rpart

Predict using a fitted decision tree
neg_gmpa

Negative geometric mean of class specific predictive accuracy
predict_lm

Prediction using linear model
pre_process

Data preprocessing
importance_pamr

Feature importance of nearest shrunken centroids.
modeling_procedure

Setup a modeling procedure
tune

Tune parameters of modeling procedures
fit_qda

Fit quadratic discriminant.
plot.Surv

Plot Surv vector
importance_randomForest

Feature importance of random forest.
evaluate

Evaluate a modeling procedure
weighted_error_rate

Weighted error rate
predict_caret

Predict using a caret method
predict_randomForest

Prediction using random forest.
fit_pamr

Fit nearest shrunken centroids model.
pvalue

Extraction of p-value from a statistical test