eaglelandsonce commited on
Commit
de81b4d
·
verified ·
1 Parent(s): 8bd1220

Update pages/2_LinearRegression.py

Browse files
Files changed (1) hide show
  1. pages/2_LinearRegression.py +1 -1
pages/2_LinearRegression.py CHANGED
@@ -31,7 +31,7 @@ noise_level = st.sidebar.slider('Noise Level', 0.0, 1.0, 0.1, step=0.01)
31
  num_points = st.sidebar.slider('Number of Data Points', 10, 100, 50, step=5)
32
 
33
  # Generate data
34
- np.random.seed(0)
35
  x = np.linspace(0, 10, num_points).reshape(-1, 1).astype(np.float32)
36
  with torch.no_grad():
37
  x_tensor = torch.tensor(x)
 
31
  num_points = st.sidebar.slider('Number of Data Points', 10, 100, 50, step=5)
32
 
33
  # Generate data
34
+ np.random.seed(59)
35
  x = np.linspace(0, 10, num_points).reshape(-1, 1).astype(np.float32)
36
  with torch.no_grad():
37
  x_tensor = torch.tensor(x)