Skip to content

Commit

Permalink
Merge pull request #88 from merekat/Alex
Browse files Browse the repository at this point in the history
last changes f1 score graphs
  • Loading branch information
merekat authored Jul 12, 2024
2 parents 7a40b58 + 0227b27 commit 318b12d
Show file tree
Hide file tree
Showing 3 changed files with 252 additions and 17 deletions.
26 changes: 13 additions & 13 deletions app.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@

# Sidebar for navigation
page = st.sidebar.radio("Overview", ["Case Study", "Data", "Analysis", "Model"])
page = st.sidebar.radio("Overview", ["Case Study", "Data", "Analysis", "Model"])

# Introduction page
if page == "Case Study":
Expand Down Expand Up @@ -167,18 +168,18 @@ def load_data():
st.header("Model")
st.subheader("Used Models")
lst_models = [
"Logistic Regression (BM)",
"SGD",
"KNeighbors",
"Decision Tree",
"Random Forest",
"XGB",
"Ada Boost",
"Bagging",
"Extra Trees",
"Gradient Boosting",
"Stacking (1-9)",
"Max Voting (1-9)"
"0 Logistic Regression (BM)",
"1 SGD",
"2 KNeighbors",
"3 Decision Tree",
"4 Random Forest",
"5 XGB",
"6 Ada Boost",
"7 Bagging",
"8 Extra Trees",
"9 Gradient Boosting",
"10 Stacking (1-9)",
"11 Max Voting (1-9)"
]
for model in lst_models:
st.write("-", model)
Expand Down Expand Up @@ -249,7 +250,6 @@ def load_data():
st.write("- hyper parameter optimization: grid search cv or random grid search cv does sometimes lead to worse models. Why?")
st.write("- SMOTE for inbalanced data?")


# Footer
st.sidebar.markdown("---")
st.sidebar.write("Done by [Alexander Kopp](https://github.com/KoppAlexander), [Simon Bernarding](https://www.linkedin.com/in/simon-bernarding/) & [Michel Penke](https://michelpenke.de/portfolio/)")
Binary file modified images/F1_Train_Test_all_models_percategory.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 318b12d

Please sign in to comment.