renamed elkan -> triangle_inequality, lloyd-> full
pep8, rename _kmeans_single -> _kmeans_single_lloyd
add a docstring to elkans k-means in cython.
fixed text for full
Fixed elkans kmeans so that predict is same as labels
Added test to ensure full and triangle_inequality give same results
changed triangle_inequality to elkan
Addressed review comments
removed rebase artifacts
correct whats_new
moved enhancement bullet to 0.18
removed extra newline
strong typing dor prototype
fixed random state
removed c file
removed merge artifacts
removed entry from 0.17
Add documentation and inline_comments to _k_means_elkan.pyx
Minor rearrngement of docstring sentences
removed call to np.sort to improve speed for large number of clusters
replced logic with call to np.partition
Fallback to sort if partition does not exist
use partition from fixes rather than numpy
Main changes:
* Instead of checking the dimensionality of _log_dirichlet_expectation
in a loop, just call the appropriate 1-d or 2-d version directly.
* Moved exp() call to Cython level.
* Reshuffled _update_doc_distribution inner loop to do fewer
computations when stopping due to early convergence.