Skip to content

Commit

Permalink
Better data
Browse files Browse the repository at this point in the history
  • Loading branch information
rvlasveld committed Dec 11, 2013
1 parent 8f02aac commit b33a5ec
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
Binary file modified data/collections/artificial/camci_and_takeuchi.mat
Binary file not shown.
3 changes: 2 additions & 1 deletion load_camci_data.m
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,8 @@
if mod(y,2) == 0
variance = 1;
else
variance = 9;
% variance = 9;
variance = 8.5;
end

end
Expand Down
3 changes: 2 additions & 1 deletion support_functions/closest_two_array.m
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
function [ values ] = closest_two_array( original, discovered )
function [ values, s ] = closest_two_array( original, discovered )
% CLOSEST_TWO_ARRAY Summary of this function goes here
% Detailed explanation goes here

Expand All @@ -10,5 +10,6 @@
[dist, index] = min(distances);
values(i,:) = [discovered(index) dist];
end
s = sum(values(:,2))
end

0 comments on commit b33a5ec

Please sign in to comment.