Learn R Programming

gaselect (version 1.0.23)

evaluate: Evaluate the fitness of variable subsets

Description

Evaluate the given variable subsets with the given Evaluator

Usage

evaluate(object, X, y, subsets, seed, verbosity)

# S4 method for GenAlgEvaluator,matrix,numeric,matrix,integer,integer evaluate(object, X, y, subsets, seed, verbosity)

# S4 method for GenAlgEvaluator,matrix,numeric,logical,integer,integer evaluate(object, X, y, subsets, seed, verbosity)

# S4 method for GenAlgEvaluator,matrix,numeric,ANY,missing,integer evaluate(object, X, y, subsets, seed, verbosity)

# S4 method for GenAlgEvaluator,matrix,numeric,ANY,integer,missing evaluate(object, X, y, subsets, seed, verbosity)

# S4 method for GenAlgEvaluator,matrix,numeric,ANY,missing,missing evaluate(object, X, y, subsets, seed, verbosity)

Arguments

object

The GenAlgEvaluator object that is used to evaluate the variables

X

The data matrix used to for fitting the model

y

The response vector

subsets

The logical matrix where a column stands for one subset to evaluate

seed

The value to seed the random number generator before evaluating

verbosity

A value between 0 (no output at all) and 5 (maximum verbosity)