Skip to content

Commit 3bea2fa

Browse files
authored
Update local_weighted_learning.py
1 parent 44ce050 commit 3bea2fa

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

machine_learning/local_weighted_learning/local_weighted_learning.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333

3434
import matplotlib.pyplot as plt
3535
import numpy as np
36-
36+
import seaborn as sns
3737

3838
def weight_matrix(point: np.ndarray, x_train: np.ndarray, tau: float) -> np.ndarray:
3939
"""
@@ -134,7 +134,7 @@ def load_data(
134134
Load data from seaborn and split it into x and y points
135135
>>> pass # No doctests, function is for demo purposes only
136136
"""
137-
import seaborn as sns
137+
138138

139139
data = sns.load_dataset(dataset_name)
140140
x_data = np.array(data[x_name])

0 commit comments

Comments
 (0)