问题 I have learned and fitted Bayesian Network in bnlearn R package and I wish to predict it's "event" node value. fl="data/discrete_kdd_10.txt" h=TRUE dtbl1 = read.csv(file=fl, head=h, sep=",") net=hc(dtbl1) fitted=bn.fit(net,dtbl1) I want to predict the value of "event" node based on the evidence stored in another file with the same structure as the file used for learning. fileName="data/dcmp.txt" dtbl2 = read.csv(file=fileName, head=h, sep=",") predict(fitted,"event",dtbl2) However, predict