Skip to content

Commit

Permalink
Update uwTOPSIS.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Aaron-AALG authored Jun 16, 2021
1 parent 81aa8e0 commit ddfe009
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion uwTOPSIS/uwTOPSIS.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,6 @@ def distance(x, v, p):
return d

def R(data, Ideal, Antiideal, p):
# ????? Introduce data[i] instead of the loop ?????
d_Ideal = array([distance(x, Ideal, p) for x in data])
d_Antiideal = array([distance(x, Antiideal, p) for x in data])
R = d_Antiideal/(d_Ideal + d_Antiideal)
Expand Down

0 comments on commit ddfe009

Please sign in to comment.