Error when trying the Basic Usage instructions · Issue #225 · JuliaML/MLDatasets.jl (original) (raw)
New to Julia I'm trying the following:
using MLDatasets
trainset = MNIST(:train)
instead of getting
dataset MNIST:
metadata => Dict{String, Any} with 3 entries
split => :train
features => 28×28×60000 Array{Float32, 3}
targets => 60000-element Vector{Int64}
I get
ERROR: MethodError: objects of type Module are not callable
Stacktrace:
[1] top-level scope
@ REPL[4]:1
The same for Iris.
I'm using Julia 1.10.1 freshly installed. I downloaded the data with MNIST.download()
What am I missing here?