Fork me on GitHub

bolero.representation.BehaviorTemplate

class bolero.representation.BehaviorTemplate[source]

Behavior template interface.

__init__()

x.__init__(…) initializes x; see help(type(x)) for signature

get_args()

Get parameters for this estimator.

Returns:
params : mapping of string to any

Parameter names mapped to their values.

get_behavior(context)[source]

Get behavior for a given context.

Parameters:
context : array-like, shape (n_context_dims,)

Current context