bluepyemodel.validation.validation

Validation functions.

Functions

compute_scores(model, validation_protocols)

Compute the scores of an emodel.

define_validation_function(access_point)

Define the validation function based on the validation_function setting.

validate(access_point, mapper[, ...])

Compute the scores and traces for the optimisation and validation protocols and perform validation.

compute_scores(model, validation_protocols)

Compute the scores of an emodel.

Parameters:
  • model (EModel) – emodel

  • validation_protocols (list) – list of validation protocols

define_validation_function(access_point)

Define the validation function based on the validation_function setting. If the settings was not specified, validate_max_score is used

validate(access_point, mapper, preselect_for_validation=False)

Compute the scores and traces for the optimisation and validation protocols and perform validation.

Parameters:
  • access_point (DataAccessPoint) – data access point.

  • mapper (map) – used to parallelize the evaluation of the individual in the population.

  • preselect_for_validation (bool) – True to not re-run already validated models

Returns:

list of emodels.

Return type:

emodels (list)