The following code gives the following error, and I have no idea why.
There are no comprehensions. I write require("loaddataju.ju.rtf"), which
is below, and get the error:
ERROR: syntax: invalid comprehension syntax
in include at boot.jl:238
in include_from_node1 at loading.jl:114
in reload_path at loading.jl:140
in _require at loading.jl:58
in require at loading.jl:46
at /Users/alexdubbs/Dropbox/Kaggle/model6/loaddataju.ju.rtf:12
loaddataju.ju.rtf is as follows:
Xin = cell(23)
n = cell(23)
y = cell(16)
for i = 1:16
Xin[i] = readcsv(@sprintf("X%d.txt",i))
n[i] = int(readcsv(@sprintf("n%d.txt",i)))
y[i] = readcsv(@sprintf("y%d.txt",i))
@printf("%d ",i)
end
for i = 17:23
Xin[i] = readcsv(@sprintf("X%d.txt",i))
n[i] = int(readcsv(@sprintf("n%d.txt",i)))
@printf("%d ",i)
end
X = cell(23)
for i = 1:23
X[i] = reshape(Xin[i],n[i][1],n[i][2],n[i][3])
end
Thanks all.
AJD