-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyckpocket.py
40 lines (32 loc) · 1.08 KB
/
pyckpocket.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
import streamlit as st
from contexte_streamlit import contexte
from donnees_streamlit import donnees
from dataviz_streamlit import dataviz
from modelisation_streamlit import modelisation
from best_model_streamlit import best_model
from feature_streamlit import feature
from gains_streamlit import gains
from conclusion_streamlit import conclusion
st.sidebar.title("Paris sportif")
def main():
pages = ["Contexte","Données","Dataviz","Feature Engineering","Recherche du meilleur modèle","Meilleur modèle",
"Gains selon méthodes de pari", "Conclusion"]
page = st.sidebar.radio("Aller vers", pages)
if page == pages[0]:
contexte()
elif page == pages[1]:
donnees()
elif page == pages[2]:
dataviz()
elif page == pages[3]:
feature()
elif page == pages[4]:
modelisation()
elif page == pages[5]:
best_model()
elif page == pages[6]:
gains()
else:
conclusion()
if __name__ == '__main__':
main()