def floupi(filename): data, meta = loadarff(filename) from attrselect import print_dataset_info print_dataset_info(data) print "relation %s, has %d instances" % (meta.name, data.size) itp = iter(types) for i in data.dtype.names: print_attribute(i, itp.next(), data[i])
def floupi(filename): data, meta = loadarff(filename) from attrselect import print_dataset_info print_dataset_info(data) print "relation %s, has %d instances" % (meta.name, data.size) itp = iter(types) for i in data.dtype.names: print_attribute(i,itp.next(),data[i])