Contenu connexe
Similaire à Bnlearn tokyo r29th
Similaire à Bnlearn tokyo r29th (20)
Bnlearn tokyo r29th
- 3. 目次
1. 目標
2. データ入手
3. bnlearnの使用
4. 分析結果
3
- 10. 離散変数に変換
res2 <- res>=1 # 1回以上出現しているならばTRUE
head(res2) # 内容の表示
data2 <- data.frame(data1$title, res2) # タイトルと結合
10
- 13. エッジを追加
arc.set = matrix(c(“A”, “B”, “A”, “C”, ... , “A”, “L”), ncol = 2, byrow = TRUE) #
エッジを指定
arcs(e) = arc.set # 空のグラフにエッジを追加
plot(e) # グラフを表示
13
- 17. 4.分析結果
いい
0.09
欲しい 0.08 かわいい
0.07
0.06
0.05
面白い 0.04 ない
0.03
0.02
0.01 T
0 D
B
怖い やばい
早い 悪い
凄い 楽しい
17