add exercise 9.3
This commit is contained in:
parent
08a6faddab
commit
86a217e20b
6
appB.jl
6
appB.jl
@ -157,6 +157,12 @@ summarystats(puzzles[puzzles.Popularity .== -100, "NbPlays"])
|
||||
sum(length, values(rating_mapping))
|
||||
nrow(good)
|
||||
|
||||
# Code for exercise 9.3
|
||||
|
||||
model2 = loess(ratings, mean_popularities; span=0.25);
|
||||
popularity_predict2 = predict(model2, ratings_predict);
|
||||
plot!(ratings_predict, popularity_predict2; width=5, color="yellow");
|
||||
|
||||
# Code for exercise 10.1
|
||||
|
||||
using BenchmarkTools
|
||||
|
Loading…
Reference in New Issue
Block a user