Spaces:
Sleeping
Sleeping
Shafeek Saleem
commited on
Commit
·
d96d140
1
Parent(s):
aa539b7
ss
Browse files
pages/3_Training the Model.py
CHANGED
@@ -161,14 +161,20 @@ def step3_page():
|
|
161 |
cols = st.columns(2)
|
162 |
state = "splitting"
|
163 |
with cols[0]:
|
164 |
-
st.
|
165 |
st.dataframe(X)
|
166 |
-
with cols[
|
167 |
-
st.
|
168 |
st.dataframe(y)
|
169 |
else:
|
170 |
pass
|
171 |
|
|
|
|
|
|
|
|
|
|
|
|
|
172 |
|
173 |
# st.subheader("Step 3: Data Splitting")
|
174 |
# st.write(
|
|
|
161 |
cols = st.columns(2)
|
162 |
state = "splitting"
|
163 |
with cols[0]:
|
164 |
+
st.info("Let's display the Features!")
|
165 |
st.dataframe(X)
|
166 |
+
with cols[1]:
|
167 |
+
st.info("Let's display our Target variable")
|
168 |
st.dataframe(y)
|
169 |
else:
|
170 |
pass
|
171 |
|
172 |
+
if state == "splitting":
|
173 |
+
st.subheader("Step 3: Data Splitting")
|
174 |
+
st.write("Now let's split into training and testing sets. The training set is used to train the machine learning model, and the testing set is used to evaluate its performance.")
|
175 |
+
else:
|
176 |
+
pass
|
177 |
+
|
178 |
|
179 |
# st.subheader("Step 3: Data Splitting")
|
180 |
# st.write(
|