2021-10-07 09:32:17 +02:00
|
|
|
package face
|
|
|
|
|
|
|
|
import (
|
|
|
|
"testing"
|
|
|
|
|
|
|
|
"github.com/stretchr/testify/assert"
|
|
|
|
)
|
|
|
|
|
2022-04-03 17:25:37 +02:00
|
|
|
func TestKidsEmbeddings(t *testing.T) {
|
2021-10-07 09:32:17 +02:00
|
|
|
t.Run("Contains", func(t *testing.T) {
|
|
|
|
e := Embeddings{
|
|
|
|
{-0.044992052018642426, 0.05661141872406006, -0.00003137920793960802, 0.04838147386908531, 0.05526674911379814, -0.018629644066095352, -0.010908594354987144, 0.056594304740428925, -0.003944901749491692, 0.08964819461107254, 0.07549002021551132, 0.01849522441625595, 0.0005332650616765022, -0.014480655081570148, -0.01627306453883648, -0.009962513111531734, -0.04897325858473778, 0.024401027709245682, -0.0216915812343359, 0.007450428791344166, -0.02613189071416855, -0.04957116022706032, -0.016295891255140305, -0.08825927972793579, -0.06654207408428192, 0.020081689581274986, 0.06296750158071518, 0.03368097543716431, -0.0018212817376479506, 0.050871897488832474, -0.024764642119407654, -0.03828364610671997, -0.009382093325257301, -0.0035446782130748034, -0.012820560485124588, -0.06848567724227905, -0.026590194553136826, 0.01354584563523531, -0.05875016003847122, -0.013583967462182045, -0.08444201946258545, 0.06248823180794716, 0.012853626161813736, 0.07052400708198547, 0.026232657954096794, 0.026997899636626244, -0.010249478742480278, 0.0001825501531129703, -0.00908519048243761, -0.04080723598599434, -0.04976116120815277, -0.044118620455265045, 0.014794588088989258, -0.04568198695778847, -0.06906589865684509, 0.028802184388041496, -0.040101613849401474, 0.030455486848950386, -0.09878328442573547, 0.06689277291297913, -0.00626843236386776, -0.01947363093495369, -0.016622932627797127, -0.00007052601722534746, -0.030728548765182495, -0.02887864224612713, -0.07669390738010406, -0.04233616963028908, -0.024732787162065506, -0.00764170428737998, 0.002672777511179447, 0.031979743391275406, 0.011800051666796207, -0.07775157690048218, 0.002934449352324009, 0.00581736396998167, -0.022378811612725258, -0.0028943794313818216, 0.060106582939624786, 0.01880844496190548, -0.016128016635775566, -0.020715320482850075, 0.06349750608205795, -0.015411841683089733, -0.0060160113498568535, 0.028346024453639984, -0.049309004098176956, 0.07062098383903503, 0.045913759618997574, 0.03220389410853386, -0.05531395599246025, -0.025220220908522606, -0.02733956277370453, -0.04369249939918518, 0.03718667849898338, -0.0008761340286582708, 0.04098183661699295, 0.0442255400121212, 0.02017069421708584, 0.0006015895633026958, 0.004228045232594013, 0.009493290446698666, 0.008833334781229496, 0.1323438137769699, 0.02059713378548622, 0.005624258425086737, -0.0313432440161705, 0.002904782770201564, 0.04731215536594391, -0.026712117716670036, -0.021359000355005264, 0.04610079154372215, -0.019574763253331184, -0.012740026228129864, 0.009105428121984005, 0.03300673887133598, -0.013971881940960884, 0.08683114498853683, 0.039449483156204224, -0.0060504768043756485, 0.06137135252356529, -0.0413697212934494, 0.005206641275435686, -0.04030776768922806, 0.025862829759716988, -0.08213812112808228, -0.03305601328611374, 0.019777264446020126, -0.022563418373465538, -0.013463091105222702, -0.043361786752939224, 0.011130225844681263, 0.12441261112689972, 0.004206405952572823, 0.045155156403779984, -0.006988121662288904, 0.023861270397901535, -0.012273110449314117, -0.062281571328639984, 0.09829854965209961, 0.030664222314953804, 0.04223056137561798, -0.08536402136087418, 0.033196691423654556, -0.04379285126924515, 0.033378537744283676, -0.016421303153038025, 0.04627098888158798, -0.025675587356090546, 0.07295409590005875, -0.011742869392037392, 0.03582924231886864, -0.018135441467165947, 0.046371303498744965, -0.0027939421124756336, 0.0026211803779006004, -0.05403513088822365, 0.005829649046063423, -0.0495971217751503, -0.04254235327243805, 0.07515522837638855, 0.050352614372968674, -0.04364120587706566, 0.028548654168844223, 0.005593346431851387, -0.012489558197557926, 0.033937446773052216, -0.038086872547864914, 0.00475142989307642, 0.08689133822917938, 0.022225068882107735, 0.020652128383517265, -0.024612916633486748, 0.003965653013437986, -0.03914821892976761, -0.0046355533413589, 0.03457527607679367, -0.046081818640232086, -0.021623561158776283, -0.0697641670703888, 0.02222898229956627, 0.03735600784420967, 0.018248606473207474, 0.04800349473953247, 0.043156273663043976, -0
|
|
|
|
{0.00018320661911275238, -0.032866738736629486, 0.0021107203792780638, 0.021527018398046494, 0.017987826839089394, 0.03373519331216812, -0.03513302654027939, -0.021051431074738503, -0.03713345155119896, -0.00855151005089283, 0.07821014523506165, 0.004208952188491821, 0.06267114728689194, 0.03733719140291214, 0.017339851707220078, 0.10954005271196365, 0.049989886581897736, 0.06568149477243423, -0.022571394219994545, -0.02843470498919487, -0.04028335586190224, -0.05667056143283844, 0.07096622884273529, -0.05861536040902138, -0.022235095500946045, -0.04222569987177849, -0.0317399837076664, -0.009658627212047577, -0.051839906722307205, 0.004299566149711609, -0.048037439584732056, 0.014291012659668922, -0.04800274595618248, 0.05838283896446228, -0.08984334021806717, 0.006403549108654261, 0.00977831520140171, 0.009402955882251263, -0.10649524629116058, -0.02242869883775711, -0.013986267149448395, -0.022741006687283516, 0.007897133007645607, 0.06506410241127014, 0.08284994959831238, 0.026771631091833115, 0.05573121830821037, -0.029826456680893898, -0.046867940574884415, -0.009643801487982273, -0.04447537288069725, -0.02783522754907608, 0.07147575169801712, 0.0003983106289524585, -0.10185021907091141, -0.034629080444574356, -0.01947834901511669, -0.0038306156639009714, -0.006610400043427944, 0.03454909101128578, 0.022521810606122017, -0.07991563528776169, -0.020233336836099625, 0.06206449121236801, -0.02825869433581829, 0.03217524290084839, -0.03180061653256416, -0.0009898567805066705, -0.045084163546562195, 0.03812438249588013, -0.023791097104549408, -0.05367560312151909, 0.12174693495035172, -0.01317788939923048, -0.0394132137298584, -0.03984353318810463, -0.04978431761264801, 0.044311217963695526, 0.0531034916639328, -0.0236606877297163, 0.005558948498219252, 0.015870168805122375, -0.060380227863788605, 0.008175939321517944, 0.0036997452843934298, 0.05071261525154114, -0.036950357258319855, 0.10220462828874588, -0.04311442747712135, -0.012639257125556469, -0.03649405390024185, 0.040165312588214874, -0.051796991378068924, -0.024260174483060837, 0.05288347601890564, -0.0404290035367012, 0.03178943693637848, 0.04711546376347542, 0.022201165556907654, -0.004459102172404528, -0.03656800463795662, 0.06294967234134674, -0.05867628753185272, 0.06432359665632248, 0.013910328969359398, -0.03310859203338623, 0.009318666532635689, -0.04764040559530258, -0.07207188010215759, -0.023362740874290466, -0.0760403722524643, -0.039792127907276154, -0.0024077408015727997, -0.02403726801276207, -0.016130229458212852, -0.005831537302583456, -0.02115187793970108, 0.01974518597126007, -0.015474961139261723, -0.027212951332330704, 0.059447258710861206, -0.014281532727181911, -0.03454843908548355, -0.001390324905514717, 0.035666294395923615, -0.03714388981461525, 0.012261179275810719, 0.0912814736366272, 0.06438062340021133, -0.06481009721755981, -0.019205719232559204, -0.029670720919966698, 0.026782069355249405, 0.05483889952301979, 0.0418330542743206, 0.010591703467071056, 0.0031628243159502745, -0.05148112401366234, -0.04963110387325287, 0.04279491305351257, 0.01972990483045578, -0.008080188184976578, -0.057671815156936646, -0.030247336253523827, -0.03387676924467087, -0.03398444503545761, -0.01833973452448845, -0.021494410932064056, 0.048149146139621735, 0.0576867014169693, -0.008383447304368019, 0.012523249723017216, -0.03810282051563263, 0.006588811054825783, 0.05065301060676575, -0.009481740184128284, -0.06284451484680176, -0.04281146451830864, 0.012788892723619938, 0.0012926578056067228, -0.035252828150987625, 0.049417126923799515, 0.07454966753721237, 0.054245200008153915, -0.05389215052127838, -0.07855121791362762, -0.05823459476232529, 0.007063376251608133, 0.049064915627241135, -0.026291558519005775, -0.01799396611750126, 0.03874526545405388, -0.010294776409864426, 0.04259655624628067, -0.016253473237156868, 0.04962749406695366, 0.020836014300584793, 0.06609436124563217, 0.012771031819283962, 0.011907126754522324, -0.012839785777032375, 0.06894336640834808, -0.03100503608584404, 0.046419043093919754, 0.03583665192127228, -0.024587800726
|
|
|
|
{0.004882930312305689, -0.028871430084109306, -0.014925234951078892, 0.042015232145786285, 0.03289106860756874, 0.00047218144754879177, -0.04626072198152542, 0.08869951218366623, -0.08738508075475693, 0.041352055966854095, 0.025143291801214218, 0.027804607525467873, 0.03851303085684776, 0.059128664433956146, 0.029246464371681213, -0.01177206914871931, -0.055604543536901474, 0.04581688344478607, -0.021625488996505737, 0.014038625173270702, 0.04526897147297859, -0.003151113400235772, 0.01755913719534874, -0.016582749783992767, -0.04034445434808731, 0.03751881793141365, 0.11246222257614136, 0.025973817333579063, 0.046221256256103516, -0.03560330346226692, 0.010319976136088371, -0.06042899936437607, -0.02092718705534935, -0.015790656208992004, -0.015058585442602634, -0.031521182507276535, -0.014863084070384502, 0.09852202981710434, -0.026713669300079346, -0.09230262786149979, -0.0645485445857048, 0.03376315161585808, -0.016680343076586723, -0.0032860636711120605, 0.0289445947855711, -0.04086116701364517, 0.01185047347098589, -0.03036908246576786, -0.050068069249391556, 0.0013629610184580088, -0.10402216762304306, 0.020886534824967384, 0.06360501796007156, -0.038404129445552826, -0.10402511060237885, 0.019234996289014816, -0.0301763117313385, 0.04926493763923645, -0.014555397443473339, 0.023388627916574478, 0.045102808624506, -0.07065623998641968, 0.01779104769229889, 0.04318133369088173, 0.006222338881343603, -0.03631843626499176, 0.005155006889253855, -0.03126167878508568, 0.02961049973964691, 0.042098451405763626, -0.05473579093813896, -0.030505038797855377, 0.05462753400206566, -0.018857350572943687, -0.013100373558700085, 0.024632159620523453, -0.029910949990153313, -0.06632661819458008, 0.04453831911087036, -0.050670187920331955, 0.037967462092638016, 0.07036780565977097, 0.07603567838668823, 0.02958795428276062, -0.06687693297863007, 0.030427396297454834, 0.040562309324741364, 0.081810861825943, -0.01210289727896452, -0.027030745521187782, -0.08186805993318558, 0.017522599548101425, -0.07442684471607208, 0.032609228044748306, -0.008241117000579834, -0.02420344017446041, 0.010065721347928047, -0.07006815820932388, -0.023965315893292427, -0.095053531229496, -0.0066795386373996735, -0.007384734693914652, 0.017342889681458473, 0.048182494938373566, -0.007601919583976269, -0.034079138189554214, -0.06012185662984848, -0.048203855752944946, -0.00012411877105478197, -0.0702674463391304, -0.053258661180734634, 0.09610331803560257, -0.08409681171178818, 0.0006605522357858717, 0.09284624457359314, -0.003066445467993617, -0.01669788733124733, 0.07133719325065613, -0.001136226230300963, -0.038388170301914215, 0.036363981664180756, -0.03186909109354019, -0.011004592292010784, -0.04703499376773834, -0.033754657953977585, 0.009894444607198238, -0.0651240348815918, 0.07229526340961456, 0.018740307539701462, -0.021803900599479675, 0.012212129309773445, 0.022386791184544563, 0.05509564280509949, -0.002009343821555376, 0.052710991352796555, -0.03911963477730751, 0.0037262304686009884, 0.04576747119426727, -0.06396473199129105, 0.016327453777194023, -0.01841137744486332, 0.08133656531572342, 0.027454890310764313, 0.017934516072273254, -0.05057291314005852, 0.05975693091750145, -0.007352042011916637, 0.00653004040941596, 0.045967090874910355, 0.0636090412735939, -0.04789235070347786, 0.020336657762527466, 0.003387229749932885, -0.036981452256441116, -0.005459815263748169, -0.015007982961833477, -0.046427641063928604, -0.0265751201659441, -0.02166137658059597, -0.04442169517278671, -0.0388776957988739, 0.014315947890281677, 0.07145505398511887, 0.023914091289043427, -0.009579996578395367, 0.000555231177713722, -0.07929696887731552, -0.04671946167945862, 0.04548916965723038, 0.04007089138031006, 0.0777222141623497, -0.05238672345876694, -0.03217660263180733, 0.010117340832948685, -0.07449944317340851, -0.021306153386831284, -0.041546110063791275, 0.004237184766680002, 0.009483197703957558, 0.06297741830348969, -0.000040676473872736096, -0.0072582196444272995, 0.027166014537215233, -0.03531072288751602, 0.04809935390949249, -0.047254230827
|
|
|
|
{0.024528931826353073, -0.025326434522867203, 0.05254485458135605, 0.058005593717098236, 0.01615140587091446, -0.025617286562919617, -0.027141904458403587, 0.014794738963246346, -0.031254250556230545, -0.009590037167072296, 0.04378775879740715, 0.015813196077942848, 0.00629587285220623, 0.0032207989133894444, 0.02702210657298565, 0.05223379656672478, -0.0211571604013443, 0.07898901402950287, -0.028733137995004654, 0.05672398582100868, -0.06787014752626419, -0.09272292256355286, -0.014848137274384499, -0.05947292968630791, -0.0441114716231823, 0.006325356662273407, 0.007125334348529577, 0.02939555048942566, -0.020136017352342606, 0.052428461611270905, 0.030998414382338524, -0.004801883362233639, -0.03276569023728371, 0.026988234370946884, -0.055916909128427505, -0.09819792211055756, -0.028192494064569473, 0.021235838532447815, -0.07123353332281113, 0.008199560455977917, -0.03074563853442669, 0.009410668164491653, -0.020287025719881058, 0.0414758026599884, 0.06682250648736954, -0.005876428913325071, 0.02371852472424507, -0.04118218645453453, 0.028499122709035873, -0.026088496670126915, -0.06644225120544434, -0.019189320504665375, 0.033871766179800034, 0.009177299216389656, -0.0825061947107315, -0.014039835892617702, -0.05547408014535904, 0.014198356308043003, -0.051872618496418, 0.06722602248191833, -0.0610022135078907, -0.07144779711961746, 0.009282183833420277, 0.0971936285495758, -0.011163037270307541, 0.020002277567982674, -0.08448817580938339, -0.05188347399234772, -0.04808295518159866, -0.05819971114397049, -0.022971101105213165, 0.011167258024215698, 0.05349518358707428, -0.03924944996833801, -0.081229567527771, -0.009292857721447945, -0.004739735741168261, -0.04528845101594925, 0.09674124419689178, -0.029426749795675278, 0.021210147067904472, -0.006831706035882235, 0.007542374078184366, 0.015838967636227608, 0.04330659285187721, 0.05746728181838989, -0.04549484699964523, 0.0896497368812561, 0.042006563395261765, 0.02384822443127632, -0.01973429135978222, 0.0014355868333950639, -0.010806291364133358, -0.044499706476926804, 0.028368128463625908, -0.03137882053852081, 0.012138301506638527, 0.05209451541304588, 0.04638250172138214, -0.022420819848775864, -0.02681916207075119, 0.06574658304452896, -0.018764739856123924, 0.12664934992790222, 0.0971512570977211, -0.04088223725557327, -0.005782687570899725, -0.003814494702965021, 0.03010145202279091, -0.029422743245959282, -0.04405609518289566, 0.04136406257748604, -0.04755927622318268, 0.018907779827713966, -0.011232992634177208, 0.04191884025931358, -0.050155263394117355, 0.024796515703201294, -0.022494707256555557, -0.0257427878677845, 0.05577584356069565, -0.005912076216191053, 0.0031021414324641228, -0.031041841953992844, 0.05213615298271179, -0.04270654544234276, 0.005699063651263714, -0.014969458803534508, 0.015644224360585213, -0.03711627423763275, -0.012342816218733788, -0.01153163518756628, 0.09317139536142349, 0.05842873454093933, 0.07183201611042023, -0.02342839725315571, -0.020765813067555428, -0.0645177960395813, -0.03483685106039047, 0.05136331915855408, 0.06324288249015808, 0.043235983699560165, -0.10370070487260818, 0.04369213804602623, -0.03731498122215271, -0.017807282507419586, -0.03276875987648964, 0.040681932121515274, 0.016433807089924812, 0.08613058179616928, 0.015776285901665688, 0.06307055056095123, 0.04079947620630264, 0.032396815717220306, -0.01625990867614746, 0.023896124213933945, -0.034699488431215286, -0.0641234964132309, -0.04752504825592041, -0.0068383486941456795, -0.02184137888252735, 0.05048159882426262, 0.023272110149264336, 0.01967693865299225, -0.05947262421250343, -0.008685939945280552, -0.058284349739551544, 0.03200260177254677, 0.03358586132526398, 0.012758453376591206, -0.022492751479148865, 0.012664959765970707, -0.040958698838949203, 0.044592488557100296, -0.03366323933005333, 0.03349318727850914, -0.03565962612628937, -0.013394064269959927, 0.044002823531627655, -0.0040218341164290905, -0.01062733307480812, 0.06749792397022247, 0.04485224559903145, 0.05057413876056671, 0.05251815542578697, -0.05672392249107361, 0.015003324
|
|
|
|
{-0.014933333732187748, 0.011114448308944702, -0.04620789363980293, 0.019871147349476814, 0.0025348409544676542, -0.09380897134542465, -0.04329853504896164, 0.03679230436682701, 0.008878033608198166, 0.05232563242316246, 0.012500829994678497, 0.094290591776371, -0.007972689345479012, 0.021024800837039948, -0.004619525745511055, 0.10277147591114044, 0.018942836672067642, 0.03556249290704727, -0.016806211322546005, 0.0012468216009438038, -0.0193487461656332, -0.06645650416612625, -0.02154668979346752, 0.003867196850478649, -0.0035380965564399958, -0.04315090551972389, -0.008941739797592163, 0.02267778292298317, -0.015351231209933758, 0.04071679711341858, -0.030851716175675392, -0.07368587702512741, -0.0030746653210371733, 0.026277480646967888, -0.06699860841035843, -0.06034412980079651, -0.04406113550066948, 0.01558978296816349, -0.09385160356760025, 0.041095685213804245, -0.07223476469516754, -0.013418418355286121, -0.012559927999973297, 0.10955656319856644, 0.0036377529613673687, 0.04724135249853134, 0.03223070129752159, 0.014723525382578373, -0.018230121582746506, 0.06583757698535919, -0.006640861742198467, -0.009139728732407093, 0.021328745409846306, -0.08770108968019485, -0.058789171278476715, 0.032771822065114975, -0.08221664279699326, 0.005461663007736206, -0.051026906818151474, 0.03836368769407272, -0.060401976108551025, 0.041287411004304886, -0.019198765978217125, 0.05351098254323006, -0.027109390124678612, 0.029953181743621826, -0.07936619222164154, 0.03666844218969345, -0.0033165940549224615, -0.035012368112802505, 0.03210728242993355, -0.0038122578989714384, 0.04381400719285011, 0.009625725448131561, -0.05448974668979645, 0.0029066994320601225, -0.03080333210527897, 0.0021464081946760416, 0.09121335297822952, 0.016545061022043228, 0.01102326437830925, -0.028392832726240158, 0.004050442948937416, 0.043051574379205704, -0.02509809471666813, -0.017964176833629608, -0.03585579991340637, 0.10322427749633789, 0.00015508370415773243, -0.011234556324779987, -0.03133593872189522, 0.05197221040725708, -0.0015274862525984645, -0.026756271719932556, 0.006828845012933016, -0.03968190401792526, -0.006956362631171942, 0.00832450482994318, 0.01925080642104149, 0.00838291272521019, -0.005016293376684189, 0.08134902268648148, -0.018569236621260643, 0.0852198526263237, 0.038762565702199936, 0.013600973412394524, -0.0183528121560812, -0.020611824467778206, 0.03846512362360954, -0.028347335755825043, -0.0247487872838974, -0.0435013547539711, -0.015043956227600574, 0.06989933550357819, 0.012798984535038471, 0.0023941616527736187, 0.04182932525873184, 0.061153288930654526, -0.06219518929719925, -0.03820337355136871, 0.07562337815761566, 0.024168184027075768, 0.001000522286631167, -0.04513539373874664, 0.00884129200130701, -0.0173141211271286, -0.036474697291851044, 0.03735942393541336, 0.03497733920812607, 0.0005387931596487761, -0.0701984167098999, -0.008016296662390232, 0.10452741384506226, -0.03986295685172081, 0.022047776728868484, -0.054383181035518646, -0.03961830586194992, -0.034381404519081116, 0.013021190650761127, 0.07588087022304535, 0.04502974450588226, 0.014718190766870975, -0.03832102194428444, -0.04264691844582558, 0.015080106444656849, -0.007783255074173212, -0.05115865543484688, 0.017017172649502754, 0.042229972779750824, 0.029900390654802322, -0.011681119911372662, -0.012162082828581333, 0.03506433963775635, 0.056696679443120956, -0.010530086234211922, -0.05863749980926514, -0.014381714165210724, -0.02647417224943638, -0.07674653083086014, -0.016919702291488647, 0.03548036888241768, 0.03970281779766083, 0.01821465976536274, 0.06281736493110657, 0.040798369795084, -0.0233229398727417, -0.009493129327893257, 0.03893507272005081, -0.03616560623049736, 0.003578225150704384, -0.0369470939040184, 0.023701930418610573, -0.04781681299209595, 0.06370554119348526, -0.031885478645563126, 0.0013841439504176378, 0.05928245931863785, 0.04304703697562218, 0.012873982079327106, -0.015820715576410294, -0.02006514184176922, -0.006686524022370577, 0.01714414916932583, 0.050311893224716187, 0.01407606527209282, -0.03339923545718193
|
|
|
|
{-0.03190638870000839, 0.10692691057920456, 0.02565114013850689, 0.0038513452745974064, 0.01278993021696806, 0.05264291167259216, -0.05255217105150223, 0.020312022417783737, -0.025531314313411713, 0.09637119621038437, 0.09470699727535248, 0.05015706643462181, -0.03273870423436165, 0.03262699022889137, -0.016827836632728577, -0.035741034895181656, -0.08851185441017151, -0.014975066296756268, -0.04863561689853668, -0.02881351113319397, 0.0011730353580787778, -0.031310249119997025, 0.008247938007116318, -0.043891891837120056, -0.05533305183053017, 0.05872080847620964, 0.04657900705933571, 0.023004109039902687, -0.05375323444604874, 0.005103911738842726, 0.028790755197405815, 0.011870009824633598, 0.0509176179766655, 0.03952857851982117, -0.016840403899550438, -0.0014727750094607472, 0.04916714131832123, 0.02835061401128769, 0.003070299979299307, -0.024674836546182632, -0.07600925862789154, 0.005899868439882994, 0.00012308277655392885, 0.08310174942016602, 0.034056294709444046, -0.041113272309303284, -0.026041554287075996, 0.003628738224506378, 0.014839564450085163, -0.04636026918888092, -0.056960564106702805, -0.03404797613620758, -0.0019516557222232223, -0.06721750646829605, -0.041173726320266724, 0.0757712721824646, -0.07116049528121948, 0.04425666853785515, -0.07732547074556351, 0.0352010652422905, 0.017730196937918663, 0.023847147822380066, -0.056103628128767014, -0.04227828234434128, 0.0048826998099684715, -0.027136584743857384, -0.0635223314166069, 0.00970252975821495, 0.008828607387840748, 0.049529511481523514, 0.05090894550085068, 0.033581580966711044, -0.007445840630680323, -0.014168537221848965, 0.01812296360731125, 0.0020140258129686117, -0.06671509891748428, 0.02116718702018261, 0.015260260552167892, 0.006947488058358431, -0.025460153818130493, 0.004863988142460585, 0.054204728454351425, -0.008748775348067284, -0.01302841305732727, -0.012401019223034382, -0.027354395017027855, 0.07097341120243073, 0.017958858981728554, 0.014225604943931103, -0.06093015894293785, -0.010526378639042377, -0.04858221858739853, -0.026338353753089905, 0.04920186847448349, -0.012560795992612839, 0.0469929464161396, 0.031046850606799126, 0.02579720877110958, 0.0032527283765375614, 0.04826581850647926, 0.068886399269104, 0.011477460153400898, 0.03929249197244644, 0.03887372463941574, 0.029216313734650612, -0.03507990390062332, -0.021525634452700615, 0.0032136566005647182, -0.08378532528877258, 0.031177103519439697, 0.04450810328125954, -0.021230122074484825, 0.005780120845884085, 0.03858914598822594, 0.06281516700983047, 0.04974663257598877, 0.048019710928201675, 0.05171315371990204, -0.034307535737752914, 0.008667122572660446, 0.00411906698718667, -0.005492918659001589, 0.02661377377808094, -0.032553013414144516, -0.060015108436346054, -0.05711851269006729, 0.05011036619544029, 0.029021283611655235, -0.04935413971543312, -0.03973888233304024, 0.03965041786432266, 0.10976801812648773, -0.028217623010277748, 0.03210682049393654, -0.051994532346725464, 0.019612908363342285, -0.02131994441151619, -0.08496663719415665, 0.07156310230493546, 0.021143699064850807, 0.0073616765439510345, -0.0765295997262001, -0.011082102544605732, -0.06196412816643715, 0.019409243017435074, -0.04850355163216591, 0.035064734518527985, 0.026142172515392303, 0.05065096542239189, -0.024761460721492767, 0.018937401473522186, -0.022316083312034607, 0.0010321186855435371, 0.024612637236714363, 0.0692860558629036, -0.03382572531700134, 0.02532808855175972, -0.011715426109731197, -0.09212268888950348, 0.037314482033252716, 0.06623189151287079, -0.018942780792713165, 0.02963431365787983, 0.03428640589118004, -0.06437274813652039, 0.0447496734559536, -0.015050796791911125, 0.013105902820825577, 0.12321767956018448, 0.016709553077816963, 0.012494469061493874, -0.1127670407295227, 0.006749259773641825, -0.03667084500193596, -0.03950286656618118, 0.001600573188625276, -0.018696032464504242, -0.03163737431168556, -0.018686939030885696, 0.03253157436847687, 0.01269565150141716, 0.019330980256199837, 0.04598952829837799, 0.03757710009813309, -0.04928221181035042, 0.010251626
|
|
|
|
{0.017149215564131737, 0.00649519357830286, -0.0027449068147689104, 0.04723925516009331, 0.09156953543424606, 0.021990442648530006, -0.012880208902060986, 0.02149098925292492, 0.029987258836627007, 0.059467557817697525, 0.023923739790916443, 0.0061381785199046135, -0.06758621335029602, -0.000811530277132988, -0.01720256358385086, -0.012339060194790363, -0.024107130244374275, 0.029682239517569542, -0.015242367051541805, 0.022448930889368057, -0.006709575187414885, -0.02095475047826767, 0.04227606952190399, -0.04944070056080818, -0.08320556581020355, 0.09028340131044388, 0.09313956648111343, -0.007005912251770496, -0.05300488322973251, 0.03725865110754967, 0.015980664640665054, -0.014009010046720505, -0.02638917602598667, 0.06925051659345627, -0.010353648103773594, -0.03226408362388611, -0.016946550458669662, 0.015855498611927032, -0.07684585452079773, 0.022533832117915154, -0.025653032585978508, -0.007808103691786528, -0.009081305004656315, 0.07112237811088562, 0.011747989803552628, -0.013332436792552471, -0.016614533960819244, 0.04117061197757721, -0.08807317912578583, -0.029850132763385773, 0.01620645821094513, -0.010876237414777279, 0.03641517087817192, 0.005341138690710068, -0.09820417314767838, 0.0032206340692937374, -0.04006997123360634, 0.006395901087671518, -0.03463301062583923, 0.031543053686618805, -0.018673434853553772, -0.03536020964384079, -0.007830101996660233, 0.0040167816914618015, -0.032416533678770065, -0.04900901019573212, -0.06850535422563553, -0.03324522450566292, 0.0034407968632876873, -0.00003457507773418911, -0.009677580557763577, -0.005965089425444603, 0.007173062767833471, -0.06712356209754944, -0.005211238283663988, 0.022282497957348824, -0.033051498234272, -0.0480567142367363, 0.0273809302598238, 0.006010192446410656, 0.025419335812330246, 0.009257772006094456, 0.0437084436416626, -0.01062715519219637, -0.025496486574411392, 0.08246330916881561, -0.016242753714323044, 0.00963797327131033, 0.01972319185733795, 0.0094339270144701, -0.05933968722820282, -0.012378795072436333, -0.0066285645589232445, -0.030013980343937874, 0.0739368125796318, 0.0015174590516835451, 0.023114381358027458, 0.06660658866167068, -0.0012604485964402556, -0.045501958578825, 0.05833083391189575, 0.055964160710573196, -0.012328880839049816, 0.11972861737012863, 0.0624307282269001, 0.0009728787699714303, -0.010876460000872612, 0.00045088387560099363, 0.032490190118551254, -0.0769115686416626, 0.021781176328659058, 0.017892418429255486, -0.042260151356458664, -0.06821382790803909, 0.04675505682826042, 0.01599295809864998, -0.017406661063432693, 0.016598280519247055, 0.022679219022393227, -0.0003676992782857269, 0.059372495859861374, 0.011845467612147331, -0.029710248112678528, -0.045727457851171494, -0.023261815309524536, -0.12794719636440277, -0.04569856449961662, 0.025502488017082214, 0.0009851052891463041, -0.024640869349241257, -0.04584220424294472, 0.04449335113167763, 0.06268402934074402, -0.027479534968733788, -0.002072950592264533, -0.019020024687051773, -0.017281342297792435, -0.08022458106279373, -0.03815718740224838, 0.13594886660575867, 0.06561153382062912, 0.05645807459950447, -0.07998929917812347, 0.07368524372577667, -0.011925977654755116, -0.031199757009744644, 0.03174009546637535, 0.057783305644989014, -0.03965160623192787, 0.040791820734739304, -0.01960814744234085, 0.05607283115386963, -0.0011612449306994677, 0.034229349344968796, -0.023302346467971802, 0.001976232510060072, -0.052412036806344986, 0.03473586589097977, -0.005123171955347061, -0.09488523751497269, 0.05990292504429817, 0.08809421211481094, -0.042152732610702515, 0.03695804625749588, 0.03395068645477295, 0.03490137681365013, -0.04836184158921242, -0.024829210713505745, -0.02007994055747986, 0.05889223515987396, 0.058734312653541565, -0.004968202207237482, -0.03965189680457115, 0.04713032394647598, 0.05396560952067375, 0.052205249667167664, -0.08363129943609238, -0.05650930479168892, -0.03688422217965126, -0.0018015707610175014, -0.020648451521992683, 0.08008009940385818, -0.026619117707014084, 0.01668337546288967, 0.05215609446167946, -0.01
|
|
|
|
{0.0001326936762779951, 0.010595318133709952, -0.025556722866895143, 0.0469118170440197, -0.006627591326832771, 0.05271399952471256, -0.04542037146165967, 0.027480189339257777, -0.004917271726299077, -0.07468410208821297, 0.02064464334398508, 0.027222666889429092, 0.07686506863683462, -0.03543879697099328, -0.06587888672947884, 0.00656710215844214, 0.0468103364109993, 0.026114298962056637, 0.09671456180512905, -0.10109077207744122, -0.00781591737177223, -0.03552762418985367, 0.06885470915585756, -0.012004591058939695, 0.08148624002933502, -0.028154293075203896, 0.04417960252612829, -0.04447614587843418, -0.02476067957468331, 0.08517011441290379, 0.002213838277384639, -0.04421043721958995, -0.030782480724155903, -0.022004681872203946, 0.0009286352433264256, 0.010065821232274175, -0.02192891761660576, -0.012186611769720912, -0.08409351948648691, 0.03493268555030227, -0.044278232380747795, 0.028376419097185135, 0.0037802220904268324, 0.04365090653300285, 0.020489776856265962, 0.0062931065913289785, 0.012816649512387812, 0.08537860121577978, -0.08391124662011862, -0.0074469012033659965, 0.007379985763691366, 0.010717783472500741, 0.05138006154447794, 0.03530120011419058, -0.0252615287899971, 0.048870823346078396, 0.051952130161225796, 0.05130995064973831, -0.07164964452385902, 0.008358421036973596, 0.07212860928848386, 0.023144953418523073, 0.016010764054954052, -0.0020557132083922625, 0.0006047732058505062, 0.05894300062209368, 0.018385239876806736, 0.013549384311772883, 0.013471916783601046, -0.026798027334734797, 0.055714783258736134, 0.056760589592158794, -0.03564274637028575, 0.006639213301241398, -0.010688409092836082, -0.014488881919533014, -0.041894917376339436, 0.027378612896427512, 0.04120381874963641, 0.026110727107152343, 0.014362117013661191, -0.015710897743701935, 0.01369841955602169, -0.013755762134678662, -0.025898753898218274, 0.03539643401745707, -0.02275478537194431, 0.044916168320924044, 0.06104293651878834, 0.020197266509057954, 0.03360230568796396, 0.0005524924490600824, -0.03635450592264533, -0.04944554786197841, 0.07170013058930635, -0.0030192392878234386, 0.0010193748748861253, -0.010943924076855183, -0.06179766729474068, 0.056694529950618744, 0.004520991584286094, -0.09191464446485043, -0.02631867417949252, 0.03776269545778632, -0.00876810192130506, 0.10884877666831017, 0.005137963918969035, 0.014990123057032179, -0.012330824043601751, -0.007994036190211773, 0.04028965998440981, 0.030694966204464436, 0.013997081900015473, -0.027155806310474873, 0.008769600055529736, 0.0038997385127004236, -0.003813096962403506, 0.06714510265737772, 0.006777862668968737, 0.061618989799171686, -0.016695198486559093, -0.014862070740491617, 0.047256719786673784, -0.030920962191885337, -0.010902314214035869, 0.029649023665115237, -0.03882072772830725, 0.037115989718586206, -0.00044789700768887997, -0.050685918889939785, 0.023225090000778437, 0.005942594725638628, 0.03058242436964065, -0.05067136138677597, -0.013880123384296894, 0.0521021569147706, -0.03878975426778197, 0.0057146906128764385, 0.01622107159346342, 0.0286275401012972, -0.07171816006302834, -0.024164889007806778, -0.036472175968810916, -0.06874032877385616, -0.013022568658925593, -0.02637113118544221, 0.061983236111700535, 0.0328070695977658, 0.004039793537231162, -0.022473737597465515, 0.017253196332603693, -0.04853619821369648, -0.053010642528533936, 0.04317591618746519, 0.00835538915998768, 0.015444972610566765, 0.04270970821380615, 0.028640874341363087, 0.06504016369581223, 0.03173913527280092, 0.05225925333797932, 0.03651800798252225, -0.022531148977577686, -0.0032108076702570543, 0.030786060029640794, 0.01946059288457036, -0.020198959624394774, -0.010514225577935576, -0.04853967670351267, 0.02134396170731634, -0.05255058314651251, 0.016728751827031374, 0.0456616897135973, -0.021495807450264692, 0.03207355597987771, 0.010148180415853858, 0.03585670003667474, -0.02635771268978715, -0.04969983361661434, -0.034095218405127525, -0.02873873570933938, 0.020237101707607508, -0.026095976354554296, 0.06887094769626856, 0.010905503178946674, 0.054851528257131
|
|
|
|
}
|
|
|
|
|
2022-04-03 17:25:37 +02:00
|
|
|
assert.False(t, KidsEmbeddings.Contains(e[0], KidsDist)) // Dist: 0.745814160978178
|
|
|
|
assert.False(t, KidsEmbeddings.Contains(e[1], KidsDist)) // Dist: 1.1404288201275383
|
|
|
|
assert.False(t, KidsEmbeddings.Contains(e[2], KidsDist)) // Dist: 1.1706644925647673
|
|
|
|
assert.False(t, KidsEmbeddings.Contains(e[3], KidsDist)) // Dist: 1.0206841898254448
|
|
|
|
assert.False(t, KidsEmbeddings.Contains(e[4], KidsDist)) // Dist: 1.1213124581336598
|
|
|
|
assert.False(t, KidsEmbeddings.Contains(e[5], KidsDist)) // Dist: 0.891994190560192
|
|
|
|
assert.True(t, KidsEmbeddings.Contains(e[6], KidsDist)) // Dist: 0.29948242058231617
|
|
|
|
assert.False(t, KidsEmbeddings.Contains(e[7], KidsDist)) // Dist: 1.1922265126804392
|
2021-10-07 09:32:17 +02:00
|
|
|
})
|
|
|
|
}
|