bluepyopt.evaluators

Cell evaluator class

class bluepyopt.evaluators.Evaluator(objectives=None, params=None)[source]

Evaluator class

An Evaluator maps a set of parameter values to objective values
Args:
objectives (Objectives):

The objectives that will be the output of the evaluator.

params (Parameters):

The parameters that will be evaluated.

Attributes:
objectives (Objectives):

Objective objects.

params (Objectives):

Parameter objects.

abstract evaluate_with_dicts(param_dict)[source]

Evaluate parameter a parameter set (abstract).

Parameters

params (dict with values Parameters, and keys parameter names) – The parameter values to be evaluated.

Returns

Dict of Objective with values calculated by the Evaluator.

Return type

objectives (dict with values Parameters, and keys objective names)

abstract evaluate_with_lists(params)[source]

Evaluate parameter a parameter set (abstract).

Parameters

params (list of Parameters) – The parameter values to be evaluated.

Returns

List of Objectives with values calculated by the Evaluator.

Return type

objectives (list of Objectives)