Update app.py
Browse files
app.py
CHANGED
|
@@ -29,7 +29,7 @@ def train_and_plot(weights, n_neighbors):
|
|
| 29 |
|
| 30 |
with gr.Blocks() as demo:
|
| 31 |
link = "https://scikit-learn.org/stable/auto_examples/neighbors/plot_regression.html#sphx-glr-auto-examples-neighbors-plot-regression-py"
|
| 32 |
-
gr.Markdown("## Nearest Neighbors
|
| 33 |
gr.Markdown(f"This demo is based on this [scikit-learn example]({link}).")
|
| 34 |
gr.HTML("<hr>")
|
| 35 |
gr.Markdown("In this demo, we learn a noise-infused sine function using k-Nearest Neighbor and observe how the function learned varies as we change the following hyperparameters:")
|
|
|
|
| 29 |
|
| 30 |
with gr.Blocks() as demo:
|
| 31 |
link = "https://scikit-learn.org/stable/auto_examples/neighbors/plot_regression.html#sphx-glr-auto-examples-neighbors-plot-regression-py"
|
| 32 |
+
gr.Markdown("## Nearest Neighbors Regression")
|
| 33 |
gr.Markdown(f"This demo is based on this [scikit-learn example]({link}).")
|
| 34 |
gr.HTML("<hr>")
|
| 35 |
gr.Markdown("In this demo, we learn a noise-infused sine function using k-Nearest Neighbor and observe how the function learned varies as we change the following hyperparameters:")
|