Update app.py
Browse files
app.py
CHANGED
|
@@ -1,5 +1,5 @@
|
|
| 1 |
### CSCI 4750/5750: regression models
|
| 2 |
-
|
| 3 |
|
| 4 |
import gradio as gr
|
| 5 |
import matplotlib
|
|
@@ -221,7 +221,7 @@ input_intercept = gr.inputs.Slider(1, 8, step=0.5, default=4, label='(Baseline)
|
|
| 221 |
input_slope = gr.inputs.Slider(-8, 8, step=0.5, default=2.8, label='(Baseline) Slope')
|
| 222 |
|
| 223 |
input_intercept_random = gr.inputs.Slider(-8, 8, step=0.5, default=-7.5, label='(Random) Intercept')
|
| 224 |
-
input_slope_random = gr.inputs.Slider(-8, 8, step=0.5, default=
|
| 225 |
|
| 226 |
input_gradients = gr.inputs.Checkbox(label="Apply Gradient Descent")
|
| 227 |
#input_gradients_type = gr.inputs.CheckboxGroup(['Batch GradientDescient', 'Stochastic GradientDescent', 'Mini-Batch GradientDescent'],label="Type of Gradient Descent")
|
|
|
|
| 1 |
### CSCI 4750/5750: regression models
|
| 2 |
+
### SLU-CS: Jie Hou
|
| 3 |
|
| 4 |
import gradio as gr
|
| 5 |
import matplotlib
|
|
|
|
| 221 |
input_slope = gr.inputs.Slider(-8, 8, step=0.5, default=2.8, label='(Baseline) Slope')
|
| 222 |
|
| 223 |
input_intercept_random = gr.inputs.Slider(-8, 8, step=0.5, default=-7.5, label='(Random) Intercept')
|
| 224 |
+
input_slope_random = gr.inputs.Slider(-8, 8, step=0.5, default=7.5, label='(Random) Slope')
|
| 225 |
|
| 226 |
input_gradients = gr.inputs.Checkbox(label="Apply Gradient Descent")
|
| 227 |
#input_gradients_type = gr.inputs.CheckboxGroup(['Batch GradientDescient', 'Stochastic GradientDescent', 'Mini-Batch GradientDescent'],label="Type of Gradient Descent")
|