Skip to content

Support auto-splits for file datasets #676

Description

@PGijsbers

Listing TODOs on the issue tracker (#172).

class ArffDataset(FileDataset):
def __init__(self, train_path, test_path, target=None, features=None, type=None):
# todo: handle auto-split (if test_path is None): requires loading the training set, split, save
super().__init__(
ArffDatasplit(self, train_path),
ArffDatasplit(self, test_path),
target=target,
features=features,
type=type,
)

# todo: handle auto-split (if test_path is None): requires loading the training set, split, save

Given the file with all data, and the target column, it should be trivial to support calls where the test split is not yet a file for ARFF and CSV datasets.

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

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions