Go to Post Just be yourself, be honest, and most importantly, be present. The best role models are the ones you can relate to. - Jessica Boucher [more]
Home
Go Back   Chief Delphi > FIRST > General Forum
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
Thread Tools Rate Thread Display Modes
  #16   Spotlight this post!  
Unread 31-03-2008, 12:28
Guy Davidson Guy Davidson is offline
Registered User
AKA: formerly sumadin
FRC #0008 (Paly Robotics)
Team Role: Alumni
 
Join Date: Mar 2005
Rookie Year: 2005
Location: Ra'anana, Israel
Posts: 660
Guy Davidson is a splendid one to beholdGuy Davidson is a splendid one to beholdGuy Davidson is a splendid one to beholdGuy Davidson is a splendid one to beholdGuy Davidson is a splendid one to beholdGuy Davidson is a splendid one to beholdGuy Davidson is a splendid one to beholdGuy Davidson is a splendid one to behold
Send a message via ICQ to Guy Davidson Send a message via AIM to Guy Davidson Send a message via MSN to Guy Davidson
Re: Offensive Power Rankings for 2008

Could you help me make sure I understand the linear algebra involved?

I understand that p is what we're looking to find, or the average number of points a team contributes per match. s and M we can calculate from the results coming from each regional. Since Mp = s, we can conclude that p = (M-1)s (where M-1 denotes M inverse). It seems to me from thinking about it that M is symmetric, and as such M = M-1. Is that actually the case?

I'll probably try to write a program to take a csv dump and spit out rankings if I understand the math.
__________________
Reply With Quote
  #17   Spotlight this post!  
Unread 31-03-2008, 14:01
Bongle's Avatar
Bongle Bongle is offline
Registered User
FRC #2702 (REBotics)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2002
Location: Waterloo
Posts: 1,069
Bongle has a reputation beyond reputeBongle has a reputation beyond reputeBongle has a reputation beyond reputeBongle has a reputation beyond reputeBongle has a reputation beyond reputeBongle has a reputation beyond reputeBongle has a reputation beyond reputeBongle has a reputation beyond reputeBongle has a reputation beyond reputeBongle has a reputation beyond reputeBongle has a reputation beyond repute
Send a message via MSN to Bongle
Re: Offensive Power Rankings for 2008

Quote:
Originally Posted by sumadin View Post
I understand that p is what we're looking to find, or the average number of points a team contributes per match. s and M we can calculate from the results coming from each regional. Since Mp = s, we can conclude that p = (M-1)s (where M-1 denotes M inverse). It seems to me from thinking about it that M is symmetric, and as such M = M-1. Is that actually the case?
M is indeed symmetric. M[i][j] indicates how many matches team i played with team j. Therefore, it makes sense that M[i][j] = M[j][i].

I don't think the inverse of a symmetric matrix is necessarily symmetric. The transpose of a symmetric matrix M would be equal to its non-transpose, but I don't think that carries for symmetry. To prove that M-1 is not necessarily equal to M for a symmetric matrix, just think of the symmetric matrix 2I, where I is the identity matrix.

If (M)-1 = (M) for symmetric matrices like you are proposing, and we know MM-1 = I for any matrix and its inverse, then (2I)(2I) must equal I, but this is not the case.

I didn't have to write the matrix solver myself, I used a library I found online. If there are any tricks it used, I'm not aware of them.
Reply With Quote
  #18   Spotlight this post!  
Unread 31-03-2008, 14:44
Guy Davidson Guy Davidson is offline
Registered User
AKA: formerly sumadin
FRC #0008 (Paly Robotics)
Team Role: Alumni
 
Join Date: Mar 2005
Rookie Year: 2005
Location: Ra'anana, Israel
Posts: 660
Guy Davidson is a splendid one to beholdGuy Davidson is a splendid one to beholdGuy Davidson is a splendid one to beholdGuy Davidson is a splendid one to beholdGuy Davidson is a splendid one to beholdGuy Davidson is a splendid one to beholdGuy Davidson is a splendid one to beholdGuy Davidson is a splendid one to behold
Send a message via ICQ to Guy Davidson Send a message via AIM to Guy Davidson Send a message via MSN to Guy Davidson
Re: Offensive Power Rankings for 2008

You're right. For some reason, I was thinking of the transpose rather than the inverse. I'll see how I handle the inversion of the matrix when I get there. In the meantime, I'm working through the easy stuff: reading the csv and making and populating s and M.
__________________
Reply With Quote
  #19   Spotlight this post!  
