Learn R Programming

origami (version 1.0.7)

Generalized Framework for Cross-Validation

Description

A general framework for the application of cross-validation schemes to particular functions. By allowing arbitrary lists of results, origami accommodates a range of cross-validation applications. This implementation was first described by Coyle and Hejazi (2018) .

Copy Link

Version

Install

install.packages('origami')

Monthly Downloads

1,069

Version

1.0.7

License

GPL-3

Maintainer

Jeremy Coyle

Last Published

October 19th, 2022

Functions in origami (1.0.7)

combiners

Combiners
fold_helpers

Fold Helpers
fold_funs

Cross-Validation Schemes
cross_validate

Main Cross-Validation Function
combine_results

Combine Results from Different Folds
make_fold

Fold
make_folds

Make List of Folds for cross-validation
folds2foldvec

Build a Fold Vector from a Fold Object
make_repeated_folds

Repeated Cross-Validation
wrap_in_try

Wrap a Function in a Try Statement
fold_from_foldvec

Build a Fold Object from a Fold Vector
guess_combiner

Flexible Guessing and Mapping for Combining Data Types
check_id_and_time

Check ID and Time Compatibility
id_folds_to_folds

Convert ID Folds to Observation Folds