def classify(anklePath, hipPath, options): print("---- Classification ---- \n") print("Calculating features...") features = getFeatures(anklePath, hipPath) print("Predicting classification...") data = fm.main(True, options['p']) result = cm.predict(data, features, options['a'], options['c'], options['f']) print(result)
def experiment(options): data = fm.main(True, options['p']) cm.main(data, options['f'])