To evaluate the prediction accuracy of a BN given a test dataset.
For instance, 10-fold cross validation.
Break data into 10 sets of size n/10. Train on 9 datasets and test on 1. Repeat 10 times and take a mean accuracy.
Search found 3 matches
- Wed Dec 10, 2008 2:21 am
- Forum: SMILE
- Topic: k-fold cross validation
- Replies: 3
- Views: 7989
- Sat Dec 06, 2008 3:06 am
- Forum: SMILE
- Topic: k-fold cross validation
- Replies: 3
- Views: 7989
k-fold cross validation
is k-fold cross validation possible for bayesian networks including own crafted one using smile or genie?
- Thu Jun 05, 2008 5:40 am
- Forum: SMILE
- Topic: SMILE error -2 in function SetEvidence
- Replies: 1
- Views: 6490
SMILE error -2 in function SetEvidence
I crafted a network and it worked fine with my test data. I made the network learned using EM algorithm and error message as following was displayed after running first few lines of the test data.
"SMILE error -2 in function SetEvidence. Logged information: Outcome [inf_0_005] of node [a_b_c] is ...
"SMILE error -2 in function SetEvidence. Logged information: Outcome [inf_0_005] of node [a_b_c] is ...