Advertisement
gry1994tistorycom

Untitled

May 31st, 2020
306
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
R 0.32 KB | None | 0 0
  1.  
  2. # [Q3-2] support = 0.001, confidence = 0.05로 지정하여 분석
  3. rules <- apriori(tmp_single, parameter=list(support=0.001, confidence=0.05))
  4.  
  5. # support순 정렬
  6. inspect(sort(rules, by="support"))
  7.  
  8. # confidence순 정렬
  9. inspect(sort(rules, by="confidence"))
  10.  
  11. # lift순 정렬
  12. inspect(sort(rules, by="lift"))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement