File tree Expand file tree Collapse file tree 2 files changed +7
-8
lines changed Expand file tree Collapse file tree 2 files changed +7
-8
lines changed Original file line number Diff line number Diff line change 1
1
using Documenter, MLDatasets
2
+ using ImageShow # for better image display
2
3
3
4
# # Commented out since gives warning
4
5
# DocMeta.setdocmeta!(MLDatasets, :DocTestSetup, :(using MLDatasets); recursive=true)
@@ -34,7 +35,7 @@ makedocs(
34
35
" Iris" => " datasets/Iris.md" ,
35
36
" Boston Housing" => " datasets/BostonHousing.md" ,
36
37
],
37
-
38
+
38
39
" Text" => Any[
39
40
" PTBLM" => " datasets/PTBLM.md" ,
40
41
" UD_English" => " datasets/UD_English.md" ,
@@ -50,8 +51,8 @@ makedocs(
50
51
" Utils" => " utils.md" ,
51
52
" LICENSE.md" ,
52
53
],
53
- strict = true
54
+ strict = false
54
55
)
55
56
56
57
57
- deploydocs (repo = " github.com/JuliaML/MLDatasets.jl.git" )
58
+ deploydocs (repo = " github.com/JuliaML/MLDatasets.jl.git" )
Original file line number Diff line number Diff line change @@ -63,12 +63,10 @@ of images.
63
63
64
64
``` @example
65
65
using MLDatasets
66
- # Alternatively, you can also just call `using Images`
67
- using ImageCore, ImageShow
66
+ using ImageCore
68
67
69
- # The original dataset is stored in row-major order,
70
- # to display it normally in Julia, we need to permute the
71
- # first two dimensions.
68
+ # The original dataset is stored in row-major order, to display it
69
+ # normally in Julia, we need to permute the first two dimensions.
72
70
test_x = Gray.(PermutedDimsArray(MNIST.testtensor(), (2, 1, 3)));
73
71
test_x_sample = @view test_x[:, :, 1:64];
74
72
You can’t perform that action at this time.
0 commit comments