
Citation: Gomaz, L.; Bouwmeester, C.;
van der Graaff, E.; van Trigt, B.;
Veeger, D. Machine Learning
Approach for Pitch Type
Classification Based on Pelvis and
Trunk Kinematics Captured with
Wearable Sensors. Sensors 2023,23,
9373. https://doi.org/10.3390/
s23239373
Academic Editor: Arnold Baca
Received: 27 September 2023
Revised: 10 November 2023
Accepted: 15 November 2023
Published: 23 November 2023
Copyright: © 2023 by the authors.
Licensee MDPI, Basel, Switzerland.
This article is an open access article
distributed under the terms and
conditions of the Creative Commons
Attribution (CC BY) license (https://
creativecommons.org/licenses/by/
4.0/).
Article
Machine Learning Approach for Pitch Type Classification Based
on Pelvis and Trunk Kinematics Captured with Wearable Sensors
Larisa Gomaz 1,2,* , Celine Bouwmeester 2, Erik van der Graaff 3, Bart van Trigt 2and DirkJan Veeger 2
1Delft Institute of Applied Mathematics, Delft University of Technology, 2628 CD Delft, The Netherlands
2BioMechanical Engineering, Faculty of Mechanical, Maritime and Materials Engineering,
Delft University of Technology, 2628 CD Delft, The Netherlands; b.vantrigt@tudelft.nl (B.v.T.);
h.e.j.veeger@tudelft.nl (D.V.)
3PITCHPERFECT, 4814 GA Breda, The Netherlands; erik.vandergraaff@cir.nl
*Correspondence: l.gomaz@tudelft.nl
Abstract:
The large stream of data from wearable devices integrated with sports routines has changed
the traditional approach to athletes’ training and performance monitoring. However, one of the
challenges of data-driven training is to provide actionable insights tailored to individual training
optimization. In baseball, the pitching mechanics and pitch type play an essential role in pitchers’
performance and injury risk management. The optimal manipulation of kinematic and temporal
parameters within the kinetic chain can improve the pitcher’s chances of success and discourage
the batter’s anticipation of a particular pitch type. Therefore, the aim of this study was to provide
a machine learning approach to pitch type classification based on pelvis and trunk peak angular
velocity and their separation time recorded using wearable sensors (PITCHPERFECT). The Naive
Bayes algorithm showed the best performance in the binary classification task and so did Random
Forest in the multiclass classification task. The accuracy of Fastball classification was 71%, whilst
the accuracy of the classification of three different pitch types was 61.3%. The outcomes of this
study demonstrated the potential for the utilization of wearables in baseball pitching. The automatic
detection of pitch types based on pelvis and trunk kinematics may provide actionable insight into
pitching performance during training for pitchers of various levels of play.
Keywords: baseball; pitching; wearables; classification; pitch types
1. Introduction
Data-driven decision-making is establishing itself in training and high-level sports
performance. Data made available through game statistics and technology integrated
with training routines serve as the input for big data analytics in sports. Data analysis
started in many sports disciplines with some form of video analysis. Currently, a variety
of different metrics can be extracted and analyzed not only from videos, but also sensors
integrated into sleeves, straps, watches, rings, and smart fabrics. For instance, in baseball,
for over 100 years, the difference between a slider and a curveball was defined based
on previous experience. Following the technological advancements in pitch tracking,
the concept of pitch types is quantified and explained by the speed, spin rate, and spin
axis of the ball. Information on the ball (Rapsodo), the bat (Blast), and body movement
(PITCHPERFECT) has become widely accessible, creating a new flow of data, which are
valuable for performance assessment and pitchers’ overall success.
The advancements in wearable technology are changing the traditional approach
to athlete training and performance monitoring. Wearables enable measurements in a
wide range of settings during training and matches. This removes any practical limitation
compared to a lab and offers unlimited athlete availability, which results in high numbers
of recorded repetitions. While biomechanical measurements in the lab as well as coaching
sessions during training are often limited to one athlete at a time, the utilization of wearables
Sensors 2023,23, 9373. https://doi.org/10.3390/s23239373 https://www.mdpi.com/journal/sensors