Skip to content

Commit ceddd50

Browse files
Fix linting and plotting issues
1 parent 8fd5329 commit ceddd50

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

machine_learning/linear_regression.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@
1717
# ]
1818
# ///
1919

20+
import matplotlib.pyplot as plt
2021
import httpx
2122
import numpy as np
22-
import matplotlib.pyplot as plt
2323

2424

2525
def collect_dataset():
@@ -181,7 +181,7 @@ def main():
181181
theta, err = run_linear_regression(data_x, data_y)
182182

183183
plot_regression(data_x, data_y, theta)
184-
plt_loss(err)
184+
plot_loss(err)
185185

186186
len_result = theta.shape[1]
187187
print("Resultant Feature vector : ")

0 commit comments

Comments
 (0)