Model Tuning & Pipeline
✕Predict Sleep Disorder Risk
Question 1 of 1
- Using
sleep_health_dataset, predict risk of sleep disorder. 1. Load and explore the dataset. 2. Handle missing values and duplicates. 3. Encode categorical features and scale numerical features using a pipeline. 4. TrainSVCand tune hyperparameters usingRandomizedSearchCV. 5. Print best hyperparameters and score. 6. Save the best model pipeline to disk usingjoblib. 7. Load the saved model in VS-Code and make predictions.
- Using
