2017-11-01 16:01:34 +00:00
|
|
|
using Flux.Data
|
2018-07-18 13:39:20 +00:00
|
|
|
using Test
|
2017-11-01 16:01:34 +00:00
|
|
|
|
|
|
|
@test cmudict()["CATASTROPHE"] == :[K,AH0,T,AE1,S,T,R,AH0,F,IY0].args
|
2018-01-10 12:48:30 +00:00
|
|
|
|
|
|
|
@test length(CMUDict.phones()) == 39
|
|
|
|
|
|
|
|
@test length(CMUDict.symbols()) == 84
|
2018-08-20 15:57:43 +00:00
|
|
|
|
|
|
|
@test MNIST.images()[1] isa Matrix
|
|
|
|
@test MNIST.labels() isa Vector{Int64}
|
2018-09-14 17:10:24 +00:00
|
|
|
|
2018-10-02 19:00:45 +00:00
|
|
|
@test FashionMNIST.images()[1] isa Matrix
|
|
|
|
@test FashionMNIST.labels() isa Vector{Int64}
|
|
|
|
|
2018-09-14 17:10:24 +00:00
|
|
|
@test Data.Sentiment.train() isa Vector{Data.Tree{Any}}
|
2019-03-09 21:02:59 +00:00
|
|
|
|
|
|
|
@test Iris.features() isa Matrix
|
2020-02-06 22:17:19 +00:00
|
|
|
@test size(Iris.features()) == (4,150)
|
2019-03-09 21:02:59 +00:00
|
|
|
|
|
|
|
@test Iris.labels() isa Vector{String}
|
|
|
|
@test size(Iris.labels()) == (150,)
|
2020-02-06 22:17:19 +00:00
|
|
|
|
|
|
|
@test Housing.features() isa Matrix
|
|
|
|
@test size(Housing.features()) == (506, 13)
|
|
|
|
|
|
|
|
@test Housing.targets() isa Array{Float64}
|
2020-02-26 09:35:23 +00:00
|
|
|
@test size(Housing.targets()) == (506, 1)
|