## 2 Materials and Methods
### Dataset
\begin{table}
\begin{tabular}{l l l} \hline \hline
**Feature** & **Description** & **Type** \\ \hline \multicolumn{3}{c}{Demographics and General Habits} \\ \hline Age & Measured in years & Numeric \\ Gender & Male or Female & Nominal \\ Body Mass Index & Measures height and weight ratio in kg/m\({}^{2}\) & Numeric \\ Alcohol & Number of drinks weekly & Numeric \\ Caffeine & Number of drinks weekly & Numeric \\ Smoking & Indicates yes or no & Nominal \\ \hline \multicolumn{3}{c}{Health Status} \\ \hline Excessive daytime sleepiness & Feeling of sleepiness and fatigue & Nominal \\ Epworth Sleepiness Scale & Likelihood of dozing off during day & Nominal \\ State Anxiety Score (STAI-1) & Quantifies current anxiety & Numeric \\ Trait Anxiety Score (STAI-2) & Quantifies general anxiety & Numeric \\ Cardiovascular Conditions & Indicates present or absent & Nominal \\ Diabetes Conditions & Indicates present or absent & Nominal \\ Thyroid Conditions & Indicates present or absent & Nominal \\ Arthritis Conditions & Indicates present or absent & Nominal \\ Asthma Conditions & Indicates present or absent & Nominal \\ Emphysema Conditions & Indicates present or absent & Nominal \\ Stroke Conditions & Indicates present or absent & Nominal \\ \hline \multicolumn{3}{c}{Medication Status} \\ \hline Depression Medication & Indicates taking or not & Nominal \\ Anxiety Medication & Indicates taking or not & Nominal \\ Cholesterol Medication & Indicates taking or not & Nominal \\ Hypertension Medication & Indicates taking or not & Nominal \\ Diabetes Medication & Indicates taking or not & Nominal \\ Thyroid Medication & Indicates taking or not & Nominal \\ Asthma Medication & Indicates taking or not & Nominal \\ Narcotics Medication & Indicates taking or not & Nominal \\ Sedative Medication & Indicates taking or not & Nominal \\ Stimulant Medication & Indicates taking or not & Nominal \\ Antihistamines Medication & Indicates taking or not & Nominal \\ Androgen Medication & Indicates taking or not & Nominal \\ Decongestants Medication & Indicates taking or not & Nominal \\ \hline \multicolumn{3}{c}{Sleep Measures} \\ \hline REM Latency & Time to reach first REM stage & Numeric \\ Wake After Sleep Onset & Wakefulness after first falling asleep & Numeric \\ Sleep Latency & Time to fall asleep & Numeric \\ REM Sleep Duration & Time in REM stage & Numeric \\ Total Sleep Duration & Time in bed asleep & Numeric \\ Sleep Efficiency & Percentage of time spent asleep while in bed & Numeric \\ NREM Sleep Duration & Time in NREM stage & Numeric \\ REM Sleep Percentage & Percentage of time spent asleep while in REM & Numeric \\ N1 Sleep Percentage & Percentage of time spent asleep while in N1 & Numeric \\ N2 Sleep Percentage & Percentage of time spent asleep while in N2 & Numeric \\ N34 Sleep Percentage & Percentage of time spent asleep while in N3 and N4 & Numeric \\ \hline \multicolumn{3}{c}{Labels} \\ \hline OSA & Indicates present or absent & Nominal \\ Insomnia & Indicates present or absent & Nominal \\ Depression & Indicates present or absent & Nominal \\ \hline \hline \end{tabular}
\end{table} 
Table 1: Categorized independent features available from WSC with their associated descriptions. Objective measurements were obtained using an 18-channel polysomnography (PSG) system (Grass Instruments Model 78; Quincy, MA, USA). This system recorded sleep states using electroencephalography (EEG), electrooculography, and electromyography. Respiratory evaluations included nasal and oral airflow and oxyhemoglobin saturation, measured, respectively, by respiratory inductance plethysmography (Respitrace; Ambulatory Monitoring, Ardsley, NY, USA), thermocouples (ProTec, Hendersonville, TN and Validyne Engineering Corp pressure transducer, Northridge, CA, USA), and pulse oximetry (Ohmeda Biora 3740; Englewood, CO, USA). PSG recordings were analyzed every 30 s, scoring sleep stages and events indicative of apnea and hypopnea according to conventional standards.