Hem345 commited on
Commit
a04e5ae
·
verified ·
1 Parent(s): 059da41

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -4
app.py CHANGED
@@ -17,16 +17,18 @@ def perform_linear_regression(X, Y):
17
  return slope, intercept
18
 
19
  # Streamlit interface
20
- st.title("Linear Regression App")
21
- st.subheader("Input vectors X and Y")
 
 
22
 
23
  # Create two columns
24
  col1, col2 = st.columns(2)
25
 
26
  # Input fields for vectors X and Y in the first column
27
  with col1:
28
- x_input = st.text_input("X values (comma-separated)", "0.0, 0.0, 0.0")
29
- y_input = st.text_input("Y values (comma-separated)", "0.0, 0.0, 0.0")
30
 
31
  # Parse the input strings into lists of floats
32
  try:
 
17
  return slope, intercept
18
 
19
  # Streamlit interface
20
+ st.title("Linear Regression Visualization")
21
+ st.subheader("Please Input vectors X and Y and see the points in Graph")
22
+ st.subheader("Observe Slope and Intercept values below")
23
+ st.subheader("Developed by Dr.Hemprasad Yashwant Patil, SENSE, VIT Vellore")
24
 
25
  # Create two columns
26
  col1, col2 = st.columns(2)
27
 
28
  # Input fields for vectors X and Y in the first column
29
  with col1:
30
+ x_input = st.text_input("X values (comma-separated)", "0, 0, 0")
31
+ y_input = st.text_input("Y values (comma-separated)", "0, 0, 0")
32
 
33
  # Parse the input strings into lists of floats
34
  try: