Split Data for Machine Learning

Publicado em: 18 Dezembro 2021
no canal de: APMonitor.com
2,032
25

Splitting data ensures that there are independent sets for training, testing, and validation. Data can be divided into sequential blocks where the order is preserved (e.g. time series) or with random selection (shuffle). Cross-validation demonstrates the effect of choosing alternating test sets.

0:00 Train, Validate, Test
2:04 Split DataFrame
3:05 Split by Index
4:30 Split Numpy Array
7:49 Cross Validation
15:50 Overview
18:27 Overfit Detection

The test set is to evaluate the model fit independently of the training and to improve the hyper-parameters without overfitting on the training. Scikit-learn has a train / test split function with a test_size that is the fraction to reserve for testing.

Machine Learning for Engineers: https://apmonitor.com/pds
Split Data: https://apmonitor.com/pds/index.php/M...


Nesta página do site você pode assistir ao vídeo on-line Split Data for Machine Learning duração hora minuto segundo em boa qualidade , que foi baixado pelo usuário APMonitor.com 18 Dezembro 2021, compartilhe o link com seus amigos e conhecidos, no youtube este vídeo já foi visto 2,032 vezes e gostou 25 espectadores. Boa visualização!