cost_functions#

caf.distribute.cost_functions Module#

Collection of cost functions to be used with distribution models.

Functions#

log_normal(base_cost, sigma, mu[, ...])

Apply of the log normal cost function.

tanner(base_cost, alpha, beta[, ...])

Apply the tanner cost function.

Classes#

Any(*args, **kwargs)

Special type indicating an unconstrained type.

BuiltInCostFunction(value)

Enum of the built-in cost functions for easy access.

CostFunction(name, params, function[, ...])

Abstract Class defining how cost function classes should look.