Skip to content

Commit a6a85f8

Browse files
committed
fixed imports & removed splitter.py since the functionality had been migrated to cd.Dataset
1 parent 0d10d2c commit a6a85f8

4 files changed

Lines changed: 5 additions & 523 deletions

File tree

coderdata/__init__.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
from .download.downloader import download
2-
from .split.splitter import train_test_validate
32
from .dataset.dataset import (
43
Dataset,
54
load,
5+
format,
6+
train_test_validate
67
)
78

89
# '_version.py' will be generated by hatchling once the switch away from

coderdata/dataset/__init__.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,4 @@
11
from .dataset import Dataset
2-
from .dataset import load
2+
from .dataset import load
3+
from .dataset import format
4+
from .dataset import train_test_validate

coderdata/split/__init__.py

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)