Skip to content

Commit

Permalink
Re-run clustering (#187)
Browse files Browse the repository at this point in the history
* re-run clustering; 1160 clusters, 2870/10717 points

* update data and stats

* add clustering to CI
  • Loading branch information
danvk authored Dec 1, 2024
1 parent 1d11c87 commit 172b3b2
Show file tree
Hide file tree
Showing 6 changed files with 2,983 additions and 1,199 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/e2etest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,11 @@ jobs:
export PYTHONPATH=.
poetry run oldnyc/geocode/geocode.py --ids_filter data/geocode/truth-ids.txt --output_format geojson --geocode --no-progress-bar > /tmp/actual.geojson
poetry run oldnyc/geocode/calculate_metrics.py --stats_only --truth_data data/geocode/truth.geojson --computed_data /tmp/actual.geojson > test/geocode-performance.txt
- name: Clustering
run: |
export PYTHONPATH=.
poetry run oldnyc/geocode/geocode.py --images_ndjson data/images.ndjson --output_format geojson --geocode > /tmp/images.geojson
poetry run python oldnyc/geocode/cluster.py /tmp/images.geojson > data/lat-lon-map.txt
- name: Check for diffs
run: |
git diff --exit-code test/ data/
Expand Down
Loading

0 comments on commit 172b3b2

Please sign in to comment.