Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit cb71e1a

Browse files
Update kmeans.cpp
1 parent 898da84 commit cb71e1a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

‎kmeans.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -219,6 +219,7 @@ class KMeans
219219
bool done = true;
220220

221221
// Add all points to their nearest cluster
222+
// If you want to use parallel processing, please compile with appropriate configurations
222223
#pragma omp parallel for reduction(&&: done) num_threads(16)
223224
for (int i = 0; i < total_points; i++)
224225
{

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /