Happy new year,
Here is an update to “Statistics with Julia: Fundamentals for Data Science, Machine Learning and Artificial Intelligence.”
We just put this updated version on-line.
Not long to go till submission to the publisher. As always, happy for feedback.
this may be a silly question. are there any specific reasons to use pyplot as the back end of plotting? does that mean the readers need to have python and matplotlib installed to use your julia code?
The function in Listing 1.5 can be done in fewer lines.
n = length(a)
for i in 1:n-1, j in 1:n-i
if a[j] > a[j+1]
a[j], a[j+1] = a[j+1], a[j]
@yoninazarathy the ticks on the 3rd plot in listing 1.9 are a bit inconsistent.
M = z[1:101,1:101];
p3 = heatmap(M, c=cgrad([:blue, :red]), yflip=true, ylabel=“y”,
xticks=([1:20:101;], xVals[1:20:101]), yticks=([1:20:101;], yVals[1:20:101]) );