Exemple #1
0
Fichier : app.py Projet : jessab/ML
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)
Exemple #2
0
Fichier : app.py Projet : jessab/ML
def experiment(options):
    data = fm.main(True, options['p'])
    cm.main(data, options['f'])