Learn R Programming

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

emil (version 2.0.2)

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.0.2

License

GPL (>= 2)

Maintainer

Christofer Backlin

Last Published

May 20th, 2015

Functions in emil (2.0.2)

na_index

Support function for identifying missing values
fit_qda

Fit quadratic discriminant.
pre_pamr

PAMR adapted dataset pre-processing
nice_require

Load a package and offer to install if missing
emil_list_method

List all available methods
is_blank

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

Perform modeling
pre_impute_knn

Nearest neighbors imputation
fit_lda

Fit linear discriminant
dichotomize

Dichotomize time-to-event data
fit_randomForest

Fit random forest.
impute

Regular imputation
fit_cforest

Fit conditional inference forest
index_fit

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

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

Extract prediction performance
neg_gmpa

Negative geometric mean of class specific predictive accuracy
fit_lm

Fit a linear model fitted with ordinary least squares
fit_glmnet

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

Basic imputation
predict_caret

Predict using a caret method
get_color

Get color palettes
log_message

Print a timestamped and indented log message
predict_pamr

Prediction using nearest shrunken centroids.
fit_pamr

Fit nearest shrunken centroids model.
indent

Increase indentation
fill

Replace values with something else
nice_box

Plots a box around a plot
importance_pamr

Feature importance of nearest shrunken centroids.
extension

Extending the emil framework with user-defined methods
predict_cforest

Predict with conditional inference forest
predict_randomForest

Prediction using random forest.
emil

Introduction to the emil package
plot.Surv

Plot Surv vector
predict_lda

Prediction using already trained prediction model
get_tuning

Extract parameter tuning statistics
get_importance

Feature (variable) importance of a fitted model
learning_curve

Learning curve analysis
fit

Fit a model
get_prediction

Extract predictions from modeling results
predict.model

Predict the response of unknown observations
predict_lm

Prediction using linear model
pre_process

Data preprocessing
plot.learning_curve

Plot results from learning curve analysis
is_multi_procedure

Detect if modeling results contains multiple procedures
error_fun

Performance estimation functions
pvalue.coxph

Extract p-value from a Cox proportional hazards model
notify_once

Print a warning message if not printed earlier
image.resample

Visualize resampling scheme
fit_caret

Fit a model using the caret package
name_procedure

Get names for modeling procedures
pvalue.cuminc

Extract p-value from a cumulative incidence estimation
vlines

Add vertical or horizontal lines to a plot
subresample

Generate resampling subschemes
resample

Resampling schemes
roc_curve

Calculate ROC curves
importance_randomForest

Feature importance of random forest.
select_.list

emil and dplyr integration
pvalue.survdiff

Extracts p-value from a logrank test
pvalue.crr

Extracts p-value from a competing risk model
predict_qda

Prediction using already trained classifier.
predict_glmnet

Predict using generalized linear model with elastic net regularization
modeling_procedure

Setup a modeling procedure
tune

Tune parameters of modeling procedures
subtree

Extract a subset of a tree of nested lists
pvalue

Extraction of p-value from a statistical test
weighted_error_rate

Weighted error rate