Skip to content

Commit a2336c5

Browse files
committed
Update linear_regression.py
1 parent b8028bf commit a2336c5

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

range_regression/linear_regression.py

+9
Original file line numberDiff line numberDiff line change
@@ -187,6 +187,15 @@ def f(w):
187187

188188
data_x, data_y = read_data("data0.csv", x_num, y_num)
189189

190+
191+
# раскомментировать для расчета с интегральным показателем выгорания
192+
"""
193+
y_num = 1
194+
data_y = np.mean(data_y, axis=1).reshape(-1, 1)
195+
print(data_y)
196+
"""
197+
198+
190199
# статистика x_k
191200
data_size = data_x.shape[0]
192201
print(data_size)

0 commit comments

Comments
 (0)