Jaccard-K-Means icon indicating copy to clipboard operation
Jaccard-K-Means copied to clipboard

add k-means++_python3.py which can be run under python3

Open barlaensdoonn opened this issue 7 years ago • 1 comments

tested with python 3.5 like so: python3 k-means++_python3.py SampleTweets.json 2

output: 0 : 323906397735641088,323906397853073410,323906397618196483 1 : 325702287978795009

barlaensdoonn avatar Mar 24 '17 00:03 barlaensdoonn

also I had to change bagOfWords to avoid a Zero Division error, which it was throwing in both python 2 and 3

barlaensdoonn avatar Mar 24 '17 00:03 barlaensdoonn