Add final_practice.py for next-draw recommendations via final_BallFilter

- Mirrors 3_Practice_22 flow: DataCrawler, optional API crawl, fixed combo,
  Monte Carlo filtered samples (default) or exhaustive mode
- Caps total recommendations under 100; saves recommend_ball.final.json

Made-with: Cursor
This commit is contained in:
2026-04-08 19:33:26 +09:00
parent 52e8495148
commit d08e906066
2 changed files with 322 additions and 0 deletions

View File

@@ -15,6 +15,7 @@
- **`filter_model.py`** — `from final_BallFilter import BallFilter` 재노출.
- **`train.py` / `valid.py`** — 구간별로 당첨 6개가 모든 필터를 통과한 회차 수 집계.
- **`final_filterTest.py`** — `1_FilterTest_25.py`와 동일한 분석·(선택) MC 생존 추정.
- **`final_practice.py`** — `3_Practice_22.py`와 같이 다음 회차용 추천 조합 생성(`final_BallFilter`, 기본은 Monte Carlo로 100개 미만).
## 실행 (miniconda **ncue**)
@@ -25,6 +26,8 @@ python valid.py
python final_filterTest.py
# 특정 회차 생존 조합 수 Monte Carlo 근사
python final_filterTest.py --mc-no 900 --mc-samples 12000
# 다음 회차 추천(네트워크·텔레그램 없이 로컬만)
python final_practice.py --skip-data-crawl --skip-fetch-next --no-telegram
```
동일 환경을 셸 스크립트로: