]> code.communitydata.science - cdsc_reddit.git/commitdiff
increase iterations and perplectity and early_exaggeration
authorNate E TeBlunthuis <nathante@n2347.hyak.local>
Thu, 12 Nov 2020 00:55:39 +0000 (16:55 -0800)
committerNate E TeBlunthuis <nathante@n2347.hyak.local>
Thu, 12 Nov 2020 00:55:39 +0000 (16:55 -0800)
fit_tsne.py
tsne_subreddit_fit.feather [changed from symlink to file mode: 0644]

index dd9fb93809a289e81babf7dfa90b6d9897b0791f..06e949a925bd7b585d33fd9db0adabc108e48f7a 100644 (file)
@@ -24,7 +24,7 @@ mat = np.stack(mat)
 mat = mat + np.tril(mat.transpose(),k=-1)
 dist = 2*np.arccos(mat)/np.pi
 
 mat = mat + np.tril(mat.transpose(),k=-1)
 dist = 2*np.arccos(mat)/np.pi
 
-tsne_model = TSNE(2,learning_rate=200,perplexity=40,n_iter=5000,metric='precomputed')
+tsne_model = TSNE(2,learning_rate=500,perplexity=50,n_iter=10000,metric='precomputed',early_exaggeration=20,n_jobs=-1)
 
 tsne_fit_model = tsne_model.fit(dist)
 
 
 tsne_fit_model = tsne_model.fit(dist)
 
deleted file mode 120000 (symlink)
index 449155d6eac95322217f83c2427f5dd0c2772577..0000000000000000000000000000000000000000
+++ /dev/null
@@ -1 +0,0 @@
-.git/annex/objects/31/xz/SHA256E-s60874--1962019cb0736d0a3174876c245880dac69aa2cc7e739b63d003e002c0b28218/SHA256E-s60874--1962019cb0736d0a3174876c245880dac69aa2cc7e739b63d003e002c0b28218
\ No newline at end of file
new file mode 100644 (file)
index 0000000000000000000000000000000000000000..e34e9716410199023b2d67d52413248466846884
--- /dev/null
@@ -0,0 +1 @@
+/annex/objects/SHA256E-s60874--4229a568aa0abe9b0ac6be4c5c7c0231ca49cbbde9bc748347013bb8b2535dd9

Community Data Science Collective || Want to submit a patch?