|
157 | 157 | "name": "stdout", |
158 | 158 | "output_type": "stream", |
159 | 159 | "text": [ |
160 | | - " 238.716 s (85 allocations: 2.08 GiB)\n" |
| 160 | + " 220.357 s (85 allocations: 2.08 GiB)\n" |
161 | 161 | ] |
162 | 162 | } |
163 | 163 | ], |
|
174 | 174 | "name": "stdout", |
175 | 175 | "output_type": "stream", |
176 | 176 | "text": [ |
177 | | - " 20.224 s (85 allocations: 212.88 MiB)\n" |
| 177 | + " 20.936 s (85 allocations: 212.88 MiB)\n" |
178 | 178 | ] |
179 | 179 | } |
180 | 180 | ], |
|
191 | 191 | "name": "stdout", |
192 | 192 | "output_type": "stream", |
193 | 193 | "text": [ |
194 | | - " 721.430 ms (85 allocations: 21.30 MiB)\n" |
| 194 | + " 824.295 ms (85 allocations: 21.30 MiB)\n" |
195 | 195 | ] |
196 | 196 | } |
197 | 197 | ], |
|
208 | 208 | "name": "stdout", |
209 | 209 | "output_type": "stream", |
210 | 210 | "text": [ |
211 | | - " 24.581 ms (85 allocations: 2.14 MiB)\n" |
| 211 | + " 26.388 ms (85 allocations: 2.14 MiB)\n" |
212 | 212 | ] |
213 | 213 | } |
214 | 214 | ], |
|
239 | 239 | "name": "stdout", |
240 | 240 | "output_type": "stream", |
241 | 241 | "text": [ |
242 | | - " 580.079 s (32485 allocations: 34.42 GiB)\n" |
| 242 | + " 538.531 s (31820 allocations: 33.24 GiB)\n" |
243 | 243 | ] |
244 | 244 | } |
245 | 245 | ], |
|
256 | 256 | "name": "stdout", |
257 | 257 | "output_type": "stream", |
258 | 258 | "text": [ |
259 | | - " 47.804 s (27599 allocations: 2.90 GiB)\n" |
| 259 | + " 33.157 s (20032 allocations: 2.13 GiB)\n" |
260 | 260 | ] |
261 | 261 | } |
262 | 262 | ], |
|
273 | 273 | "name": "stdout", |
274 | 274 | "output_type": "stream", |
275 | 275 | "text": [ |
276 | | - " 882.486 ms (8650 allocations: 93.42 MiB)\n" |
| 276 | + " 742.375 ms (7614 allocations: 82.82 MiB)\n" |
277 | 277 | ] |
278 | 278 | } |
279 | 279 | ], |
|
290 | 290 | "name": "stdout", |
291 | 291 | "output_type": "stream", |
292 | 292 | "text": [ |
293 | | - " 17.424 ms (1577 allocations: 2.20 MiB)\n" |
| 293 | + " 17.098 ms (1699 allocations: 2.34 MiB)\n" |
294 | 294 | ] |
295 | 295 | } |
296 | 296 | ], |
|
328 | 328 | "name": "stdout", |
329 | 329 | "output_type": "stream", |
330 | 330 | "text": [ |
331 | | - " 22.946 s (43965 allocations: 210.36 MiB)\n" |
| 331 | + " 20.554 s (40737 allocations: 210.10 MiB)\n" |
332 | 332 | ] |
333 | 333 | } |
334 | 334 | ], |
|
345 | 345 | "name": "stdout", |
346 | 346 | "output_type": "stream", |
347 | 347 | "text": [ |
348 | | - " 2.844 s (54383 allocations: 26.01 MiB)\n" |
| 348 | + " 2.913 s (56992 allocations: 26.27 MiB)\n" |
349 | 349 | ] |
350 | 350 | } |
351 | 351 | ], |
|
362 | 362 | "name": "stdout", |
363 | 363 | "output_type": "stream", |
364 | 364 | "text": [ |
365 | | - " 177.329 ms (34604 allocations: 5.56 MiB)\n" |
| 365 | + " 175.590 ms (34558 allocations: 5.56 MiB)\n" |
366 | 366 | ] |
367 | 367 | } |
368 | 368 | ], |
|
379 | 379 | "name": "stdout", |
380 | 380 | "output_type": "stream", |
381 | 381 | "text": [ |
382 | | - " 6.403 ms (10587 allocations: 1.37 MiB)\n" |
| 382 | + " 6.093 ms (10349 allocations: 1.35 MiB)\n" |
383 | 383 | ] |
384 | 384 | } |
385 | 385 | ], |
|
403 | 403 | "name": "stdout", |
404 | 404 | "output_type": "stream", |
405 | 405 | "text": [ |
406 | | - " 11.084 s (52379 allocations: 349.14 MiB)\n" |
| 406 | + " 11.518 s (62467 allocations: 350.25 MiB)\n" |
407 | 407 | ] |
408 | 408 | } |
409 | 409 | ], |
|
420 | 420 | "name": "stdout", |
421 | 421 | "output_type": "stream", |
422 | 422 | "text": [ |
423 | | - " 1.160 s (67677 allocations: 41.87 MiB)\n" |
| 423 | + " 966.373 ms (58405 allocations: 40.85 MiB)\n" |
424 | 424 | ] |
425 | 425 | } |
426 | 426 | ], |
|
437 | 437 | "name": "stdout", |
438 | 438 | "output_type": "stream", |
439 | 439 | "text": [ |
440 | | - " 96.670 ms (58154 allocations: 9.93 MiB)\n" |
| 440 | + " 99.897 ms (61185 allocations: 10.27 MiB)\n" |
441 | 441 | ] |
442 | 442 | } |
443 | 443 | ], |
|
456 | 456 | "name": "stdout", |
457 | 457 | "output_type": "stream", |
458 | 458 | "text": [ |
459 | | - " 6.459 ms (16734 allocations: 2.29 MiB)\n" |
| 459 | + " 6.350 ms (16373 allocations: 2.25 MiB)\n" |
460 | 460 | ] |
461 | 461 | } |
462 | 462 | ], |
|
487 | 487 | "name": "stdout", |
488 | 488 | "output_type": "stream", |
489 | 489 | "text": [ |
490 | | - " 13.773 s (50855 allocations: 700.80 MiB)\n" |
| 490 | + " 14.019 s (55965 allocations: 701.39 MiB)\n" |
491 | 491 | ] |
492 | 492 | } |
493 | 493 | ], |
|
504 | 504 | "name": "stdout", |
505 | 505 | "output_type": "stream", |
506 | 506 | "text": [ |
507 | | - " 1.457 s (69447 allocations: 77.21 MiB)\n" |
| 507 | + " 1.131 s (50298 allocations: 75.12 MiB)\n" |
508 | 508 | ] |
509 | 509 | } |
510 | 510 | ], |
|
521 | 521 | "name": "stdout", |
522 | 522 | "output_type": "stream", |
523 | 523 | "text": [ |
524 | | - " 80.484 ms (46490 allocations: 12.13 MiB)\n" |
| 524 | + " 79.120 ms (49220 allocations: 12.43 MiB)\n" |
525 | 525 | ] |
526 | 526 | } |
527 | 527 | ], |
|
540 | 540 | "name": "stdout", |
541 | 541 | "output_type": "stream", |
542 | 542 | "text": [ |
543 | | - " 6.854 ms (17482 allocations: 2.71 MiB)\n" |
| 543 | + " 6.464 ms (16613 allocations: 2.61 MiB)\n" |
544 | 544 | ] |
545 | 545 | } |
546 | 546 | ], |
547 | 547 | "source": [ |
548 | 548 | "@btime [ParallelKMeans.kmeans(Elkan(), $X_1k, i; tol=1e-6, max_iters=1000, verbose=false).totalcost for i = 2:10];" |
549 | 549 | ] |
| 550 | + }, |
| 551 | + { |
| 552 | + "cell_type": "code", |
| 553 | + "execution_count": null, |
| 554 | + "metadata": {}, |
| 555 | + "outputs": [], |
| 556 | + "source": [] |
| 557 | + }, |
| 558 | + { |
| 559 | + "cell_type": "markdown", |
| 560 | + "metadata": {}, |
| 561 | + "source": [ |
| 562 | + "## YingYang" |
| 563 | + ] |
| 564 | + }, |
| 565 | + { |
| 566 | + "cell_type": "code", |
| 567 | + "execution_count": 31, |
| 568 | + "metadata": {}, |
| 569 | + "outputs": [ |
| 570 | + { |
| 571 | + "name": "stdout", |
| 572 | + "output_type": "stream", |
| 573 | + "text": [ |
| 574 | + " 9.970 s (23622 allocations: 346.02 MiB)\n" |
| 575 | + ] |
| 576 | + } |
| 577 | + ], |
| 578 | + "source": [ |
| 579 | + "@btime [ParallelKMeans.kmeans(Yinyang(7), $X_1m, i; tol=1e-6, max_iters=1000, verbose=false).totalcost for i = 2:10];" |
| 580 | + ] |
| 581 | + }, |
| 582 | + { |
| 583 | + "cell_type": "code", |
| 584 | + "execution_count": 32, |
| 585 | + "metadata": {}, |
| 586 | + "outputs": [ |
| 587 | + { |
| 588 | + "name": "stdout", |
| 589 | + "output_type": "stream", |
| 590 | + "text": [ |
| 591 | + " 1.146 s (31409 allocations: 37.89 MiB)\n" |
| 592 | + ] |
| 593 | + } |
| 594 | + ], |
| 595 | + "source": [ |
| 596 | + "@btime [ParallelKMeans.kmeans(Yinyang(7), $X_100k, i; tol=1e-6, max_iters=1000, verbose=false).totalcost for i = 2:10];" |
| 597 | + ] |
| 598 | + }, |
| 599 | + { |
| 600 | + "cell_type": "code", |
| 601 | + "execution_count": 33, |
| 602 | + "metadata": {}, |
| 603 | + "outputs": [ |
| 604 | + { |
| 605 | + "name": "stdout", |
| 606 | + "output_type": "stream", |
| 607 | + "text": [ |
| 608 | + " 108.337 ms (24498 allocations: 6.24 MiB)\n" |
| 609 | + ] |
| 610 | + } |
| 611 | + ], |
| 612 | + "source": [ |
| 613 | + "@btime [ParallelKMeans.kmeans(Yinyang(7), $X_10k, i; tol=1e-6, max_iters=1000, verbose=false).totalcost for i = 2:10];" |
| 614 | + ] |
| 615 | + }, |
| 616 | + { |
| 617 | + "cell_type": "code", |
| 618 | + "execution_count": 34, |
| 619 | + "metadata": {}, |
| 620 | + "outputs": [ |
| 621 | + { |
| 622 | + "name": "stdout", |
| 623 | + "output_type": "stream", |
| 624 | + "text": [ |
| 625 | + " 7.044 ms (9805 allocations: 1.53 MiB)\n" |
| 626 | + ] |
| 627 | + } |
| 628 | + ], |
| 629 | + "source": [ |
| 630 | + "@btime [ParallelKMeans.kmeans(Yinyang(7), $X_1k, i; tol=1e-6, max_iters=1000, verbose=false).totalcost for i = 2:10];" |
| 631 | + ] |
| 632 | + }, |
| 633 | + { |
| 634 | + "cell_type": "code", |
| 635 | + "execution_count": null, |
| 636 | + "metadata": {}, |
| 637 | + "outputs": [], |
| 638 | + "source": [] |
550 | 639 | } |
551 | 640 | ], |
552 | 641 | "metadata": { |
|
0 commit comments