elyor-ml commited on
Commit
6da2637
·
verified ·
1 Parent(s): fddbef7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -6
app.py CHANGED
@@ -125,13 +125,14 @@ with gr.Blocks() as app:
125
  """)
126
 
127
  # Second Tab - Regression Playground
128
- with gr.TabItem("Regression Playground"):
129
  gr.Markdown("""
130
- # Linear Regression Playground
131
- Explore how slope (m) and intercept (b) affect the line of best fit:
132
- - Enter data points in the table
133
- - Adjust the sliders to fit the line
134
- - Click Submit to see your attempt
 
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():