Euclidian ignore "Type"
This commit is contained in:
1 parent
f8aa4d9fe9
commit
0c23730829
1 file changed
+1
-1
@@ -12,7 +12,7 @@ function calculateEuclideanDistance(source, target, properties, normArgs) {
|
||||
// Iterate through every column of data
|
||||
for (var i = 0; i < properties.length; i++) {
|
||||
property = properties[i];
|
||||
if (property.toLowerCase() !== "class" && property.toLowerCase() !== "app" && property.toLowerCase() !== "user" && property.toLowerCase() !== "weekday") {
|
||||
if (property.toLowerCase() !== "class" && property.toLowerCase() !== "app" && property.toLowerCase() !== "user" && property.toLowerCase() !== "weekday" && property.toLowerCase() !== "type") {
|
||||
var s = source[property],
|
||||
t = target[property];
|
||||
|
||||
|
||||
Reference in new issue
Block a user