Shamima commited on
Commit
d60dc04
·
1 Parent(s): 8cbbdae

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -35,7 +35,7 @@ def predict(alpha):
35
  plt.xlabel("X")
36
  return plt
37
 
38
- inputs = gr.Slider(-10, 20, label='alpha', default=1)
39
  outputs = gr.Plot()
40
  title = "Effect of regularization using Ridge regression"
41
  description = "Alpha is the regularization parameter which basically restricts model. The idea is that using regularization the model even if performs poorly on the training data, it would provide a better fit for generalizing data. Try out yourself by increasing or decreasing the value of alpha."
 
35
  plt.xlabel("X")
36
  return plt
37
 
38
+ inputs = gr.Slider(0, 20, label='alpha', default=1)
39
  outputs = gr.Plot()
40
  title = "Effect of regularization using Ridge regression"
41
  description = "Alpha is the regularization parameter which basically restricts model. The idea is that using regularization the model even if performs poorly on the training data, it would provide a better fit for generalizing data. Try out yourself by increasing or decreasing the value of alpha."