Should I shuffle samples with cross-validation?
By default, the cross_val_score function in scikit-learn does not shuffle samples. In this lesson, you’ll learn when you might need to shuffle and how to do it.
P.S. This is a lesson from my NEW course, "Master Machine Learning with scikit-learn." You can enroll here: https://courses.dataschool.io/master-machine-learning-with-scikit-learn
For all paid courses, I offer location-based discounts (up to 75%) to people in 160+ countries. Check your discount here: https://courses.dataschool.io/discounts
Enroll in a FREE Data Science course here: https://courses.dataschool.io/free-courses
Видео Should I shuffle samples with cross-validation? канала Data School
P.S. This is a lesson from my NEW course, "Master Machine Learning with scikit-learn." You can enroll here: https://courses.dataschool.io/master-machine-learning-with-scikit-learn
For all paid courses, I offer location-based discounts (up to 75%) to people in 160+ countries. Check your discount here: https://courses.dataschool.io/discounts
Enroll in a FREE Data Science course here: https://courses.dataschool.io/free-courses
Видео Should I shuffle samples with cross-validation? канала Data School
Показать
Комментарии отсутствуют
Информация о видео
Другие видео канала
Examine the intermediate steps in a PipelineDrop the first category from binary features (only) with OneHotEncoderCourse outline: "Master Machine Learning with scikit-learn"Join Data School Insiders on Patreon!Load a toy dataset into a DataFrameHow to read the scikit-learn documentationHistGradientBoostingClassifier natively supports missing valuesShuffle your dataset when using cross_val_scoreAdd a missing indicator to encode "missingness" as a featureThree reasons not to use drop='first' with OneHotEncoderDon't use .values when passing a pandas object to scikit-learnEstimators only print parameters that have been changedAdditional Resources for Learning Git and GitHubWhat's your favorite pandas trick??Cost-sensitive learning in scikit-learnMost parameters should be passed as keyword argumentsPassthrough some columns and drop others in a ColumnTransformerTune the parameters of a VotingClassifer or VotingRegressorMachine Learning with Text in scikit-learn (PyData DC 2016)How do I avoid a SettingWithCopyWarning in pandas?Seven ways to select columns using ColumnTransformer