cost_function.set_cost_evaluation
- cost_function.set_cost_evaluation(cost_evaluation: callable, **kwgs)[source]
set the cost evalutation function after the instantiation
- Parameters:
cost_evaluation (funct) –
- function calculating a cost from a axon simulation results, parameters:
>>> cost_evaluation(results: sim_results, **kwargs) -> float: