🏆 Accuracy: %93.54
This project focuses on classifying sign language images representing the numbers 0 and 1. The model achieves an impressive accuracy rate of 93.54%. This project has applications in sign language recognition and communication.
The dataset used for this project contains images of hand signs for the numbers 0 and 1 in sign language. It includes two categories, one for each number. Data Link: Kaggle Link**
The project is organized into the following sections:
-
Library and Input Files: In this section, we import the necessary Python libraries and load the dataset.
-
Data Loading and Visualization: We load the sign language dataset and provide visualizations of the data.
-
Data Preprocessing: The dataset is preprocessed and organized for model training.
-
Train-Test Split: We split the data into training and testing sets for model evaluation.
-
Flatten Operation: Images are flattened to prepare them for training.
-
Transpose Operation: Data is transposed to match the required dimensions.
-
Initialize Weights and Bias: We initialize the weights and bias for logistic regression.
-
Sigmoid Function: The sigmoid function is defined, which is a crucial part of logistic regression.
-
Forward-Backward Propagation: Forward and backward propagation steps are explained for logistic regression.
-
Updating Parameters: The model parameters, including weights and bias, are updated using the gradient descent algorithm.
-
Prediction: We make predictions using the trained model.
-
Logistic Regression Algorithm: The logistic regression algorithm is executed, and results are displayed.
To run the project, make sure you have the following Python libraries installed:
- NumPy
- matplotlib
- pandas
- scikit-learn
You can install these libraries using pip:
pip install numpy
pip install matplotlib
pip install pandas
pip install scikit-learn
- Clone the project repository:
git clone [https://github.com/Prometheussx/Sign-Language-Classification-Tutorial]
cd Sign-Language-Classification
- Ensure you have Python and the required libraries installed.
-
Download the sign language dataset containing images of the numbers 0 and 1 in sign language.
-
Follow the code in the "Data Loading and Visualization" section to load and visualize the dataset.
-
Data Link: Kaggle Link
logistic_regression(x_train, y_train, x_test, y_test,learning_rate=0.01 ,num_iterations = 150)
The model's performance is evaluated with metrics such as accuracy, and a sample image with the predicted number is displayed.
The project achieves an accuracy of 93.54% in classifying sign language images of numbers 0 and 1. You can monitor the training progress and results by running the provided code.
- Email: Your_Email_Address
- LinkedIn Profile: Your LinkedIn Profile
- GitHub Profile: Your GitHub Profile
- Kaggle Profile: @erdemtaha
Feel free to reach out if you have any questions or need further information about the project.