Learn R Programming

RobustPrediction (version 0.1.7)

Robust Tuning and Training for Cross-Source Prediction

Description

Provides robust parameter tuning and model training for predictive models applied across data sources where the data distribution varies slightly from source to source. This package implements three primary tuning methods: cross-validation-based internal tuning, external tuning, and the 'RobustTuneC' method. External tuning includes a conservative option where parameters are tuned internally on the training data and validating on an external dataset, providing a slightly pessimistic estimate. It supports Lasso, Ridge, Random Forest, Boosting, and Support Vector Machine classifiers. Currently, only binary classification is supported. The response variable must be the first column of the dataset and a factor with exactly two levels. The tuning methods are based on the paper by Nicole Ellenbach, Anne-Laure Boulesteix, Bernd Bischl, Kristian Unger, and Roman Hornung (2021) "Improved Outcome Prediction Across Data Sources Through Robust Parameter Tuning" .

Copy Link

Version

Install

install.packages('RobustPrediction')

Monthly Downloads

139

Version

0.1.7

License

GPL-3

Issues

Pull Requests

Stars

Forks

Maintainer

Yuting He

Last Published

December 16th, 2024

Functions in RobustPrediction (0.1.7)

tuneandtrainExtLasso

Tune and Train External Lasso
tuneandtrainExt

Tune and Train Classifier by Tuning Method Ext
tuneandtrainExtRidge

Tune and Train External Ridge
tuneandtrainExtBoost

Tune and Train External Boosting
tuneandtrainRobustTuneC

Tune and Train Classifier by Tuning Method RobustTuneC
tuneandtrainRobustTuneCBoost

Tune and Train RobustTuneC Boosting
tuneandtrainRobustTuneCRidge

Tune and Train RobustTuneC Ridge
tuneandtrainExtRF

Tune and Train External Random Forest
tuneandtrainRobustTuneCSVM

Tune and Train RobustTuneC Support Vector Machine (SVM)
RobustPrediction

Package Title: Robust Tuning and Training for Cross-Source Prediction
tuneandtrainIntLasso

Tune and Train Internal Lasso
tuneandtrain

Tune and Train Classifier
sample_data_extern

Sample External Validation Data Subset
tuneandtrainIntRidge

Tune and Train Internal Ridge
tuneandtrainIntSVM

Tune and Train Internal SVM
tuneandtrainIntRF

Tune and Train Internal Random Forest
tuneandtrainRobustTuneCLasso

Tune and Train RobustTuneC Lasso
tuneandtrainRobustTuneCRF

Tune and Train RobustTuneC Random Forest
tuneandtrainExtSVM

Tune and Train External SVM
tuneandtrainInt

Tune and Train by tuning method Int
tuneandtrainIntBoost

Tune and Train Internal Boosting
sample_data_train

Sample Training Data Subset