Gọi T là tập hợp các giao dịch nơi mỗi giao dịch là một tập hợp con của
tập phổ biến I. Cho C là một tập hợp con của tôi, sau đó chúng tôi xác định các tính hỗ trợ của C với
đối với T là:
σ (C) = | {t | t ∈ T, C ⊆ t} |.
Do đó σ (C) là số lượng giao dịch có chứa C. Một luật kết hợp là
một biểu hiện của mẫu X
s, α
= ⇒ Y, trong đó X ⊆ I và Y ⊆ I. Sự hỗ trợ của các
quy tắc X
s, α
= ⇒ Y được định nghĩa là σ (X ∪ Y) / | T |, và sự tự tin α được xác định là
σ (X ∪ Y) / σ (X). Ví dụ, đối với các giao dịch trong Bảng 1, sự hỗ trợ của rule
{tã, sữa} = ⇒ {} Bia là σ (tã, sữa, bia) / 5 = 2/5 = 40%, trong khi
sự tự tin của mình là. σ (tã, sữa, bia) / σ (tã, sữa) = 2/3 = 66%.
đang được dịch, vui lòng đợi..