Skip to content

Commit

Permalink
fix typo in sample tool example (#47)
Browse files Browse the repository at this point in the history
  • Loading branch information
laurens88 authored Aug 29, 2024
1 parent 60e3163 commit c5109a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,7 @@ asreview data snowball input_dataset.csv output_dataset.csv --backward --email m
This datatool is used to sample old, random and new records from your dataset by using the `asreview data sample` command. The sampled records are then stored in an output file. This can be useful for detecting concept drift, meaning that the words used for certain concepts change over time. This script assumes that the dataset includes a column named `publication_year`. An example would be:

```bash
asreview data sample input_dataset.xlsx output_dataset.xslx 50
asreview data sample input_dataset.xlsx output_dataset.xlsx 50
```
This samples the `50` oldest and `50` newest records from `input_dataset.xlsx` and samples `50` records randomly (without overlap from the old and new partitions!). The resulting 150 records are written to `output_dataset.xlsx`.

Expand Down

0 comments on commit c5109a5

Please sign in to comment.