add example of using methods function
This commit is contained in:
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)
|
||||
|
||||
Reference in New Issue
Block a user