Skip to content

Commit 42ee813

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 3bea2fa commit 42ee813

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

machine_learning/local_weighted_learning/local_weighted_learning.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@
3535
import numpy as np
3636
import seaborn as sns
3737

38+
3839
def weight_matrix(point: np.ndarray, x_train: np.ndarray, tau: float) -> np.ndarray:
3940
"""
4041
Calculate the weight of every point in the training data around a given
@@ -135,7 +136,6 @@ def load_data(
135136
>>> pass # No doctests, function is for demo purposes only
136137
"""
137138

138-
139139
data = sns.load_dataset(dataset_name)
140140
x_data = np.array(data[x_name])
141141
y_data = np.array(data[y_name])

0 commit comments

Comments
 (0)