Update app.py
Browse files
app.py
CHANGED
|
@@ -1,8 +1,4 @@
|
|
| 1 |
-
###
|
| 2 |
-
|
| 3 |
-
|
| 4 |
-
### CSCI 4750/5750: regression models
|
| 5 |
-
|
| 6 |
|
| 7 |
import gradio as gr
|
| 8 |
import matplotlib
|
|
@@ -194,7 +190,7 @@ input_slope_random = gr.Slider(-8, 8, step=0.5, value=-1, label='(Random) Slope'
|
|
| 194 |
|
| 195 |
input_gradients = gr.Checkbox(label="Apply Gradient Descent")
|
| 196 |
|
| 197 |
-
input_learningrate = gr.Slider(0,1, step=0.001, value=0.
|
| 198 |
input_iteration = gr.Slider(1, 1000, step=5, value=800, label='Iteration')
|
| 199 |
|
| 200 |
|
|
|
|
| 1 |
+
### ML Demo: regression models and gradient descent
|
|
|
|
|
|
|
|
|
|
|
|
|
| 2 |
|
| 3 |
import gradio as gr
|
| 4 |
import matplotlib
|
|
|
|
| 190 |
|
| 191 |
input_gradients = gr.Checkbox(label="Apply Gradient Descent")
|
| 192 |
|
| 193 |
+
input_learningrate = gr.Slider(0,1, step=0.001, value=0.01, label='Learning Rate')
|
| 194 |
input_iteration = gr.Slider(1, 1000, step=5, value=800, label='Iteration')
|
| 195 |
|
| 196 |
|