vallenae.io.FeatureRecord

class vallenae.io.FeatureRecord(trai: int, features: Dict[str, float])[source]

Transient feature record in trfdb.

Attributes

features

Feature dictionary (feature name -> value)

trai

Transient recorder index

Methods

__init__()

count(value, /)

Return number of occurrences of value.

from_sql(row)

Create FeatureRecord from SQL row.

index(value[, start, stop])

Return first index of value.