Skip to content
Snippets Groups Projects
app.py 1.27 KiB
Newer Older
from Packages import *
st.set_page_config(page_title="NIRS Utils", page_icon=":goat:", layout="wide",)
from Modules import *
from Class_Mod.DATA_HANDLING import *


add_header()

# Page header
with st.container():
    st.subheader("Plateforme d'Analyses Chimiques pour l'Ecologie-PACE :goat:")
    st.title("NIRS Utils")
    st.markdown("#### This app allows users to perform visualization, pre-treatments, samples selection & predictions on their NIRS spectra.")
Mouhcine's avatar
Mouhcine committed
    header1, header2, header3,header4 = st.columns(4)
    if header1.button("Inputs"):
        st.switch_page(pages_folder / '4-inputs.py')
    if header2.button("Samples Selection"):
        st.switch_page(pages_folder / '1-samples_selection.py')
    if header3.button("Models Creation"):
        st.switch_page(pages_folder / '2-model_creation.py')
    if header4.button("Predictions"):
        st.switch_page(pages_folder / '3-prediction.py')
    st.markdown("We could add documentation here")
    st.write("Samples selection (PCA, [UMAP](https://umap-learn.readthedocs.io/en/latest/how_umap_works.html), ...), Predictive Modelling ([Pinard](https://github.com/GBeurier/pinard), [LWPLSR](https://doi.org/10.1002/cem.3209), ...), and Predictions using your data (CSV or DX files) and/or PACE NIRS Database.")