Unread 31-03-2008, 15:05
Mr. Lim Mr. Lim is offline
Registered User
AKA: Mr. Lim
no team
Team Role: Leadership
 
Join Date: Jan 2004
Rookie Year: 1998
Location: Toronto, Ontario
Posts: 1,125
Mr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond repute
Re: Offensive Power Rankings for 2008

Quote:
Originally Posted by sumadin View Post
It seems to me from thinking about it that M is symmetric, and as such M = M-1. Is that actually the case?
M is symmetric, but that doesn't mean M = M inverse.

Symmetry means that M = M transpose (flipped along the identity axis), which is different than M inverse.

It's easy to confuse the two (I remember doing that plenty of times, thank Ms. Martin).

Here's an example where M = M inverse, and you quickly see that M is definitely not symmetric:

Code:
|   9   5 | |   9   5 | - |   1   0 |
| -16  -9 | | -16  -9 | - |   0   1 |
__________________
In life, what you give, you keep. What you fail to give, you lose forever...
Reply With Quote
  #20   Spotlight this post!  
Unread 31-03-2008, 16:50
MCarron MCarron is offline
Registered User
FRC #0343
Team Role: Leadership
 
Join Date: Mar 2006
Rookie Year: 2000
Location: Seneca,South Carolina
Posts: 16
MCarron has a spectacular aura aboutMCarron has a spectacular aura aboutMCarron has a spectacular aura about
Re: Offensive Power Rankings for 2008

Just an FYI...all of the match data is NOT included from the Peachtree regional. The scoring system failed so all of the elimination matches and many of the qualifying matches from Saturday are not included. As an example...team 343 finished 12-4 at that regional. We are still shown as 5-3 on the Blue Alliance. That means there are eight matches not accounted for on us alone. That would/could be the same for many of the other teams who attended Peachtree.

Is there anybody that has that manual data? Can it be manually entered into the Blue Alliance?

Thanks,
Mike Carron
Team 343
Reply With Quote
  #21   Spotlight this post!  
Unread 31-03-2008, 17:00
Joe Ross's Avatar Unsung FIRST Hero
Joe Ross Joe Ross is offline
Registered User
FRC #0330 (Beachbots)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1997
Location: Los Angeles, CA
Posts: 8,600
Joe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond repute
Re: Offensive Power Rankings for 2008

Quote:
Originally Posted by MCarron View Post
Is there anybody that has that manual data?
See here: http://www.chiefdelphi.com/media/papers/2102
Reply With Quote
  #22   Spotlight this post!  
Unread 31-03-2008, 17:33
cziggy343's Avatar
cziggy343 cziggy343 is offline
cziggy343
AKA: Chris Z
FRC #0343 (Metal-in-Motion)
Team Role: Alumni
 
Join Date: Mar 2007
Rookie Year: 2000
Location: Clemson, SC
Posts: 680
cziggy343 has a reputation beyond reputecziggy343 has a reputation beyond reputecziggy343 has a reputation beyond reputecziggy343 has a reputation beyond reputecziggy343 has a reputation beyond reputecziggy343 has a reputation beyond reputecziggy343 has a reputation beyond reputecziggy343 has a reputation beyond reputecziggy343 has a reputation beyond reputecziggy343 has a reputation beyond reputecziggy343 has a reputation beyond repute
Send a message via AIM to cziggy343
Re: Offensive Power Rankings for 2008

Quote:
Originally Posted by Joe Ross View Post
but...was anyone planning on putting this manuel score on tba... b/c i have no way to do it...
__________________
Diamond Bullet Studios Co-Founder
http://www.dbsgames.net/index.php

Reply With Quote
  #23   Spotlight this post!  
Unread 31-03-2008, 22:23
Eugene Fang's Avatar
Eugene Fang Eugene Fang is offline
The Blue Alliance
no team
Team Role: Alumni
 
Join Date: Jan 2007
Rookie Year: 2000
Location: Bay Area, CA -> Pittsburgh, PA
Posts: 772
Eugene Fang has a reputation beyond reputeEugene Fang has a reputation beyond reputeEugene Fang has a reputation beyond reputeEugene Fang has a reputation beyond reputeEugene Fang has a reputation beyond reputeEugene Fang has a reputation beyond reputeEugene Fang has a reputation beyond reputeEugene Fang has a reputation beyond reputeEugene Fang has a reputation beyond reputeEugene Fang has a reputation beyond reputeEugene Fang has a reputation beyond repute
Re: Offensive Power Rankings for 2008

