forked from h2oai/h2o-2
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
PUB-923: Fix K-Means to pass golden R test.
Problem: within_cluster_variances was computed correctly, but the name was wrong, since the R wrapper equates this value with withinss, which is the within_cluster_sum_of_squares. So in order to not upset the R side of things, we compute sum of squares instead of variances. Also re-enable returning total_within_SS from R.
- Loading branch information
1 parent
5fa5c25
commit 11835ec
Showing
2 changed files
with
11 additions
and
6 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
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