Commit 84ee67e7 authored by Tomas Rokos's avatar Tomas Rokos
Browse files

Fix bad param in minkowski distance to manhattan

parent eb9d22fb
......@@ -61,7 +61,7 @@ class DTWClassifierFactory:
def create():
cls = DTWClassifier(mode=DTWClassifier.MODE_MEAN, range_fn=itakura_range,
dist_fn=lambda x, y: minkowski(x, y, 0), n_compared_songs=15)
dist_fn=lambda x, y: minkowski(x, y, 1), n_compared_songs=15)
df = pd.read_csv('preprocessed_nmfcc_13/data.csv')['file'], df['label'])
return cls
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment