Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add new shuffling support from data frame to partition a data set #5

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

hernanmd
Copy link
Member

Add splitting methods to AIRandomPartitioner. splitTrainTestFrom:usingTargetColumn:withProportions: to split aCollection into four sets. The sets to split are determined by the size of aCollectionOfProportions, which looks like #(0.7 0.3), and commonly it represents splitting between a training and test set.

Add AIPartitionedDataSet class to hold the splitted data from train and test set.

Hernán Morales Durand added 5 commits December 11, 2023 11:13
Add split train test method
Add split train test test method
	splitTrainTestFrom:usingTargetColumn:withProportions: aCollectionOfProportions to split aCollection into multiple sets. The sets to split are determined by the size of aCollectionOfProportions, which looks like #(0.7 0.3), and commonly it represents splitting between a training and test set.

Add AIPartitionedDataSet class to hold the splitted data from train and test set.
@hernanmd hernanmd self-assigned this Dec 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant