I created this project while participating in the beginner class scholarship program from IDCamp 2023 in studying the Data Scientist learning path at Dicoding Indonesia.
The dataset I used comes from the Indonesian dicoding asset and contains images of rock, paper, and scissors.
| About | Description |
|---|---|
| Dataset | RockPaperScissors Click here. |
| Data All | 2188 images. |
| Categories | Rock, Paper, Scissors. |
| Data Training | 1312 Images. |
| Data Testing | 876 Images. |
The main folder contains 2188 Images divided in 3 categories each containing images with 250x300 RGB resolution and PNG file extension.
This project requires pandas, matplotlib, seaborn, sklearn, Pillow, OpenCV, tensorflow libraries. So, you may need to install these packages if you want to test it.
To get started with this project, follow these installation steps:
Setup environment - Anaconda:
- Open Anaconda Terminal
- Run the following command to create a new environment:
conda create --name main-ds python=3.11
- Activate the virtual environment by running the following command:
conda activate main-ds
- Install the library to use:
pip install -r requirements.txt
The process I did was as follows:
- Data Understanding
- Split Training and Test data
- Augmentation & ImageDataGenerator
- Modeling: Sequential Algorithm (LSTM)
- Evaluation
- Testing
I obtained an accuracy rate of 97%, so I can conclude that the model works effectively using the LSTM architecture. In addition, I evaluated the model using the AUC-ROC curve, Confusion Matrix, and Classification Report.
AUC-ROC curve
Confusion Matrix
Classification Report
Testing








