Models.batchLoad: Load the Models Generated by 'regressoR.batchLearn' as...

Description Usage Arguments Value

View source: R/batchLoad.R

Description

Load all the setup results built by regressoR.batchLearn from a folder structure.

Usage

1
2
3
4
5
Models.batchLoad(path = getwd(), selector = path.extensionRegExp(extensions
  = "model", before.extension = "_single"), featuresFolder = file.path(path,
  "../features"), featuresLoader = datasets.feature.load.default,
  namer = identity, check.directory = NULL, cores = 1L, logging = (cores
  <= 1L))

Arguments

path

the source folder

selector

the selector for the files

featuresFolder

the folder where to look for feature information, NULL if no feature information is needed

featuresLoader

a function accepting two parameters, featureFolder and components and returning a named list of features, or NULL if no features are needed. see datasets.feature.load.default for documentation

namer

a function which receives a relativized path to the folder with the current model(s) and returns a name for the models

check.directory

a function which can choose if a directory should be followed or not

cores

the number of cores to be used for loading

logging

should progress information be printed: either TRUE for printing to the console via print, FALSE for no logging, or a path to a file receiving logging information

Value

a list of dataset instances whose data elements correspond to models


thomasWeise/processMineR.models documentation built on May 23, 2019, 9:31 a.m.