Ejemplo n.º 1
0
def get_feature_data(dir_path):
    data = get_data(dir_path)
    data = correct_student_answers(data)
    feature_data = []
    for data_point in data:
        feature_data += get_single_data(data_point)
    return feature_data
Ejemplo n.º 2
0
def get_feature_data(dir_path):
	data = get_data(dir_path)
	data = correct_student_answers(data)
	feature_data = []
	for data_point in data:
		feature_data += get_single_data(data_point)
	return feature_data
Ejemplo n.º 3
0
def get_feature_data(dir_path):
	data = get_data(dir_path)
	data = correct_student_answers(data)
	# initialise_model(data)
	feature_data = []
	counter = 0
	last = 0
	for i in range(len(data)):
		if (i*10)/len(data)>last:
			last = (i*10)/len(data)
			print str(last)+"0% completed"
		feature_data += get_single_data(data[i])
	print "feature extraction complete"
	return feature_data