-
Notifications
You must be signed in to change notification settings - Fork 146
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
New k-means: Removed argument point id from argument list
Jira: MADLIB-522 Now that we have a function to sample vectors directly, it is unnecessary to supply a point id argument to k-means (it was only used for weighted sampling in k-means++). This should improve performance and usability. Other changes: - Added return type to closest_column. On Greenplum, we would otherwise see an error of the form "cannot serialize transient record type". - Adapted k-means unit tests. - New unit test for kmeans with initial centroids provided in table - Fixed oversight that squaredDistNorm1 did not return the square of the 1-norm. - C++ AL: Fixed bug in NativeArrayToMappedMatrix() and NativeArrayToMappedVector()
- Loading branch information
Florian Schoppmann
authored and
Florian Schoppmann
committed
Sep 14, 2012
1 parent
c81c018
commit e6e99f1
Showing
12 changed files
with
131 additions
and
134 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
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
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
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
Oops, something went wrong.