Main#

add_approval_feature(name: str, function: callable) None[source]#

Adds a new approval feature to the list of available approval features.

Parameters:
  • name (str) – Name of the feature.

  • function (callable) – function that calculates the feature.

Return type:

None

add_ordinal_feature(name: str, function: callable) None[source]#

Adds a new approval feature to the list of available approval features.

Parameters:
  • name (str) – Name of the feature.

  • function (callable) – function that calculates the feature.

Return type:

None

get_local_feature(feature_id)[source]#

Local feature depends only on a single instance