According to data from the World Health Organization and medical research centers, the frequency and severity of various sleep disorders, including insomnia, are increasing steadily. This dynamic is associated with increased daily stress, anxiety, and depressive disorders. Poor sleep quality affects people’s productivity and activity and their perception of quality of life in general. Therefore, predicting and classifying sleep quality is vital to improving the quality and duration of human life. This study offers a model for assessing sleep quality based on the indications of an actigraph, which was used by 22 participants in the experiment for 24 h. Objective indicators of the actigraph include the amount of time spent in bed, sleep duration, number of awakenings, and duration of awakenings. The resulting classification model was evaluated using several machine learning methods and showed a satisfactory accuracy of approximately 80–86%. The results of this study can be used to treat sleep disorders, develop and design new systems to assess and track sleep quality, and improve existing electronic devices and sensors.