0285a1c5fa317f895484fee620b0f0bbf3db2ae8
Ports the fix already applied to the sibling Lotto 6aus49 project. Since draws are i.i.d., only expected value (jackpot-sharing avoidance) is improvable, not hit probability. Replaces the ad-hoc "lucky numbers" list with empirically-documented picks, adds general arithmetic-progression detection (not just +1 consecutive pairs), and scores extreme odd/even splits higher (adjusted for 5 main numbers: distance from the 2.5 midpoint, not 3 as in the 6-number Lotto case). Deliberately omits a sum-near-mean component - testing against known overplayed combinations (1-2-3-4-5, 5-10-15-20-25) during the Lotto port showed it inverted the ranking for tightly clustered sequences. Raises popularity's weight in the quality score from 20% to 45% (main/euro/pattern/recency reduced accordingly), since those signals carry no real predictive value for hit probability. Also fixes _get_smart_euro_numbers(), which previously returned the literal same Euro-number pair for tips #1-3 every single run (top-2 AI predictions, no randomization) and had zero EV consideration. Now weighted-random across all 12 candidates with lucky numbers (3, 7) downweighted - deliberately more conservative than the main-number heuristic since 1-12 overlaps with calendar months and has no clear birthday-range split to exploit. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Eurojackpot Analyse & Generator
Sammlung von Python-Skripten zur Analyse von Eurojackpot-Daten und Generierung von Tipps basierend auf historischen Daten.
Verzeichnisstruktur
.
├── README.md # Diese Datei
├── data/ # Alle CSV-Dateien und Rohdaten
├── scripts/
│ ├── analysis/ # Analyse-Skripte
│ │ ├── bereichskombinationen_analyse.py
│ │ ├── eurojackpot_bereichsanalyse.py
│ │ ├── positionsanalyse.py
│ │ ├── simple_bereichsanalyse.py
│ │ └── treffer_analyse_umschluesselt.py
│ ├── generators/ # Tipp-Generatoren
│ │ ├── eurojackpot_generator.py
│ │ ├── optimized_eurojackpot_generator.py
│ │ ├── tipp_generator_nmmhh.py
│ │ ├── tipp_generator_nmmhh_v2.py
│ │ └── ultimate_ai_ml_eurojackpot_generator.py
│ └── utils/ # Hilfsskripte
│ ├── create_example_files.py
│ ├── eurojackpot_processor.py
│ ├── eurojackpot_processor_fixed.py
│ ├── eurojackpot_simple.py
│ └── zahlen_umschluesseln.py
├── results/ # Ausgabedateien und Grafiken
└── documentation/ # Alte Dokumentation
Voraussetzungen
pip install pandas numpy matplotlib scikit-learn
Verwendung
Analyse ausführen
cd scripts/analysis
python eurojackpot_bereichsanalyse.py
Tipps generieren
cd scripts/generators
python ultimate_ai_ml_eurojackpot_generator.py
Daten verarbeiten
cd scripts/utils
python eurojackpot_processor.py
Hauptkomponenten
Analyse-Skripte
- bereichskombinationen_analyse.py: Analysiert Zahlenbereiche in Kombinationen
- eurojackpot_bereichsanalyse.py: Detaillierte Bereichsanalyse mit Visualisierung
- positionsanalyse.py: Analysiert Zahlen nach Position
- treffer_analyse_umschluesselt.py: Trefferanalyse mit Umschlüsselung
Generatoren
- ultimate_ai_ml_eurojackpot_generator.py: ML-basierter Generator mit intelligentem Retraining
- optimized_eurojackpot_generator.py: Optimierter Generator mit mehreren Strategien
- tipp_generator_nmmhh.py: Generator basierend auf NMMHH-Prinzip
🤖 Automatisches ML-Retraining
Das System verwendet intelligentes Retraining:
- ✅ Automatische Erkennung: Prüft ob CSV neuer als ML-Cache
- ✅ Smart Caching: Nutzt Cache wenn Daten unverändert
- ✅ Auto-Retrain: Trainiert neu wenn neue Daten verfügbar
So funktioniert es:
- Nach
update_from_eurojackpot_zahlen_eu.pywird CSV aktualisiert - Beim nächsten Generator-Start: CSV-Timestamp > Cache-Timestamp
- ✅ Automatisches Retraining mit neuen Daten
- Neue ML-Modelle berücksichtigen aktuelle Ziehungen
Manuelles Cache-Löschen (falls nötig):
cd Eurojackpot
rm -rf cache/
python scripts/generators/ultimate_ai_ml_eurojackpot_generator.py
Utilities
- eurojackpot_processor.py: Verarbeitet und markiert Kombinationen
- zahlen_umschluesseln.py: Konvertiert Zahlenkombinationen
- create_example_files.py: Erstellt Testdaten
Datenformat
Die CSV-Dateien im data-Ordner folgen dem Format:
Zahl1,Zahl2,Zahl3,Zahl4,Zahl5,bereits_gezogen
1,2,3,4,5,0
5,12,23,34,45,1
Hinweise
- Eurojackpot: 5 aus 50 Zahlen + 2 aus 12 Eurozahlen
- Alle Kombinationen: ~139 Millionen Möglichkeiten
- Die Skripte benötigen ausreichend RAM für große Datenmengen
Weitere Dokumentation
Siehe documentation/README.md für die ursprüngliche Dokumentation.
Description
Analysiert Eurojackpot Ziehungen und generiert neue Tips auf Basis von ML
42 MiB
0 Stars
1 Watchers
0 Forks
Languages
Python
94.9%
Shell
5.1%