- detect_gear_groups: vessel_dfs(분류 대상만) → vessel_store.get_all_latest_positions()(전체 14K선박) - build_all_group_snapshots: 동일하게 all_positions 기반으로 전환 - vessel_store: get_all_latest_positions() 메서드 추가 - 결과: 0 gear groups → 210 gear groups (GEAR_IN_ZONE 57, GEAR_OUT_ZONE 45) |
||
|---|---|---|
| .. | ||
| 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- 헬스 체크