fraudtwin.BehaviorModel#

class fraudtwin.BehaviorModel(*args, **kwargs)[source][source]#

Bases: Protocol

Port for a deterministic customer-behavior model.

profile(entity, *, seed)[source][source]#

Return one behavior profile without mutating the source entity.

Return type:

Mapping[str, Any]

Parameters:
  • entity (Mapping[str, Any])

  • seed (int)