Closed Pringleman83 closed 5 years ago
Step 1 has been done, but still needs tweaking. It's currently a list of dictionaries (perfect!) but the dictionary for each game also has post game analysis keys which aren't required for predictions. They are present for the spreadsheet, but can be added during spreadsheet creation. I'll come back and resolve that part soon.
Step 1 is now done. The post game analysis keys are no longer included and are instead added to the spreadsheet dataframe.
A method of selecting appropriate functions is needed. A simple list may not suffice though as each prediction is likely to be a function itself and may also require different data.
The idea is still a work in progress.
The latest pull includes an option for selecting the algorithm used. It doesn't require a list of algorithms. It's just a simple menu that calls the relevant function based on the prediction method chosen.
This will most likely need improving at some stage, but I'm happy to close the issue for now as the vision I had in mind is achieved.
Set up a new prediction list standard (for storing predictions): [["Prediction name","Game Date", "Time", "Home Team", "Home Team Score", "Away Team", "Away Team Score", "Prediction Algorithm", "Data associated with this prediction"]]
Set up a list of prediction algorithms: ["Prediction name", "Prediction algorithm"]
Ask the user what algorithm to use when running predictions: