azizalto commited on
Commit
63d3b8b
1 Parent(s): b673599

header for sample run

Browse files
ml_algorithms/linear_regression_gradient_descent.py CHANGED
@@ -147,6 +147,7 @@ def interactive_run():
147
  X, y = random_data()
148
  theta = [0, 0] # initial values
149
  model = LinearRegressionGradient(theta)
 
150
  n = st.slider("Number of samples", min_value=10, max_value=200, step=10)
151
  if st.button("generate new data and solve"):
152
  X, y = random_data(n=n)
 
147
  X, y = random_data()
148
  theta = [0, 0] # initial values
149
  model = LinearRegressionGradient(theta)
150
+ mark("# Example")
151
  n = st.slider("Number of samples", min_value=10, max_value=200, step=10)
152
  if st.button("generate new data and solve"):
153
  X, y = random_data(n=n)