Feature

class niaarm.feature.Feature(name, dtype, min_val=None, max_val=None, categories=None)

Bases: object

Class representing a feature.

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

  • dtype (str) – Datatype of the feature.

  • min_val (Optional[float]) – Minimum value of the feature in the transaction database.

  • max_val (Optional[float]) – Maximum value of the feature in the transaction database.

  • categories (Optional[list[str]]) – Possible categorical feature’s values.