Update app.py
Browse files
app.py
CHANGED
|
@@ -651,9 +651,10 @@ elif st.session_state.current_page == "Final Model":
|
|
| 651 |
"The goal was to identify a model where both scores are closely aligned, ensuring minimal overfitting or underfitting.</p>",
|
| 652 |
unsafe_allow_html=True,
|
| 653 |
)
|
| 654 |
-
scatter_all = Image.open("images/bagging_trails.png")
|
| 655 |
-
st.image(scatter_all, caption="Scatter Plot of All Trials", use_column_width=True)
|
| 656 |
|
|
|
|
|
|
|
|
|
|
| 657 |
|
| 658 |
st.markdown("<h3>Training vs Test Score (First 50 Trials)</h3>", unsafe_allow_html=True)
|
| 659 |
st.markdown(
|
|
@@ -661,9 +662,14 @@ elif st.session_state.current_page == "Final Model":
|
|
| 661 |
"The best-fit model was selected by ensuring that the training and test scores are close to each other.</p>",
|
| 662 |
unsafe_allow_html=True,
|
| 663 |
)
|
|
|
|
| 664 |
scatter_50 = Image.open("images/bagging_50trails.png")
|
| 665 |
st.image(scatter_50, caption="Scatter Plot of First 50 Trials", use_column_width=True)
|
| 666 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 667 |
# Final Model Summary
|
| 668 |
st.markdown("<h3>Selected Best-Fit Model</h3>", unsafe_allow_html=True)
|
| 669 |
st.markdown(
|
|
|
|
| 651 |
"The goal was to identify a model where both scores are closely aligned, ensuring minimal overfitting or underfitting.</p>",
|
| 652 |
unsafe_allow_html=True,
|
| 653 |
)
|
|
|
|
|
|
|
| 654 |
|
| 655 |
+
st.image("images/bagging_trails.png",
|
| 656 |
+
caption="All Trails",
|
| 657 |
+
use_container_width=True)
|
| 658 |
|
| 659 |
st.markdown("<h3>Training vs Test Score (First 50 Trials)</h3>", unsafe_allow_html=True)
|
| 660 |
st.markdown(
|
|
|
|
| 662 |
"The best-fit model was selected by ensuring that the training and test scores are close to each other.</p>",
|
| 663 |
unsafe_allow_html=True,
|
| 664 |
)
|
| 665 |
+
|
| 666 |
scatter_50 = Image.open("images/bagging_50trails.png")
|
| 667 |
st.image(scatter_50, caption="Scatter Plot of First 50 Trials", use_column_width=True)
|
| 668 |
|
| 669 |
+
st.image("images/bagging_50trails.png",
|
| 670 |
+
caption="50 Trails",
|
| 671 |
+
use_container_width=True)
|
| 672 |
+
|
| 673 |
# Final Model Summary
|
| 674 |
st.markdown("<h3>Selected Best-Fit Model</h3>", unsafe_allow_html=True)
|
| 675 |
st.markdown(
|