The ground truth label names of gestures ([‘rock’, ‘supination’, ‘scoop’, ‘shake’, ‘circle’]) are strings. The model training needs numeric labels so that the error of in-training models’ predictions can be calculated when comparing predictions to ground truths. The ground truth labels are converted into numbers (array([1, 4, 2, 3, 0])). Though a simple conversion fromContinue reading “Ground truth label encoding”