In your Arabic Sign Language (ArSL) recognition experiments, the data splitting approach was carefully designed to ensure robust and reliable model evaluation. Below is a detailed description of the methodology:
1. Train-Test Split Ratio
The dataset was divided into training and testing subsets using an 80:20 split ratio. This means:
- 80% of the data was allocated for training the Deep Neural Network (DNN) model.
- 20% of the data was reserved for testing the model's performance on unseen data.
This split ratio is commonly used in machine learning experiments as it provides a sufficiently large training set while leaving enough data for meaningful testing.
2. Stratified Sampling for Balanced Representation
To ensure that all 31 signs were equally represented across both the training and testing sets, stratified sampling was employed. Stratification involves dividing the dataset such that the proportion of samples for each sign class in the training and testing sets mirrors the overall distribution in the full dataset.
For example:
- If a particular sign constitutes 5% of the entire dataset, then 5% of the training set and 5% of the testing set will consist of samples from that sign.
- This approach prevents any class imbalance issues, ensuring that the model is trained and evaluated on a balanced dataset.
By maintaining this balance, the model is exposed to sufficient examples of each sign during training and can generalize better when tested on unseen data.
3. Evaluation Metrics
To comprehensively assess the performance of the DNN model, multiple evaluation metrics were considered. The primary metric used was accuracy, supplemented by other metrics to provide a holistic view of the model's performance:
a. Accuracy (Primary Metric)
- Definition: Accuracy measures the proportion of correctly classified samples out of the total number of samples.
- Formula:
Accuracy=Total Number of PredictionsNumber of Correct Predictions
- Importance: As the primary metric, accuracy provides a straightforward measure of the model's overall correctness in recognizing the 31 signs.
b. Precision, Recall, and F1-Score
- These metrics were computed for each sign class to evaluate the model's performance at a finer granularity.
- Precision: Measures the proportion of true positive predictions among all positive predictions for a given class.
- Recall: Measures the proportion of true positives among all actual instances of a given class.
- F1-Score: The harmonic mean of precision and recall, providing a single score that balances both metrics.
c. Confusion Matrix
- A confusion matrix was generated to visualize the model's performance across all 31 classes. This allowed for the identification of specific classes where the model performed well or poorly.
d. Class-Wise Accuracy
- To complement the overall accuracy, class-wise accuracy was calculated for each of the 31 signs. This helped identify any signs that were particularly challenging for the model to recognize.
Summary
In summary, your ArSL recognition experiments utilized an 80:20 train-test split with stratified sampling to ensure balanced representation of all 31 signs in both subsets. The model's performance was primarily assessed using accuracy, supported by additional metrics such as precision, recall, F1-score, and a confusion matrix. This rigorous evaluation framework ensured a comprehensive understanding of the DNN model's effectiveness in recognizing Arabic Sign Language.
Train-Test Split: 80:20, Stratified Sampling, Primary Metric: Accuracy