best.model {StabPerf}R Documentation

Find the best scoring model.

Description

Scores the sampled feature-selectors and feature-selector/classifier-combination to find the best model.

Usage

best.model(fold, checkpointdir=file.path(getOption("edaprakt.tmpdir"), "checkpoints"))

Arguments

fold Numeric. The fold that is assessed. Use cv=0 if the full dataset shall be analysed.
checkpointdir Character. The directory with the calculated checkpoints that are used for assessment.

Details

Internally calls 'best.models(fold, checkpointdir, 1) and rearranges the output.

Value

best List. A list with the entries score, selector and classifier. The selector and classifier are indices of the global list.

See Also

best.models, feature.stability.score, accuracy

Examples

best <- best.model(fold=0)

[Package StabPerf version 0.5 Index]