bluepyopt.ephys.objectives

Objective classes

class bluepyopt.ephys.objectives.EFeatureObjective(name, features=None)[source]

Bases: bluepyopt.objectives.Objective

EPhys feature objective

Constructor

Parameters:
  • name (str) – name of this object
  • features (list of eFeatures) – features used in the Objective
calculate_feature_scores(responses)[source]

Calculate the scores for the individual features

class bluepyopt.ephys.objectives.MaxObjective(name, features=None)[source]

Bases: bluepyopt.ephys.objectives.EFeatureObjective

Max of list of EPhys feature

Constructor

Parameters:
  • name (str) – name of this object
  • features (list of eFeatures) – features used in the Objective
calculate_score(responses)[source]

Objective score

class bluepyopt.ephys.objectives.SingletonObjective(name, feature)[source]

Bases: bluepyopt.ephys.objectives.EFeatureObjective

Single EPhys feature

Constructor

Parameters:
  • name (str) – name of this object
  • features (EFeature) – single eFeature inside this objective
calculate_score(responses)[source]

Objective score

class bluepyopt.ephys.objectives.WeightedSumObjective(name, features, weights)[source]

Bases: bluepyopt.ephys.objectives.EFeatureObjective

Weighted sum of list of eFeatures

Constructor

Parameters:
  • name (str) – name of this object
  • features (list of EFeatures) – eFeatures in the objective
  • weights (list of float) – weights of the eFeatures
calculate_score(responses)[source]

Objective score