if there was a normally very high scoring team that happened to malfunction in a match where they were in your alliance, or was defended a lot in your particular round, wouldn't your score be highly skewed?
__________________
Eugene Fang
2010 Silicon Valley Regional Dean's List Finalist

Various FLL Teams - Student (2000-2006), Mentor (2007-2010)
FRC Team 604 - Student (2007-2010), Mentor/Remote Advisor (2011-2015)
FRC Team 1323 - Mentor/Remote Advisor (2011-2014)

The Blue Alliance | TBA GameDay | TBA Android App
Reply With Quote
  #24   Spotlight this post!  
Unread 31-03-2008, 23:04
Kyler's Avatar
Kyler Kyler is offline
Registered User
FRC #1625 (Winnovation)
 
Join Date: Aug 2006
Rookie Year: 2006
Location: Winnebago
Posts: 20
Kyler has a spectacular aura aboutKyler has a spectacular aura about
Re: Offensive Power Rankings for 2008

Okay, I have created a basic program to make the n X n matrix as defined in the post that sort of explains the rankings but what do I do from there? I am only in trig and we have definitely not learned that stuff with matrices. Can somebody give me an example of "M(k1)p(1)+M(k2)p(2)+...+M(kn)p(n) should equal s(k)" or clarify that please? Thanks!
Reply With Quote
  #25   Spotlight this post!  
Unread 31-03-2008, 23:18
fuzzy1718 fuzzy1718 is offline
MTU class of '15
no team
Team Role: Alumni
 
Join Date: Feb 2007
Rookie Year: 2007
Location: The UP and the LP, Michigan
Posts: 176
fuzzy1718 has a brilliant futurefuzzy1718 has a brilliant futurefuzzy1718 has a brilliant futurefuzzy1718 has a brilliant futurefuzzy1718 has a brilliant futurefuzzy1718 has a brilliant futurefuzzy1718 has a brilliant futurefuzzy1718 has a brilliant futurefuzzy1718 has a brilliant futurefuzzy1718 has a brilliant futurefuzzy1718 has a brilliant future
Re: Offensive Power Rankings for 2008

We were hevily defended all through GLR hurdling only 2-3 times a match where we usualy hurdle 4-6 times and at Detroit we were broken 3 of the matches, but we are still high on the list . That shouldn't effect it much.
__________________
What FIRST has taught me:

Money is not everything.

In order to change a culture one must change the hearts of the next generation.

The fish rots from the head down.

Why we do something is often more important than what we do.

Repeated success is often sown on the backs of a few, but reaped by many.
Reply With Quote
  #26   Spotlight this post!  
Unread 31-03-2008, 23:18
Guy Davidson Guy Davidson is offline
Registered User
AKA: formerly sumadin
FRC #0008 (Paly Robotics)
Team Role: Alumni
 
Join Date: Mar 2005
Rookie Year: 2005
Location: Ra'anana, Israel
Posts: 660
Guy Davidson is a splendid one to beholdGuy Davidson is a splendid one to beholdGuy Davidson is a splendid one to beholdGuy Davidson is a splendid one to beholdGuy Davidson is a splendid one to beholdGuy Davidson is a splendid one to beholdGuy Davidson is a splendid one to beholdGuy Davidson is a splendid one to behold
Send a message via ICQ to Guy Davidson Send a message via AIM to Guy Davidson Send a message via MSN to Guy Davidson
Re: Offensive Power Rankings for 2008

Quote:
Originally Posted by Kyler View Post
Okay, I have created a basic program to make the n X n matrix as defined in the post that sort of explains the rankings but what do I do from there? I am only in trig and we have definitely not learned that stuff with matrices. Can somebody give me an example of "M(k1)p(1)+M(k2)p(2)+...+M(kn)p(n) should equal s(k)" or clarify that please? Thanks!
From there you need to invert M and multiply it by s. The are libraries doing the first all over the internet - however, I do not know the algorithm they use. I know how to do it manually, but that would take way too much time for anything this scale.

Then you need to multiply M inverse by s. What you're looking to get out is another column vector, or list of numbers, similar to the one you have in s, although with different numbers. To do that, simply multiply each element in a column of M inverse (with a fixed row) by each element in the corresponding row in s (which has only one column). For example, to find the 10th element of p, or the average number of points contributed by the team in the 10th row, add up M(10,1)*s(1) + M(10,2)*s(2) + M(10,3)*s(3) + ...

Doing that for each row in M will get you p, the vector you're looking for.

