Skip to content

Instantly share code, notes, and snippets.

@P8H
Created April 18, 2016 15:48
Show Gist options
  • Save P8H/806cac42b35a125c119b1e84bb9ab48e to your computer and use it in GitHub Desktop.
Save P8H/806cac42b35a125c119b1e84bb9ab48e to your computer and use it in GitHub Desktop.
An ARFF file for MI learning with Weka
% synthetic dataset for multiple-instance learning using standard MI assumption.
@relation demo1
@attribute bag_XY {BAGN-1,BAGN-2,BAGP-3}
@attribute bag relational
@attribute f1 numeric
@attribute f2 numeric
@end bag
@attribute class {0,1}
@data
BAGN-1,"0,0\n0,1", 0
BAGN-2,"1,0\n0,0", 0
BAGP-3,"1,0\n0,0\n1,1", 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment