Apprentissage supervisé en R : Classification
Brett Lantz
Instructor

La probabilité de A se note P(A)

La probabilité conjointe des événements A et B se note P(A et B)

La probabilité conditionnelle des événements A et B se note P(A | B)
# building a Naive Bayes model
library(naivebayes)
m <- naive_bayes(location ~ time_of_day, data = location_history)
# making predictions with Naive Bayes
future_location <- predict(m, future_conditions)
Apprentissage supervisé en R : Classification