Yashvj123 commited on
Commit
7b920f5
·
verified ·
1 Parent(s): 4863220

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -32
app.py CHANGED
@@ -108,6 +108,7 @@ if st.session_state.current_page == "Model Pipeline":
108
 
109
  st.markdown("<hr style='border:1px solid #ddd;'>", unsafe_allow_html=True)
110
 
 
111
  st.markdown(
112
  """
113
  <div style="text-align: center; margin-top: 30px;">
@@ -149,16 +150,19 @@ if st.session_state.current_page == "Model Pipeline":
149
  line-height: 1.6;
150
  margin-bottom: 15px;
151
  }
 
 
 
152
  .about-links a {
153
  background: #0077b5;
154
  color: white;
155
- padding: 10px 20px;
156
  text-decoration: none;
157
- font-size: 14px;
158
  font-weight: bold;
159
  border-radius: 8px;
160
  display: inline-block;
161
- margin: 5px;
162
  transition: 0.3s;
163
  }
164
  .about-links a.medium {
@@ -188,9 +192,6 @@ if st.session_state.current_page == "Model Pipeline":
188
 
189
 
190
 
191
-
192
-
193
-
194
  # Individual Sections
195
  elif st.session_state.current_page == "Problem Statement":
196
  st.markdown("<h1 class='title'>Problem Statement</h1>", unsafe_allow_html=True)
@@ -647,32 +648,6 @@ elif st.session_state.current_page == "Model Building":
647
 
648
  # Fianl Model
649
  elif st.session_state.current_page == "Final Model":
650
- # st.markdown("<h1 class='title'>Final Model</h1>", unsafe_allow_html=True)
651
-
652
- # st.markdown("<hr style='border:1px solid #ddd;'>", unsafe_allow_html=True)
653
-
654
- # st.markdown("""
655
- # <h3>✅ Best Model: Bagging Regressor (with Decision Tree)</h3>
656
- # <ul>
657
- # <li><b>Training Score:</b> 98.68%</li>
658
- # <li><b>Test Score:</b> 95.04%</li>
659
- # <li><b>Generalized Score:</b> 95.45%</li>
660
- # </ul>
661
- # """, unsafe_allow_html=True)
662
-
663
- # st.markdown("<hr style='border:1px solid #ddd;'>", unsafe_allow_html=True)
664
-
665
- # st.markdown("""
666
- # <h3>⚙️ Final Hyperparameters</h3>
667
- # <ul>
668
- # <li><b>Base Model:</b> Decision Tree Regressor</li>
669
- # <li><b>min_samples_leaf:</b> 2</li>
670
- # <li><b>min_samples_split:</b> 3</li>
671
- # <li><b>n_estimators:</b> 40</li>
672
- # <li><b>max_samples:</b> 0.838404</li>
673
- # </ul>
674
- # """, unsafe_allow_html=True)
675
-
676
 
677
  st.markdown(
678
  """
 
108
 
109
  st.markdown("<hr style='border:1px solid #ddd;'>", unsafe_allow_html=True)
110
 
111
+
112
  st.markdown(
113
  """
114
  <div style="text-align: center; margin-top: 30px;">
 
150
  line-height: 1.6;
151
  margin-bottom: 15px;
152
  }
153
+ .about-links {
154
+ margin-top: 15px;
155
+ }
156
  .about-links a {
157
  background: #0077b5;
158
  color: white;
159
+ padding: 12px 22px;
160
  text-decoration: none;
161
+ font-size: 15px;
162
  font-weight: bold;
163
  border-radius: 8px;
164
  display: inline-block;
165
+ margin: 8px;
166
  transition: 0.3s;
167
  }
168
  .about-links a.medium {
 
192
 
193
 
194
 
 
 
 
195
  # Individual Sections
196
  elif st.session_state.current_page == "Problem Statement":
197
  st.markdown("<h1 class='title'>Problem Statement</h1>", unsafe_allow_html=True)
 
648
 
649
  # Fianl Model
650
  elif st.session_state.current_page == "Final Model":
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
651
 
652
  st.markdown(
653
  """