Skip to content

Questions about data set partitioning #17

Description

@sanguiyh

image

In the code, Kflod cross-validation divides the data set. Each time the code is divided into test.pkl and train.pkl, will it cause all the data to be used as the training set? Won't the result be too high?
Kfold cross-validation should divide the data set into a training set and a test set. The training set is divided into k parts. During each cross, one part will be used as the validation set, and the rest will be used as the training set. The test set will never be used. That's right for training. The code randomly divides the complete data set into k parts, causing each test data to be trained.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions