-
Notifications
You must be signed in to change notification settings - Fork 178
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Single threaded K-Means training no longer uses a ForkJoinPool (#197)
* Stop using a FJP for single threaded k-means training. * Fixing a bug in weighted k-means calculations. * Adding a note about FJP requiring the modifyThread permission to KMeansTrainer's javadoc. * Adding a custom ForkJoinWorkerThreadFactory to KMeansTrainer and KNNModel to make them work with custom security managers. * Tightening the check so the custom thread factory is only used when there is a security manager.
- Loading branch information
Showing
2 changed files
with
139 additions
and
94 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.