All files kmeans/lib

55.23% Statements 1313/2377
100% Branches 25/25
0% Functions 0/26
55.23% Lines 1313/2377

Press n or j to go to the next uncovered block, b, p or k for the previous block.

File Statements Branches Functions Lines
copy_matrix.js
55.69% 44/79 100% 1/1 0% 0/1 55.69% 44/79
copy_vector.js
90.9% 40/44 100% 1/1 0% 0/1 90.9% 40/44
dot.js
71.42% 40/56 100% 1/1 0% 0/1 71.42% 40/56
euclidean.js
71.42% 45/63 100% 1/1 0% 0/1 71.42% 45/63
find_closest_centroid.js
72.3% 47/65 100% 1/1 0% 0/1 72.3% 47/65
incrstats.js
47.61% 40/84 100% 1/1 0% 0/1 47.61% 40/84
index.js
100% 84/84 100% 1/1 100% 0/0 100% 84/84
init.js
50% 55/110 100% 1/1 0% 0/1 50% 55/110
init_clusters.js
50% 47/94 100% 1/1 0% 0/1 50% 47/94
init_forgy.js
39.65% 46/116 100% 1/1 0% 0/1 39.65% 46/116
init_kmeansplusplus.js
37.13% 101/272 100% 1/1 0% 0/2 37.13% 101/272
init_sample.js
44.21% 42/95 100% 1/1 0% 0/1 44.21% 42/95
main.js
33.1% 143/432 100% 1/1 0% 0/2 33.1% 143/432
matrix.js
72.88% 43/59 100% 1/1 0% 0/1 72.88% 43/59
normalize.js
63.63% 42/66 100% 1/1 0% 0/1 63.63% 42/66
normalize_matrix.js
60.93% 39/64 100% 1/1 0% 0/1 60.93% 39/64
squared_correlation.js
91.83% 45/49 100% 1/1 0% 0/1 91.83% 45/49
squared_cosine.js
91.83% 45/49 100% 1/1 0% 0/1 91.83% 45/49
squared_euclidean.js
91.83% 45/49 100% 1/1 0% 0/1 91.83% 45/49
standardize.js
69.35% 43/62 100% 1/1 0% 0/1 69.35% 43/62
standardize_matrix.js
61.53% 40/65 100% 1/1 0% 0/1 61.53% 40/65
stats.js
48.19% 40/83 100% 1/1 0% 0/1 48.19% 40/83
update_centroid.js
73.77% 45/61 100% 1/1 0% 0/1 73.77% 45/61
validate.js
59.32% 70/118 100% 1/1 0% 0/1 59.32% 70/118
vector.js
72.41% 42/58 100% 1/1 0% 0/1 72.41% 42/58