Skip to content

HafiizhTH/RockPaperScissors-Classification

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 

Repository files navigation

RockPaperScissor-Classification

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.

image

Overview

The dataset I used comes from the Indonesian dicoding asset and contains images of rock, paper, and scissors.

image image image

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.

Installation

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

Objective

The process I did was as follows:

  • Data Understanding
  • Split Training and Test data
  • Augmentation & ImageDataGenerator
  • Modeling: Sequential Algorithm (LSTM)
  • Evaluation
  • Testing

Result

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

image

image

Confusion Matrix

image

Classification Report

image

Testing

image

About

This repository contains the Rock-Paper-Scissors classification project that I created during the IDCamp 2023 beginner class scholarship program in learning the Data Scientist learning path at Dicoding Indonesia.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors