{ "cells": [ { "cell_type": "markdown", "metadata": {}, "source": [ "# Mislabelled references" ] }, { "cell_type": "code", "execution_count": 1, "metadata": {}, "outputs": [ { "data": { "text/html": [ "" ], "text/vnd.plotly.v1+html": [ "" ] }, "metadata": {}, "output_type": "display_data" } ], "source": [ "import scipy\n", "import numpy as np\n", "from sklearn.neighbors import KernelDensity\n", "from sklearn.decomposition import PCA\n", "from sklearn.model_selection import GridSearchCV\n", "from sklearn.cluster import estimate_bandwidth\n", "\n", "import pandas as pd\n", "\n", "from scipy import stats\n", "from scipy.stats import beta\n", "\n", "\n", "import matplotlib.pyplot as plt\n", "import itertools as it\n", "\n", "import plotly\n", "import plotly.plotly as py\n", "import plotly.graph_objs as go\n", "from plotly.offline import download_plotlyjs, init_notebook_mode, plot, iplot\n", "\n", "init_notebook_mode(connected=True)" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "In this post we're going to deal with a common occurrence in biological datasets, one not often taken into account: local mis-labelling of reference accessions.\n", "\n", "When estimating the origin of unlabelled accessions, we tend to assume (and could be right on occasion) that our reference populations are \"pure\". That is, that the misrepresentation of their genepool will have arisen from biases in sampling, which we attempt to correct for, but biases in sampling only.\n", "\n", "In truth, that is rarely the case. Ancestors of our reference individuals might have migrated, by their own means or though human action, and come in contact with the ancestors of modern representatives of other populations. This is particularly true of domesticated species.\n", "\n", "In addition, our data sets not being complete, we have no way of knowing if our modern references have not received material from representatives of cryptic populations yet uncharacterized.\n", "\n", "On this post, we shall attempt to deal with these scenarios, and to see how this can be done using the same tools as in previous posts." ] }, { "cell_type": "code", "execution_count": 2, "metadata": { "scrolled": true }, "outputs": [ { "name": "stdout", "output_type": "stream", "text": [ "-- PCA on haplotypes generated --\n", "Variance explained:\n", "PC1: 0.163; PC2: 0.084; PC3: 0.025\n" ] } ], "source": [ "## Let's go ahead and define the density function of our allele frequencies. \n", "# :: Refer to previous posts if you wish to visualize this density under the beta distriution ::\n", "a, b = 1.5, .2\n", "\n", "\n", "# number of populations to generate\n", "N_pops= 4\n", "\n", "# length of haplotypes\n", "L= 200\n", "\n", "# Size of reference populations\n", "Sizes= [250,100,300]\n", "labels= [0,1,2] # the fourth population is to be our unknown.\n", "\n", "# number of unlabelled individuals to draw from each population:\n", "n_unlab= {\n", " 0: 5,\n", " 1: 3,\n", " 2: 7,\n", " 3: 20\n", "}\n", "\n", "# Simulated crosses between distributions. This dictionary is built to indicate from whom a given pop will\n", "# receive its mislabelled material, and how many haplotypes will have been contributed. In that order:\n", "# Across = {target_pop: {Contributing_pop: N_contributions}}\n", "\n", "Across= {\n", " 0:{\n", " 1: 3,\n", " 2: 5,\n", " 3: 4\n", " },\n", " 1:{\n", " 0: 7,\n", " 2: 2\n", " },\n", " 2:{\n", " 0: 15,\n", " 1: 4,\n", " 3: 3\n", " }\n", "}\n", "\n", "# reference population labels\n", "label_vector= np.repeat(np.array([x for x in labels]),Sizes)\n", "\n", "## save the allelic frequency vectors that will characterize each population:\n", "prob_vectors= np.array([beta.rvs(a, b, size=L) for x in range(N_pops)])\n", "prob_vectors[prob_vectors > 1]= 1 ## probabilities exceeding 1 are trimmed.\n", "\n", "## Drawing haplotypes.\n", "data= []\n", "\n", "for k in range(len(labels)):\n", " \n", " probs= prob_vectors[k,:]\n", " \n", " m= Sizes[k] - sum(Across[k].values())\n", " \n", " Haps= [[np.random.choice([1,0],p= [1-probs[x],probs[x]]) for x in range(L)] for acc in range(m)]\n", " data.extend(Haps)\n", " \n", " ## draw introgressed haplotypes using Across:\n", " \n", " for bro in Across[k].keys():\n", " \n", " haps= [[np.random.choice([1,0],p= [1-prob_vectors[bro,:][x],prob_vectors[bro,:][x]]) for x in range(L)] for acc in range(Across[k][bro])]\n", " data.extend(haps)\n", " \n", "data= np.array(data)\n", "\n", "## create incognita haplotypes from both our known distributions as well as a fourth, uncharactrerized population.\n", "admixed= {k:[[np.random.choice([1,0],p= [1-prob_vectors[k,:][x],prob_vectors[k,:][x]]) for x in range(L)] for acc in range(n_unlab[k])] for k in n_unlab.keys()}\n", "\n", "# Principal component analysis of the data generated.\n", "## Number of components to retain:\n", "n_comp = 3\n", "\n", "## Perform the PCA on the whole data set so as not to lose variation absent from our references populations.\n", "pca = PCA(n_components=n_comp, whiten=False,svd_solver='randomized').fit(np.vstack((data,[y for y in it.chain(*admixed.values())])))\n", "features = pca.transform(data)\n", "print('-- PCA on haplotypes generated --')\n", "print(\"Variance explained:\")\n", "print(\"; \".join(['PC{0}: {1}'.format(x+1,round(pca.explained_variance_ratio_[x],3)) for x in range(n_comp)]))" ] }, { "cell_type": "code", "execution_count": 4, "metadata": { "scrolled": false }, "outputs": [ { "data": { "application/vnd.plotly.v1+json": { "config": { "linkText": "Export to plot.ly", "plotlyServerURL": "https://plot.ly", "showLink": true }, "data": [ { "marker": { "line": { "width": 0 }, "opacity": 1, "size": 4, "symbol": "circle" }, "mode": "markers", "name": "0", "type": "scatter3d", "uid": "ad048096-68f1-4974-aee7-c5367353c9c2", "x": [ -1.7274056486622458, -1.6466365759470947, -1.6077761407767104, -1.593509667327769, -1.6922395071993288, -1.6027176435126669, -1.5077562449224389, -1.9093405557331895, -1.0996333474020925, -1.8429014947045081, -2.192367533325139, -2.197249304737655, -1.6478982732279528, -1.5476701563880366, -1.9782924318386084, -2.1438954535127075, -1.7651092260204915, -1.776506740418437, -1.7753843721488107, -1.7409097881694733, -1.8412758691170517, -1.873188071730042, -1.8767334683467516, -1.7676514473526943, -1.672137839959505, -1.985967008163813, -2.1174558100084346, -0.9785005512376109, -1.9729652505929312, -1.3118568704729887, -1.766939774903435, -2.0788852127843596, -1.224121428663773, -1.6271058402530432, -1.7091536156061273, -1.4683281579145666, -2.274534216878688, -1.916222258507319, -1.8741618648372307, -1.7190589612931515, -1.735785417445157, -2.012566992009391, -1.6996170630046548, -2.30051624736541, -2.482162806080132, -1.506025380981786, -1.1455292986261278, -1.8677651526678039, -1.9194806569884535, -1.7462350194495015, -1.9895385445736575, -1.8966135926193342, -1.6061679392900887, -1.4001430684998162, -1.8180114006531662, -1.903101999663897, -1.4211580833674788, -1.2315590705495791, -1.5437483449887754, -1.5682731056109624, -1.870306160654793, -1.3999707296527268, -1.5464865815718758, -1.8978781646975682, -1.2581832717585422, -1.0922070706545925, -1.549913657554703, -1.8187219679090485, -1.0970665754696531, -1.7921898893691652, -2.5867121396371515, -1.25795272530418, -0.5302195573750543, -1.4793299891874359, -1.6616872315180544, -1.3967089509124646, -1.665323239170221, -1.7108329192807148, -1.5920317620923559, -0.9467561911769705, -2.0297598043616247, -1.9996882298727074, -1.514505462091814, -1.593680152550188, -2.0371673645256747, -1.2007394142826657, -1.5628976795669753, -1.8462562885811686, -1.4800807605544941, -1.525301817062378, -1.9238687505041048, -1.9009357273036813, -1.4476409945435589, -1.7367193802232856, -1.4376688468931502, -1.967626100390299, -1.983482740790681, -2.092467746610921, -1.6245152583740212, -1.6460146552809962, -1.4754722482498839, -1.534925844240598, -1.8291805778427923, -1.6730881343607988, -1.7043898277408263, -1.5373051303937784, -1.754249563163462, -2.1265252365920304, -2.219347053941857, -2.037789677518002, -1.0796778241633758, -1.7288288249437311, -1.564182067752309, -1.5883457708542479, -1.7442372667404453, -2.2021402372765437, -1.787473907106387, -1.6312596455475321, -1.4107056097693251, -1.928650021272622, -2.0731941660890056, -2.1503667483960123, -1.773027409637597, -1.4921200249387239, -1.621819463305596, -1.4948876571914915, -1.689109427692673, -2.2080912607625383, -1.898397061083974, -1.7696715174781912, -1.9483238915697114, -1.7762724704195954, -1.8808384135716223, -1.607051438052201, -1.8713238671547148, -1.9993848966234558, -1.9127321222263387, -1.5824477946979936, -1.8748150301039777, -1.5008217067250984, -1.7239665710645082, -1.693397257834454, -1.4359515002869614, -1.7980628880170437, -2.0626671232667224, -1.5663356109593716, -2.0316555933801244, -2.0700774063547227, -1.5666782816109712, -2.363482781088614, -1.997738018113736, -2.339257582917393, -1.2654921566519173, -1.5288797752832821, -2.055897532519505, -1.3987931001989644, -1.948953404372841, -1.5567198660547854, -1.1463429457043521, -1.8557123243508622, -1.7792547013804842, -1.8616681788524736, -1.773280438689485, -1.3750454897444193, -1.8592554147691658, -1.8438906850702699, -1.9519141383419962, -2.0820713213869393, -2.1121792321535384, -1.8423985333633683, -1.4652520024113402, -1.5843065333623183, -1.8954738901534411, -1.4136479327799163, -1.5076758150035705, -1.6014711729008175, -1.4251747799277097, -1.9188978052948569, -1.5525990108163485, -2.2266220186229844, -1.7268834996873719, -1.5941524756973362, -1.3945211085487175, -2.151253471815683, -1.5437425681791261, -1.7790850164182632, -1.2179937749628025, -2.2761523995650257, -1.9012440349049913, -2.0353685353030726, -1.7686533406285536, -1.9882014637040168, -1.7071093298609121, -2.009742663659804, -1.70879973620184, -2.358222196256525, -1.7438641778124802, -2.1278251545698885, -2.0942265529353143, -1.5344680977085148, -1.6539331821484697, -1.3285706752519697, -1.804950541692215, -1.8667117082105422, -1.351018230810774, -2.008368755172268, -1.929979588321042, -0.9533034213468219, -1.8126532909786295, -1.955498401751306, -1.7916568145916447, -2.007295551068394, -1.8273987350406413, -1.7122639648430569, -2.3563995630895174, -2.250840610889004, -1.934282999664917, -1.8387429599797107, -1.6284018044003208, -1.9553356707556813, -1.9025488493522784, -2.058453462646014, -1.2014892533439685, -2.5669553856153313, -1.837753105277776, -1.3752668094542275, -2.1624025260580892, -0.9273905686848918, -1.7941926105747825, -1.7533369855666123, -1.4313002899054934, -1.8222192908806245, -1.5179235704174836, -2.1726537693889427, -1.3342567853139473, -1.897163044014057, -2.090003953093978, -2.0440402681607295, 0.1803790724154876, -0.5595679144061227, -0.7544671185038819, 1.5980817320790284, 2.0019773363076623, 1.653584806622868, 1.6924322690675546, 1.577464509726308, -0.303230148112819, -0.4443098759942194, -0.25513760626558296, -0.3168529327063777 ], "y": [ -0.33516874997147605, -0.5829512259651475, -0.3497656472246118, -0.5262325870555324, -0.4795534414294802, -0.5532406347417214, -0.5665654097347849, -0.0877270597770467, -0.3454744903404118, -0.6684950554626918, -1.216030690123546, -0.899685525071205, -0.42628917894443297, -0.6280494118784399, -0.33324567435214925, -1.3782105366382442, -0.6657985928511183, -1.1457819784061574, -0.7878604967894252, -0.8638326371306788, -0.7764620833283518, -0.7056410093561878, -0.4698678192256348, -0.35530108598068383, -0.2728126997132022, -0.6829005988946337, -1.0459070336386938, -1.102863610550108, -0.7443748344163736, -0.5018445154849048, -1.441842888035113, -1.034371682153588, -0.7891186361672902, -0.6156035050694177, -1.0361571344056686, -0.4455510373336499, -0.27665389536439344, -0.9081060825353084, -1.1224709769624461, -0.8875735958901247, -1.202798686964572, -0.9442147180931562, -0.6112271773778204, -1.2760532193362581, -1.0133883762917983, -1.1013111585666717, -0.37551951812842377, -1.1998583811849837, -0.9153039949756037, -0.26742462619505625, -1.392237500316966, -1.3063126406866565, -1.1694808579747409, -0.3064976235976028, -0.7380413440539186, -0.378280674646408, -0.30428994572032797, -0.9328925300172424, -0.8115843860053447, -0.9331189906039767, -1.4535689894929407, -0.8763121946976669, -0.748493272006258, -0.9215086236979597, -0.36532949026975003, -0.7590464729727933, -0.8453091466050535, -0.7747344882692944, -0.935432670224617, -0.4931174710462042, -1.3519338491556527, -0.9031848952247237, -0.5885213284623012, -0.8674566759172915, -0.49798663459035347, -0.8757817353255162, -0.9093266674849723, -0.4369605891228229, -1.116730110940364, -0.6676968483044654, -0.12080367187235044, -0.99666262369168, -0.9340944955572639, -1.1230618851248328, -1.0118751065857423, -0.6726382815814758, -0.7226721406466623, -0.9876900988640958, -0.5899324081078317, -0.6166015413346506, -0.40012439278234674, -0.8329378336794251, -0.614460785185001, -0.8244540046887807, -0.6749450091181544, -0.5429868804767821, -0.6652058123479248, -0.8017184192221778, -0.7198886294910263, -0.5373013140700842, -0.7910514380039846, -0.2691519168041871, -0.5943367267592139, -0.5599865381791651, -0.8214810432192565, -0.5433737694696401, -0.8602359934490971, -1.0326006564664512, -1.0601961434694063, -0.4213968206981378, -0.4033436451562077, -0.7102251536020583, -0.740892726111672, -1.0346847930841898, -0.40792514018003007, -0.640162172294773, -0.3564356187666674, -0.6805604491628112, -0.7733187870865488, -1.225668561358399, -0.7246143658188344, -0.7161031795563249, -0.5739891111593052, -0.8607980830907989, -0.4654432392959682, -0.8768232250617689, -0.4690889055995926, -1.0010249632332624, -0.7769717785815335, -0.6806153878843471, -0.7358641590947017, -0.6668449581742806, -0.9139457087117937, -0.3481269919545804, -0.3962517507099238, -0.69264508386006, -0.48908557352195525, -0.8960993232128238, -0.8293575528959938, -0.6947413080841331, -1.0721037022896478, -1.1901088431541418, -0.19490779035441888, -0.9561133385523377, -0.5580019033186148, -0.876775139126929, -0.3612835129430716, -0.9867904347287126, -0.23687973385627917, -1.018561039531517, -0.6960776812585328, -0.9609609552425109, -0.3699438696250467, 0.060705268723807985, -1.0160548610869624, -0.5080194969422638, 0.03812437078661444, -0.6449983253697988, -0.9365391845443978, -0.35564893559025684, -0.9886553651930521, -1.4407767747305118, -0.8495344729930199, -0.27656261799052423, -0.8059920858758307, -0.5019629673125969, -1.0063627767427228, -0.4132927420813298, -0.3227317085272756, -1.2494167823403945, -0.8927708325079566, -0.800214075786418, -0.5496862901877593, -0.9033385241577834, -0.7174420167952704, -0.7545438741978021, -0.9103080638298875, -0.34740210486469403, -0.6253779692487427, -1.2914666808316215, -0.5397600996622347, -1.1039503993516648, -0.6069504500436527, -1.6071627099939647, -0.3227010854140027, -0.5930901820340619, -0.7206888195810042, -0.904907603295233, -0.7053756131863964, -0.6632140984099615, -0.2701344415378751, -0.46819893079107777, -0.5700864656122759, -0.9462921139040568, -1.2128215157796158, -1.3128877153992449, -0.8180811970161657, -0.8095086013745314, -1.2855691579526065, -0.4131839029362172, -0.9469732491582896, -0.900102081318018, -0.6910144921352623, -0.35417341143106884, -0.9463158237729428, -0.8282951822156506, -0.8397957419947806, 0.1158597773945582, -0.3596213916298127, -0.5155186457214127, -1.063753051191266, -0.832994039383524, -0.6910836647513561, -0.40981462682562836, -1.0775869073538227, -0.39463558948285515, -0.5796172909669084, -0.5823762131766714, -0.9655086906035162, -0.6480054811932654, -1.2448550734781605, -1.046608970837482, -0.7663787844671179, -0.7045663604948234, -0.25869545024452395, -0.7284837717065034, -0.6294471038877623, -0.5245809626821913, -0.2751443470780174, -0.9470917473203257, -0.3628815102856177, -0.5491394396881539, -0.13792099601715277, -0.9466791548444542, -0.7609027082725714, -0.5548969589698476, -1.2633317715324868, -1.121254614154319, 2.8344031192281847, 3.0182616135147753, 2.6795225477045572, -0.40652630835878384, -0.5880992976743615, -0.2226020217099249, -0.44671696245970066, -0.162093773689715, 0.8522742001230774, 0.9905530065935872, 1.3361641096337094, 0.5638335349951418 ], "z": [ -0.1263860034191058, 0.2943172712963956, 0.01588558003063212, 0.3939240858984876, -0.07356747587938381, -0.2004974490654429, -0.35369326630973097, 0.34420622450396465, -0.21872611888143612, 0.018995781523004015, -0.505398065983632, -0.483943077533753, -0.20772906751533318, 0.2861285002771352, -0.22658768569252197, -0.1810406545002597, 0.034999204158108276, -0.022759865418888536, -0.07025916711744362, -0.1693231218201914, 0.06088204671175721, -0.2378960132865423, 0.12028641856842467, -0.285827729772967, -0.3007392778043968, -0.08259202906368561, -0.7719933292983013, 0.020587093918309127, -0.1255692348025934, -0.2298247106880128, -0.014186471935867664, -0.24394803741368032, 0.3864532382594157, -0.04182788878997564, -0.36097400949033465, 0.08812545064684801, -0.24594554824602388, -0.4214661033639534, -0.28694541926126194, -0.26474047367045445, -0.05583828649794769, 0.0810013961774475, -0.6560342762978693, -0.6134693263945579, -0.14438076025767507, -0.46130847895244476, 0.15338490650755934, 0.2041975028550794, -0.2776328462766158, -0.2551671448970575, -0.5342929192319412, -0.4869754577040669, -0.6215626174516841, 0.3727749032345037, 0.037452021106385375, -0.12954504866590594, 0.3403585031455305, 0.026801089266951145, 0.06493646470767059, -0.11658470462994466, -0.3153003501306987, -0.07202739321125323, -0.530163526403043, -0.10528859294828585, -0.11809532855270324, -0.5699436244874266, 0.12778761358048812, 0.03674200269210302, 0.06764917092950451, 0.0005533964276662435, -0.42278900079931636, -0.5427901618095483, 0.028510449064764628, -0.1407660693937278, -0.002057988265284704, -0.05142739281649026, -0.24847746377032573, 0.5105257988777937, -0.39069042556448785, -0.03879749251394212, -0.08922516664584915, -0.0894291303006321, 0.3995495367064408, -0.48458045059899457, -0.013958727691849238, 0.37281636477961555, -0.20812211918710138, 0.5682092613497338, -0.09516155761048686, 0.14823172400597404, -0.04485125742118299, 0.09421515022260046, -0.1793654129645719, -0.04204217730817205, -0.21334298055430057, 0.0771542474416603, -0.2151934535360402, 0.1442007920885758, 0.05046434445607205, 0.10727106837978848, -0.17326389170981268, 0.6869403638458874, 0.09653982036329584, -0.06927218344427036, -0.7145183374112162, -0.5798595933070246, -0.37633746310941096, -0.5057293389775397, -0.305079215818131, -0.31471757869532746, -0.7385460317202811, 0.22278109113534317, -0.12690728267664092, 0.1601408977927067, 0.3548179605978098, -0.31564383966126053, -0.05836042431947624, -0.14397141250876774, -0.017522150653224326, -0.27417930139668867, -0.1361745762331297, 0.16990844074860828, 0.16571605549363636, -0.2175931323808309, -0.2786503332371715, -0.10580345131197363, 0.1990084190086309, -0.12070129280074804, -0.1369836987249149, -0.19931818972961554, -0.16397816552103636, 0.15745074204574178, -0.01798426780510395, 0.080102168560965, -0.2328850113576808, 0.14619333219237518, -0.15668130865359373, -0.14076351432192086, -0.5407629598447737, -0.28773891101065596, -0.30628134971444276, -0.3981389820539979, 0.15108327724946122, 0.03015012152353708, 0.09008551797557413, -0.0831253535149003, -0.10582790328444316, 0.17775797177111272, 0.28325127191804467, -0.5461944899454324, 0.19843372632942105, 0.024561543858732247, 0.1916955530113154, -0.5406553660254405, -0.08736396057966164, -0.4165810885369764, -0.2359720463480467, 0.42092173138240474, 0.03538360939153937, -0.22260426028948432, 0.19999773138982482, -0.9127559367363507, -0.27162334442586267, 0.036508966296279734, 0.03623356235175549, -0.272094568330735, -0.029316394345574096, 0.03247563015051537, -0.04034386926579451, 0.0401259641221053, 0.21362313737908245, 0.4485018206943461, -0.1467883676422852, -0.6691958745584046, 0.2313929178625267, 0.36284423054415404, -0.0383194866588478, 0.14146716517199848, 0.5180013946340996, 0.0473973516225315, 0.06890764317302928, -0.029900781407369657, 0.30539690160111066, -0.8260042475310384, 0.5033980122785966, -0.37119379628091265, 0.34586665060256705, -0.015851218756783757, -0.0003609001179552022, -0.5363611377960334, 0.2296449378893746, 0.2067776940535544, 0.6029111656142884, 0.1112293975788548, -0.008737477939409165, -0.09691853506802775, -0.16175300936579237, -0.2794247620495548, -0.6673265924474132, 0.07013555302531713, 0.003408869506957308, -0.1252004623422335, 0.4095084407016806, -0.221578211081363, -0.4786938172241988, -0.1548371728533045, -0.2729450240024235, 0.28921339744751573, -0.11500924613469779, -0.12179603079946558, -0.6204948523844706, 0.27920220239746896, 0.09670438901077594, 0.49455319496226136, -0.42007577952414, 0.14282025413683905, -0.24671578526847826, 0.6709009717337197, 0.17133038170894524, -0.5865700049978881, -0.4061709668086516, -0.46620670710825224, 0.3028314168968832, -0.5398637113209552, -0.054560663593391706, -0.22279312730116796, -0.6211041514254118, 0.4110284072170096, 0.1543933606218168, -0.4916961898394836, -0.05429439381221753, -0.41871920810040086, -0.3785646317689275, -0.049100170911495336, 0.3530452686700526, -0.14915545553397117, -0.09619219798851804, -0.7311345158188184, -0.45338257126712656, -0.46137191389060844, -0.10444438801153613, 0.06332738453525506, 0.21253476862087795, -0.1985583884258479, 0.475920279333058, 0.25712548577204636, 2.656222245176169, 3.186898611998901, 2.7998907839076894, 2.759975243684635 ] }, { "marker": { "line": { "width": 0 }, "opacity": 1, "size": 4, "symbol": "circle" }, "mode": "markers", "name": "1", "type": "scatter3d", "uid": "b6a742c9-ce7b-4c6f-81fd-039a61a3ce4f", "x": [ -0.172187836361788, -0.956085585588107, -0.8320597779108911, -0.9086889517069299, -0.5040908337044656, -0.5748694907198076, 0.02889796858657922, -0.9437800046880732, -0.6001728102224678, -0.31589333056586955, -0.15174999212967785, -1.0111833437885562, -0.5839283032883741, -0.5496176829511548, -0.7594108323647495, -0.5407701667570901, -0.5765247020327586, -0.8620930394049616, -1.0164688269314988, -0.5215720075008441, -0.5623800008359023, -0.6588181600945132, -0.6408238938016708, -0.30106210877548245, -0.684747652558368, -0.11043814502955898, -0.5942245935350268, -0.8653124915666943, -0.41081918479852886, -0.3398368398766518, -0.04813547033021512, -0.980383893703263, -0.8599297483074688, -0.3909556487292717, -0.6008404331596192, -0.9356962940349306, -0.5910982875316393, -0.408572755827408, -0.8933010176327318, -0.671506247377561, -0.6635288315753094, 0.1645053685589158, -0.5552441411975689, -0.8428949322845501, -1.045977749456291, -0.5495198225728373, -0.5564210923118709, -0.5705397799290965, -0.42431725429903094, -0.8675699579693424, -0.15641313406968552, -0.5698976076626678, -0.7349910138947137, -0.8886920815342304, -0.8848727788567889, -0.7596735858767465, -0.9189724363750408, -0.46448295312521887, -0.269744349546089, -0.5551300334190278, -0.39910394334454163, -0.97719369549715, -0.5739514508392489, 0.08157839165852643, -0.556991880693545, -0.47147098223040634, -0.2879550201592607, -0.1705538029309697, -0.543637998878387, -0.36595925158810416, -0.6657387348959238, -0.5754792844312722, -1.0093095251277326, -0.5440929863610244, -0.555021910536096, -0.4881496472654288, -0.21207464337230725, -0.4732446470716372, -0.6847496209496589, -0.2970928579434577, -0.8671412655479599, -0.7388103592309967, -0.5607291881877524, -0.9425549048763109, -0.5682314116286593, -1.0720975624069806, -0.5629831604747196, -0.24687207011463724, -1.0868912031953146, -0.3645054787156743, -0.36504540461598944, -1.8960399204300162, -2.1875535384105693, -1.7115066415056694, -2.176332719020403, -1.7738161531247136, -1.4445490647432353, -2.0896211491988788, 1.9610291179265797, 1.8667673542320773 ], "y": [ 2.6029718720672896, 3.275115645036235, 3.1527590284913773, 2.065983252779181, 2.841584148885422, 2.2120439891190906, 3.09835269350375, 2.401961032815102, 2.744562252790231, 2.2040769470136894, 2.6755384914920333, 2.990150568016006, 2.600030123671792, 3.052039105200828, 3.3161109219087166, 2.6430542545943747, 2.88607987841636, 2.9581385890513334, 3.394512034117499, 2.547838391589402, 3.0385401865526522, 2.8532888038667883, 2.1515387793519634, 2.253768410277269, 2.8049729823794936, 2.4937485250580247, 1.9361553562367464, 3.084637805954894, 2.128775589147018, 3.3628835047166747, 2.989879841959319, 3.192419365353019, 2.5842418534293863, 2.1067324910780427, 2.2885530289274856, 2.6630680941865417, 2.70885040218499, 2.2684510176669916, 1.602771800579215, 2.9868091880160215, 3.303120464955456, 2.9668396341675085, 2.4349667080082633, 3.1712165121303055, 1.8410314314734733, 1.728356824135497, 2.3889021465683715, 2.3945659969717092, 2.60191810536756, 3.046102034717418, 2.789701045239422, 2.5774546118558503, 3.2150789494199175, 3.30201989821272, 2.195744920056258, 2.351277722070903, 3.7140728124042726, 3.083731902352758, 2.60526340095157, 2.9254050606564794, 2.8872292480503012, 2.3884975207190395, 2.750087548583506, 2.188400072627555, 2.1634444855706993, 2.8640022722413625, 2.4495920432771703, 3.05889601192255, 1.889204591512167, 2.2603854879481164, 2.701768326851001, 2.545232624295821, 2.2814751943002287, 3.215523341655011, 2.9053986202615003, 2.574835482454904, 2.221168192331273, 2.140306776216557, 2.8921175784076674, 2.6950255573963333, 2.71507261993194, 2.81793062763811, 2.3128237123713467, 2.5167701526172417, 2.664166141902973, 2.2723106603306484, 2.994066337260222, 2.5754624569404054, 2.303498526502251, 2.741607071082566, 2.0664389802069083, -1.1512071587583783, -0.7752655079103885, -0.6604590254617193, -0.9991559503250573, -0.7980091196717991, -0.6935710233762131, -0.9915678042404479, -0.6207581022316286, -0.19831472403234215 ], "z": [ -0.5552635168009277, -0.8250170868004814, -0.12555758236244377, 0.048816215519269415, -0.694600783800826, -0.19107214697756197, -0.7609220159684001, -0.4439427400509848, -1.160330199995551, -1.2118506567307603, 0.008161603899067418, -0.6159207967202867, 0.0865305118363722, -0.18147020377235715, -0.27250962578161164, -0.3340185209771267, -0.37904650507419824, 0.0015243489196582294, -0.3221975234710026, 0.40352974489464677, -0.6078427954225454, -0.4608638741609696, -0.6427439662766117, -0.2559784844506777, -0.029251596640902964, -0.35271407439529334, -0.2651170629026054, -0.3667278027136438, -0.5237212900377621, -0.6016397847533589, -0.5669202319883742, -0.19507159074990701, -0.4274606406301963, -0.20774945147919888, 0.7486602181600981, -0.4133358582677653, -0.726414099747631, 0.12897593663593815, -0.027690711412810026, -0.47492374825958394, -0.7572463905965752, -0.15949551850624336, -0.8704359955843357, -0.6741823781291058, 0.029792848728028207, -0.361320457609572, -0.02921286214468859, 0.03577157263360797, -0.8475205235139881, -0.24491443955709225, -0.5348687470437099, -0.7619892399496072, -0.2993236496860944, -0.07833599263593188, -1.1434166616019812, -0.07164914097149078, -0.4243799035545458, -0.15940458994325588, -0.785936821360646, -0.6458157522043786, -0.43409773882676117, -0.47004724913115825, -0.42241947157955884, -0.2503413050748814, -0.7420669128645093, -0.3626352564779092, -0.026075225435936624, -0.7033021219693582, -0.4309993879337838, -0.21105739901165033, -0.43304199271626487, -0.6804310891806756, -0.14608292696116518, 0.016048860043101954, -0.7672863396251547, -0.2860385422224526, 0.010884526099708778, -0.10045397231246536, -0.6369633603776528, -0.5498149222052214, -0.24997045649708124, -0.21985415495931998, -0.41360225659594096, -0.007807108157800324, -0.22308745329881677, 0.3563806682601751, -0.7940632486214794, -0.5112406011379721, 0.022281927521084117, -0.1851268042642739, -0.7334228835870809, -0.08430267342493428, -0.36599231258656006, -0.015900987437264893, -0.6151745656210225, -0.1468530382091114, -0.43582122263467216, 0.06669176630640701, 0.22584963898697424, 0.05706165756704021 ] }, { "marker": { "line": { "width": 0 }, "opacity": 1, "size": 4, "symbol": "circle" }, "mode": "markers", "name": "2", "type": "scatter3d", "uid": "8f72abca-5e20-4a53-a763-467ded1df242", "x": [ 2.0471659253464045, 1.6355188779947156, 2.2690533586043786, 2.347403072655123, 1.4287145872278488, 1.77797484829726, 0.8831441943710683, 2.0154793558427806, 1.8873624196065317, 1.9353378731288717, 1.5715750019094237, 1.8300785233431816, 2.48332450043466, 1.7568276180948124, 2.1331288875854435, 1.9683865852780131, 1.278266805515904, 1.4913640449076833, 2.533842355752593, 1.130678067303557, 1.9251617163646428, 1.1097503692794857, 1.521873732451837, 2.0572162693354756, 1.662650436822027, 1.8801444445193973, 1.9551008560589929, 1.9060501743757652, 2.127065819716345, 1.7624781646353231, 1.715185443755041, 1.5661568799534904, 2.3851119119645894, 1.5648832358063212, 1.4538985758690282, 1.7592363769291532, 2.237253583538614, 1.7712763332196027, 2.0753450390882136, 1.5302060600527108, 1.642213575243098, 1.810792124511305, 1.7349186509184453, 1.9655325460029907, 2.224416712920869, 1.9423400615617221, 1.6606729208372977, 1.36186987417926, 0.9925320825387739, 2.239106848845965, 1.394601932694627, 1.9897920798834012, 1.88760728977717, 1.6724201909756558, 0.4206577526075591, 1.9433539965974382, 1.8724149895655873, 1.7048219256745718, 1.9161336476573139, 2.1991149460107438, 1.858071369131272, 2.086877380610326, 2.3471104871595805, 1.31468110889795, 1.882313116478246, 1.8571937693803664, 1.8594601995793572, 1.2222045688436087, 1.358574427489264, 1.390216006869853, 1.5253850927150632, 1.8081082568430686, 2.102450263914125, 2.4287839488198104, 1.8522312398547576, 1.7345660722089633, 1.291884514960911, 1.2116883197511872, 2.5842144080245752, 1.4726906318124882, 1.1294178834830155, 1.7540189826384769, 1.9539239788562703, 1.7756567285336704, 2.210924918888446, 1.408085072298444, 2.108757612878061, 1.5544154303769626, 1.612696348895371, 1.9404095300361, 2.4147615296661007, 2.145220917344603, 2.6508368482497437, 1.6691468673385872, 2.174679831744631, 2.10155382014372, 2.311105692548082, 2.2755405280750365, 2.1158521505936045, 1.9965358190553002, 0.9815165191749909, 1.3078635161496295, 1.9641411471512473, 2.0485709334798785, 1.5997284575471604, 1.6190930711190703, 2.4950294659719616, 1.757067214872394, 1.6292427459207237, 1.848279251392025, 2.2414189123650474, 2.3487004830265974, 2.0213162555590265, 2.4398172728253154, 2.2049449499120812, 2.1414751831257357, 2.3565569876176236, 2.286795206844811, 1.7972440534933576, 1.3483245520018523, 2.3005454319010097, 1.7407813637275311, 1.8262894129258687, 2.163495438797646, 2.271456540181284, 1.670542243833832, 1.9612642437623162, 1.0140375623893418, 1.062404536647452, 1.7299471286808952, 1.6339526942486882, 2.086099294976813, 1.6525509434464853, 1.7413010455084095, 2.021705204092635, 2.2119019875651063, 0.9533015704737793, 1.6848733711216872, 1.5150158221462733, 2.327325371545993, 1.6462330055634324, 1.2379328877925442, 2.2480468195646788, 2.136720026165841, 1.940343674039996, 2.0445619219992603, 1.9717712477465197, 2.12831014655607, 1.749172913679934, 2.0301272084097786, 2.2874784397516126, 1.762640765070712, 1.88845034483333, 2.0257370744425303, 2.008855435389346, 0.8263785584995533, 1.608581345288084, 2.0544580495943943, 2.0808509440383562, 1.9628707370007354, 2.082980934265136, 1.8795090375611014, 1.4095678523331328, 1.5368362852706643, 1.559293169202781, 1.2466787970298976, 1.5775894888112671, 1.6950366493464153, 2.0765665950701444, 1.5559471246086543, 1.8170610066287773, 1.8162723187650995, 1.835492109770231, 2.1736327277963117, 1.2834593013882214, 1.6683438601784963, 2.316837910333415, 1.7095742456637268, 1.869602558315389, 1.9314335881995726, 2.440985875874843, 1.1273430528036819, 2.3670401887731423, 1.8407816687936156, 1.0267838328780288, 1.7189160438367557, 2.0611493402547163, 1.7142499454783342, 1.6231995125148788, 1.954008905492047, 1.6366643184937195, 1.6226643855572775, 2.0886047631164715, 1.7522311830650334, 1.8170906401823599, 2.0182851231828742, 1.8072846825231406, 2.2185155811334143, 2.081626296697502, 1.764808749323055, 2.0363620115313483, 1.8782669021535803, 2.110107382888179, 1.393116254928945, 1.958863209785526, 1.554809018425543, 1.8704841809173378, 1.2748171986283858, 1.980901864436924, 1.9973076805630998, 1.715951462648847, 2.1799866739931404, 2.453111771753089, 1.7298382921980684, 1.700121448993524, 2.5750852192305014, 2.187919635562901, 1.9428946657964734, 1.8328430318327729, 1.904469178279863, 0.7279204802778066, 1.7143901285636893, 1.764058059090567, 1.5763594989291887, 1.2049128346933948, 2.0125752870964706, 1.9520387123413352, 2.1119574557107774, 1.7183267235566062, 2.5111240805180697, 1.5971916833091566, 1.7889279967084397, 1.6177451835926424, 1.7809708996670213, 2.4210197175794512, 1.9864179959803199, 1.5159079796687596, 1.672646698287484, 1.6503943109140258, 1.907405256978348, 1.3560314498446058, 1.8113556274545448, 1.4412247304698083, 1.6920604587138013, 1.1428810697548961, 2.386241194067583, 1.536392263227265, 1.5942575064821667, 2.347432363595455, 1.5448451997928516, 1.7283501783648365, 2.176807671742308, 2.0027602865050067, 0.7861917951238027, 1.793775198148382, 1.898141802297547, 2.391220328998118, 2.130485982597165, 1.0150957332360686, 1.1710174305772643, 1.4168981749760032, 2.334917955995922, 2.1939278412439807, 1.4348753941177883, 2.2683085473520914, 2.201288044726084, 1.5197168280474518, 1.8231005644659564, 1.3425825289414552, 1.4857814339903475, 2.1395354994147024, 1.357974719928232, 2.2444048433986254, 1.2074604353956664, 2.144882170771736, 2.1151135956491434, 1.515043106508567, 1.74226712825416, -2.2062796393726916, -1.1703444341504377, -1.9164426232486718, -1.8038383736676638, -1.5312441102028704, -2.1485847199040093, -1.779404105151828, -1.6086370686135478, -2.0151839237936806, -1.8465511293071921, -1.7312500281909773, -2.1391159650303786, -1.6995927135796272, -1.8323647209637512, -1.9194139162850954, -0.7301608758316033, -0.5070380331624709, -0.6996182398968926, -0.5524715125778794, -0.025780670647561652, -0.618874553083713, -0.20916449898119635 ], "y": [ -0.579132462446069, -0.23677957641217462, -0.26107828121064264, 0.06888518171163388, -0.5454767908822749, 0.11137842674825311, -0.6933983536539672, -0.39247013622372684, -0.26460478738221127, -0.3864494447438019, -0.18653883079004208, -0.2702149805618938, -0.2734612076527164, -0.28782163211533873, 0.035415018571819085, -0.4541539466697283, -0.49927285076633665, 0.025419232472427604, -0.5837770186387221, -0.3395394968714046, -0.28690679879739717, -0.25211031782025645, -0.641902927444385, -0.7950014814442645, -0.14660196760569674, -0.4240383481117681, -0.6107452380936238, -0.5930560875889754, -0.3261489239858801, -0.005260862237149444, -0.37217640684581815, -0.4390878219184636, -0.8796012741532744, -0.3827159287172988, -0.493809566455986, -0.4544792430151178, -0.5657029700861005, -0.374191351654021, 0.11779598629230155, -0.7359198334400212, 0.0840429917038493, 0.020043446411787243, -0.8692461689768622, -0.48856951819389727, -0.8270638484105366, -0.8016663003919671, -0.4670142274902617, -0.2206859601903902, -0.6443328172395977, -0.6627661757821743, -0.03941501780018879, -0.47907776280545955, -0.3015846427789184, -0.621637849542763, 0.2076491425261748, -0.7045242007990249, -0.5409082752652602, 0.17428452767692662, -0.4084850933499881, -0.41243514271884585, -0.4910647395226868, -0.9483541407536009, -0.4540708113004355, -0.5887011854691466, -0.6485919686720667, -0.5888273636371437, -0.3070160614064479, 0.08245097659860802, -0.5466280682324883, -0.6494455709355631, 0.16155581630564936, 0.33992076100225915, -0.4114766176672266, -0.17052190529727415, -0.631722428561557, -0.45881725260798845, 0.2644821742504107, -0.2582154075524341, -0.3934160086928827, -0.042315828461987434, -0.5519131167293162, 0.03126916140730007, -0.4316637034512453, -0.21529467340429118, -0.04239545671326052, -0.1719727225107083, -0.6278550302202799, -0.6061158258542927, -0.19444568465641504, -0.05084736049225831, -0.18982375898718473, -0.8226455577622418, -0.3491912634600557, -0.44266215162366496, -0.4470548628625408, -0.5388199009854079, -0.4021805124607607, -0.28457930588330965, -0.8080844803647209, -0.5939166907741797, 0.15373480064032782, 0.19803647536185212, -0.4777796866189429, -0.3119806081635857, 0.37390889857979986, -0.1909005819296432, -0.2509642683041504, -0.4177752279162652, -0.5365951031494978, -0.03094087590728829, -0.5553319106699788, -0.46622854217505394, -0.44103129374879874, -0.316829753667627, -0.43063416721658276, -0.33456651893236716, -0.5159803899587678, -0.17967184394323688, -0.24570679147749472, 0.4134080728376217, -0.9913266206171816, -0.3754884730768122, -0.5716376261154077, -0.34995164544962587, -0.30680896078620035, -0.29263139805497623, -0.23520357435222586, -0.20555878222138077, -0.3191538055540457, -0.14370495696817412, -0.35012508005303816, -0.5223611071847678, 0.035295176107866325, -0.6483313691141905, -0.29756616455235047, -0.6944336202263459, 0.12768703003270923, -0.20558901982117664, -0.5970185484314898, -0.13466472004067429, -0.10584195092786705, -0.24939790293967842, -0.39360947655263084, -0.5189020465131569, -0.2613232920413307, -0.18819872999668655, -0.663073004746747, -0.32468887413484543, -0.13451952248883678, -0.4719057362679282, -0.4339814163541007, -0.40855806671575434, -0.04366400308358075, 0.04875744576948494, -0.09212125946679944, -0.6324794027139173, -0.5671913425318882, -0.40076604062133214, -0.33294455349536506, -0.16282168730989272, -0.43498468088096415, 0.11314822716257225, -0.20273116251002002, -0.060467907575075905, -0.7609272900933493, -0.13962886671870908, 0.2860443589441386, -0.7065895659812322, -0.10042518610874258, -0.14165672408269472, 0.01587292945368167, -0.10264747497408573, -0.4858736374838676, -0.1417799734175821, -0.2683879106444029, -0.43444751489885935, -0.593422238150999, -0.32224552246386085, -0.4943283478322237, -0.29867593285013927, -0.3832624988707339, -0.49714873895129674, -0.5222801669557491, 0.5023864851928305, -0.14190299685870372, 0.133812548529688, 0.11001348910122928, -0.19983178852302094, -0.48661127769474954, -0.4168546832722399, -0.5690273337682409, -0.6683739749272202, -0.577814390917031, 0.11209534884405896, -0.7710759455667875, -0.01848065431509248, -0.8846203962683286, -0.22573933554867945, -0.20841103474036296, -0.45003928245639696, -0.20063690367779421, -0.5376021575515381, -0.2984365076929996, -0.017300645501946595, -0.5084890684287122, -0.3839680431919159, 0.11214125525738314, -0.09565033101146456, -0.6099063192670242, -0.1897973636365764, -0.7631872591744516, -0.05848907267997969, -0.40856040886904504, -0.48430759680469215, -0.6198319684626306, -0.5630663342332691, -0.3155967711560021, -0.3034666786781491, 0.005290774831593185, -0.5222733121788523, 0.18809527965976933, -0.3367236413700837, 0.1705056022963565, -0.19823125568418268, 0.08893990840390419, -0.8891189081961388, 0.10674187722607718, -0.242163934732611, -0.5273473446223402, -0.49032668236638344, -0.314571011841515, 0.24721306777946622, -0.39319614393860236, -0.44882215598654446, -0.6325117152141251, -0.08052417947057015, -0.2112431973317634, -0.27345634918651546, -0.11384337766454328, -0.2344344297425029, 0.6519035494111889, -0.4809936876028629, -0.23403700450971696, 0.14272654658636022, 0.07848363076411943, -0.5522788510260181, -0.8727902706953194, 0.06961136652466507, -0.2706750641029381, -0.15618036454680168, -0.25195736808694746, -0.8758672369459122, -0.30736241347211096, -0.27294670478359484, -0.6251060329260609, -0.1729278355868603, -0.2725944844783862, -0.1376611600517206, -0.35614306583804073, -0.3232687590945381, -0.10668852259306769, -0.42386300538991006, -0.10368260526232034, -0.07917157156277543, -0.6563024966685316, -0.2969833495525805, -0.31381725484454964, -0.9790283112309037, -0.4247518256492961, -1.101126230326291, -0.5065357190386113, -0.3092558103860553, -0.1802341162178946, -0.328023737843599, -0.24378760338758115, -0.020844975404251745, -0.6918787106725859, -0.40646321311452416, -0.6958302334692688, -0.5768104288487197, -0.9731118339040237, -0.8376078047378741, -0.40422760577742156, -0.531319712492768, -0.6953515156493855, -1.008496447830473, -0.9640527197782034, -0.6682039822465846, -0.30351466553527456, -1.1848456172877577, -0.7330596175212891, -0.7325904181309317, -0.7364813232284113, 2.967079847444776, 2.304036794188701, 2.8347930816727405, 2.1980692717983255, 0.695544998716422, 1.0605477539439403, 1.0960604120065731 ], "z": [ -0.06940132262922376, -0.13377156356032927, -0.1935814104663901, -0.343714546698093, 0.7237925179997112, -0.18549005591417544, 0.5796857980278507, -0.7569060814224456, 0.13266709690264267, -0.27864873946072666, 0.1925211167331695, 0.2277053432469246, -0.12290168910050704, 0.10049415484873306, 0.1297414383080669, -0.019969058965214326, 0.14360425062936094, -0.03900200575818009, -0.2738242620211334, -0.1187662567155379, -0.19504546088274402, 0.022834693691410283, -0.09470210334781495, -0.1671878178572672, -0.08718799141583558, -0.06233370420306186, -0.16808567197319416, 0.15058395295320925, 0.28044207354852846, 0.16508024155132858, 0.09626874807789221, -0.0115709039978695, -0.12615545043356846, -0.05159841649154168, 0.3328204598636778, -0.47681802304295473, -0.05111851305981478, -0.08859585396620914, 0.19237131233003232, -0.06199188611233919, -0.6458534524712404, -0.14060011845097073, -0.2901375496309393, 0.5041206538503203, 0.06973186995134284, 0.34980560776734637, -0.14089131047320708, 0.3782651419759189, -0.2364235617046281, -0.020723070867633506, 0.4371066161205426, 0.29088934960540413, -0.024356647911060538, 0.08797370037399614, 0.05247507968264806, -0.2996526036633598, 0.12748606061576465, -0.08800334693418474, -0.19034055537701594, -0.027576552190705195, 0.2994156902199805, 0.5013129400775673, -0.7253965785346164, 0.12921417027723606, -0.4708302021737458, -0.4308763116752343, -0.3071322634979775, 0.5427161114162814, -0.02642671327204549, -0.05131892807244629, 0.3635301938955806, -0.10097815535922411, 0.018209558463836806, 0.12235784126176594, -0.26608082752848805, -0.31542417187214056, -0.16653264029354503, -0.15338125050449997, -0.797042876859737, -0.39050888095460357, 0.10779507963138782, -0.5095982154747096, 0.6296023617619811, 0.11123688685839135, -0.3141088231696043, -0.02711254343114426, -0.37158582337252144, -0.11681989354003333, -0.3051093255625551, 0.48122294135296295, -0.16904181664797524, -0.4775307909065666, 0.13075313592789475, -0.5709573278650221, 0.0651441665087247, -0.08752602933203787, 0.014154121445192808, 0.024567511443386317, -0.036899417559417516, -0.05476286762446216, 0.3588620095966978, 0.3600217673569588, 0.03078539832247203, 0.34960221578617423, 0.06028471622687561, -0.796552932962511, -0.4532544186044368, 0.8651860759491485, 0.19101115206333605, -0.18024491499449966, 0.22689221242318244, -0.635346802751972, 0.07490727577430982, -0.3074795514279486, -0.3225847637424869, 0.012788195163131611, -0.24177308917384865, 0.21109927837752437, -0.310677139666216, -0.18266750505662044, -0.3651603745466293, 0.01991464096261059, 0.2731188480527608, -0.34254994211559586, -0.6069537199576931, 0.44772142283586536, -0.12190389038619345, 0.4679746385957707, 0.5166520427325835, 0.7874480432182834, -0.2703243572923408, 0.060554024724508236, -0.4934374472393729, -0.04445093627590704, 0.2666406362119843, -0.6696239721987294, 0.3114021276842611, 0.3954796181444865, -0.09195175578394962, -0.061754196795190355, 0.008717559917599423, 0.19051215343686112, -0.23038951822622403, -0.18247293653833302, -0.14344832638039146, 0.15538226854468573, -0.08521544093892769, -0.17087136790608792, -0.0540103429798583, 0.49239061052600874, -0.47635934284342063, -0.19844852890669099, -0.21031398013168046, -0.45884917636940364, 0.11712448541837761, 0.0029855588248271885, -0.06414058287111112, -0.421100632968349, -0.31001282804714303, -0.10327243507462308, -0.05638625525921902, 0.2146521397003176, 0.21799842855099014, 0.6270091426771656, -0.1734366993125979, -0.2784374917495638, -0.820815787247867, -0.6662718103065669, 0.03599003575264768, 0.09067178976943407, -0.2959944018580377, 0.0026929422299331084, 0.46868968976772607, -0.00354635751129315, 0.05153510579453807, -0.6330126993064343, 0.27726124569631005, -0.2810060899224077, -0.4734684447050419, -0.4637379342160491, 0.010939177856637082, 0.12529267354521298, -0.23531572612975118, -0.2122339773730097, 0.19340022365844878, -0.49919692647085845, 0.10499546423643567, -0.5856041095389871, -0.2334353802473811, 0.10728265101051973, -0.06609860436857552, 0.029744449014262212, -0.23683779100620023, 0.418289558547167, 0.218321216358441, 0.2403492049144656, -0.48025889432346713, 0.25593221755491935, -0.3129878236773042, 0.2654267447117796, -0.2978959742529532, -0.16730196206527703, -0.5955949404468907, 0.01833312237768205, 0.031043448160681348, -0.17310365784178705, 0.14637842897366457, 0.2640501753529814, -0.17706415762463087, -0.02410027014738762, 0.01560518247590446, -0.5766514384830662, -0.5864980978908674, 0.3275894794927139, -0.32986474663397314, -0.7102015360097798, 0.006203474361650409, -0.5428272009646803, -0.07651196100734832, -0.022724945443822735, 0.11444876942847329, 0.0693164607884562, -0.3418827442416782, -0.2822563787651361, 0.3948866102057855, -0.09344669186878968, -0.024825380648655814, -0.38331784313449124, -0.10883452573260963, -0.1615929500783987, 0.2898491277667344, -0.3859773134976401, -0.18934006444532206, 0.09113142308677755, 0.09758691498869188, 0.10644012548631203, -0.2814993787734307, -0.4371196851763628, -0.19871658361132802, -0.3216888862105126, -0.05722989768301417, -0.888648561743554, 0.34399828773874286, 0.18888261634256254, 0.12568908656678218, -0.6374188763263727, -0.09900456004433428, 0.5485166215944094, -0.39913872607778567, -0.5844920789671523, 0.6009634182878946, -0.13582462437596765, 0.4058835721677021, 0.42936152310384523, 0.5189239114232048, 0.23594999237606532, 0.0754335895063253, -0.2510850619660696, 0.19927775676084516, -0.15633135051481512, 0.04653398775068848, -0.6047059621707697, -0.23570942207005585, -0.09017968549273168, -0.022745191454127314, -0.10827413004701637, -0.5048134837816984, 0.08104182965537482, 0.3813732786037136, 0.11063951808000891, 0.14762592839459407, -0.05978689189820482, 0.33988461572661877, -0.3178431658379851, -0.05299350049031126, -0.4775552174187505, 0.16172881298966252, 0.21987195501491305, 0.22055747546054463, -0.16457671348793715, 0.46339927405079184, 0.08931103503646066, -0.5205708823296498, -0.07887235948659232, -0.34678077849488664, -0.4528061575790969, 0.2645756501492607, -0.07925400067873661, -0.0014032967844240486, -0.2053007123727282, -0.005613703006450015, -0.12248775323147221, -0.037583433227872075, -0.10158725976800978, 0.005567830517358593, -0.3154498659850278, -0.2616703643527357, 2.536738489454084, 2.975912061612864, 2.8209389654970822 ] }, { "marker": { "color": "rgb(0,0,0)", "line": { "width": 0 }, "opacity": 0.8, "size": 4, "symbol": "circle" }, "mode": "markers", "name": "unlabelled", "type": "scatter3d", "uid": "c871bd0d-debf-4310-aea4-03f4409eaac2", "x": [ -1.4222958385037183, -1.8613256551036506, -1.1661036967692944, -0.8725885707687185, -1.3953619005508369, -0.5127976572567827, -0.5714739590298294, -0.6424278421820409, 1.6450096637742047, 2.3079667206159904, 2.009052196243494, 1.7257317129216885, 1.3287965929672148, 1.41797222267312, 2.9361537650972647, -0.5350079886550722, -0.20332712208726886, -0.40894085297477073, -0.23192237836511048, -0.4790803577131914, -0.06460793959981925, -0.8210430488185296, -0.4161139588001755, -0.4849021485050507, -0.5668102811463336, -0.21845781994572713, -0.28166904915124424, -0.21158524312797922, -0.21711867592477643, -0.20640040022513068, -0.35277092224829115, -0.23611271506358245, -0.5626283224721957, -0.3720034140258551, -0.3474134690078144 ], "y": [ -0.6295978236847044, -1.0732384157069126, -0.3863810040204257, -0.5641682455611802, -0.6037139244490746, 2.664207192796542, 2.5632749323231057, 2.6657808449669753, -0.4333598195508351, -0.7585553268851644, -0.9251036012483982, -0.28894574878210644, -0.041300845651686305, -0.7365649907383021, -0.6238708506858379, 0.654400520774453, 0.7491503688031724, 1.0266093375859702, 0.708858953552143, 1.0068984958721923, 0.4798579969482791, 1.0893069933909574, 0.7022581513460029, 0.9316174333985181, 0.4012147025533613, 1.3195550914192316, 1.2702391212471036, 1.0714675998469327, 0.9327100320622344, 0.6401720710008496, 1.6385067066575627, 0.8186371784469276, 0.71598007783093, 0.57288727303736, 0.6808228250200776 ], "z": [ -0.3626754077296557, 0.04567103142639478, 0.5918844472716579, 0.5755518351821208, 0.36663825433794694, -0.531741091813694, -0.18895540193935642, -0.19680683721984807, 0.010750732480278292, -0.8539422512005954, -0.4852299243512964, 0.33950027270189753, 0.13123593591721694, 0.031245845313054455, -0.4365808928694208, 1.656003067681, 3.3157272834657174, 2.306918586698334, 3.2566299267173786, 2.6796317324752166, 2.696011540514072, 2.7956771539271004, 2.6063918553209593, 2.581719742552281, 3.178067948685152, 3.20811649075317, 2.612213660671718, 2.568328289955206, 3.1432582224496737, 2.2243211773740375, 2.5552805331396264, 2.719316808392285, 2.782252492760311, 2.885915558540311, 2.9395737299724183 ] } ], "layout": { "margin": { "b": 0, "l": 0, "r": 0, "t": 0 } } }, "text/html": [ "
" ], "text/vnd.plotly.v1+html": [ "
" ] }, "metadata": {}, "output_type": "display_data" } ], "source": [ "# Plot the results\n", "## Reference populations\n", "fig_data= [go.Scatter3d(\n", " x = features[[x for x in range(sum(Sizes)) if label_vector[x] == i],0],\n", " y = features[[x for x in range(sum(Sizes)) if label_vector[x] == i],1],\n", " z = features[[x for x in range(sum(Sizes)) if label_vector[x] == i],2],\n", " mode= \"markers\",\n", " marker= {\n", " 'line': {'width': 0},\n", " 'size': 4,\n", " 'symbol': 'circle',\n", " \"opacity\": 1\n", " },\n", " name= str(i)\n", " ) for i in labels]\n", "\n", "\n", "## Incognita:\n", "admx_t= [y for y in it.chain(*admixed.values())] \n", "admx_t= np.array(admx_t)\n", "admx_t= pca.transform(admx_t)\n", "\n", "fig_data.append(\n", " go.Scatter3d(\n", " x = admx_t[:,0],\n", " y = admx_t[:,1],\n", " z = admx_t[:,2],\n", " mode= \"markers\",\n", " marker= {\n", " 'color':'rgb(0,0,0)',\n", " 'line': {'width': 0},\n", " 'size': 4,\n", " 'symbol': 'circle',\n", " \"opacity\": .8\n", " },\n", " name= 'unlabelled'\n", " ))\n", "\n", "\n", "layout = go.Layout(\n", " margin=dict(\n", " l=0,\n", " r=0,\n", " b=0,\n", " t=0\n", " )\n", ")\n", "\n", "fig = go.Figure(data=fig_data, layout=layout)\n", "iplot(fig)" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "**Principal component analysis of the haplotypes generated in Block 1.** Haplotypes in black lack population assignment. We also see some cases of mislabelling, which we created by using allele frequencies from other populations for some elements of each. \n", "\n", "These mislabelled haplotypes will still be included in the KDE of the population they're labelled to.\n", "\n", "Haplotypes will be assigned to the population presenting the highest score at it's location, and a lower threshold is set, such that observations bearing maximum scores below it will be classed as outliers." ] }, { "cell_type": "code", "execution_count": 5, "metadata": {}, "outputs": [ { "name": "stdout", "output_type": "stream", "text": [ "First twenty assignments:\n", "[ 0 0 0 0 0 1 1 1 2 2 2 2 2 2 2 -1 -1 -1 -1 -1]\n", "label assignments:\n", "label 0: 265, label 1: 101, label 2: 292, label -1: 27\n" ] } ], "source": [ "## setting our lower limit.\n", "Outlier_threshold= 1e-3\n", "\n", "## stacking our data.\n", "global_data= np.vstack((admx_t,features))\n", "\n", "## calculating kernel bandwidth. A proxy of local differentiation allowed for.\n", "params = {'bandwidth': np.linspace(np.min(features), np.max(features),20)}\n", "grid = GridSearchCV(KernelDensity(algorithm = \"ball_tree\",breadth_first = False), params,verbose=0)\n", "\n", "## Estimate Kernel Density of each reference population, extract normalized values for every accession in data set.\n", "Scores= []\n", "\n", "for lab in labels:\n", " Quanted_set= features[[x for x in range(len(label_vector)) if label_vector[x] == lab],:]\n", " \n", " grid.fit(Quanted_set)\n", " \n", " kde = grid.best_estimator_\n", " \n", " P_dist = kde.score_samples(Quanted_set)\n", " Fist = kde.score_samples(global_data)\n", " \n", " ## Normalizing log-likelihood estimates by those of the reference set.\n", " Fist = scipy.stats.norm(np.mean(P_dist),np.std(P_dist)).cdf(Fist)\n", " Scores.append(Fist)\n", "\n", "\n", "Scores= np.array(Scores).T\n", "\n", "new_labels= np.argmax(Scores,axis= 1)\n", "\n", "# Identify cases where all individual scores are below our threshold.\n", "below_threshold= [n for n in range(len(new_labels)) if np.amax(Scores,axis= 1)[n] < Outlier_threshold]\n", "\n", "new_labels[below_threshold]= -1\n", "\n", "print('First twenty assignments:')\n", "print(new_labels[:20])\n", "print('label assignments:')\n", "print(', '.join(['label {0}: {1}'.format(x,new_labels.tolist().count(x)) for x in list(set(new_labels))]))" ] }, { "cell_type": "code", "execution_count": 7, "metadata": {}, "outputs": [ { "data": { "application/vnd.plotly.v1+json": { "config": { "linkText": "Export to plot.ly", "plotlyServerURL": "https://plot.ly", "showLink": true }, "data": [ { "marker": { "line": { "width": 0 }, "opacity": 1, "size": 4, "symbol": "circle" }, "mode": "markers", "name": "0", "type": "scatter3d", "uid": "a80025cf-4191-4b8e-8637-4200ef78fd3a", "x": [ -1.4222958385037183, -1.8613256551036506, -1.1661036967692944, -0.8725885707687185, -1.3953619005508369, -1.7274056486622458, -1.6466365759470947, -1.6077761407767104, -1.593509667327769, -1.6922395071993288, -1.6027176435126669, -1.5077562449224389, -1.9093405557331895, -1.0996333474020925, -1.8429014947045081, -2.192367533325139, -2.197249304737655, -1.6478982732279528, -1.5476701563880366, -1.9782924318386084, -2.1438954535127075, -1.7651092260204915, -1.776506740418437, -1.7753843721488107, -1.7409097881694733, -1.8412758691170517, -1.873188071730042, -1.8767334683467516, -1.7676514473526943, -1.672137839959505, -1.985967008163813, -2.1174558100084346, -0.9785005512376109, -1.9729652505929312, -1.3118568704729887, -1.766939774903435, -2.0788852127843596, -1.224121428663773, -1.6271058402530432, -1.7091536156061273, -1.4683281579145666, -2.274534216878688, -1.916222258507319, -1.8741618648372307, -1.7190589612931515, -1.735785417445157, -2.012566992009391, -1.6996170630046548, -2.30051624736541, -2.482162806080132, -1.506025380981786, -1.1455292986261278, -1.8677651526678039, -1.9194806569884535, -1.7462350194495015, -1.9895385445736575, -1.8966135926193342, -1.6061679392900887, -1.4001430684998162, -1.8180114006531662, -1.903101999663897, -1.4211580833674788, -1.2315590705495791, -1.5437483449887754, -1.5682731056109624, -1.870306160654793, -1.3999707296527268, -1.5464865815718758, -1.8978781646975682, -1.2581832717585422, -1.0922070706545925, -1.549913657554703, -1.8187219679090485, -1.0970665754696531, -1.7921898893691652, -2.5867121396371515, -1.25795272530418, -0.5302195573750543, -1.4793299891874359, -1.6616872315180544, -1.3967089509124646, -1.665323239170221, -1.7108329192807148, -1.5920317620923559, -0.9467561911769705, -2.0297598043616247, -1.9996882298727074, -1.514505462091814, -1.593680152550188, -2.0371673645256747, -1.2007394142826657, -1.5628976795669753, -1.8462562885811686, -1.4800807605544941, -1.525301817062378, -1.9238687505041048, -1.9009357273036813, -1.4476409945435589, -1.7367193802232856, -1.4376688468931502, -1.967626100390299, -1.983482740790681, -2.092467746610921, -1.6245152583740212, -1.6460146552809962, -1.4754722482498839, -1.534925844240598, -1.8291805778427923, -1.6730881343607988, -1.7043898277408263, -1.5373051303937784, -1.754249563163462, -2.1265252365920304, -2.219347053941857, -2.037789677518002, -1.0796778241633758, -1.7288288249437311, -1.564182067752309, -1.5883457708542479, -1.7442372667404453, -2.2021402372765437, -1.787473907106387, -1.6312596455475321, -1.4107056097693251, -1.928650021272622, -2.0731941660890056, -2.1503667483960123, -1.773027409637597, -1.4921200249387239, -1.621819463305596, -1.4948876571914915, -1.689109427692673, -2.2080912607625383, -1.898397061083974, -1.7696715174781912, -1.9483238915697114, -1.7762724704195954, -1.8808384135716223, -1.607051438052201, -1.8713238671547148, -1.9993848966234558, -1.9127321222263387, -1.5824477946979936, -1.8748150301039777, -1.5008217067250984, -1.7239665710645082, -1.693397257834454, -1.4359515002869614, -1.7980628880170437, -2.0626671232667224, -1.5663356109593716, -2.0316555933801244, -2.0700774063547227, -1.5666782816109712, -2.363482781088614, -1.997738018113736, -2.339257582917393, -1.2654921566519173, -1.5288797752832821, -2.055897532519505, -1.3987931001989644, -1.948953404372841, -1.5567198660547854, -1.1463429457043521, -1.8557123243508622, -1.7792547013804842, -1.8616681788524736, -1.773280438689485, -1.3750454897444193, -1.8592554147691658, -1.8438906850702699, -1.9519141383419962, -2.0820713213869393, -2.1121792321535384, -1.8423985333633683, -1.4652520024113402, -1.5843065333623183, -1.8954738901534411, -1.4136479327799163, -1.5076758150035705, -1.6014711729008175, -1.4251747799277097, -1.9188978052948569, -1.5525990108163485, -2.2266220186229844, -1.7268834996873719, -1.5941524756973362, -1.3945211085487175, -2.151253471815683, -1.5437425681791261, -1.7790850164182632, -1.2179937749628025, -2.2761523995650257, -1.9012440349049913, -2.0353685353030726, -1.7686533406285536, -1.9882014637040168, -1.7071093298609121, -2.009742663659804, -1.70879973620184, -2.358222196256525, -1.7438641778124802, -2.1278251545698885, -2.0942265529353143, -1.5344680977085148, -1.6539331821484697, -1.3285706752519697, -1.804950541692215, -1.8667117082105422, -1.351018230810774, -2.008368755172268, -1.929979588321042, -0.9533034213468219, -1.8126532909786295, -1.955498401751306, -1.7916568145916447, -2.007295551068394, -1.8273987350406413, -1.7122639648430569, -2.3563995630895174, -2.250840610889004, -1.934282999664917, -1.8387429599797107, -1.6284018044003208, -1.9553356707556813, -1.9025488493522784, -2.058453462646014, -1.2014892533439685, -2.5669553856153313, -1.837753105277776, -1.3752668094542275, -2.1624025260580892, -0.9273905686848918, -1.7941926105747825, -1.7533369855666123, -1.4313002899054934, -1.8222192908806245, -1.5179235704174836, -2.1726537693889427, -1.3342567853139473, -1.897163044014057, -2.090003953093978, -2.0440402681607295, -1.8960399204300162, -2.1875535384105693, -1.7115066415056694, -2.176332719020403, -1.7738161531247136, -1.4445490647432353, -2.0896211491988788, -2.2062796393726916, -1.1703444341504377, -1.9164426232486718, -1.8038383736676638, -1.5312441102028704, -2.1485847199040093, -1.779404105151828, -1.6086370686135478, -2.0151839237936806, -1.8465511293071921, -1.7312500281909773, -2.1391159650303786, -1.6995927135796272, -1.8323647209637512, -1.9194139162850954 ], "y": [ -0.6295978236847044, -1.0732384157069126, -0.3863810040204257, -0.5641682455611802, -0.6037139244490746, -0.33516874997147605, -0.5829512259651475, -0.3497656472246118, -0.5262325870555324, -0.4795534414294802, -0.5532406347417214, -0.5665654097347849, -0.0877270597770467, -0.3454744903404118, -0.6684950554626918, -1.216030690123546, -0.899685525071205, -0.42628917894443297, -0.6280494118784399, -0.33324567435214925, -1.3782105366382442, -0.6657985928511183, -1.1457819784061574, -0.7878604967894252, -0.8638326371306788, -0.7764620833283518, -0.7056410093561878, -0.4698678192256348, -0.35530108598068383, -0.2728126997132022, -0.6829005988946337, -1.0459070336386938, -1.102863610550108, -0.7443748344163736, -0.5018445154849048, -1.441842888035113, -1.034371682153588, -0.7891186361672902, -0.6156035050694177, -1.0361571344056686, -0.4455510373336499, -0.27665389536439344, -0.9081060825353084, -1.1224709769624461, -0.8875735958901247, -1.202798686964572, -0.9442147180931562, -0.6112271773778204, -1.2760532193362581, -1.0133883762917983, -1.1013111585666717, -0.37551951812842377, -1.1998583811849837, -0.9153039949756037, -0.26742462619505625, -1.392237500316966, -1.3063126406866565, -1.1694808579747409, -0.3064976235976028, -0.7380413440539186, -0.378280674646408, -0.30428994572032797, -0.9328925300172424, -0.8115843860053447, -0.9331189906039767, -1.4535689894929407, -0.8763121946976669, -0.748493272006258, -0.9215086236979597, -0.36532949026975003, -0.7590464729727933, -0.8453091466050535, -0.7747344882692944, -0.935432670224617, -0.4931174710462042, -1.3519338491556527, -0.9031848952247237, -0.5885213284623012, -0.8674566759172915, -0.49798663459035347, -0.8757817353255162, -0.9093266674849723, -0.4369605891228229, -1.116730110940364, -0.6676968483044654, -0.12080367187235044, -0.99666262369168, -0.9340944955572639, -1.1230618851248328, -1.0118751065857423, -0.6726382815814758, -0.7226721406466623, -0.9876900988640958, -0.5899324081078317, -0.6166015413346506, -0.40012439278234674, -0.8329378336794251, -0.614460785185001, -0.8244540046887807, -0.6749450091181544, -0.5429868804767821, -0.6652058123479248, -0.8017184192221778, -0.7198886294910263, -0.5373013140700842, -0.7910514380039846, -0.2691519168041871, -0.5943367267592139, -0.5599865381791651, -0.8214810432192565, -0.5433737694696401, -0.8602359934490971, -1.0326006564664512, -1.0601961434694063, -0.4213968206981378, -0.4033436451562077, -0.7102251536020583, -0.740892726111672, -1.0346847930841898, -0.40792514018003007, -0.640162172294773, -0.3564356187666674, -0.6805604491628112, -0.7733187870865488, -1.225668561358399, -0.7246143658188344, -0.7161031795563249, -0.5739891111593052, -0.8607980830907989, -0.4654432392959682, -0.8768232250617689, -0.4690889055995926, -1.0010249632332624, -0.7769717785815335, -0.6806153878843471, -0.7358641590947017, -0.6668449581742806, -0.9139457087117937, -0.3481269919545804, -0.3962517507099238, -0.69264508386006, -0.48908557352195525, -0.8960993232128238, -0.8293575528959938, -0.6947413080841331, -1.0721037022896478, -1.1901088431541418, -0.19490779035441888, -0.9561133385523377, -0.5580019033186148, -0.876775139126929, -0.3612835129430716, -0.9867904347287126, -0.23687973385627917, -1.018561039531517, -0.6960776812585328, -0.9609609552425109, -0.3699438696250467, 0.060705268723807985, -1.0160548610869624, -0.5080194969422638, 0.03812437078661444, -0.6449983253697988, -0.9365391845443978, -0.35564893559025684, -0.9886553651930521, -1.4407767747305118, -0.8495344729930199, -0.27656261799052423, -0.8059920858758307, -0.5019629673125969, -1.0063627767427228, -0.4132927420813298, -0.3227317085272756, -1.2494167823403945, -0.8927708325079566, -0.800214075786418, -0.5496862901877593, -0.9033385241577834, -0.7174420167952704, -0.7545438741978021, -0.9103080638298875, -0.34740210486469403, -0.6253779692487427, -1.2914666808316215, -0.5397600996622347, -1.1039503993516648, -0.6069504500436527, -1.6071627099939647, -0.3227010854140027, -0.5930901820340619, -0.7206888195810042, -0.904907603295233, -0.7053756131863964, -0.6632140984099615, -0.2701344415378751, -0.46819893079107777, -0.5700864656122759, -0.9462921139040568, -1.2128215157796158, -1.3128877153992449, -0.8180811970161657, -0.8095086013745314, -1.2855691579526065, -0.4131839029362172, -0.9469732491582896, -0.900102081318018, -0.6910144921352623, -0.35417341143106884, -0.9463158237729428, -0.8282951822156506, -0.8397957419947806, 0.1158597773945582, -0.3596213916298127, -0.5155186457214127, -1.063753051191266, -0.832994039383524, -0.6910836647513561, -0.40981462682562836, -1.0775869073538227, -0.39463558948285515, -0.5796172909669084, -0.5823762131766714, -0.9655086906035162, -0.6480054811932654, -1.2448550734781605, -1.046608970837482, -0.7663787844671179, -0.7045663604948234, -0.25869545024452395, -0.7284837717065034, -0.6294471038877623, -0.5245809626821913, -0.2751443470780174, -0.9470917473203257, -0.3628815102856177, -0.5491394396881539, -0.13792099601715277, -0.9466791548444542, -0.7609027082725714, -0.5548969589698476, -1.2633317715324868, -1.121254614154319, -1.1512071587583783, -0.7752655079103885, -0.6604590254617193, -0.9991559503250573, -0.7980091196717991, -0.6935710233762131, -0.9915678042404479, -0.6958302334692688, -0.5768104288487197, -0.9731118339040237, -0.8376078047378741, -0.40422760577742156, -0.531319712492768, -0.6953515156493855, -1.008496447830473, -0.9640527197782034, -0.6682039822465846, -0.30351466553527456, -1.1848456172877577, -0.7330596175212891, -0.7325904181309317, -0.7364813232284113 ], "z": [ -0.3626754077296557, 0.04567103142639478, 0.5918844472716579, 0.5755518351821208, 0.36663825433794694, -0.1263860034191058, 0.2943172712963956, 0.01588558003063212, 0.3939240858984876, -0.07356747587938381, -0.2004974490654429, -0.35369326630973097, 0.34420622450396465, -0.21872611888143612, 0.018995781523004015, -0.505398065983632, -0.483943077533753, -0.20772906751533318, 0.2861285002771352, -0.22658768569252197, -0.1810406545002597, 0.034999204158108276, -0.022759865418888536, -0.07025916711744362, -0.1693231218201914, 0.06088204671175721, -0.2378960132865423, 0.12028641856842467, -0.285827729772967, -0.3007392778043968, -0.08259202906368561, -0.7719933292983013, 0.020587093918309127, -0.1255692348025934, -0.2298247106880128, -0.014186471935867664, -0.24394803741368032, 0.3864532382594157, -0.04182788878997564, -0.36097400949033465, 0.08812545064684801, -0.24594554824602388, -0.4214661033639534, -0.28694541926126194, -0.26474047367045445, -0.05583828649794769, 0.0810013961774475, -0.6560342762978693, -0.6134693263945579, -0.14438076025767507, -0.46130847895244476, 0.15338490650755934, 0.2041975028550794, -0.2776328462766158, -0.2551671448970575, -0.5342929192319412, -0.4869754577040669, -0.6215626174516841, 0.3727749032345037, 0.037452021106385375, -0.12954504866590594, 0.3403585031455305, 0.026801089266951145, 0.06493646470767059, -0.11658470462994466, -0.3153003501306987, -0.07202739321125323, -0.530163526403043, -0.10528859294828585, -0.11809532855270324, -0.5699436244874266, 0.12778761358048812, 0.03674200269210302, 0.06764917092950451, 0.0005533964276662435, -0.42278900079931636, -0.5427901618095483, 0.028510449064764628, -0.1407660693937278, -0.002057988265284704, -0.05142739281649026, -0.24847746377032573, 0.5105257988777937, -0.39069042556448785, -0.03879749251394212, -0.08922516664584915, -0.0894291303006321, 0.3995495367064408, -0.48458045059899457, -0.013958727691849238, 0.37281636477961555, -0.20812211918710138, 0.5682092613497338, -0.09516155761048686, 0.14823172400597404, -0.04485125742118299, 0.09421515022260046, -0.1793654129645719, -0.04204217730817205, -0.21334298055430057, 0.0771542474416603, -0.2151934535360402, 0.1442007920885758, 0.05046434445607205, 0.10727106837978848, -0.17326389170981268, 0.6869403638458874, 0.09653982036329584, -0.06927218344427036, -0.7145183374112162, -0.5798595933070246, -0.37633746310941096, -0.5057293389775397, -0.305079215818131, -0.31471757869532746, -0.7385460317202811, 0.22278109113534317, -0.12690728267664092, 0.1601408977927067, 0.3548179605978098, -0.31564383966126053, -0.05836042431947624, -0.14397141250876774, -0.017522150653224326, -0.27417930139668867, -0.1361745762331297, 0.16990844074860828, 0.16571605549363636, -0.2175931323808309, -0.2786503332371715, -0.10580345131197363, 0.1990084190086309, -0.12070129280074804, -0.1369836987249149, -0.19931818972961554, -0.16397816552103636, 0.15745074204574178, -0.01798426780510395, 0.080102168560965, -0.2328850113576808, 0.14619333219237518, -0.15668130865359373, -0.14076351432192086, -0.5407629598447737, -0.28773891101065596, -0.30628134971444276, -0.3981389820539979, 0.15108327724946122, 0.03015012152353708, 0.09008551797557413, -0.0831253535149003, -0.10582790328444316, 0.17775797177111272, 0.28325127191804467, -0.5461944899454324, 0.19843372632942105, 0.024561543858732247, 0.1916955530113154, -0.5406553660254405, -0.08736396057966164, -0.4165810885369764, -0.2359720463480467, 0.42092173138240474, 0.03538360939153937, -0.22260426028948432, 0.19999773138982482, -0.9127559367363507, -0.27162334442586267, 0.036508966296279734, 0.03623356235175549, -0.272094568330735, -0.029316394345574096, 0.03247563015051537, -0.04034386926579451, 0.0401259641221053, 0.21362313737908245, 0.4485018206943461, -0.1467883676422852, -0.6691958745584046, 0.2313929178625267, 0.36284423054415404, -0.0383194866588478, 0.14146716517199848, 0.5180013946340996, 0.0473973516225315, 0.06890764317302928, -0.029900781407369657, 0.30539690160111066, -0.8260042475310384, 0.5033980122785966, -0.37119379628091265, 0.34586665060256705, -0.015851218756783757, -0.0003609001179552022, -0.5363611377960334, 0.2296449378893746, 0.2067776940535544, 0.6029111656142884, 0.1112293975788548, -0.008737477939409165, -0.09691853506802775, -0.16175300936579237, -0.2794247620495548, -0.6673265924474132, 0.07013555302531713, 0.003408869506957308, -0.1252004623422335, 0.4095084407016806, -0.221578211081363, -0.4786938172241988, -0.1548371728533045, -0.2729450240024235, 0.28921339744751573, -0.11500924613469779, -0.12179603079946558, -0.6204948523844706, 0.27920220239746896, 0.09670438901077594, 0.49455319496226136, -0.42007577952414, 0.14282025413683905, -0.24671578526847826, 0.6709009717337197, 0.17133038170894524, -0.5865700049978881, -0.4061709668086516, -0.46620670710825224, 0.3028314168968832, -0.5398637113209552, -0.054560663593391706, -0.22279312730116796, -0.6211041514254118, 0.4110284072170096, 0.1543933606218168, -0.4916961898394836, -0.05429439381221753, -0.41871920810040086, -0.3785646317689275, -0.049100170911495336, 0.3530452686700526, -0.14915545553397117, -0.09619219798851804, -0.7311345158188184, -0.08430267342493428, -0.36599231258656006, -0.015900987437264893, -0.6151745656210225, -0.1468530382091114, -0.43582122263467216, 0.06669176630640701, 0.22055747546054463, -0.16457671348793715, 0.46339927405079184, 0.08931103503646066, -0.5205708823296498, -0.07887235948659232, -0.34678077849488664, -0.4528061575790969, 0.2645756501492607, -0.07925400067873661, -0.0014032967844240486, -0.2053007123727282, -0.005613703006450015, -0.12248775323147221, -0.037583433227872075 ] }, { "marker": { "line": { "width": 0 }, "opacity": 1, "size": 4, "symbol": "circle" }, "mode": "markers", "name": "1", "type": "scatter3d", "uid": "6edd5336-5fb0-4065-812f-97b71bb7cbf4", "x": [ -0.5127976572567827, -0.5714739590298294, -0.6424278421820409, 0.1803790724154876, -0.5595679144061227, -0.7544671185038819, -0.172187836361788, -0.956085585588107, -0.8320597779108911, -0.9086889517069299, -0.5040908337044656, -0.5748694907198076, 0.02889796858657922, -0.9437800046880732, -0.6001728102224678, -0.31589333056586955, -0.15174999212967785, -1.0111833437885562, -0.5839283032883741, -0.5496176829511548, -0.7594108323647495, -0.5407701667570901, -0.5765247020327586, -0.8620930394049616, -1.0164688269314988, -0.5215720075008441, -0.5623800008359023, -0.6588181600945132, -0.6408238938016708, -0.30106210877548245, -0.684747652558368, -0.11043814502955898, -0.5942245935350268, -0.8653124915666943, -0.41081918479852886, -0.3398368398766518, -0.04813547033021512, -0.980383893703263, -0.8599297483074688, -0.3909556487292717, -0.6008404331596192, -0.9356962940349306, -0.5910982875316393, -0.408572755827408, -0.8933010176327318, -0.671506247377561, -0.6635288315753094, 0.1645053685589158, -0.5552441411975689, -0.8428949322845501, -1.045977749456291, -0.5495198225728373, -0.5564210923118709, -0.5705397799290965, -0.42431725429903094, -0.8675699579693424, -0.15641313406968552, -0.5698976076626678, -0.7349910138947137, -0.8886920815342304, -0.8848727788567889, -0.7596735858767465, -0.9189724363750408, -0.46448295312521887, -0.269744349546089, -0.5551300334190278, -0.39910394334454163, -0.97719369549715, -0.5739514508392489, 0.08157839165852643, -0.556991880693545, -0.47147098223040634, -0.2879550201592607, -0.1705538029309697, -0.543637998878387, -0.36595925158810416, -0.6657387348959238, -0.5754792844312722, -1.0093095251277326, -0.5440929863610244, -0.555021910536096, -0.4881496472654288, -0.21207464337230725, -0.4732446470716372, -0.6847496209496589, -0.2970928579434577, -0.8671412655479599, -0.7388103592309967, -0.5607291881877524, -0.9425549048763109, -0.5682314116286593, -1.0720975624069806, -0.5629831604747196, -0.24687207011463724, -1.0868912031953146, -0.3645054787156743, -0.36504540461598944, -0.7301608758316033, -0.5070380331624709, -0.6996182398968926, -0.5524715125778794 ], "y": [ 2.664207192796542, 2.5632749323231057, 2.6657808449669753, 2.8344031192281847, 3.0182616135147753, 2.6795225477045572, 2.6029718720672896, 3.275115645036235, 3.1527590284913773, 2.065983252779181, 2.841584148885422, 2.2120439891190906, 3.09835269350375, 2.401961032815102, 2.744562252790231, 2.2040769470136894, 2.6755384914920333, 2.990150568016006, 2.600030123671792, 3.052039105200828, 3.3161109219087166, 2.6430542545943747, 2.88607987841636, 2.9581385890513334, 3.394512034117499, 2.547838391589402, 3.0385401865526522, 2.8532888038667883, 2.1515387793519634, 2.253768410277269, 2.8049729823794936, 2.4937485250580247, 1.9361553562367464, 3.084637805954894, 2.128775589147018, 3.3628835047166747, 2.989879841959319, 3.192419365353019, 2.5842418534293863, 2.1067324910780427, 2.2885530289274856, 2.6630680941865417, 2.70885040218499, 2.2684510176669916, 1.602771800579215, 2.9868091880160215, 3.303120464955456, 2.9668396341675085, 2.4349667080082633, 3.1712165121303055, 1.8410314314734733, 1.728356824135497, 2.3889021465683715, 2.3945659969717092, 2.60191810536756, 3.046102034717418, 2.789701045239422, 2.5774546118558503, 3.2150789494199175, 3.30201989821272, 2.195744920056258, 2.351277722070903, 3.7140728124042726, 3.083731902352758, 2.60526340095157, 2.9254050606564794, 2.8872292480503012, 2.3884975207190395, 2.750087548583506, 2.188400072627555, 2.1634444855706993, 2.8640022722413625, 2.4495920432771703, 3.05889601192255, 1.889204591512167, 2.2603854879481164, 2.701768326851001, 2.545232624295821, 2.2814751943002287, 3.215523341655011, 2.9053986202615003, 2.574835482454904, 2.221168192331273, 2.140306776216557, 2.8921175784076674, 2.6950255573963333, 2.71507261993194, 2.81793062763811, 2.3128237123713467, 2.5167701526172417, 2.664166141902973, 2.2723106603306484, 2.994066337260222, 2.5754624569404054, 2.303498526502251, 2.741607071082566, 2.0664389802069083, 2.967079847444776, 2.304036794188701, 2.8347930816727405, 2.1980692717983255 ], "z": [ -0.531741091813694, -0.18895540193935642, -0.19680683721984807, -0.45338257126712656, -0.46137191389060844, -0.10444438801153613, -0.5552635168009277, -0.8250170868004814, -0.12555758236244377, 0.048816215519269415, -0.694600783800826, -0.19107214697756197, -0.7609220159684001, -0.4439427400509848, -1.160330199995551, -1.2118506567307603, 0.008161603899067418, -0.6159207967202867, 0.0865305118363722, -0.18147020377235715, -0.27250962578161164, -0.3340185209771267, -0.37904650507419824, 0.0015243489196582294, -0.3221975234710026, 0.40352974489464677, -0.6078427954225454, -0.4608638741609696, -0.6427439662766117, -0.2559784844506777, -0.029251596640902964, -0.35271407439529334, -0.2651170629026054, -0.3667278027136438, -0.5237212900377621, -0.6016397847533589, -0.5669202319883742, -0.19507159074990701, -0.4274606406301963, -0.20774945147919888, 0.7486602181600981, -0.4133358582677653, -0.726414099747631, 0.12897593663593815, -0.027690711412810026, -0.47492374825958394, -0.7572463905965752, -0.15949551850624336, -0.8704359955843357, -0.6741823781291058, 0.029792848728028207, -0.361320457609572, -0.02921286214468859, 0.03577157263360797, -0.8475205235139881, -0.24491443955709225, -0.5348687470437099, -0.7619892399496072, -0.2993236496860944, -0.07833599263593188, -1.1434166616019812, -0.07164914097149078, -0.4243799035545458, -0.15940458994325588, -0.785936821360646, -0.6458157522043786, -0.43409773882676117, -0.47004724913115825, -0.42241947157955884, -0.2503413050748814, -0.7420669128645093, -0.3626352564779092, -0.026075225435936624, -0.7033021219693582, -0.4309993879337838, -0.21105739901165033, -0.43304199271626487, -0.6804310891806756, -0.14608292696116518, 0.016048860043101954, -0.7672863396251547, -0.2860385422224526, 0.010884526099708778, -0.10045397231246536, -0.6369633603776528, -0.5498149222052214, -0.24997045649708124, -0.21985415495931998, -0.41360225659594096, -0.007807108157800324, -0.22308745329881677, 0.3563806682601751, -0.7940632486214794, -0.5112406011379721, 0.022281927521084117, -0.1851268042642739, -0.7334228835870809, -0.10158725976800978, 0.005567830517358593, -0.3154498659850278, -0.2616703643527357 ] }, { "marker": { "line": { "width": 0 }, "opacity": 1, "size": 4, "symbol": "circle" }, "mode": "markers", "name": "2", "type": "scatter3d", "uid": "c7ef5948-3e8b-4bf8-9cdc-4ae5a5d428fe", "x": [ 1.6450096637742047, 2.3079667206159904, 2.009052196243494, 1.7257317129216885, 1.3287965929672148, 1.41797222267312, 2.9361537650972647, 1.5980817320790284, 2.0019773363076623, 1.653584806622868, 1.6924322690675546, 1.577464509726308, 1.9610291179265797, 1.8667673542320773, 2.0471659253464045, 1.6355188779947156, 2.2690533586043786, 2.347403072655123, 1.4287145872278488, 1.77797484829726, 0.8831441943710683, 2.0154793558427806, 1.8873624196065317, 1.9353378731288717, 1.5715750019094237, 1.8300785233431816, 2.48332450043466, 1.7568276180948124, 2.1331288875854435, 1.9683865852780131, 1.278266805515904, 1.4913640449076833, 2.533842355752593, 1.130678067303557, 1.9251617163646428, 1.1097503692794857, 1.521873732451837, 2.0572162693354756, 1.662650436822027, 1.8801444445193973, 1.9551008560589929, 1.9060501743757652, 2.127065819716345, 1.7624781646353231, 1.715185443755041, 1.5661568799534904, 2.3851119119645894, 1.5648832358063212, 1.4538985758690282, 1.7592363769291532, 2.237253583538614, 1.7712763332196027, 2.0753450390882136, 1.5302060600527108, 1.642213575243098, 1.810792124511305, 1.7349186509184453, 1.9655325460029907, 2.224416712920869, 1.9423400615617221, 1.6606729208372977, 1.36186987417926, 0.9925320825387739, 2.239106848845965, 1.394601932694627, 1.9897920798834012, 1.88760728977717, 1.6724201909756558, 0.4206577526075591, 1.9433539965974382, 1.8724149895655873, 1.7048219256745718, 1.9161336476573139, 2.1991149460107438, 1.858071369131272, 2.086877380610326, 2.3471104871595805, 1.31468110889795, 1.882313116478246, 1.8571937693803664, 1.8594601995793572, 1.2222045688436087, 1.358574427489264, 1.390216006869853, 1.5253850927150632, 1.8081082568430686, 2.102450263914125, 2.4287839488198104, 1.8522312398547576, 1.7345660722089633, 1.291884514960911, 1.2116883197511872, 2.5842144080245752, 1.4726906318124882, 1.1294178834830155, 1.7540189826384769, 1.9539239788562703, 1.7756567285336704, 2.210924918888446, 1.408085072298444, 2.108757612878061, 1.5544154303769626, 1.612696348895371, 1.9404095300361, 2.4147615296661007, 2.145220917344603, 2.6508368482497437, 1.6691468673385872, 2.174679831744631, 2.10155382014372, 2.311105692548082, 2.2755405280750365, 2.1158521505936045, 1.9965358190553002, 0.9815165191749909, 1.3078635161496295, 1.9641411471512473, 2.0485709334798785, 1.5997284575471604, 1.6190930711190703, 2.4950294659719616, 1.757067214872394, 1.6292427459207237, 1.848279251392025, 2.2414189123650474, 2.3487004830265974, 2.0213162555590265, 2.4398172728253154, 2.2049449499120812, 2.1414751831257357, 2.3565569876176236, 2.286795206844811, 1.7972440534933576, 1.3483245520018523, 2.3005454319010097, 1.7407813637275311, 1.8262894129258687, 2.163495438797646, 2.271456540181284, 1.670542243833832, 1.9612642437623162, 1.0140375623893418, 1.062404536647452, 1.7299471286808952, 1.6339526942486882, 2.086099294976813, 1.6525509434464853, 1.7413010455084095, 2.021705204092635, 2.2119019875651063, 0.9533015704737793, 1.6848733711216872, 1.5150158221462733, 2.327325371545993, 1.6462330055634324, 1.2379328877925442, 2.2480468195646788, 2.136720026165841, 1.940343674039996, 2.0445619219992603, 1.9717712477465197, 2.12831014655607, 1.749172913679934, 2.0301272084097786, 2.2874784397516126, 1.762640765070712, 1.88845034483333, 2.0257370744425303, 2.008855435389346, 0.8263785584995533, 1.608581345288084, 2.0544580495943943, 2.0808509440383562, 1.9628707370007354, 2.082980934265136, 1.8795090375611014, 1.4095678523331328, 1.5368362852706643, 1.559293169202781, 1.2466787970298976, 1.5775894888112671, 1.6950366493464153, 2.0765665950701444, 1.5559471246086543, 1.8170610066287773, 1.8162723187650995, 1.835492109770231, 2.1736327277963117, 1.2834593013882214, 1.6683438601784963, 2.316837910333415, 1.7095742456637268, 1.869602558315389, 1.9314335881995726, 2.440985875874843, 1.1273430528036819, 2.3670401887731423, 1.8407816687936156, 1.0267838328780288, 1.7189160438367557, 2.0611493402547163, 1.7142499454783342, 1.6231995125148788, 1.954008905492047, 1.6366643184937195, 1.6226643855572775, 2.0886047631164715, 1.7522311830650334, 1.8170906401823599, 2.0182851231828742, 1.8072846825231406, 2.2185155811334143, 2.081626296697502, 1.764808749323055, 2.0363620115313483, 1.8782669021535803, 2.110107382888179, 1.393116254928945, 1.958863209785526, 1.554809018425543, 1.8704841809173378, 1.2748171986283858, 1.980901864436924, 1.9973076805630998, 1.715951462648847, 2.1799866739931404, 2.453111771753089, 1.7298382921980684, 1.700121448993524, 2.5750852192305014, 2.187919635562901, 1.9428946657964734, 1.8328430318327729, 1.904469178279863, 0.7279204802778066, 1.7143901285636893, 1.764058059090567, 1.5763594989291887, 1.2049128346933948, 2.0125752870964706, 1.9520387123413352, 2.1119574557107774, 1.7183267235566062, 2.5111240805180697, 1.5971916833091566, 1.7889279967084397, 1.6177451835926424, 1.7809708996670213, 2.4210197175794512, 1.9864179959803199, 1.5159079796687596, 1.672646698287484, 1.6503943109140258, 1.907405256978348, 1.3560314498446058, 1.8113556274545448, 1.4412247304698083, 1.6920604587138013, 1.1428810697548961, 2.386241194067583, 1.536392263227265, 1.5942575064821667, 2.347432363595455, 1.5448451997928516, 1.7283501783648365, 2.176807671742308, 2.0027602865050067, 0.7861917951238027, 1.793775198148382, 1.898141802297547, 2.391220328998118, 2.130485982597165, 1.0150957332360686, 1.1710174305772643, 1.4168981749760032, 2.334917955995922, 2.1939278412439807, 1.4348753941177883, 2.2683085473520914, 2.201288044726084, 1.5197168280474518, 1.8231005644659564, 1.3425825289414552, 1.4857814339903475, 2.1395354994147024, 1.357974719928232, 2.2444048433986254, 1.2074604353956664, 2.144882170771736, 2.1151135956491434, 1.515043106508567, 1.74226712825416 ], "y": [ -0.4333598195508351, -0.7585553268851644, -0.9251036012483982, -0.28894574878210644, -0.041300845651686305, -0.7365649907383021, -0.6238708506858379, -0.40652630835878384, -0.5880992976743615, -0.2226020217099249, -0.44671696245970066, -0.162093773689715, -0.6207581022316286, -0.19831472403234215, -0.579132462446069, -0.23677957641217462, -0.26107828121064264, 0.06888518171163388, -0.5454767908822749, 0.11137842674825311, -0.6933983536539672, -0.39247013622372684, -0.26460478738221127, -0.3864494447438019, -0.18653883079004208, -0.2702149805618938, -0.2734612076527164, -0.28782163211533873, 0.035415018571819085, -0.4541539466697283, -0.49927285076633665, 0.025419232472427604, -0.5837770186387221, -0.3395394968714046, -0.28690679879739717, -0.25211031782025645, -0.641902927444385, -0.7950014814442645, -0.14660196760569674, -0.4240383481117681, -0.6107452380936238, -0.5930560875889754, -0.3261489239858801, -0.005260862237149444, -0.37217640684581815, -0.4390878219184636, -0.8796012741532744, -0.3827159287172988, -0.493809566455986, -0.4544792430151178, -0.5657029700861005, -0.374191351654021, 0.11779598629230155, -0.7359198334400212, 0.0840429917038493, 0.020043446411787243, -0.8692461689768622, -0.48856951819389727, -0.8270638484105366, -0.8016663003919671, -0.4670142274902617, -0.2206859601903902, -0.6443328172395977, -0.6627661757821743, -0.03941501780018879, -0.47907776280545955, -0.3015846427789184, -0.621637849542763, 0.2076491425261748, -0.7045242007990249, -0.5409082752652602, 0.17428452767692662, -0.4084850933499881, -0.41243514271884585, -0.4910647395226868, -0.9483541407536009, -0.4540708113004355, -0.5887011854691466, -0.6485919686720667, -0.5888273636371437, -0.3070160614064479, 0.08245097659860802, -0.5466280682324883, -0.6494455709355631, 0.16155581630564936, 0.33992076100225915, -0.4114766176672266, -0.17052190529727415, -0.631722428561557, -0.45881725260798845, 0.2644821742504107, -0.2582154075524341, -0.3934160086928827, -0.042315828461987434, -0.5519131167293162, 0.03126916140730007, -0.4316637034512453, -0.21529467340429118, -0.04239545671326052, -0.1719727225107083, -0.6278550302202799, -0.6061158258542927, -0.19444568465641504, -0.05084736049225831, -0.18982375898718473, -0.8226455577622418, -0.3491912634600557, -0.44266215162366496, -0.4470548628625408, -0.5388199009854079, -0.4021805124607607, -0.28457930588330965, -0.8080844803647209, -0.5939166907741797, 0.15373480064032782, 0.19803647536185212, -0.4777796866189429, -0.3119806081635857, 0.37390889857979986, -0.1909005819296432, -0.2509642683041504, -0.4177752279162652, -0.5365951031494978, -0.03094087590728829, -0.5553319106699788, -0.46622854217505394, -0.44103129374879874, -0.316829753667627, -0.43063416721658276, -0.33456651893236716, -0.5159803899587678, -0.17967184394323688, -0.24570679147749472, 0.4134080728376217, -0.9913266206171816, -0.3754884730768122, -0.5716376261154077, -0.34995164544962587, -0.30680896078620035, -0.29263139805497623, -0.23520357435222586, -0.20555878222138077, -0.3191538055540457, -0.14370495696817412, -0.35012508005303816, -0.5223611071847678, 0.035295176107866325, -0.6483313691141905, -0.29756616455235047, -0.6944336202263459, 0.12768703003270923, -0.20558901982117664, -0.5970185484314898, -0.13466472004067429, -0.10584195092786705, -0.24939790293967842, -0.39360947655263084, -0.5189020465131569, -0.2613232920413307, -0.18819872999668655, -0.663073004746747, -0.32468887413484543, -0.13451952248883678, -0.4719057362679282, -0.4339814163541007, -0.40855806671575434, -0.04366400308358075, 0.04875744576948494, -0.09212125946679944, -0.6324794027139173, -0.5671913425318882, -0.40076604062133214, -0.33294455349536506, -0.16282168730989272, -0.43498468088096415, 0.11314822716257225, -0.20273116251002002, -0.060467907575075905, -0.7609272900933493, -0.13962886671870908, 0.2860443589441386, -0.7065895659812322, -0.10042518610874258, -0.14165672408269472, 0.01587292945368167, -0.10264747497408573, -0.4858736374838676, -0.1417799734175821, -0.2683879106444029, -0.43444751489885935, -0.593422238150999, -0.32224552246386085, -0.4943283478322237, -0.29867593285013927, -0.3832624988707339, -0.49714873895129674, -0.5222801669557491, 0.5023864851928305, -0.14190299685870372, 0.133812548529688, 0.11001348910122928, -0.19983178852302094, -0.48661127769474954, -0.4168546832722399, -0.5690273337682409, -0.6683739749272202, -0.577814390917031, 0.11209534884405896, -0.7710759455667875, -0.01848065431509248, -0.8846203962683286, -0.22573933554867945, -0.20841103474036296, -0.45003928245639696, -0.20063690367779421, -0.5376021575515381, -0.2984365076929996, -0.017300645501946595, -0.5084890684287122, -0.3839680431919159, 0.11214125525738314, -0.09565033101146456, -0.6099063192670242, -0.1897973636365764, -0.7631872591744516, -0.05848907267997969, -0.40856040886904504, -0.48430759680469215, -0.6198319684626306, -0.5630663342332691, -0.3155967711560021, -0.3034666786781491, 0.005290774831593185, -0.5222733121788523, 0.18809527965976933, -0.3367236413700837, 0.1705056022963565, -0.19823125568418268, 0.08893990840390419, -0.8891189081961388, 0.10674187722607718, -0.242163934732611, -0.5273473446223402, -0.49032668236638344, -0.314571011841515, 0.24721306777946622, -0.39319614393860236, -0.44882215598654446, -0.6325117152141251, -0.08052417947057015, -0.2112431973317634, -0.27345634918651546, -0.11384337766454328, -0.2344344297425029, 0.6519035494111889, -0.4809936876028629, -0.23403700450971696, 0.14272654658636022, 0.07848363076411943, -0.5522788510260181, -0.8727902706953194, 0.06961136652466507, -0.2706750641029381, -0.15618036454680168, -0.25195736808694746, -0.8758672369459122, -0.30736241347211096, -0.27294670478359484, -0.6251060329260609, -0.1729278355868603, -0.2725944844783862, -0.1376611600517206, -0.35614306583804073, -0.3232687590945381, -0.10668852259306769, -0.42386300538991006, -0.10368260526232034, -0.07917157156277543, -0.6563024966685316, -0.2969833495525805, -0.31381725484454964, -0.9790283112309037, -0.4247518256492961, -1.101126230326291, -0.5065357190386113, -0.3092558103860553, -0.1802341162178946, -0.328023737843599, -0.24378760338758115, -0.020844975404251745, -0.6918787106725859, -0.40646321311452416 ], "z": [ 0.010750732480278292, -0.8539422512005954, -0.4852299243512964, 0.33950027270189753, 0.13123593591721694, 0.031245845313054455, -0.4365808928694208, 0.06332738453525506, 0.21253476862087795, -0.1985583884258479, 0.475920279333058, 0.25712548577204636, 0.22584963898697424, 0.05706165756704021, -0.06940132262922376, -0.13377156356032927, -0.1935814104663901, -0.343714546698093, 0.7237925179997112, -0.18549005591417544, 0.5796857980278507, -0.7569060814224456, 0.13266709690264267, -0.27864873946072666, 0.1925211167331695, 0.2277053432469246, -0.12290168910050704, 0.10049415484873306, 0.1297414383080669, -0.019969058965214326, 0.14360425062936094, -0.03900200575818009, -0.2738242620211334, -0.1187662567155379, -0.19504546088274402, 0.022834693691410283, -0.09470210334781495, -0.1671878178572672, -0.08718799141583558, -0.06233370420306186, -0.16808567197319416, 0.15058395295320925, 0.28044207354852846, 0.16508024155132858, 0.09626874807789221, -0.0115709039978695, -0.12615545043356846, -0.05159841649154168, 0.3328204598636778, -0.47681802304295473, -0.05111851305981478, -0.08859585396620914, 0.19237131233003232, -0.06199188611233919, -0.6458534524712404, -0.14060011845097073, -0.2901375496309393, 0.5041206538503203, 0.06973186995134284, 0.34980560776734637, -0.14089131047320708, 0.3782651419759189, -0.2364235617046281, -0.020723070867633506, 0.4371066161205426, 0.29088934960540413, -0.024356647911060538, 0.08797370037399614, 0.05247507968264806, -0.2996526036633598, 0.12748606061576465, -0.08800334693418474, -0.19034055537701594, -0.027576552190705195, 0.2994156902199805, 0.5013129400775673, -0.7253965785346164, 0.12921417027723606, -0.4708302021737458, -0.4308763116752343, -0.3071322634979775, 0.5427161114162814, -0.02642671327204549, -0.05131892807244629, 0.3635301938955806, -0.10097815535922411, 0.018209558463836806, 0.12235784126176594, -0.26608082752848805, -0.31542417187214056, -0.16653264029354503, -0.15338125050449997, -0.797042876859737, -0.39050888095460357, 0.10779507963138782, -0.5095982154747096, 0.6296023617619811, 0.11123688685839135, -0.3141088231696043, -0.02711254343114426, -0.37158582337252144, -0.11681989354003333, -0.3051093255625551, 0.48122294135296295, -0.16904181664797524, -0.4775307909065666, 0.13075313592789475, -0.5709573278650221, 0.0651441665087247, -0.08752602933203787, 0.014154121445192808, 0.024567511443386317, -0.036899417559417516, -0.05476286762446216, 0.3588620095966978, 0.3600217673569588, 0.03078539832247203, 0.34960221578617423, 0.06028471622687561, -0.796552932962511, -0.4532544186044368, 0.8651860759491485, 0.19101115206333605, -0.18024491499449966, 0.22689221242318244, -0.635346802751972, 0.07490727577430982, -0.3074795514279486, -0.3225847637424869, 0.012788195163131611, -0.24177308917384865, 0.21109927837752437, -0.310677139666216, -0.18266750505662044, -0.3651603745466293, 0.01991464096261059, 0.2731188480527608, -0.34254994211559586, -0.6069537199576931, 0.44772142283586536, -0.12190389038619345, 0.4679746385957707, 0.5166520427325835, 0.7874480432182834, -0.2703243572923408, 0.060554024724508236, -0.4934374472393729, -0.04445093627590704, 0.2666406362119843, -0.6696239721987294, 0.3114021276842611, 0.3954796181444865, -0.09195175578394962, -0.061754196795190355, 0.008717559917599423, 0.19051215343686112, -0.23038951822622403, -0.18247293653833302, -0.14344832638039146, 0.15538226854468573, -0.08521544093892769, -0.17087136790608792, -0.0540103429798583, 0.49239061052600874, -0.47635934284342063, -0.19844852890669099, -0.21031398013168046, -0.45884917636940364, 0.11712448541837761, 0.0029855588248271885, -0.06414058287111112, -0.421100632968349, -0.31001282804714303, -0.10327243507462308, -0.05638625525921902, 0.2146521397003176, 0.21799842855099014, 0.6270091426771656, -0.1734366993125979, -0.2784374917495638, -0.820815787247867, -0.6662718103065669, 0.03599003575264768, 0.09067178976943407, -0.2959944018580377, 0.0026929422299331084, 0.46868968976772607, -0.00354635751129315, 0.05153510579453807, -0.6330126993064343, 0.27726124569631005, -0.2810060899224077, -0.4734684447050419, -0.4637379342160491, 0.010939177856637082, 0.12529267354521298, -0.23531572612975118, -0.2122339773730097, 0.19340022365844878, -0.49919692647085845, 0.10499546423643567, -0.5856041095389871, -0.2334353802473811, 0.10728265101051973, -0.06609860436857552, 0.029744449014262212, -0.23683779100620023, 0.418289558547167, 0.218321216358441, 0.2403492049144656, -0.48025889432346713, 0.25593221755491935, -0.3129878236773042, 0.2654267447117796, -0.2978959742529532, -0.16730196206527703, -0.5955949404468907, 0.01833312237768205, 0.031043448160681348, -0.17310365784178705, 0.14637842897366457, 0.2640501753529814, -0.17706415762463087, -0.02410027014738762, 0.01560518247590446, -0.5766514384830662, -0.5864980978908674, 0.3275894794927139, -0.32986474663397314, -0.7102015360097798, 0.006203474361650409, -0.5428272009646803, -0.07651196100734832, -0.022724945443822735, 0.11444876942847329, 0.0693164607884562, -0.3418827442416782, -0.2822563787651361, 0.3948866102057855, -0.09344669186878968, -0.024825380648655814, -0.38331784313449124, -0.10883452573260963, -0.1615929500783987, 0.2898491277667344, -0.3859773134976401, -0.18934006444532206, 0.09113142308677755, 0.09758691498869188, 0.10644012548631203, -0.2814993787734307, -0.4371196851763628, -0.19871658361132802, -0.3216888862105126, -0.05722989768301417, -0.888648561743554, 0.34399828773874286, 0.18888261634256254, 0.12568908656678218, -0.6374188763263727, -0.09900456004433428, 0.5485166215944094, -0.39913872607778567, -0.5844920789671523, 0.6009634182878946, -0.13582462437596765, 0.4058835721677021, 0.42936152310384523, 0.5189239114232048, 0.23594999237606532, 0.0754335895063253, -0.2510850619660696, 0.19927775676084516, -0.15633135051481512, 0.04653398775068848, -0.6047059621707697, -0.23570942207005585, -0.09017968549273168, -0.022745191454127314, -0.10827413004701637, -0.5048134837816984, 0.08104182965537482, 0.3813732786037136, 0.11063951808000891, 0.14762592839459407, -0.05978689189820482, 0.33988461572661877, -0.3178431658379851, -0.05299350049031126, -0.4775552174187505, 0.16172881298966252, 0.21987195501491305 ] }, { "marker": { "line": { "width": 0 }, "opacity": 1, "size": 4, "symbol": "circle" }, "mode": "markers", "name": "outlier", "type": "scatter3d", "uid": "ebbeb51d-5a71-4b5c-b812-affeb653688f", "x": [ -0.5350079886550722, -0.20332712208726886, -0.40894085297477073, -0.23192237836511048, -0.4790803577131914, -0.06460793959981925, -0.8210430488185296, -0.4161139588001755, -0.4849021485050507, -0.5668102811463336, -0.21845781994572713, -0.28166904915124424, -0.21158524312797922, -0.21711867592477643, -0.20640040022513068, -0.35277092224829115, -0.23611271506358245, -0.5626283224721957, -0.3720034140258551, -0.3474134690078144, -0.303230148112819, -0.4443098759942194, -0.25513760626558296, -0.3168529327063777, -0.025780670647561652, -0.618874553083713, -0.20916449898119635 ], "y": [ 0.654400520774453, 0.7491503688031724, 1.0266093375859702, 0.708858953552143, 1.0068984958721923, 0.4798579969482791, 1.0893069933909574, 0.7022581513460029, 0.9316174333985181, 0.4012147025533613, 1.3195550914192316, 1.2702391212471036, 1.0714675998469327, 0.9327100320622344, 0.6401720710008496, 1.6385067066575627, 0.8186371784469276, 0.71598007783093, 0.57288727303736, 0.6808228250200776, 0.8522742001230774, 0.9905530065935872, 1.3361641096337094, 0.5638335349951418, 0.695544998716422, 1.0605477539439403, 1.0960604120065731 ], "z": [ 1.656003067681, 3.3157272834657174, 2.306918586698334, 3.2566299267173786, 2.6796317324752166, 2.696011540514072, 2.7956771539271004, 2.6063918553209593, 2.581719742552281, 3.178067948685152, 3.20811649075317, 2.612213660671718, 2.568328289955206, 3.1432582224496737, 2.2243211773740375, 2.5552805331396264, 2.719316808392285, 2.782252492760311, 2.885915558540311, 2.9395737299724183, 2.656222245176169, 3.186898611998901, 2.7998907839076894, 2.759975243684635, 2.536738489454084, 2.975912061612864, 2.8209389654970822 ] } ], "layout": { "margin": { "b": 0, "l": 0, "r": 0, "t": 0 } } }, "text/html": [ "
" ], "text/vnd.plotly.v1+html": [ "
" ] }, "metadata": {}, "output_type": "display_data" } ], "source": [ "names= [\"0\",\"1\",\"2\",\"outlier\"]\n", "\n", "fig_features= [go.Scatter3d(\n", " x = global_data[[x for x in range(len(new_labels)) if new_labels[x] == i],0],\n", " y = global_data[[x for x in range(len(new_labels)) if new_labels[x] == i],1],\n", " z = global_data[[x for x in range(len(new_labels)) if new_labels[x] == i],2],\n", " mode= \"markers\",\n", " marker= {\n", " 'line': {'width': 0},\n", " 'size': 4,\n", " 'symbol': 'circle',\n", " \"opacity\": 1\n", " },\n", " name= names[i]\n", " ) for i in list(set(new_labels))]\n", "\n", "\n", "layout = go.Layout(\n", " margin=dict(\n", " l=0,\n", " r=0,\n", " b=0,\n", " t=0\n", " )\n", ")\n", "\n", "fig = go.Figure(data=fig_features, layout=layout)\n", "iplot(fig)\n" ] }, { "cell_type": "code", "execution_count": null, "metadata": {}, "outputs": [], "source": [] } ], "metadata": { "kernelspec": { "display_name": "Python 3", "language": "python", "name": "python3" }, "language_info": { "codemirror_mode": { "name": "ipython", "version": 3 }, "file_extension": ".py", "mimetype": "text/x-python", "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", "version": "3.6.3" } }, "nbformat": 4, "nbformat_minor": 2 }