Spaces:
Sleeping
Sleeping
Jayabalambika
commited on
Commit
•
84a759a
1
Parent(s):
a24c6bc
Update app.py
Browse filesIncorporated review comments
app.py
CHANGED
@@ -59,7 +59,13 @@ title = "SGD Penalties"
|
|
59 |
|
60 |
with gr.Blocks(title=title) as demo:
|
61 |
gr.Markdown(f"# {title}")
|
62 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
63 |
|
64 |
gr.Markdown(" **[Demo is based on sklearn docs](https://scikit-learn.org/stable/auto_examples/linear_model/plot_sgd_penalties.html#sphx-glr-auto-examples-linear-model-plot-sgd-penalties-py)**")
|
65 |
|
|
|
59 |
|
60 |
with gr.Blocks(title=title) as demo:
|
61 |
gr.Markdown(f"# {title}")
|
62 |
+
gr.Markdown(
|
63 |
+
"""
|
64 |
+
### The plot shows the contours of L1, L2 and Elastic Net regularizers.
|
65 |
+
### The value of penalties is equal to 1 in all of them.
|
66 |
+
### L2 regularizer is used for linear SVM models, L1 and elastic net brings sparsity in the models
|
67 |
+
### SGDClassifier and SGDRegressor support all of the above.
|
68 |
+
""")
|
69 |
|
70 |
gr.Markdown(" **[Demo is based on sklearn docs](https://scikit-learn.org/stable/auto_examples/linear_model/plot_sgd_penalties.html#sphx-glr-auto-examples-linear-model-plot-sgd-penalties-py)**")
|
71 |
|