Application that uses predictive modeling to predict the outcome for various NHL awards.
The program initially formats data from past years using Pandas dataframes. It then uses a MultiOutput Regressor from Sci-Kit Learn to train the formatted data. Then the model is tested with new data. After this is completed, the data from the current year is gathered and the program runs through each player to determine who is the closest to meeting the predicted criteria for an award, and it outputs the top 5 closest players.
Ensure you are in the src directory and have flask installed. Then enter the command:
flask run
Then using Postman, or something similar, connect to localhost:3001, with a GET flag. The endpoint is "localhost:3001/api/{award}. When running replace award with any of the following: hart, norris, art_ross, rocket_richard.