1333740ab63e64170e0d41b63f09206835afa10a,benchmarks/macosko.py,,,#,23

Before Change


// with Timer("Running fast_tsne..."):
//     fast_tsne(x, nthreads=1)

with Timer("Finding nearest neighbors..."):
    affinities = openTSNE.affinity.PerplexityBasedNN(
        x, perplexity=30, method="approx", n_jobs=1, random_state=3
    )

with Timer("Creating initial embedding..."):
    init = openTSNE.initialization.pca(x, random_state=3)

with Timer("Creating embedding object..."):

After Change


import matplotlib.pyplot as plt

plt.scatter(embedding[:, 0], embedding[:, 1], s=1)
plt.show()
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: pavlin-policar/openTSNE
Commit Name: 1333740ab63e64170e0d41b63f09206835afa10a
Time: 2020-03-17
Author: pavlin.g.p@gmail.com
File Name: benchmarks/macosko.py
Class Name:
Method Name:


Project Name: has2k1/plotnine
Commit Name: 0bdec2a2f2847f26ceaf38f0b65d7ff475ab7f61
Time: 2020-11-28
Author: has2k1@gmail.com
File Name: plotnine/ggplot.py
Class Name: ggplot
Method Name: draw


Project Name: suavecode/SUAVE
Commit Name: 0ff4275cf16d0cf4f7d584efef54c786f6a17d19
Time: 2020-12-24
Author: ebotero@stanford.edu
File Name: regression/scripts/B737/mission_B737.py
Class Name:
Method Name: