Documentation Index

Fetch the complete documentation index at: https://docs.darwinium.com/llms.txt

Use this file to discover all available pages before exploring further.

Velocity Of

Prev Next

A count of the number of times that a group of Identifier/Subject attributes with the same value as the current event occured over the given time period.

For example:

  • The Number of login attempts within a seven day period.
  • The Number of HTTP requests from an IP address within a one hour period.
  • The Number of times this device seen today.
  • The Number of successful logins this user made in the last month, excluding today.

Configuration

  • Feature Name
    The "dictionary" name under which the feature value will be stored.
  • For Events > With The Same
    • Only Identifier and Subject attributes can be used.
Note
  • At least one of the selected attributes must be an Identifier.
Optional Configuration
  • Default Value
    A value that can be assigned to the feature if the attributes to calculate the features are not present.
  • Scope
    Can be used to extend the event search from the local node, to all nodes within the same organization all the way to all across customers (global).
  • For Events
    Provides a way of filtering past events based on their type.
  • Condition
    A Query-Language filter that can be used to refine Features for specific use cases.
  • Time Window
    Can be used to limit the Feature calculation to a specific time period/window. e.g 1 week.
  • Starting ...
    Can be used to remove recent events from Feature calculation.

Use Case 1

Calculate the number of Account Creation events (Account Creation Velocity) made by the Device Signature from the current event over the last 7 days.

Implementing In The Feature Editor

image.png

image.png

  - name: device_creations_week
    default_value: 0
    time_window:
      weeks: 1
    starting: immediately
    find_the:
      velocity_of:
        for_events:
          event_type:
            - account_creation
          include_current_event: true
          with_the_same:
            - device_signature['VER_1'].identifier
    with_scope: same_node_instance