Eigenranking
(10 pts)
For this assignment, you'll use our Eigenranking technique to rank a small sports league. So here's your problem:
Use this webpage to generate some data for a league with five teams. Then, use this Python code to rank the teams. Report your results here.
Comments
My matrix was:
matrix = [
[0,2,1,2,4],
[4,0,4,4,2],
[4,2,0,1,2],
[3,2,4,0,4],
[4,1,4,4,0]
]
The ranking for my league is:
Team 2 is the best.
My team matrix: [
[0,3,3,2,2],
[4,0,1,3,1],
[1,4,0,4,2],
[2,1,3,0,2],
[3,1,4,2,0]
}
Team 3 had the highest rating at 0.48488.
My matrix was:
[0, 1, 3, 1, 2],
[2, 0, 1, 3, 1],
[2, 4, 0, 1, 3],
[2, 3, 1, 0, 1],
[4, 2, 2, 2, 0]
My ranking was:
My matrix is:
matrix = [
[0,3,4,1,3],
[4,0,1,3,4],
[4,3,0,4,4],
[4,1,4,0,2],
[2,4,3,4,0],
]
The ranking for my league is below. Team 3 is the highest ranked in the league.
My team matrix
[0,2,0,1,2,1,0,2],
[1,0,1,2,1,0,2,2],
[2,2,0,2,2,2,2,2],
[2,1,0,0,1,2,2,2],
[0,2,0,2,0,1,1,0],
[2,2,1,1,2,0,2,2],
[2,1,1,0,2,1,0,2],
[0,1,0,0,2,0,0,0]
Team 3 is the best
My matrix is
[0,4,2,2,4]
[3,0,1,4,4]
[1,2,0,1,2]
[2,2,4,0,1]
[4,2,4,3,0]
The ranking for the league is:
So team 1 is the best. Go team 1!!
My matrix was : [
[0,1,2,3,1],
[2,0,4,2,4],
[1,2,0,4,1],
[4,3,2,0,3],
[3,4,3,4,0] ]
Team 5 was the best.
My matrix was:
matrix = [
[0,1,4,3,3],
[2,0,2,4,3],
[3,3,0,3,2],
[2,1,1,0,2],
[3,1,3,1,0]
]
and my ranking was:
Team 3 was the best.
My team matrix: [
[0, 1, 1, 3, 1],
[2, 0, 2, 2, 2],
[3, 4, 0, 1, 4],
[1, 4, 1, 0, 2],
[4, 3, 2, 3, 0]
]
The ranking for the league was:
Team 3 was the best.
Here is my Matrix:
M=[
[0,4,1,2,3],
[4,0,2,1,4],
[3,4,0,4,4],
[1,3,2,0,2],
[3,4,3,1,0]
]
And here is my team ranking:
My matrix: [
[0,4,1,1,4],
[1,0,1,2,3],
[1,3,0,1,4],
[2,3,1,0,1],
[1,1,1,4,0]
]
Eigenranking:
Team 1 is the best.
My matrix is:
matrix = [
[0,4,2,1,4],
[4,0,2,3,1],
[3,1,0,3,2],
[1,1,1,0,4],
[4,4,1,2,0]
]
That means Team 1 was the best but doesn't look like it is by too much.
My matrix:[
[0, 4, 2, 2, 1],
[1, 0, 4, 4, 1],
[1, 3, 0, 4, 4],
[1, 3, 2, 0, 1],
[2, 1, 4, 1, 0]
]
Clearly, team 3 has the advantage. However, since this is bling archery, you can never tell who will pull out on top.
My matrix is
matrix = [
[0,1,3,2,4],
[2,0,2,2,2],
[3,1,0,1,3],
[4,4,3,0,3],
[2,4,4,4,0]
]
Team 5 was the best, followed very closely by team 4.
My Matrix was ;
matrix = [
[0,2,1,3,3],
[3,0,4,3,4],
[1,1,0,1,4],
[1,2,2,0,2],
[4,1,3,2,0]
]
Eigen Ranking ;
My best team being Team 2 by far.
My matrix was
matrix = [
[0, 4, 4, 4, 2],
[2, 0, 3, 4, 4],
[3, 1, 0, 3, 3],
[2, 1, 1, 0, 1],
[2, 3, 2, 2, 0]
]
The eigenranking was
And team 1 was the best.
My matrix was matrix = [
[0,2,4,1,1],
[1,0,3,2,1],
[3,4,0,1,2],
[1,3,3,0,4],
[4,3,1,4,0]
]
The eigen ranking was:
Team 5 was the best team.
My matrix was:
matrix = [
[0,3,3,3,1],
[2,0,3,1,3],
[3,3,0,3,1],
[4,1,1,0,4],
[1,1,3,4,0]
]
and the eigen ranking was:
Team 3 is barely ahead of team 1 by rounding. But otherwise these two teams are dead even for the best team.