Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/yangboz/lotteryprediction
:full_moon_with_face: Lottery prediction besides of following "law of proability","Probability: Independent Events", there are still "Saying "a Tail is due", or "just one more go, my luck is due to change" is called The Gambler's Fallacy" existed.
https://github.com/yangboz/lotteryprediction
exploratory-data-analysis keras mine-data predictive-analytics scatter-plot series-analysis tensoflow time-series-analysis
Last synced: 6 days ago
JSON representation
:full_moon_with_face: Lottery prediction besides of following "law of proability","Probability: Independent Events", there are still "Saying "a Tail is due", or "just one more go, my luck is due to change" is called The Gambler's Fallacy" existed.
- Host: GitHub
- URL: https://github.com/yangboz/lotteryprediction
- Owner: yangboz
- License: other
- Created: 2011-06-15T04:22:30.000Z (over 13 years ago)
- Default Branch: master
- Last Pushed: 2024-03-29T09:18:56.000Z (9 months ago)
- Last Synced: 2024-12-08T07:51:43.684Z (14 days ago)
- Topics: exploratory-data-analysis, keras, mine-data, predictive-analytics, scatter-plot, series-analysis, tensoflow, time-series-analysis
- Language: Jupyter Notebook
- Homepage: http://yangboz.github.io/LotteryPrediction
- Size: 19 MB
- Stars: 272
- Watchers: 47
- Forks: 128
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Preface
Predicting is making claims about something that will happen, often based on information from past and from current state.
![Screenshot of "Prediction"](http://www.obitko.com/tutorials/neural-network-prediction/images/prediction.gif)Everyone solves the problem of prediction every day with various degrees of success. For example weather, harvest, energy consumption, movements of forex (foreign exchange) currency pairs or of shares of stocks, earthquakes, and a lot of other stuff needs to be predicted.
...now I am taking the course of Wharton's Business Analytics: From Data to Insights program!
Week 2: Module Introduction and Instructions
By the end of Week 2 - Descriptive Analytics: Describing and Forecasting Future Events, you should be able to:Use historical data to estimate forecasts for future events using trends and seasonality
Calculate the descriptive sample statistics for demand distributions
Discuss drawbacks of using Moving Averages Forecasting
Key Activities for Week 2
Videos 1-29
Practice Quiz 1: Newsvendor Concepts
Practice Quiz 2: Moving Averages
Practice Quiz 3: Trends and Seasonality
Week 2: Knowledge Check
Assignment 2: iD Fresh Food Case Study**Cotler Pricing Sheet**
*Effective Date: 1204/2023
| **Package** | **Features** | **Pricing** |
|----------------------------------|--------------------------------------------------------------------|--------------------------------|
| **Open Source** | - Basic analytics functionality | **Free** |
| | - GPTs free trail: [GPTs:https://chat.openai.com/gpts/editor/g-OtkLCltUZ] |
| | - Limited customization | |
|----------------------------------|--------------------------------------------------------------------|--------------------------------|
| **Low-Cost, Low-Accuracy** | - Enhanced prediction capabilities | **$9.99/month** |
| | - Email support [email protected] or WeChat ID zhenglw532
| | - Limited precision |
| | - Suitable for small-scale projects | |
|----------------------------------|--------------------------------------------------------------------|--------------------------------|
| **Mid-High Cost, SOTA Accuracy** | - State-of-the-art prediction accuracy | **$49.99/month** |
| | - Priority email and chat support | |
| | - High precision and customization options | |
| | - Suitable for medium to large-scale projects | |
|----------------------------------|--------------------------------------------------------------------|--------------------------------|
| **Enterprise Custom Solutions** | - Tailored solutions for specific business needs | **Contact Us for a Quote** |
| | - Dedicated account manager and premium support | mailto [email protected] |
| | - Advanced machine learning models | |
| | - Scalable infrastructure for high-demand applications | |**Notes:**
- All prices are listed on a per-month basis.
- Custom enterprise solutions are available upon request; please contact our sales team for detailed discussions.
- Prices are subject to change; please refer to our website or contact our sales team for the most up-to-date information.For inquiries or to subscribe to a plan, please contact our sales team [email protected].
## Train the model:
Use the training data to train the model, adjusting the model's parameters as needed to improve its accuracy.
## the model predict:
Use the testing data to evaluate the model's performance and fine-tune it as needed.
Deploy the model: Deploy the trained model in a production environment, where it can be used to analyze real-time lottery data and make predictions about future draws.This is just one possible approach to building an AI transformer architecture model for time-series lottery data analytics.
There may be other approaches that could also be effective, depending on the specific requirements and constraints of the project.
## data Visualize examples:
### using Flash
![Screenshot of "LotteryPrediction"](https://raw.githubusercontent.com/yangboz/LotteryPrediction/master/dataV/Flex/src/assets/screenshots/lp.jpg)
![Screenshot of "LotteryPrediction"](https://raw.githubusercontent.com/yangboz/LotteryPrediction/master/dataV/Flex/src/assets/screenshots/lp_time_slice.jpg)
![Screenshot of "LotteryPrediction"](https://raw.githubusercontent.com/yangboz/LotteryPrediction/master/dataV/Flex/src/assets/screenshots/lp_time_slice_compare.jpg)## data visualization
## using fbProphet:
![fbProphet](https://raw.githubusercontent.com/yangboz/LotteryPrediction/master/dataV/python/fbProphet.jpg)
![darts](https://raw.githubusercontent.com/yangboz/LotteryPrediction/master/dataV/python/darts.jpg)## todos:
streamlit: https://docs.streamlit.io/en/stable/api.html#display-dataplotly:https://plotly.com/python/time-series/
# Live Demos
https://yangboz.github.io/labs/lp/LotteryPrediction_AmCharts_R.swf
https://yangboz.github.io/labs/lp/LotteryPrediction_AmCharts_RCX.swf
https://yangboz.github.io/labs/lp/LotteryPrediction_FlexCharts.swf## notes
besides of following "law of proability","Probability: Independent Events", there are still "Saying "a Tail is due", or "just one more go, my luck is due to change" is called The Gambler's Fallacy" existed.
here we are not garantee to help with you to win lottery prize. if you got lucky from here. please donate here, we also donate to charities.
## Please donate to ETH: 0xa45542927c06591a224c28ca3596a3bD56C499fb
[howto install and use it?]https://github.com/yangboz/LotteryPrediction/wiki#how-can-i-install-and-use-it
first of first, we can not grantee 100% of prediction accuracy to your get rich dream.
## custom company service mailto: [email protected], with your sample history lottery-data, and must have plain text of game-rule's introduction.## Refs:
http://deeplearning4j.org/usingrnns.html
http://www.scriptol.com/programming/list-algorithms.php
http://www.ipedr.com/vol25/54-ICEME2011-N20032.pdf
http://www.brightpointinc.com/flexdemos/chartslicer/chartslicersample.html
http://stats.stackexchange.com/questions/68662/using-deep-learning-for-time-series-prediction
[Python logutils](https://code.google.com/p/logutils/)
[Python data analysis_pandas](http://pandas.pydata.org/)
[Python data minning_orange](http://orange.biolab.si/)
[Python data-mining and pattern recognition packages](http://www.researchpipeline.com/wordpress/2011/02/15/python-data-mining-packages/)
[Python Machine Learning Packages](http://web.media.mit.edu/~stefie10/technical/pythonml.html)
[Conference on 100 YEARS OF ALAN TURING AND 20 YEARS OF SLAIS](http://ailab.ijs.si/dunja/TuringSLAIS-2012/)
[USA Draft Lottery 1970](http://lib.stat.cmu.edu/DASL/Stories/DraftLottery.html )
[Python Scikit-Learn](http://scikit-learn.org/)
[Python Multivarite Pattern Analysis](http://www.pymvpa.org/)
[BigML](https://bigml.com)
[Patsy](http://patsy.readthedocs.org)
[StatModel](http://statsmodels.sourceforge.net/)
[Neural Lotto — Lottery Drawing Predicting Method](http://www.neural-lotto.net/index.php/en/)
[Random.org](http://www.random.org/clients/http/)
[Predictive Analytics Guide](http://www.predictiveanalyticsworld.com/predictive_analytics.php)
[TensorFlow Tutorial for Time Series Prediction:] (https://github.com/tgjeon/TensorFlow-Tutorials-for-Time-Series)# Roadmap:
## landing page:
## PoCs
https://github.com/yangboz/LotteryPrediction/tree/master/pocs
## API public service:
## Phase I.Graphics: Looking at Data;
1.A single variable:Shape and Distribution; ( Dot/Jitter plots,Histograms and Kernel Density Estimates,Cumulative Distribution Function,Rank-Order...)
2.Two variables:Establishing Relationships; ( Scatter plots,Conquering Noise,Logarithmic Plots,Banking...)
3.Time as a variable: Time-Series Analysis; (Smoothing,Correlation,Filters,Convolutions..)
4.More than two variables;Graphical Multivariate Analysis;(False-color Plots,Multi plots...)
5.Intermezzo:A Data Analysis Session;(Session,gnuplot..)
6...
## Phase II.Analytics: Modeling Data;
1.Guesstimation and the back of envelope;
2.Models from scaling arguments;
3.Arguments from probability models;
4...
## Phase III.Computation: Mining Data;
1.Simulations;
2.Find clusters;
3.Seeing the forest for the decision trees;
4....
## Phase IV.Applications: Using Data;
1.Reporting, BI (Business Intelligence),Dashboard;
2.Financial calculations and modeling;
3.Predictive analytics;
4....
=======
# Draft planPhase I.Graphics: Looking at Data;
1.A single variable:Shape and Distribution; ( Dot/Jitter plots,Histograms and Kernel Density Estimates,Cumulative Distribution Function,Rank-Order...)
2.Two variables:Establishing Relationships; ( Scatter plots,Conquering Noise,Logarithmic Plots,Banking...)
3.Time as a variable: Time-Series Analysis; (Smoothing,Correlation,Filters,Convolutions..)
4.More than two variables;Graphical Multivariate Analysis;(False-color Plots,Multi plots...)
5.Intermezzo:A Data Analysis Session;(Session,gnuplot..)
6...
Phase II.Analytics: Modeling Data;
1.Guesstimation and the back of envelope;
2.Models from scaling arguments;
3.Arguments from probability models;
4...
Phase III.Computation: Mining Data;
1.Simulations;
2.Find clusters;
3.Seeing the forest for the decision trees;
4....
Phase IV.Applications: Using Data;
1.Reporting, BI (Business Intelligence),Dashboard;
2.Financial calculations and modeling;
3.Predictive analytics;
4....
# TODO:
fbprophet model finetune: https://facebook.github.io/prophet/docs/quick_start.html
## ChatGPT
according to ChatGPT's advice:
Writing a lottery prediction program can be a challenging task as it involves analyzing past lottery results, identifying patterns, and using statistical techniques to make predictions about future draws.Here are some steps you can follow to write a lottery prediction program:
Collect data: Gather a large dataset of past lottery results, including the numbers drawn and the date of the draw.
Preprocess data: Clean and organize the data to remove any errors or inconsistencies.
Analyze data: Use statistical techniques such as frequency analysis, clustering, and regression to identify patterns and trends in the data.
Build a model: Use the insights gained from the data analysis to build a predictive model that can make predictions about future lottery draws.
Test the model: Use the model to make predictions on a separate dataset of past lottery results and evaluate its performance.
Fine-tune the model: If necessary, make adjustments to the model based on the results of the testing phase to improve its accuracy.
Implement the program: Write the code for the lottery prediction program, including any necessary user interfaces and input/output mechanisms.
It is important to note that the accuracy of a lottery prediction program
will depends on the quality of the data,
the complexity of the model,
and the skill of the developer.
There is no guarantee that a lottery prediction program will be successful,
and using such a program for financial gain may not be legal in some jurisdictions.
## References
TensorFlow Tutorial for Time Series Prediction: https://github.com/tgjeon/TensorFlow-Tutorials-for-Time-SeriesTime Series Forecasting made easy with Darts
https://unit8co.github.io/darts/#:~:text=darts%20is%20a%20Python%20library,%2C%20similar%20to%20scikit%2Dlearn.
ETSformer: Exponential Smoothing Transformers for Time-Series Forecasting
https://blog.salesforceairesearch.com/etsformer-time-series-forecasting/
## papers
https://www.datascience.us/predicting-success-in-lottery-with-deep-learning/
## free version support and trail
https://github.com/yangboz/LotteryPrediction/wiki
## Commercial support and training
Commercial support and training is available , please mailto [email protected] or WeChat ID zhenglw532
with your historic-data and plain english description and budget plan 10$~50$ PER CASE .##
## verify WIP
Transformer way: https://github.com/yangboz/Informer2020?tab=readme-ov-file
LLM way: https://github.com/KimMeen/Time-LLM/tree/main/scripts