Skip to content

Commit 62afef3

Browse files
cleanup
1 parent 98d0ae1 commit 62afef3

File tree

1 file changed

+13
-11
lines changed

1 file changed

+13
-11
lines changed

src/MLDatasets.jl

Lines changed: 13 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,6 @@ include("abstract_datasets.jl")
3636
# export AbstractDataset,
3737
# SupervisedDataset
3838

39-
# include("imports.jl")
4039
include("utils.jl")
4140
export convert2image
4241

@@ -45,19 +44,22 @@ include("io.jl")
4544

4645
include("download.jl")
4746

48-
### API to be revisited with conditional module loading
4947
include("containers/filedataset.jl")
5048
export FileDataset
5149
include("containers/tabledataset.jl")
5250
export TableDataset
53-
# include("containers/hdf5dataset.jl")
54-
# export HDF5Dataset
55-
# # include("containers/jld2dataset.jl")
56-
# # export JLD2Dataset
5751
include("containers/cacheddataset.jl")
5852
export CachedDataset
5953

60-
# Misc.
54+
## TODO add back when compatible with `@lazy` or `@require`
55+
## which means that they cannot dispatch on types from JLD2 and HDF5
56+
# include("containers/hdf5dataset.jl")
57+
# export HDF5Dataset
58+
# include("containers/jld2dataset.jl")
59+
# export JLD2Dataset
60+
61+
## Misc.
62+
6163
include("datasets/misc/boston_housing.jl")
6264
export BostonHousing
6365
include("datasets/misc/iris.jl")
@@ -68,7 +70,7 @@ include("datasets/misc/titanic.jl")
6870
export Titanic
6971

7072

71-
# Vision
73+
## Vision
7274

7375
include("datasets/vision/emnist.jl")
7476
export EMNIST
@@ -82,12 +84,12 @@ include("datasets/vision/cifar10.jl")
8284
export CIFAR10
8385
include("datasets/vision/cifar100_reader/CIFAR100Reader.jl")
8486
include("datasets/vision/cifar100.jl")
85-
export CIFAR100
86-
87+
export CIFAR100#
8788
include("datasets/vision/svhn2.jl")
8889
export SVHN2
8990

90-
# Text
91+
## Text
92+
#
9193
include("datasets/text/ptblm.jl")
9294
export PTBLM
9395
include("datasets/text/udenglish.jl")

0 commit comments

Comments
 (0)