File size: 1,461 Bytes
c423295
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
5872455
c423295
 
5872455
c423295
 
 
 
 
 
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
"""
Graded Challenge 7
Nama: Qothrunnadaa Alyaa
Batch: HCK-009

File ini digunakan untuk menjalankan home page model prediksi rekomendasi user Sephora USA berdasarkan review yang diberikan
"""

import streamlit as st
import eda
import prediction


page = st.sidebar.selectbox(label='Pilih menu untuk memulai:', options=['Home Page', 'Exploratory Data Analysis', 'Prediction Model'])

if page == 'Home Page':
    st.header('Welcome to Sephora Products Recommendation Predictor!') 
    st.write('')
    st.subheader('Graded Challenge 7')
    st.write('Nama      : Qothrunnadaa Alyaa')
    st.write('Batch     : HCK-009')
    st.write('Dataset   : Sephora Products and Skincare Reviews')
    st.write('')
    st.write('')
    st.write('')
    with st.expander('Objektif'):
        st.caption('Memprediksi apakah seorang pelanggan merekomendasikan produk yang ia beli dari review yang ia tinggalkan di website Sephora')

    with st.expander('Problem Statement'):
        st.caption('Bagaimana cara memprediksi apakah user merekomendasikan suatu produk yang mereka review dari isi review pada website Sephora?')

    with st.expander('Kesimpulan'):
        st.caption('Review yang diberikan oleh user Sephora USA dapat memprediksi apakah user tersebut merekomendasikan produk yang di-review atau tidak menggunakan model Long Short-Term Memory (LSTM) dengan akurasi sebesar 84%.')

elif page == 'Exploratory Data Analysis':
    eda.run()

else:
     prediction.run()