I. Introduction
Sleep is a vital biological process that plays a critical role in maintaining overall health and well-being. However, sleep disorders, such as insomnia and sleep apnea, are prevalent and can have significant negative impacts on quality of life and overall health. The accurate classification of sleep stages is essential for diagnosing and understanding sleep disorders, as different stages have distinct patterns of brain activity and physiological responses.