get_fitness_from_models_dir: Load the models fitness scores

Description Usage Arguments Value Examples

View source: R/input.R

Description

Use this function to merge the fitness scores from all models into a single vector (the fitness score is a value between 0 and 1 and denotes how close was the model fitted to one or more training data observations). Each model's fitness value is loaded from the respective .gitsbe file that can be found inside the given models.dir directory (other kind of files are discarded).

Usage

1

Arguments

models.dir

string. A dir with .gitsbe files/models

Value

a numeric vector with elements the fitness scores and the names of the models included in the names attribute.

Examples

1
2
models.dir = system.file("extdata", "models", package = "emba", mustWork = TRUE)
models.fitness = get_fitness_from_models_dir(models.dir)

emba documentation built on Jan. 7, 2021, 9:09 a.m.