Commit 2f589350 authored by Tom Lampert's avatar Tom Lampert

Updated path in cluster distance function

parent ea597178
......@@ -11,9 +11,10 @@ function m = inter_cluster_distance(dataset)
if strcmpi(distance, 'dtw')
distances = dlmread([data_path, filesep, dataset, filesep, experiment, filesep, dataset, '.distances']);
else
X = dlmread(['/Users/tomalampert/Documents/University/Strasbourg/PostDoc_3/code/comparisons/datasets/', dataset, filesep, experiment, filesep, dataset, '.data'], '\t');
X = dlmread([data_path, filesep, dataset, filesep, experiment, filesep, dataset, '.data'], '\t');
distances = pdist(X, 'euclidean');
distances = squareform(distances);
clear('X');
end
gt = dlmread([data_path, filesep, dataset, filesep, experiment, filesep, dataset, '.labels']);
......
Markdown is supported
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