1. 程式人生 > >一定要補

一定要補

去年今日被外校吊打,今年校賽被學弟吊打,看淡了也就無所謂了,還是希望能把mmhc跑通,同時記錄一下遇到的問題,畢竟什麼都不做總歸不好。
一:
mmhc(Alarm1_s500_v1,"mmpc","hc")
Error in data.type(x) : 
  variable V1 is not supported in bnlearn (type: integer).

解決連結:https://stackoverflow.com/questions/46227336/data-type-error-with-bn-fit-in-r-variable-is-not-supported-in-bnlearn-type