RAPM Python HOWTO

142 views
Skip to first unread message

Evan Zamir

unread,
Feb 23, 2015, 8:48:36 PM2/23/15
to nba...@googlegroups.com
I wrote up a little mini-tutorial on how to go about calculating RAPM using the Python library scikit-learn:


Thought you folks would be interested.

Galin Dragiev

unread,
Feb 23, 2015, 8:50:29 PM2/23/15
to Evan Zamir, nba...@googlegroups.com
I only skimmed through it partially but it looked awesome Evan.  I'll try to do it myself after SLOAN, great work!

--
You received this message because you are subscribed to the Google Groups "nbawowy forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to nbawowy+u...@googlegroups.com.
To post to this group, send email to nba...@googlegroups.com.
Visit this group at http://groups.google.com/group/nbawowy.
To view this discussion on the web visit https://groups.google.com/d/msgid/nbawowy/c7a4a542-115c-4152-91b4-e8984b412582%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Nicholas Restifo

unread,
Feb 23, 2015, 8:54:39 PM2/23/15
to nba...@googlegroups.com

Seth Partnow

unread,
Feb 23, 2015, 8:59:08 PM2/23/15
to Nicholas Restifo, nba...@googlegroups.com
It's NBA analytics DIY week! (Definitely a good thing)


Tom Pestak

unread,
Feb 23, 2015, 8:59:16 PM2/23/15
to Nicholas Restifo, nba...@googlegroups.com
That's great - thanks Evan.

What's the most number of seasons you were able to invert with this approach?

Even with 32GB of memory I ran out when trying 2002-2014.  And trying even 5-years took something like 28 hours.  But I didn't group stints, I did each possession individually.

Harrison Brown

unread,
Feb 23, 2015, 9:13:18 PM2/23/15
to Evan Zamir, nba...@googlegroups.com
Now I have one fewer excuse for not doing this... thanks a lot, Evan!

(/s. except seriously thanks this is awesome)

On Mon, Feb 23, 2015 at 8:48 PM, Evan Zamir <zamir...@gmail.com> wrote:

--

Nik Oza

unread,
Feb 23, 2015, 10:50:03 PM2/23/15
to Harrison Brown, Evan Zamir, nba...@googlegroups.com
You can always run it on an Amazon server so it doesn't take your computer out of commission for 20+ hours.


For more options, visit https://groups.google.com/d/optout.



--
Nik Oza
Georgetown University '16

Founder and President
Georgetown Sports Analysis, Business and Research Group
Blog | Twitter | Facebook

Evan Zamir

unread,
Feb 24, 2015, 1:23:14 PM2/24/15
to nba...@googlegroups.com, the.h...@gmail.com, zamir...@gmail.com
Just published 2.5 year RAPM. That's as far back as my database goes.



On Monday, February 23, 2015 at 7:50:03 PM UTC-8, nbo2 wrote:
You can always run it on an Amazon server so it doesn't take your computer out of commission for 20+ hours.
On Mon, Feb 23, 2015 at 9:13 PM, Harrison Brown <the.h...@gmail.com> wrote:
Now I have one fewer excuse for not doing this... thanks a lot, Evan!

(/s. except seriously thanks this is awesome)
On Mon, Feb 23, 2015 at 8:48 PM, Evan Zamir <zamir...@gmail.com> wrote:
I wrote up a little mini-tutorial on how to go about calculating RAPM using the Python library scikit-learn:


Thought you folks would be interested.

--
You received this message because you are subscribed to the Google Groups "nbawowy forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to nbawowy+unsubscribe@googlegroups.com.

To post to this group, send email to nba...@googlegroups.com.
Visit this group at http://groups.google.com/group/nbawowy.
To view this discussion on the web visit https://groups.google.com/d/msgid/nbawowy/c7a4a542-115c-4152-91b4-e8984b412582%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "nbawowy forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to nbawowy+unsubscribe@googlegroups.com.

To post to this group, send email to nba...@googlegroups.com.
Visit this group at http://groups.google.com/group/nbawowy.
Reply all
Reply to author
Forward
0 new messages