Пример #1
0
import orngIO
import sys
print sys.argv[1]
data = orngIO.loadARFF(sys.argv[1])
data.save(sys.argv[1].split('.')[0]+"_for_orange.tab")

Пример #2
0
def load_data(filepath):
    data = orngIO.loadARFF(filepath)
    return data
Пример #3
0
import orange
import orngIO
import orngClustering
data = orngIO.loadARFF('bond.new.arff')
for i  in range(0,400):
    km_hc = orngClustering.KMeans(data, centroids = 7,minscorechange=0, initialization=orngClustering.KMeans_init_hierarchicalClustering(n=100))