示例#1
0
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])
示例#2
0
文件: arffread.py 项目: 87/scipy
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])