R로 배우는 Supervised Learning: 분류
Brett Lantz
Instructor

A의 확률은 P(A)로 표기합니다

사건 A와 B의 결합 확률은 P(A and B)로 표기합니다

사건 A와 B의 조건부 확률은 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)
R로 배우는 Supervised Learning: 분류