Removed Other Solvers and Elastic Net
Browse files
app.py
CHANGED
|
@@ -140,14 +140,12 @@ The model is trained using the scikit-learn library, which provides a range of t
|
|
| 140 |
gr.Markdown("# Play with the parameters to see how the model changes")
|
| 141 |
|
| 142 |
gr.Markdown("## Solver and penalty")
|
| 143 |
-
|
| 144 |
gr.Markdown(
|
| 145 |
"""
|
| 146 |
Penalty | Solver
|
| 147 |
-------|---------------
|
| 148 |
-
l1 |
|
| 149 |
-
l2 |
|
| 150 |
-
elasticnet | saga
|
| 151 |
"""
|
| 152 |
)
|
| 153 |
|
|
@@ -163,10 +161,10 @@ The model is trained using the scikit-learn library, which provides a range of t
|
|
| 163 |
max_iter = gr.Slider(100, 1000, label="Max Iter", value=100, step=1)
|
| 164 |
|
| 165 |
penalty = gr.Dropdown(
|
| 166 |
-
["l1", "l2",
|
| 167 |
)
|
| 168 |
solver = gr.Dropdown(
|
| 169 |
-
["
|
| 170 |
label="Solver",
|
| 171 |
value="saga",
|
| 172 |
)
|
|
|
|
| 140 |
gr.Markdown("# Play with the parameters to see how the model changes")
|
| 141 |
|
| 142 |
gr.Markdown("## Solver and penalty")
|
|
|
|
| 143 |
gr.Markdown(
|
| 144 |
"""
|
| 145 |
Penalty | Solver
|
| 146 |
-------|---------------
|
| 147 |
+
l1 | saga
|
| 148 |
+
l2 | saga
|
|
|
|
| 149 |
"""
|
| 150 |
)
|
| 151 |
|
|
|
|
| 161 |
max_iter = gr.Slider(100, 1000, label="Max Iter", value=100, step=1)
|
| 162 |
|
| 163 |
penalty = gr.Dropdown(
|
| 164 |
+
["l1", "l2",], label="Penalty", value="l1"
|
| 165 |
)
|
| 166 |
solver = gr.Dropdown(
|
| 167 |
+
["saga"],
|
| 168 |
label="Solver",
|
| 169 |
value="saga",
|
| 170 |
)
|