add example of using methods function
This commit is contained in:
parent
6e90dc700c
commit
04d0c467b1
2
ch09.jl
2
ch09.jl
@ -155,6 +155,8 @@ model = loess(ratings, mean_popularities);
|
||||
ratings_predict = float.(sort(ratings))
|
||||
popularity_predict = predict(model, ratings_predict)
|
||||
|
||||
methods(predict)
|
||||
|
||||
plot!(ratings_predict, popularity_predict; width=5, color="black")
|
||||
|
||||
combine(groupby(good, :Rating), :Popularity => mean)
|
||||
|
Loading…
Reference in New Issue
Block a user