If this didn't make much sense, look at http://mathdemos.gcsu.edu/mathdemos/matvec/matvec.html or http://en.wikipedia.org/wiki/Matrix_multiplication
__________________
Reply With Quote
  #27   Spotlight this post!  
Unread 01-04-2008, 00:46
Unsung FIRST Hero
Greg Marra Greg Marra is offline
[automate(a) for a in tasks_to_do]
FRC #5507 (Robotic Eagles)
Team Role: Mentor
 
Join Date: Oct 2004
Rookie Year: 2005
Location: San Francisco, CA
Posts: 2,031
Greg Marra has a reputation beyond reputeGreg Marra has a reputation beyond reputeGreg Marra has a reputation beyond reputeGreg Marra has a reputation beyond reputeGreg Marra has a reputation beyond reputeGreg Marra has a reputation beyond reputeGreg Marra has a reputation beyond reputeGreg Marra has a reputation beyond reputeGreg Marra has a reputation beyond reputeGreg Marra has a reputation beyond reputeGreg Marra has a reputation beyond repute
Re: Offensive Power Rankings for 2008

I added Peachtree missing matches to the database. I'll do another database dump after the NYC regional is finished. Thanks for pointing me to the data!
Reply With Quote
  #28   Spotlight this post!  
Unread 01-04-2008, 03:11
BornaE's Avatar
BornaE BornaE is offline
Registered User
FRC #0842 (Formerly 39)
Team Role: Engineer
 
Join Date: Jan 2007
Rookie Year: 2007
Location: Gilbert, Arizona
Posts: 359
BornaE has a brilliant futureBornaE has a brilliant futureBornaE has a brilliant futureBornaE has a brilliant futureBornaE has a brilliant futureBornaE has a brilliant futureBornaE has a brilliant futureBornaE has a brilliant futureBornaE has a brilliant futureBornaE has a brilliant futureBornaE has a brilliant future
Re: Offensive Power Rankings for 2008

Looks like the system is working well, but I think if we add a little to it it would work much better.

Right now it is set up to calculate the average points contributed to an alliance by one team. This method does not take care of the defence.

you guys who did the calculations, can you add defence to it as well.

so example:
Red Score = RedA_O + RedB_O + RedC_O - BlueA_D - BlueB_D - BlueC_D
then solve for Team_O which is the average points added to their alliance, and Team_D which is the average points one team take away from their Opponent's alliance.
__________________
-Borna Emami
Team 0x27
Reply With Quote
  #29   Spotlight this post!  
Unread 01-04-2008, 07:58
Kyler's Avatar
Kyler Kyler is offline
Registered User
FRC #1625 (Winnovation)
 
Join Date: Aug 2006
Rookie Year: 2006
Location: Winnebago
Posts: 20
Kyler has a spectacular aura aboutKyler has a spectacular aura about
Re: Offensive Power Rankings for 2008

Just a few questions left but the post above helped a bunch. Do i want M inverse or transverse? Also, do I want it to equal s and multiply by p or the other way around? Lastly, M(10,1)*s(1) + M(10,2)*s(2) + M(10,3)*s(3) Means to take whatever value is in the matrix at (10,1) and multiple by s and by 1 right? thanks!
Reply With Quote
  #30   Spotlight this post!  
Unread 01-04-2008, 11:52
neshera's Avatar
neshera neshera is offline
Nesher G. Asner
AKA: Nesher G. Asner
FRC #1625 (Winnovation)
Team Role: Parent
 
Join Date: Apr 2007
Rookie Year: 2007
Location: Winnebago, IL
Posts: 199
neshera has much to be proud ofneshera has much to be proud ofneshera has much to be proud ofneshera has much to be proud ofneshera has much to be proud ofneshera has much to be proud ofneshera has much to be proud ofneshera has much to be proud ofneshera has much to be proud of
Re: Offensive Power Rankings for 2008

Hey Kyler:
Do you want me to send a slide rule with Nathan tomorrow to help you out?
Nesher
__________________
Do not panic! All is well!
- Kevin Bacon in Animal House
Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
2006 Offensive Power Ratings sw293 General Forum 16 10-05-2006 17:04
Offense/Defense rankings for 1043 teams Bongle General Forum 21 06-04-2006 19:58
best offensive play thatphotochick General Forum 6 04-04-2006 20:35
Defensive or offensive? (to you) Andrew Blair Rules/Strategy 17 23-03-2005 15:09
Best Offensive Round archiver 2000 10 23-06-2002 22:37


All times are GMT -5. The time now is 10:24.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi