Skip to content

Commit

Permalink
Remove duplicate cohort section (#902)
Browse files Browse the repository at this point in the history
The example experiment had two cohort sections. Only one is needed.
  • Loading branch information
ecsalomon authored Jun 21, 2022
1 parent 8b069fe commit b360b83
Showing 1 changed file with 0 additions and 19 deletions.
19 changes: 0 additions & 19 deletions example/config/experiment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -91,25 +91,6 @@ label_config:
#name: 'inspections'


# COHORT CONFIG
# This block is completely optional. If you don't specify it, all distinct entities and dates from the labels table will be used.
# This means that any entities that don't show up in your label query will not be in the matrix.
# For many applications, this may be fine but in some cases (e.g. an inspections problem
# where not all relevant entities have had recent inspections) it is easier to keep track of these concepts separately.
#
# Cohorts are configured by passing a query with placeholders for the 'as_of_date'.
#
# The 'query' key should have a query, parameterized with an '{as_of_date}', to select the entity_ids that should be included for a given date. The {as_of_date} will be replaced with each as_of_date that the experiment needs. The returned 'entity_id' must be an integer.
#
# You may enter a 'name' for your configuration.
# This will be included in the metadata for each matrix and used to group models
# If you don't pass one, the string 'default' will be used.
cohort_config:
query: "select entity_id from events where outcome_date < '{as_of_date}'"
name: 'past_events'



# FEATURE GENERATION
# The aggregate features to generate for each train/test split
#
Expand Down

0 comments on commit b360b83

Please sign in to comment.