Skip to content

Commit

Permalink
Config doc (#694)
Browse files Browse the repository at this point in the history
    Add README.md to example/config/, explaining experiment.yaml, audition.yaml, postmodeling_config.yaml and postmodeling_crosstabs.yaml
    Remove feature.yaml and change documentation of feature-testing since cli.py just takes an experiment config.
  • Loading branch information
tweddielin authored and thcrock committed May 21, 2019
1 parent e97aab1 commit 5342254
Show file tree
Hide file tree
Showing 5 changed files with 263 additions and 116 deletions.
1 change: 1 addition & 0 deletions docs/mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ nav:
- Experiment:
- Defining an Experiment: experiments/defining.md
- Testing Feature Configuration: experiments/feature-testing.md
- Experiment Configuration: https://github.com/dssg/triage/blob/master/example/config/README.md
- Running an Experiment: experiments/running.md
- Upgrading an Experiment:
- v6 -> v7: experiments/upgrade-to-v7.md
Expand Down
4 changes: 2 additions & 2 deletions docs/sources/experiments/feature-testing.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ To speed up the process of iterating on features, you can run a list of feature
![triage featuretest cli help screen](featuretest-cli.png)

The command-line interface for testing features takes in two arguments:
- A feature config file. Refer to [example_feature_config.yaml](https://github.com/dssg/triage/blob/master/example/config/feature.yaml). Essentially this is the content of the [example_experiment_config.yaml](https://github.com/dssg/triage/blob/master/example/config/experiment.yaml)'s `feature_aggregations` section. It consists of a YAML list, with one or more feature_aggregation rows present.
- An experiment config file. Refer to the [example_experiment_config.yaml](https://github.com/dssg/triage/blob/master/example/config/experiment.yaml)'s `feature_aggregations` section. It consists of a YAML list, with one or more feature_aggregation rows present.
- An as-of-date. This should be in the format `2016-01-01`.

Example: `triage experiment featuretest example/config/feature.yaml 2016-01-01`
Example: `triage experiment featuretest example/config/experiment.yaml 2016-01-01`

All given feature aggregations will be processed for the given date. You will see a bunch of queries pass by in your terminal, populating tables in the `features_test` schema which you can inspect afterwards.

Expand Down
Loading

0 comments on commit 5342254

Please sign in to comment.