vallenae.io.FeatureRecord¶
- class vallenae.io.FeatureRecord(trai: int, features: Dict[str, float])[source]¶
Transient feature record in trfdb.
Attributes
Feature dictionary (feature name -> value)
Transient recorder index
Methods
__init__
()Initialize self.
count
(value, /)Return number of occurrences of value.
from_sql
(row)- rtype
index
(value[, start, stop])Return first index of value.