fitbenchmarking.cost_func.cost_func_factory module
This file contains a factory implementation for the available cost functions within FitBenchmarking.
- fitbenchmarking.cost_func.cost_func_factory.create_cost_func(cost_func_type)
Create a cost function class class.
- Parameters:
cost_func_type (str) – Type of cost function selected from options
- Returns:
Cost function class for the problem
- Return type:
fitbenchmarking.cost_func.base_cost_func.CostFunc subclass