A quick start guide for Featureform with Docker.
--include_clickhouse
flag i.e.
--insecure
flag since we’re using an unencrypted endpoint on the container.
featureform apply
.
First we register the Postgres and Redis containers as providers so Featureform is aware of them.
ff.entity
decorator will use the lowercased class name as the entity name. The class attributes avg_transactions
and fraudulent
will be registered as a feature and label, respectively, associated with the user
entity. Indexing into the sources (e.g. average_user_transaction
) with a [["<ENTITY COLUMN>", "<FEATURE/LABEL COLUMN>"]]
, returns the required parameters to the Feature
and Label
registration classes.
When registering more than one variant, we can use the Variants
registration class:
features()
method takes the name of the feature
and an entity that we want the value for.