Skip to content

Commit

Permalink
Update scorecomplex.cpp: eps related update rollback
Browse files Browse the repository at this point in the history
  • Loading branch information
Woosub-Kim authored Jan 31, 2024
1 parent f690b9d commit 0eff023
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions src/strucclustutils/scorecomplex.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -415,8 +415,10 @@ class DBSCANCluster {
distMap.insert({{i,j}, dist});
}
}
eps = minDist;
learningRate = (maxDist - minDist) / CLUSTERING_STEPS;
// eps = minDist;
// learningRate = (maxDist - minDist) / CLUSTERING_STEPS;
eps = 0.1;
learningRate = 0.1;
}

void getNeighbors(unsigned int centerIdx, std::vector<unsigned int> &neighborVec) {
Expand Down Expand Up @@ -827,4 +829,4 @@ int scorecomplex(int argc, const char **argv, const Command &command) {
}
resultWriter.close(true);
return EXIT_SUCCESS;
}
}

0 comments on commit 0eff023

Please sign in to comment.