This Angular 17 app is designed to predict and select numbers based on historical data. It incorporates advanced probability-based logic and supports features like recency thresholds, weighted random selection, and ADA compliance.
Author: Jesse Reese
Website: https://jessereese.com/
LinkedIn: https://www.linkedin.com/in/jcreese/
Medium: https://medium.com/@Jesse_Reese
Github: https://github.com/messified
- Historical Data Analysis: Uses historical data to predict numbers based on patterns.
- Recency Threshold: Focuses on recent data to improve prediction accuracy.
- Weighted Random Selection: Prioritizes numbers based on their frequency and recency.
- ADA Compliance: Ensures accessibility for all users.
- Customizable Inputs: Allows users to define recency thresholds and other parameters.
Generates a complete number set starting with a user-selected first number. It predicts subsequent numbers based on historical data.
- Uses the first number as a starting point.
- Predicts the next numbers in sequence using weighted probability logic.
- Incorporates recency thresholds to prioritize recent trends.
An advanced function that selects the most probable number from a set based on:
- Frequency in historical data.
- Recency bias.
- Customizable recency threshold.
bestGuessSet
- Array of possible numbers.recencyThreshold
- Number of recent rows to consider from historical data.
Removes duplicate strings from an array to ensure unique values.
- Clone the repository:
git clone https://github.com/messified/play-generator.git
- Navigate to the project directory:
cd play-generator
- Install dependencies:
npm install
- Run the app:
ng serve
- Access the app in your browser at
http://localhost:4200
. - Input a starting number and customize parameters like recency thresholds.
- View the predicted number set and its probabilities.
- Modify the
historicalData
array in the service to include your data. - Adjust the recency threshold in
pickAdvancedProbabilityNumberWithRecency
as needed.
- Add a user-friendly interface for adjusting recency thresholds.
- Integrate machine learning models for advanced pattern recognition.
- Include time-based filtering for historical data.
This project is licensed under the MIT License.