This project contain the code for data analysis project and RFM analysis using brazilian e-Commerce public dataset | custom dataset from Dicoding.
- Do comprehensive data analysis starting from defining questions to drawing conclusions from the analysis results
- Do data analysis and identify patterns in customer base using the RFM method
- Create an interactive data analysis report in a dashboard
Once you have installed the above and have cloned the repository, you can follow the following steps to get the project up and running:
- Create a default requirements file:
pip freeze > requirements.txt
note: make sure to customize the dependencies according to project requirement
Babel==2.12.1
matplotlib==3.8.0
matplotlib-inline==0.1.6
numpy==1.26.0
pandas==2.1.1
python-dateutil==2.8.2
python-dotenv==1.0.0
scikit-learn==1.2.0
seaborn==0.13.0
streamlit==1.28.0
- Install the dependencies:
pip install -r requirements.txt
- Go to the dashboard directory
- windows
cd C:\RFM-Analysis-Brazilian-E-Commerce-Public\dashboard
- Run the streamlit from your local computer
streamlit run [name_file].py
We can access the application on your desktop by visiting http://localhost:8501/