Last active
April 23, 2018 01:32
-
-
Save henryrossiter/9fa8a4ea568c3aea561e2cce989b2371 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
stats = csvread('training_data.csv',1,0); | |
tourney_wins = stats(:, 1); | |
season_games = stats(:, 3); | |
season_win_pct = stats(:, 4); | |
season_ppg = stats(:, 5); | |
const = ones(size(tourney_wins)); | |
facs = horzcat(season_win_pct,season_games,season_ppg,const); | |
beta = mvregress(facs,tourney_wins,'algorithm','cwls'); | |
beta |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment