Open sourceBy

Splytters brings 31 dataset splitting algorithms to Python

Stefan Larson and Kirtan Shah introduce Splytters, an open-source Python library for making training and test sets, in an arXiv preprint. It provides 31 splitting algorithms through a scikit-learn-compatible interface and supports text, images, audio, and tabular data. Users can choose algorithms based on how much the splits should overlap or how balanced they should be, and can rank examples by difficulty. In evaluations on text, image, and audio tasks, the authors found that deliberately making test examples less similar to training examples could produce harder tests than random splitting.

Why it matters

Teams can use the same interface across data types to check how well models perform when test examples differ from training examples.

Sources

Written by AIToolMaps from the source above and checked against it sentence by sentence.

Comments

No comments yet