๊ตญ์ ์ ์ธ โ ์ฃผ๊ฐ ์ํฅ ๋ถ์๊ธฐ์ 1์ธต ๋ชจ๋. ๊ตญ๊ฐ๊ฐ ๊ด๊ณ์ ๊ตฌ์กฐ์ ๋ฐฐ๊ฒฝ์ ์ธก์ ํ๋ ์์ง.
unzip geopolitical_affinity_package.zip
pip install -e ".[all]"
geoaffinity setup fbic ~/Downloads/Diplometrics_FBIC_Index_....csv
geoaffinity setup gdelt
get_snapshot(year)geoaffinity snapshot 2024
geoaffinity snapshot --json
from geopolitical_affinity import engine
engine.init()
snap = engine.get_snapshot(2024)
# โ key_indices: us_china, us_russia, china_russia, us_allies_avg,
# israel_iran, india_china, russia_ukraine, korea_japan,
# korea_china, global_tension
get_deltas(year)geoaffinity deltas 2024
deltas = engine.get_deltas(2024)
# โ significant_changes, grade_transitions, summary
get_monthly(months=6)geoaffinity monthly --months 6
pulse = engine.get_monthly(6)
# โ trends (3m vs 6m ๋ชจ๋ฉํ
), key_indices_monthly
# ์์คํฑ ๊ฐฑ์ (GDELT + ์ฌ๊ฑด ์๋๊ฐ์ง + ์ฌ์ด๊ธฐํ)
geoaffinity update # ์น์ธ ๋ชจ๋
geoaffinity update --auto # ์๋ ๋ชจ๋
# ์ฌ๊ฑด๋ง ๊ฐฑ์
geoaffinity update --events-only
# ์ฌ๊ฑด ๋ถ์
geoaffinity scan --days 30
geoaffinity analyze "๋ถํ์ด ICBM์ ๋ฐ์ฌํ๋ค"
| ๊ฒ์ฆ | ์ ์ค๋ฅ |
|---|---|
| ๋ฑ๊ธ ์ ์ค | 73% |
| ๋ฐฉํฅ ์ ์ค | 87% |
| ์์ ์ ์ค | 100% |
| ์ข ํฉ | 87% |
โ ๏ธ ์ด ์์น๋ ๋ฉํ๋ฐ์ดํฐ ๋ถ์ฌ ์ํ๋ก ์ธ์ฉ๋จ: ๊ฒ์ฆ ๋ฐ์ดํฐ์ ยทํ๋ณธ ํฌ๊ธฐ(n)ยทbaseline(random %)ยท์ธก์ ์ผยท์ธก์ ์ ๋ชจ๋ ๋ฏธ๋ช ์. ๋ง์ผํ ์๋ฃ ์ฌ์ฉ ๊ธ์ง. ์์ธํ ํ๊ณ๋ LIMITATIONS.md ์ฐธ์กฐ. ์ ๊ท ์ธก์ (21-case harness + baseline) ํ ์ฌ๊ฒ์ ์์ .