Skip to content

Commit f57f406

Browse files
authored
Replace httpx with httpx2 in ridge_regression.py
1 parent 44122d0 commit f57f406

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

machine_learning/ridge_regression.py

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

2828
from dataclasses import dataclass
2929

30-
import httpx
30+
import httpx2
3131
import numpy as np
3232

3333

@@ -139,7 +139,7 @@ def mean_absolute_error(predicted: np.ndarray, actual: np.ndarray) -> float:
139139

140140
def collect_dataset() -> np.matrix:
141141
"""Fetch the ADR vs Rating CSV used in the repo's linear regression demo."""
142-
response = httpx.get(
142+
response = httpx2.get(
143143
"https://raw.githubusercontent.com/yashLadha/The_Math_of_Intelligence/"
144144
"master/Week1/ADRvsRating.csv",
145145
timeout=10,

0 commit comments

Comments
 (0)