zmiana nazwy zmiennej

This commit is contained in:
s434695 2021-06-01 16:40:58 +02:00
parent 4ee3bf5ec8
commit 402c72b9ed

View File

@ -33,9 +33,9 @@ def weights(bw_manual, input_x, all_input_values ):
return w_row
def single_y_pred_gauss(bw_manual, input_x, iks, igrek):
w = weights(bw_manual, input_x, iks)
y_single = np.sum(np.dot(igrek,w))
def single_y_pred_gauss(bw_manual, input_x, x_values, y_values):
w = weights(bw_manual, input_x, x_values)
y_single = np.sum(np.dot(y_values,w))
return y_single
def epanechnikov_one(h, ker_x, xi):