BruceJohnJennerLawso / scrap

Hockey stats analysis done by scraping the data to a csv file, then processing/analyzing them with more python.
3 stars 0 forks source link

Create task script that auto-builds a model for specified stat #112

Open BruceJohnJennerLawso opened 7 years ago

BruceJohnJennerLawso commented 7 years ago

Wading through graphs output by readata.py isnt very time efficient. Would be better for a script to automatically run linear regressions, then regressions on the first set of models against other parameters, build up a bunch of those models, sort the models by r^2/under 0.05 and print to console.

Actually now that I described it, thats probably going to be fairly slow anyways, but it wastes less of my time. Models should probably be their own object, with a base stat to build from, followed by a list of 2 lists with the stat id, followed by its weight.

Ahh, hmm