NoeFlandre/osm_stats / scripts /write_env_agri_breakdown.py
NoeFlandre's picture
download
raw
573 Bytes
"""Write the env/agri per-cluster breakdown to output/filter_first/tfidf/env_agri_breakdown.md.
The breakdown is sourced from the TF-IDF per-cluster medoid file
(persisted by ``scripts/profile_clusters.py``).
Run with:
.venv/bin/python -m scripts.write_env_agri_breakdown
"""
from pathlib import Path
from src.core.features.breakdown import write_breakdown_artifact
OUTPUT = Path("output/filter_first/tfidf/env_agri_breakdown.md")
def main() -> None:
path = write_breakdown_artifact(OUTPUT)
print(f"wrote: {path}")
if __name__ == "__main__":
main()

Xet Storage Details

Size:
573 Bytes
·
Xet hash:
3792d679e7762ed1985de678deb7ba0551e6dafa4feb14892bd9d34b220c5025

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.