From: Nate E TeBlunthuis Date: Thu, 12 Nov 2020 00:55:39 +0000 (-0800) Subject: increase iterations and perplectity and early_exaggeration X-Git-Url: https://code.communitydata.science/cdsc_reddit.git/commitdiff_plain/cd43a94865a0889dc0be91aef4d9179848e273e4?ds=sidebyside;hp=--cc increase iterations and perplectity and early_exaggeration --- cd43a94865a0889dc0be91aef4d9179848e273e4 diff --git a/fit_tsne.py b/fit_tsne.py index dd9fb93..06e949a 100644 --- a/fit_tsne.py +++ b/fit_tsne.py @@ -24,7 +24,7 @@ mat = np.stack(mat) 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) diff --git a/tsne_subreddit_fit.feather b/tsne_subreddit_fit.feather deleted file mode 120000 index 449155d..0000000 --- a/tsne_subreddit_fit.feather +++ /dev/null @@ -1 +0,0 @@ -.git/annex/objects/31/xz/SHA256E-s60874--1962019cb0736d0a3174876c245880dac69aa2cc7e739b63d003e002c0b28218/SHA256E-s60874--1962019cb0736d0a3174876c245880dac69aa2cc7e739b63d003e002c0b28218 \ No newline at end of file diff --git a/tsne_subreddit_fit.feather b/tsne_subreddit_fit.feather new file mode 100644 index 0000000..e34e971 --- /dev/null +++ b/tsne_subreddit_fit.feather @@ -0,0 +1 @@ +/annex/objects/SHA256E-s60874--4229a568aa0abe9b0ac6be4c5c7c0231ca49cbbde9bc748347013bb8b2535dd9