Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -125,13 +125,14 @@ with gr.Blocks() as app:
|
|
| 125 |
""")
|
| 126 |
|
| 127 |
# Second Tab - Regression Playground
|
| 128 |
-
with gr.TabItem("
|
| 129 |
gr.Markdown("""
|
| 130 |
-
#
|
| 131 |
-
|
| 132 |
-
-
|
| 133 |
-
-
|
| 134 |
-
-
|
|
|
|
| 135 |
""")
|
| 136 |
|
| 137 |
with gr.Row():
|
|
|
|
| 125 |
""")
|
| 126 |
|
| 127 |
# Second Tab - Regression Playground
|
| 128 |
+
with gr.TabItem("Understanding Squares Error"):
|
| 129 |
gr.Markdown("""
|
| 130 |
+
# Understanding Least Squares Error
|
| 131 |
+
See how different lines affect the total squared error:
|
| 132 |
+
- The data shows the relationship between house area and price
|
| 133 |
+
- Try different slopes (m) and y-intercepts (b) for the line
|
| 134 |
+
- Watch how the squared errors (orange boxes) change
|
| 135 |
+
- Lower total squared error means a better fitting line
|
| 136 |
""")
|
| 137 |
|
| 138 |
with gr.Row():
|