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

Playoff Win percentages and bracket recognition #3

Closed BruceJohnJennerLawso closed 8 years ago

BruceJohnJennerLawso commented 8 years ago

Want to set up to retrieve the playoff win percentages so that we can do the correlation tests between all the team stats and winning in the playoffs.

Two steps: -Needs to be able to recognize which teams are in the top playoff bracket (bottom bracket teams do play playoffs, but win percentages arent representative there). Probably a good way of doing this would be a sort after loadTierI(...) that sorts the list by the criteria that waterloo intramurals uses (points, SOC, then goals for I think?) -Needs to scrape out the actual win percentages themselves. This should be the easy part, since we just have to step through playoff games and count win results, pretty simple

BruceJohnJennerLawso commented 8 years ago

Seasons now have teams sorted by the ranking system as best as I understand it, and getSeasonRank() returns final standings position.

Next we need to find a way of grouping standings positions together into playoff brackets

ie

[1, 8, 2, 7, 3, 6, 4, 5]

and

[9, 12, 10, 11]

BruceJohnJennerLawso commented 8 years ago

ie

[[1, 8, 2, 7, 3, 6, 4, 5], [9, 12, 10, 11]]

BruceJohnJennerLawso commented 8 years ago

bracket recognition is done, just need to get the playoff win percentages

BruceJohnJennerLawso commented 8 years ago

Playoff Win Percentages work now.