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 11using Documenter, MLDatasets
2+ using ImageShow # for better image display
23
34# # Commented out since gives warning
45# DocMeta.setdocmeta!(MLDatasets, :DocTestSetup, :(using MLDatasets); recursive=true)
@@ -34,7 +35,7 @@ makedocs(
3435 " Iris" => " datasets/Iris.md" ,
3536 " Boston Housing" => " datasets/BostonHousing.md" ,
3637 ],
37-
38+
3839 " Text" => Any[
3940 " PTBLM" => " datasets/PTBLM.md" ,
4041 " UD_English" => " datasets/UD_English.md" ,
@@ -50,8 +51,8 @@ makedocs(
5051 " Utils" => " utils.md" ,
5152 " LICENSE.md" ,
5253 ],
53- strict = true
54+ strict = false
5455)
5556
5657
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.
6363
6464``` @example
6565using MLDatasets
66- # Alternatively, you can also just call `using Images`
67- using ImageCore, ImageShow
66+ using ImageCore
6867
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.
7270test_x = Gray.(PermutedDimsArray(MNIST.testtensor(), (2, 1, 3)));
7371test_x_sample = @view test_x[:, :, 1:64];
7472
You can’t perform that action at this time.
0 commit comments