Skip to content

RobustPrediction

0.1.7

Robust Tuning and Training for Cross-Source Prediction

0packages depend
1.9Kdownloads / year
test coverage
13/13checks pass

Overview

About
Maintained by Yuting HeFirst published 2024-11-142 releasesCRAN page ↗GitHub ↗

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" <doi:10.1007/s00357-020-09368-z>.

Install

Health

CRAN checks
13OK
Code health
None
Tests · ratio 0.00
not tracked
Coverage
100%
Documentation · exports
None
Vignettes
No
README
6
Dependencies · direct
Check history
  • OK2026-03-10
    14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Downloads

1.9K
CRAN downloads in the past year
Rank #22,318 · ~5/day · ~158/mo
24530 days
53290 days
1.9K1 year
Also on95 r2u23 autocran
Source & community
GitHub ↗

Repository stars, issues, and contributor activity are not tracked yet.

Dependencies

Declared dependencies
6 external dependencies (excludes base and recommended)
Depends (1)
R >= 3.5.0
LinkingTo (0)
none
Suggests (0)
none
Enhances (0)
none
Reverse dependencies
0direct
indirect (not tracked)

Nothing depends on this yet.

Code

4,299Lines of code
19Exported functions

Line coverage

Expression

Tests / Examples

Functions

19 19 exported

Complexity

5.8 avg / 9 max

Call network

19 nodes / 18 edges

Test coverage has not been measured for this package yet; nodes fall back to a neutral fill.

Loading call graph…

Lowest coverage

Per-function coverage is not measured for this package yet.

People & History

People (3)
Maintainer (1)
Author, Maintainer
Contributors (2)
Contributor
Contributor
Release timeline

2 releases. Pick two to compare their code metrics; R releases are shown for context.

  • R
    R 4.6.0 released · 2026-04-24
  • R
    R 4.5.0 released · 2025-04-11
  • 0.1.7Latest
    2024-12-16 · current release
  • 0.1.4
    2024-11-14

Package metadata

First published
2024-11-14
Total releases
2 / 2 yrs
License
GPL-3 OSI
Download size
not tracked yet
Installed size
not tracked yet
With dependencies
not tracked yet