- DB migration 009: group_polygon_snapshots 테이블 (PostGIS geometry) - polygon_builder.py: Shapely 기반 convex hull + buffer 폴리곤 생성 - scheduler.py: 5분 주기 분석 사이클에 폴리곤 생성 Step 4.5 통합 - fleet_tracker.py: get_company_vessels() 메서드 추가 - kcgdb.py: save_group_snapshots(), cleanup_group_snapshots() 추가 - requirements.txt: shapely>=2.0 추가 |
||
|---|---|---|
| .. | ||
| algorithms | ||
| cache | ||
| data | ||
| db | ||
| models | ||
| pipeline | ||
| scripts | ||
| config.py | ||
| env.example | ||
| fleet_tracker.py | ||
| main.py | ||
| README.md | ||
| requirements.txt | ||
| scheduler.py | ||
KCG Prediction Service
FastAPI 기반 예측 서비스 (향후 구현 예정)
실행
cd prediction
python3 -m venv venv
source venv/bin/activate
pip install -r requirements.txt
uvicorn main:app --reload --port 8000
엔드포인트
GET /health- 헬스 체크