Skip to content

Commit 69c1a4c

Browse files
remove datasets' doctests
1 parent 164388e commit 69c1a4c

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/data/housing.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ end
6363

6464
"""
6565
Gets the targets for the Boston housing dataset, a 506 element array listing the targets for each example
66-
```jldoctest
66+
```julia
6767
julia> using Flux
6868
julia> target = Flux.Data.Housing.targets()
6969
julia> summary(target)
@@ -91,7 +91,7 @@ end
9191
Gets the features of the Boston Housing Dataset. This is a 506x13 Matrix of Float64 datatypes.
9292
The values are in the order ["crim","zn","indus","chas","nox","rm","age","dis","rad","tax","ptratio","b","lstat"].
9393
It has 506 examples.
94-
```jldoctest
94+
```julia
9595
julia> using Flux
9696
julia> features = Flux.Data.Housing.features()
9797
julia> summary(features)

src/data/iris.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ end
2727
labels()
2828
Get the labels of the iris dataset, a 150 element array of strings listing the
2929
species of each example.
30-
```jldoctest; setup = :(Flux.Data.Iris.load())
30+
```julia
3131
julia> labels = Flux.Data.Iris.labels();
3232
julia> summary(labels)
3333
"150-element Array{String,1}"
@@ -47,7 +47,7 @@ end
4747
Get the features of the iris dataset. This is a 4x150 matrix of Float64
4848
elements. It has a row for each feature (sepal length, sepal width,
4949
petal length, petal width) and a column for each example.
50-
```jldoctest; setup = :(Flux.Data.Iris.load())
50+
```julia
5151
julia> features = Flux.Data.Iris.features();
5252
julia> summary(features)
5353
"4×150 Array{Float64,2}"

0 commit comments

Comments
 (0)