質問編集履歴
3
誤字
title
CHANGED
File without changes
|
body
CHANGED
@@ -84,7 +84,7 @@
|
|
84
84
|
power_nor= mm.fit_transform(power) # 正規化
|
85
85
|
power_s = power_nor*10 # Maxを10に変更
|
86
86
|
# Select player
|
87
|
-
power_s1 =
|
87
|
+
power_s1 = power_s["Player1"]
|
88
88
|
|
89
89
|
labels = ["POWER","Score2","Score3", "Score4","Score5"]
|
90
90
|
values = [power_s1, 6, 7, 8,4] #※ほかの値は確認用のサンプル。途中です。
|
2
誤字
title
CHANGED
File without changes
|
body
CHANGED
@@ -85,26 +85,6 @@
|
|
85
85
|
power_s = power_nor*10 # Maxを10に変更
|
86
86
|
# Select player
|
87
87
|
power_s1 = dfx["Player1"]
|
88
|
-
if power_s>=90:
|
89
|
-
power_s1=10
|
90
|
-
elif power_s>=80:
|
91
|
-
power_s1=9
|
92
|
-
elif power_s>=70:
|
93
|
-
power_s1=8
|
94
|
-
elif power_s>=60:
|
95
|
-
power_s1=7
|
96
|
-
elif power_s>=50:
|
97
|
-
power_s1=6
|
98
|
-
elif power_s>=40:
|
99
|
-
power_s1=5
|
100
|
-
elif power_s>=30:
|
101
|
-
power_s1=4
|
102
|
-
elif power_s>=20:
|
103
|
-
power_s1=3
|
104
|
-
elif power_s>=10:
|
105
|
-
power_s1=2
|
106
|
-
else:
|
107
|
-
power_s1=1
|
108
88
|
|
109
89
|
labels = ["POWER","Score2","Score3", "Score4","Score5"]
|
110
90
|
values = [power_s1, 6, 7, 8,4] #※ほかの値は確認用のサンプル。途中です。
|
1
誤字
title
CHANGED
File without changes
|
body
CHANGED
@@ -76,7 +76,7 @@
|
|
76
76
|
dfx.columns = [" ".join(pair) for pair in dfx.columns]
|
77
77
|
# Define indicators
|
78
78
|
|
79
|
-
|
79
|
+
# 正規化
|
80
80
|
from sklearn import preprocessing
|
81
81
|
# POWER
|
82
82
|
power = dfx["Speed 90th"]
|
@@ -104,7 +104,7 @@
|
|
104
104
|
elif power_s>=10:
|
105
105
|
power_s1=2
|
106
106
|
else:
|
107
|
-
power_s1=1
|
107
|
+
power_s1=1
|
108
108
|
|
109
109
|
labels = ["POWER","Score2","Score3", "Score4","Score5"]
|
110
110
|
values = [power_s1, 6, 7, 8,4] #※ほかの値は確認用のサンプル。途中です。
|