index
int64 0
731k
| package
stringlengths 2
98
⌀ | name
stringlengths 1
76
| docstring
stringlengths 0
281k
⌀ | code
stringlengths 4
8.19k
| signature
stringlengths 2
42.8k
⌀ | embed_func_code
sequencelengths 768
768
|
---|---|---|---|---|---|---|
17,926 | imodels.rule_set.slipper_util | _prune_rule | Remove conditions from greedily built rule until
objective does not improve
| def _prune_rule(self, X, y, rule):
""" Remove conditions from greedily built rule until
objective does not improve
"""
stop_condition = False
curr_rule = rule.copy()
while not stop_condition:
candidate_rules = []
if len(curr_rule) == 1:
return curr_rule
candidate_rules = [
self._pop_condition(curr_rule, condition)
for condition in curr_rule
]
prune_objs = [self._prune_rule_obj(X, y, rule) for x in candidate_rules]
best_prune = candidate_rules[
prune_objs.index(min(prune_objs))
]
if self._prune_rule_obj(X, y, rule) > self._prune_rule_obj(X, y, rule):
curr_rule = best_prune.copy()
else:
stop_condition = True
return curr_rule
| (self, X, y, rule) | [
-0.010651320219039917,
0.058625418692827225,
-0.04643768444657326,
-0.0070908102206885815,
-0.0006781153497286141,
-0.062837615609169,
-0.013551518321037292,
0.0021060958970338106,
0.013862253166735172,
-0.08251752704381943,
0.00009164267976302654,
0.01018521748483181,
-0.003554036607965827,
-0.008817118592560291,
-0.047059156000614166,
-0.0034979316405951977,
-0.031643226742744446,
0.05582880228757858,
-0.0004315770056564361,
0.0365632027387619,
0.03846214339137077,
-0.028777554631233215,
-0.0005265239742584527,
0.05696816369891167,
0.021993163973093033,
-0.002796618966385722,
0.009270274080336094,
0.015372772701084614,
-0.04667937010526657,
0.010858477093279362,
0.0012450997019186616,
0.04322675243020058,
0.015588561072945595,
-0.02812155708670616,
-0.0024966730270534754,
-0.0010606005089357495,
0.04333033040165901,
0.052548814564943314,
-0.08168889582157135,
-0.06863800436258316,
-0.07561229169368744,
0.007526703178882599,
-0.013145835138857365,
0.03922171890735626,
-0.008126595057547092,
-0.046644844114780426,
0.011246896348893642,
0.07554323971271515,
0.030400283634662628,
-0.00279014534316957,
-0.0011631000088527799,
0.008579750545322895,
0.014535513706505299,
0.060593411326408386,
0.011151949875056744,
-0.012809205800294876,
-0.050546299666166306,
-0.002831145189702511,
0.07685523480176926,
-0.03618341684341431,
0.01995612122118473,
0.00020769643015228212,
-0.0022312530782073736,
-0.02211400493979454,
0.0012353891506791115,
-0.06532349437475204,
-0.07941016554832458,
0.017323501408100128,
-0.027931664139032364,
-0.004950188100337982,
-0.07512892782688141,
0.010176585987210274,
0.08210320770740509,
-0.0027750402223318815,
-0.03939434885978699,
-0.07077863067388535,
-0.0002427620638627559,
-0.040775395929813385,
0.04585074260830879,
-0.0608350932598114,
0.01423340942710638,
0.018644126132130623,
-0.008709223940968513,
-0.015148352831602097,
0.0021762270480394363,
0.006352813448756933,
0.06480560451745987,
-0.006443444639444351,
0.018816757947206497,
-0.06318287551403046,
-0.009460167959332466,
0.03445710986852646,
0.0006905231857672334,
-0.01280057430267334,
0.06984642148017883,
0.08624634891748428,
-0.016822870820760727,
0.011678474023938179,
-0.007069231476634741,
-0.05220355466008186,
-0.002516093896701932,
0.00288725015707314,
-0.06722243130207062,
0.0022765686735510826,
0.06118035688996315,
0.005804710555821657,
0.028863869607448578,
0.021889586001634598,
-0.035268474370241165,
0.004764609970152378,
-0.04067181795835495,
-0.01172163151204586,
-0.07026073336601257,
0.003992087207734585,
0.022493792697787285,
0.0015590719413012266,
-0.12760868668556213,
-0.03243732824921608,
0.03570004925131798,
-0.02149253524839878,
-0.016658872365951538,
-0.04833662509918213,
-0.054516807198524475,
0.030659230425953865,
-0.007449019234627485,
-0.015113826841115952,
0.03632152080535889,
0.008100700564682484,
0.04267433285713196,
-0.0025009887758642435,
-0.04633410647511482,
0.024047471582889557,
-0.02622261829674244,
-0.0362524688243866,
-0.04136234149336815,
-0.06035172939300537,
-0.0208538006991148,
0.005265239626169205,
0.04764610156416893,
-0.062250666320323944,
0.04295054450631142,
0.02644703909754753,
0.0012364680878818035,
-0.020594853907823563,
0.025894619524478912,
-0.05213450267910957,
-0.00447976915165782,
0.05406796559691429,
0.004669663030654192,
0.03516489267349243,
-0.04281244054436684,
0.013482465408742428,
0.024237364530563354,
-0.04457327350974083,
0.06846537441015244,
0.04053371399641037,
-0.0629066675901413,
-0.028484081849455833,
-0.02309800125658512,
-0.04961409419775009,
-0.01475130207836628,
0.004855241160839796,
-0.03628699481487274,
-0.018575074151158333,
0.019766226410865784,
-0.022372951731085777,
0.025687463581562042,
0.015001616440713406,
-0.024461785331368446,
0.0382549874484539,
-0.005364502314478159,
-0.05223808065056801,
-0.03473331779241562,
0.04295054450631142,
-0.06687717139720917,
0.08030784875154495,
0.0036317205522209406,
0.016374031081795692,
-0.04730084165930748,
0.040430132299661636,
0.0010632978519424796,
-0.02309800125658512,
0.027534613385796547,
-0.026067251339554787,
0.01800539344549179,
-0.004158244468271732,
0.024168312549591064,
-0.013197625055909157,
-0.019714437425136566,
0.041880231350660324,
-0.06193993240594864,
-0.04937240853905678,
0.016710661351680756,
0.011747526004910469,
-0.015122458338737488,
-0.023529578000307083,
0.000945153646171093,
0.05182376503944397,
0.01855781115591526,
0.006995863281190395,
-0.04322675243020058,
0.008726486936211586,
0.03152238577604294,
-0.012731521390378475,
-0.013318466022610664,
0.002565725240856409,
-0.03683941438794136,
0.06007551774382591,
-0.02114727348089218,
0.047266311943531036,
-0.0069440738297998905,
0.0042898752726614475,
0.04253622889518738,
0.004898399114608765,
0.03573457524180412,
-0.017763709649443626,
-0.003195827826857567,
0.06511633843183517,
-0.010849845595657825,
-0.033300481736660004,
-0.1011616513133049,
-0.05337744578719139,
0.017263080924749374,
-0.007427440490573645,
0.012930046766996384,
-0.01684013567864895,
0.017124975100159645,
0.02727566659450531,
0.06763675063848495,
-0.06822369247674942,
0.033801112323999405,
-0.07885774970054626,
0.09059664607048035,
-0.04892357066273689,
0.043641068041324615,
-0.006650601513683796,
-0.0433993823826313,
0.027172088623046875,
-0.00938248448073864,
-0.0017878077924251556,
-0.017099080607295036,
-0.050753455609083176,
-0.02135442942380905,
-0.01531235221773386,
0.006499549839645624,
0.07713144272565842,
0.0827246829867363,
-0.0019086493412032723,
0.05020103603601456,
-0.003435353050008416,
0.00411292864009738,
-0.0028570396825671196,
-0.03395647928118706,
-0.0033576691057533026,
-0.01614961214363575,
-0.027707243338227272,
-0.02294263429939747,
-0.061491090804338455,
0.004300664644688368,
-0.007280704099684954,
0.015087932348251343,
0.024289153516292572,
0.01785002462565899,
-0.03238553926348686,
-0.008791223168373108,
0.03062470443546772,
-0.004915662109851837,
0.0027232510037720203,
0.017099080607295036,
0.037771619856357574,
0.03216112032532692,
-0.0710548385977745,
0.01862686313688755,
0.01584750786423683,
-0.0519273467361927,
0.06988094747066498,
-0.047266311943531036,
0.02232116274535656,
0.05665742978453636,
-0.04319222643971443,
0.022493792697787285,
-0.004153928719460964,
0.0025937778409570456,
-0.00438266433775425,
-0.044745903462171555,
-0.007436071988195181,
-0.009287537075579166,
-0.01786728762090206,
0.0013637833762913942,
0.05510375276207924,
-0.009788166731595993,
-0.01684013567864895,
0.022200321778655052,
0.008778275921940804,
0.05289407819509506,
0.02644703909754753,
0.04177665337920189,
-0.07899585366249084,
0.03354216367006302,
0.023339685052633286,
0.050546299666166306,
0.013810464181005955,
0.014544145204126835,
-0.016866030171513557,
-0.004229454789310694,
0.03635604679584503,
-0.009054485708475113,
-0.04150044545531273,
0.03507857769727707,
-0.01938643865287304,
0.013396150432527065,
-0.03235101327300072,
0.041051603853702545,
0.004298506770282984,
-0.021820534020662308,
-0.02447904832661152,
0.021803271025419235,
-0.03216112032532692,
0.015614456497132778,
0.030296705663204193,
0.00225930567830801,
0.001619492657482624,
-0.031988486647605896,
0.010754899121820927,
-0.016891924664378166,
-0.029468078166246414,
0.0010940476786345243,
0.012472575530409813,
-0.01862686313688755,
0.002393094589933753,
0.00010883832874242216,
0.02867397665977478,
-0.019904332235455513,
0.019576333463191986,
0.02741377055644989,
0.012662469409406185,
0.0598338358104229,
0.002390936715528369,
-0.0029627762269228697,
-0.03635604679584503,
0.031021755188703537,
0.07032978534698486,
0.012835100293159485,
0.008761012926697731,
0.04236359894275665,
-0.025791041553020477,
-0.05448228120803833,
-0.0015169931575655937,
0.037633515894412994,
0.010582268238067627,
0.048785462975502014,
0.03167775273323059,
0.014431934803724289,
0.010262900963425636,
0.03949792683124542,
-0.012023735791444778,
-0.030383020639419556,
0.016546662896871567,
0.0069656530395150185,
-0.054654911160469055,
0.013447939418256283,
-0.001980938483029604,
-0.025497568771243095,
0.07008810341358185,
0.0659794956445694,
0.01057363674044609,
-0.022718213498592377,
0.0012839415576308966,
-0.050960611552000046,
-0.051167771220207214,
-0.07291924953460693,
-0.007444703485816717,
0.048371151089668274,
-0.04609242454171181,
-0.0028181979432702065,
0.05596690624952316,
0.011039739474654198,
0.0139226745814085,
0.058003950864076614,
0.05524185672402382,
0.02901923842728138,
0.04498758539557457,
-0.03891098126769066,
0.02316705323755741,
-0.044538747519254684,
-0.009080380201339722,
-0.0570717416703701,
0.00233698938973248,
0.06822369247674942,
-0.014492356218397617,
0.050339143723249435,
-0.006516812834888697,
0.034629739820957184,
-0.011523106135427952,
0.000022017171431798488,
0.014630460180342197,
-0.00969321932643652,
0.014872143976390362,
-0.07920300960540771,
-0.0055975536815822124,
-0.024444522336125374,
-0.0002271174016641453,
0.0004426361701916903,
0.007587123662233353,
-0.036735836416482925,
-0.028794817626476288,
-0.00351519463583827,
0.061491090804338455,
-0.006042078137397766,
0.07775291055440903,
-0.001524545717984438,
-0.04253622889518738,
-0.0010978239588439465,
-0.010556373745203018,
-0.024254627525806427,
-0.032748062163591385,
0.1318899393081665,
0.053481023758649826,
0.060455307364463806,
-0.016063295304775238,
0.03925624489784241,
-0.053619127720594406,
0.0023218842688947916,
-0.04619600251317024,
-0.048578307032585144,
-0.03480236977338791,
0.0019215965876355767,
-0.030952703207731247,
-0.06466750055551529,
0.02385757677257061,
-0.035061314702034,
-0.03960150480270386,
-0.011876999400556087,
-0.037081096321344376,
-0.020076962187886238,
-0.00903722271323204,
0.018868546932935715,
0.013680990785360336,
0.043088648468256,
0.03918719291687012,
-0.03815140575170517,
0.04498758539557457,
0.01938643865287304,
0.051305875182151794,
-0.0281906109303236,
0.028138820081949234,
0.018954861909151077,
0.0021751481108367443,
-0.10309511423110962,
0.04681747406721115,
0.034508898854255676,
0.02314979024231434,
0.01603740081191063,
-0.004976083058863878,
-0.012429418042302132,
-0.034905947744846344,
-0.05658837780356407,
-0.008873223327100277,
-0.018816757947206497,
0.027862612158060074,
0.06435676664113998,
0.04360654205083847,
0.027862612158060074,
0.028656713664531708,
-0.10848119854927063,
0.01105700246989727,
-0.010754899121820927,
0.022200321778655052,
-0.010452794842422009,
-0.03652867674827576,
-0.031349752098321915,
-0.05175471305847168,
-0.04550547897815704,
0.004166875965893269,
0.016969608142971992,
0.03538931533694267,
0.00197878060862422,
0.02532493881881237,
0.08300089091062546,
0.014837617054581642,
-0.027879875153303146,
-0.0013767306227236986,
-0.04526379704475403,
-0.008256068453192711,
-0.018575074151158333,
-0.03513036668300629,
-0.011704368516802788,
-0.04906167462468147,
-0.016615714877843857,
0.04982125014066696,
-0.04253622889518738,
-0.03452616184949875,
0.0018352812621742487,
0.005036503542214632,
0.015769824385643005,
0.014941195957362652,
-0.03835856541991234,
0.04995935410261154,
0.0779600739479065,
-0.024444522336125374,
-0.015277826227247715,
-0.010521847754716873,
-0.09646609425544739,
-0.0005659053567796946,
0.017565183341503143,
-0.0037158781196922064,
-0.047749679535627365,
0.031073544174432755,
-0.050408195704221725,
0.0030404599383473396,
0.007526703178882599,
-0.010280163958668709,
0.00411292864009738,
-0.00006746762664988637,
0.00646933913230896,
-0.008653119206428528,
0.02748282440006733,
0.027120299637317657,
-0.004158244468271732,
-0.030452072620391846,
0.0001815320720197633,
-0.03014133870601654,
0.016460347920656204,
-0.001444704015739262,
0.012187734246253967,
0.04919977858662605,
0.005368818063288927,
-0.015985611826181412,
0.031073544174432755,
-0.07947922497987747,
0.026343461126089096,
-0.0018320443341508508,
0.033093325793743134,
0.014872143976390362,
0.01974896341562271,
-0.012420786544680595,
-0.025687463581562042,
-0.005273871123790741,
-0.012368996627628803,
-0.0010724688181653619,
0.037633515894412994,
0.02254558354616165,
0.0655997022986412,
0.04246717691421509,
-0.022718213498592377,
0.09660419821739197,
0.02470346726477146,
0.047818731516599655,
-0.09591367095708847,
0.03172954171895981,
-0.0322992242872715,
0.02741377055644989,
-0.001484624925069511,
0.012783311307430267,
0.06615212559700012,
-0.006305340211838484,
0.021112747490406036,
0.012930046766996384,
0.040222976356744766,
0.012118682265281677,
-0.03381837531924248,
-0.04163854941725731,
0.02071569673717022,
-0.04267433285713196,
-0.031142596155405045,
0.008907749317586422,
0.01325804553925991,
0.03069375641644001,
0.012886889278888702,
0.0659104436635971,
0.01584750786423683,
0.018851283937692642,
-0.02043948695063591,
-0.019438227638602257,
-0.014078041538596153,
0.003049091435968876,
0.03195396065711975,
0.002561409492045641,
-0.057796791195869446,
-0.00497176731005311,
0.024323679506778717,
-0.010366479866206646,
0.03131522610783577,
-0.0283805038779974,
-0.05810752883553505,
-0.02663693204522133,
0.025221360847353935,
0.04709368199110031,
0.01653803139925003,
0.010366479866206646,
0.06822369247674942,
0.0901823341846466,
0.011954682879149914,
-0.0533083900809288,
-0.02477251924574375,
0.007634597364813089,
0.02518683485686779,
-0.008458909578621387,
-0.00959827285259962,
0.035268474370241165,
-0.009900376200675964,
-0.02812155708670616,
0.02993418090045452,
0.024254627525806427,
0.008031647652387619,
0.002347778994590044,
-0.0560704842209816,
-0.04602337256073952,
0.024668941274285316,
-0.024081997573375702,
-0.01729760691523552,
0.02642977610230446,
0.04643768444657326,
-0.013292571529746056,
-0.017694657668471336,
0.0009807586902752519,
-0.017332132905721664,
-0.04074086993932724,
-0.034560687839984894,
-0.05627764016389847,
-0.03815140575170517,
0.01974896341562271,
0.03925624489784241,
0.01800539344549179,
0.02385757677257061,
0.013059520162642002,
0.04319222643971443,
-0.07885774970054626,
-0.026757774874567986,
0.021665165200829506,
-0.05386080965399742,
-0.03908361494541168,
-0.006926810834556818,
-0.0014026252320036292,
-0.06777485460042953,
0.012023735791444778,
0.028984712436795235,
0.03209206461906433,
-0.051443979144096375,
-0.0669807493686676,
0.0022463584318757057,
-0.012826468795537949,
0.04847472906112671,
-0.0034547739196568727,
-0.06042078137397766,
-0.029692497104406357,
0.00893364381045103,
0.032609958201646805,
0.002695198403671384,
-0.023840313777327538,
-0.016063295304775238,
0.021647902205586433,
-0.029191868379712105,
0.011169212870299816,
0.011669842526316643,
0.0615256167948246,
0.027672717347741127,
-0.01649487391114235,
0.012610680423676968,
-0.04184570536017418,
0.06746412068605423,
-0.0041323499754071236,
-0.011764789000153542,
-0.008532277308404446,
-0.029468078166246414,
-0.002291673794388771,
0.041465919464826584,
-0.04246717691421509,
-0.018540548160672188,
0.013525623828172684,
-0.0028268294408917427,
-0.0201632771641016,
-0.027465561404824257,
-0.022027689963579178,
0.008074806071817875,
-0.05762416124343872,
-0.024358205497264862,
0.0208538006991148,
-0.041120655834674835,
-0.04909620061516762,
0.02491062507033348,
-0.013456570915877819,
-0.01715950109064579,
-0.0560704842209816,
0.01933464966714382,
0.06687717139720917,
-0.015631718561053276,
-0.0074576507322490215,
-0.0005521488492377102,
-0.009408378973603249,
-0.0464722104370594,
0.01772918365895748,
0.023253368213772774,
-0.006866390351206064,
0.004136665724217892,
-0.06466750055551529,
-0.05154755711555481,
0.05966120585799217,
0.06960473954677582,
-0.022442003712058067,
0.02755187638103962,
-0.00864880345761776,
0.0005605106125585735,
-0.04250170290470123,
0.030313968658447266,
0.023961154744029045,
-0.009296168573200703,
-0.001211652415804565,
0.058142054826021194,
0.012472575530409813,
-0.02099190466105938,
0.04913072660565376,
-0.04329580441117287,
-0.0348714217543602,
0.004069771151989698,
0.014198883436620235,
-0.031280700117349625,
-0.03166048973798752,
-0.051720187067985535,
-0.018385181203484535,
0.020249594002962112,
0.03614889085292816,
-0.017358027398586273,
-0.018678652122616768,
0.012127313762903214,
0.03960150480270386,
0.07823628187179565,
-0.04274338483810425,
-0.06200898438692093,
-0.04581621661782265,
-0.006879337597638369,
0.0570717416703701,
0.014371514320373535,
0.027033982798457146,
0.06932853162288666,
0.04505664110183716,
-0.0016939397901296616,
-0.038116879761219025,
0.026239881291985512,
0.05199639871716499,
-0.025514831766486168,
0.004276928026229143,
0.0007061678916215897,
-0.024668941274285316,
0.012947309762239456,
0.04536737501621246,
0.012170471251010895,
0.012783311307430267,
-0.0049286093562841415,
-0.05379175767302513,
0.016253190115094185,
-0.003692141268402338,
0.06480560451745987,
0.014984353445470333,
-0.0059643941931426525,
0.03583815321326256,
-0.019351912662386894,
-0.00334040611051023,
-0.021924111992120743,
-0.019869806244969368,
-0.0029131448827683926,
0.0030102496966719627,
0.00497176731005311,
0.06425318121910095,
0.016615714877843857,
-0.027172088623046875,
0.07146915048360825,
0.018178023397922516
] |
17,927 | imodels.rule_set.slipper_util | _prune_rule_obj |
objective function for prune rule routine
eq 7 from Cohen & Singer (1999)
| def _prune_rule_obj(self, X, y, rule):
"""
objective function for prune rule routine
eq 7 from Cohen & Singer (1999)
"""
V_plus, V_minus = self._get_design_matrices(X, y, rule)
C_R = self._sample_weight(V_plus, V_minus)
return (1 - V_plus - V_minus) + V_plus * np.exp(-C_R) \
+ V_minus * np.exp(C_R)
| (self, X, y, rule) | [
0.009174520149827003,
0.028871724382042885,
0.01822648011147976,
-0.010662753134965897,
0.0008327540708705783,
-0.07871878147125244,
-0.02850404381752014,
-0.005668418016284704,
0.037048254162073135,
-0.0114331329241395,
-0.0013022040948271751,
0.019644679501652718,
0.012361090630292892,
0.014006901532411575,
-0.07514702528715134,
-0.0023505331482738256,
-0.02705082856118679,
0.043771564960479736,
0.008662393316626549,
0.008408517576754093,
0.006605129223316908,
-0.044086720794439316,
-0.006018590182065964,
0.07948916405439377,
-0.004490962717682123,
-0.008145888336002827,
0.016204234212636948,
0.006193676497787237,
-0.03305628523230553,
-0.007716927211731672,
-0.027103353291749954,
0.026297956705093384,
0.004206447396427393,
-0.021833257749676704,
0.016466863453388214,
-0.034141819924116135,
0.05410165712237358,
0.050319790840148926,
-0.04261599853634834,
-0.04461197927594185,
-0.06537721306085587,
0.02015242911875248,
0.01745610125362873,
0.02831144817173481,
-0.011643236503005028,
-0.012860085815191269,
0.03461455553770065,
0.06572738289833069,
0.0013514470774680376,
-0.03708327189087868,
-0.02290128357708454,
0.008951284922659397,
0.048078689724206924,
0.05137031152844429,
0.013481642119586468,
0.003381353570148349,
-0.014365827664732933,
-0.00007242826541187242,
0.07255575060844421,
-0.0321633480489254,
0.014969876036047935,
0.008723673410713673,
-0.00619805371388793,
-0.038483962416648865,
-0.000303118082229048,
-0.04660796374082565,
-0.07724805921316147,
0.029677120968699455,
0.010802822187542915,
0.01047015842050314,
-0.04513723775744438,
-0.0014444616390392184,
0.07689788937568665,
0.004906792659312487,
0.008351614698767662,
-0.06719810515642166,
0.025825224816799164,
-0.04527730867266655,
0.05059992894530296,
-0.039604511111974716,
0.016764510422945023,
0.03072763979434967,
0.013875585980713367,
-0.013656728900969028,
-0.0052569652907550335,
-0.012588702142238617,
0.0647469013929367,
-0.045207273215055466,
0.016834544017910957,
-0.008465420454740524,
0.015836551785469055,
0.009927391074597836,
-0.012422370724380016,
-0.044086720794439316,
0.04062001407146454,
0.07154024392366409,
-0.01416447851806879,
-0.004440625198185444,
0.04853391274809837,
-0.05567743256688118,
0.019259488210082054,
0.0007670967024751008,
-0.08509192615747452,
0.04804367199540138,
0.01535506546497345,
0.007878881879150867,
0.028381483629345894,
0.0022651785984635353,
-0.037048254162073135,
0.02402183599770069,
-0.026350483298301697,
0.04944436252117157,
-0.05284103378653526,
0.0023811731953173876,
0.0035630054771900177,
-0.023146403953433037,
-0.12277048826217651,
-0.011529430747032166,
0.005681549198925495,
-0.020380040630698204,
0.005939801689237356,
-0.023268964141607285,
-0.07836861163377762,
0.03645296022295952,
0.007174159865826368,
-0.019627170637249947,
0.0448220819234848,
-0.007196045480668545,
0.04093516990542412,
-0.0061280191875994205,
-0.035892684012651443,
-0.007870127446949482,
-0.03904423862695694,
-0.027628611773252487,
-0.036873165518045425,
-0.05308615416288376,
0.027278440073132515,
-0.04338637739419937,
0.0815901979804039,
-0.06604254245758057,
0.07283588498830795,
0.04569751396775246,
0.029046811163425446,
0.005484577268362045,
0.019942324608564377,
-0.010820331051945686,
0.011835831217467785,
0.05903908982872963,
0.003193135838955641,
-0.005545857362449169,
-0.04097018763422966,
0.04436685889959335,
0.049514394253492355,
-0.06317112594842911,
0.07164529711008072,
0.037678565829992294,
-0.030114836990833282,
-0.041215308010578156,
-0.012684999965131283,
-0.06268088519573212,
-0.008115248754620552,
0.018454091623425484,
-0.03151552751660347,
0.010732787661254406,
0.03841392695903778,
-0.0036811886820942163,
0.06313610821962357,
0.01248365081846714,
-0.016992121934890747,
0.0014926104340702295,
-0.03771357983350754,
-0.08733303099870682,
-0.06558731198310852,
0.05515217408537865,
-0.018173953518271446,
0.10526186227798462,
-0.0006784592987969518,
0.013105207122862339,
-0.042791083455085754,
0.05228075757622719,
0.014383336529135704,
-0.007371131796389818,
0.02304135262966156,
-0.012352336198091507,
0.007721304427832365,
0.009428394958376884,
0.029957259073853493,
0.019609661772847176,
-0.021062877029180527,
0.014856069348752499,
-0.03281116485595703,
-0.021640662103891373,
0.0019565890543162823,
0.02351408451795578,
-0.004823626484721899,
-0.03499974310398102,
-0.015337556600570679,
0.04384160041809082,
-0.0048805298283696175,
-0.008062722161412239,
-0.022796232253313065,
0.015390082262456417,
0.004453756846487522,
-0.030184872448444366,
-0.031743139028549194,
0.004092641640454531,
-0.0454874113202095,
0.04979453235864639,
-0.03421185538172722,
0.04062001407146454,
0.06068490073084831,
0.027155879884958267,
0.03858901187777519,
0.001835122937336564,
0.04657294601202011,
-0.013875585980713367,
0.0018307457212358713,
0.03946444392204285,
-0.0312528982758522,
-0.021973326802253723,
-0.12171997129917145,
-0.014488388784229755,
-0.03760853037238121,
0.01708841882646084,
0.015810290351510048,
-0.027436017990112305,
0.02754106931388378,
0.003622097196057439,
0.03921932354569435,
-0.09384623914957047,
0.0051212734542787075,
-0.0531211718916893,
0.07168031483888626,
-0.03515732288360596,
0.030937742441892624,
0.0351923406124115,
-0.05805860459804535,
0.02701581083238125,
-0.0251073706895113,
0.010417632758617401,
-0.04079509899020195,
-0.06887893378734589,
0.003302564611658454,
0.01630053110420704,
0.02144806645810604,
0.11289562284946442,
0.08544209599494934,
0.02514238841831684,
0.02670065499842167,
-0.016353057697415352,
0.014680983498692513,
-0.03949946165084839,
-0.04268603026866913,
-0.007909522391855717,
-0.015836551785469055,
-0.026665637269616127,
0.0031493641436100006,
-0.04720325767993927,
0.01617797091603279,
-0.013647974468767643,
0.009804830886423588,
0.02160564437508583,
0.024126887321472168,
-0.023479068651795387,
-0.0035761368926614523,
0.03683815151453018,
-0.01938205026090145,
0.032863691449165344,
0.01033008936792612,
0.01841907575726509,
0.0328286737203598,
-0.0321633480489254,
0.02878418192267418,
0.016624441370368004,
-0.061035070568323135,
0.06124517694115639,
-0.028188887983560562,
0.04317627102136612,
0.05585251748561859,
-0.01653689704835415,
0.028241414576768875,
-0.022778723388910294,
0.007191668264567852,
0.008036459796130657,
-0.045662496238946915,
-0.014488388784229755,
0.011336836032569408,
-0.003250038716942072,
0.010478912852704525,
0.009253309108316898,
-0.02831144817173481,
0.013744271360337734,
0.0396745465695858,
0.009402132593095303,
0.05494207143783569,
0.049514394253492355,
0.015188733115792274,
-0.07388640195131302,
0.008014573715627193,
0.0838313028216362,
0.03921932354569435,
0.04653792828321457,
0.010776559822261333,
-0.030902724713087082,
-0.006745198275893927,
0.04195066913962364,
0.03711828961968422,
-0.025860240682959557,
0.033546529710292816,
-0.003370410529896617,
0.025667646899819374,
-0.006972810253500938,
0.021483084186911583,
0.029519544914364815,
-0.03627787530422211,
-0.02143055945634842,
0.028906742110848427,
-0.01592409610748291,
0.05823369324207306,
0.04398167133331299,
0.0028933004941791296,
-0.026140378788113594,
-0.03120037168264389,
0.022446058690547943,
-0.01576651819050312,
-0.05732324346899986,
-0.02929193153977394,
0.008430403657257557,
-0.02447705902159214,
-0.01869921386241913,
-0.010277563706040382,
0.014794789254665375,
-0.006907152943313122,
0.00998867116868496,
0.0019620603416115046,
0.006473814602941275,
0.06726814061403275,
-0.0028298317920416594,
-0.03648797795176506,
-0.006005458999425173,
0.014610948972404003,
0.06705804169178009,
-0.007108502555638552,
0.03170812129974365,
0.023233946412801743,
-0.04012977331876755,
-0.04926927387714386,
-0.02591276727616787,
0.022936301305890083,
0.020852774381637573,
0.04398167133331299,
0.023286473006010056,
0.03851897642016411,
0.015819044783711433,
0.051755499094724655,
0.024879757314920425,
-0.037993717938661575,
0.019084403291344643,
-0.008925022557377815,
-0.06978938728570938,
0.006666409317404032,
-0.0015407591126859188,
-0.02367166243493557,
0.044051703065633774,
0.04335135966539383,
-0.009971162304282188,
-0.006710181012749672,
0.00540578830987215,
-0.00895566213876009,
-0.06278593093156815,
-0.07360626757144928,
-0.020730214193463326,
-0.017876308411359787,
-0.0448220819234848,
0.013297801837325096,
0.02593027614057064,
-0.014444616623222828,
0.00795329362154007,
0.036382924765348434,
0.06310109049081802,
0.01454966887831688,
0.06064988300204277,
-0.07269581407308578,
0.018961843103170395,
-0.024757197126746178,
0.02337401546537876,
-0.07430660724639893,
0.03778361529111862,
0.05217570811510086,
-0.030429992824792862,
0.07168031483888626,
-0.008075853809714317,
0.07199547439813614,
-0.021640662103891373,
0.0005777846672572196,
0.013183996081352234,
-0.03904423862695694,
0.013849323615431786,
-0.09741799533367157,
0.002775117289274931,
-0.028994284570217133,
0.001677545253187418,
-0.027085844427347183,
0.003972269594669342,
-0.057183172553777695,
-0.025667646899819374,
-0.021202946081757545,
0.07374633103609085,
-0.00009499798034084961,
0.03627787530422211,
0.004578505642712116,
-0.01614295318722725,
0.009419641457498074,
-0.018944334238767624,
-0.001688488177023828,
-0.0078438650816679,
0.11191514134407043,
0.017526134848594666,
0.03711828961968422,
-0.012842577882111073,
0.026665637269616127,
-0.0515453964471817,
0.032233379781246185,
-0.013131469488143921,
-0.025527577847242355,
-0.04111025482416153,
0.014225758612155914,
-0.043771564960479736,
-0.010802822187542915,
0.03237345069646835,
-0.07794840633869171,
-0.07451671361923218,
-0.016501881182193756,
-0.030149854719638824,
-0.01708841882646084,
-0.036558013409376144,
0.013385345228016376,
-0.003475462319329381,
0.02034502476453781,
0.06355631351470947,
-0.032408468425273895,
0.028591586276888847,
0.04254596307873726,
0.021220454946160316,
-0.08817344158887863,
0.02783871628344059,
0.02064266987144947,
-0.020099902525544167,
-0.10526186227798462,
0.03258355334401131,
0.08894382417201996,
0.029817190021276474,
0.024687163531780243,
-0.012299809604883194,
-0.020064886659383774,
-0.015074927359819412,
-0.021640662103891373,
-0.029467018321156502,
-0.015328802168369293,
-0.0018723286921158433,
0.04093516990542412,
0.05476698279380798,
-0.024844741448760033,
0.00234177871607244,
-0.09314589202404022,
0.019802255555987358,
-0.0006576677551493049,
0.038939185440540314,
0.019609661772847176,
-0.03757351264357567,
-0.01535506546497345,
-0.03345898538827896,
-0.03627787530422211,
-0.0005816146731376648,
0.012439878657460213,
0.057848501950502396,
-0.01906689442694187,
0.020064886659383774,
0.038168806582689285,
0.009209537878632545,
-0.026367992162704468,
-0.03491220250725746,
-0.02414439618587494,
-0.02671816386282444,
-0.019101912155747414,
-0.0014937047380954027,
-0.032425977289676666,
-0.049829550087451935,
-0.018191462382674217,
0.035437460988759995,
-0.014006901532411575,
0.01471600029617548,
-0.010041196830570698,
-0.012439878657460213,
-0.020852774381637573,
0.012107214890420437,
-0.019101912155747414,
0.0312528982758522,
0.02685823291540146,
-0.02353159338235855,
-0.022673672065138817,
-0.007226685527712107,
-0.10260055214166641,
-0.02848653495311737,
-0.011021680198609829,
-0.011494413018226624,
-0.03953447937965393,
0.011117978021502495,
-0.0344044491648674,
0.002409624634310603,
-0.00048477010568603873,
-0.010382615029811859,
0.0038322005420923233,
0.009235800243914127,
0.010680261999368668,
0.018366549164056778,
0.007848241366446018,
0.06933416426181793,
-0.01047015842050314,
-0.006237448193132877,
0.01672949269413948,
-0.029361966997385025,
0.01841907575726509,
-0.0064169117249548435,
0.04037489369511604,
0.04300118610262871,
-0.023444050922989845,
-0.016755755990743637,
0.05091508477926254,
-0.03331891447305679,
0.016685720533132553,
-0.02477470599114895,
0.012851331382989883,
0.02738349139690399,
-0.0048148720525205135,
0.02174571342766285,
-0.03393171727657318,
-0.04923425614833832,
0.006206808146089315,
0.01399814710021019,
0.0037709204480051994,
-0.013078943826258183,
0.03820382431149483,
0.03697821870446205,
-0.006622638087719679,
0.09041454643011093,
0.015083681792020798,
0.028574077412486076,
-0.08978423476219177,
0.0035411196295171976,
-0.002608785405755043,
-0.012107214890420437,
-0.0015976621070876718,
0.013884340412914753,
0.11268551647663116,
0.049339309334754944,
0.013569185510277748,
0.03218085691332817,
0.013227767311036587,
0.008487306535243988,
-0.06110510602593422,
-0.08838354796171188,
0.06863381713628769,
-0.0524558462202549,
-0.015320047736167908,
0.022288480773568153,
-0.0036439828108996153,
0.02206086926162243,
-0.041215308010578156,
-0.010295072570443153,
-0.007835110649466515,
0.026140378788113594,
0.034019261598587036,
0.00387816084548831,
-0.06719810515642166,
-0.008355991914868355,
0.032093312591314316,
-0.005629023537039757,
-0.05277099832892418,
-0.016720738261938095,
-0.005922292824834585,
-0.011870848946273327,
0.005182553548365831,
-0.041670531034469604,
-0.037188321352005005,
-0.0064475517719984055,
0.012080952525138855,
0.030184872448444366,
0.012194758281111717,
0.011266801506280899,
0.05711314082145691,
0.04447191208600998,
-0.030657604336738586,
-0.057988569140434265,
-0.03715330362319946,
-0.012019672431051731,
0.006574489176273346,
-0.00499433558434248,
0.001745391171425581,
0.02685823291540146,
0.0009421829599887133,
-0.003932875115424395,
0.06929914653301239,
0.009008188731968403,
0.020502600818872452,
0.027751171961426735,
-0.057183172553777695,
-0.043281324207782745,
0.015792781487107277,
-0.035927701741456985,
-0.023286473006010056,
0.025720171630382538,
0.03009732812643051,
-0.02094031684100628,
0.009472167119383812,
0.008478552103042603,
0.004399042576551437,
-0.03907925263047218,
-0.056377775967121124,
-0.025702662765979767,
-0.03869406506419182,
0.019557135179638863,
0.026595603674650192,
0.009235800243914127,
0.025177404284477234,
0.007327360101044178,
0.03422936424612999,
-0.04751841351389885,
-0.029484527185559273,
0.0016655081417411566,
-0.04447191208600998,
-0.033546529710292816,
-0.013945620507001877,
0.010548947378993034,
-0.03841392695903778,
0.017780009657144547,
0.005261342041194439,
0.018961843103170395,
-0.04947937652468681,
-0.024231938645243645,
0.008211545646190643,
0.00234177871607244,
0.02929193153977394,
0.0007205894216895103,
-0.0712951272726059,
-0.047588445246219635,
-0.005182553548365831,
-0.005861012730747461,
0.0011883979896083474,
-0.029852207750082016,
-0.008250940591096878,
-0.0016906767850741744,
-0.047133222222328186,
0.03193573281168938,
0.008693032898008823,
0.07773829996585846,
0.008513569831848145,
0.001793539966456592,
0.022796232253313065,
-0.044051703065633774,
0.015092436224222183,
-0.0008338483166880906,
-0.019487101584672928,
-0.002534373663365841,
0.010522684082388878,
0.025790207087993622,
0.033826667815446854,
-0.03998970240354538,
-0.04212575405836105,
-0.011800814419984818,
-0.026105361059308052,
-0.0012945440830662847,
-0.011984654702246189,
-0.015153716318309307,
-0.02127298153936863,
-0.07325609028339386,
-0.0036811886820942163,
0.030009785667061806,
-0.04002472013235092,
-0.022481076419353485,
0.01918945461511612,
-0.02337401546537876,
0.01072403322905302,
-0.07041969895362854,
0.04012977331876755,
0.04335135966539383,
-0.03939440846443176,
0.014129461720585823,
-0.008097739890217781,
-0.019101912155747414,
-0.07126010954380035,
0.013735517859458923,
0.02974715642631054,
0.002527807839214802,
0.022341007366776466,
-0.03072763979434967,
-0.045837584882974625,
0.05266594886779785,
0.08257067948579788,
-0.01152067631483078,
0.004204258788377047,
0.003151552751660347,
0.004164864309132099,
-0.007983933202922344,
0.0016315850662067533,
0.002289252821356058,
-0.005926670040935278,
-0.02866162173449993,
0.029029302299022675,
-0.01775374636054039,
-0.03459704667329788,
0.05441680923104286,
-0.040409911423921585,
-0.04380658268928528,
-0.0005233437987044454,
0.03620783984661102,
-0.04261599853634834,
-0.01567022129893303,
-0.060089606791734695,
-0.018471600487828255,
0.026157887652516365,
-0.014821052551269531,
0.02494979277253151,
-0.0009629744454286993,
-0.007414903491735458,
0.03442195802927017,
0.05812864005565643,
-0.0678984522819519,
-0.045522429049015045,
-0.054486844688653946,
0.017403574660420418,
0.05707812309265137,
0.013779289089143276,
0.02703331969678402,
0.033826667815446854,
0.0560276061296463,
-0.022200938314199448,
-0.05578248202800751,
0.04559246450662613,
0.05052989721298218,
-0.0310427937656641,
0.03132293373346329,
0.002235632622614503,
-0.048708997666835785,
0.0011134392116218805,
0.049199238419532776,
0.0045741284266114235,
0.047133222222328186,
0.028836708515882492,
-0.05119522288441658,
0.023426542058587074,
0.020870283246040344,
0.06401153653860092,
0.016353057697415352,
0.02817137911915779,
0.016151707619428635,
0.029186880216002464,
-0.020852774381637573,
-0.0017902570543810725,
-0.027786189690232277,
-0.03792368620634079,
-0.016834544017910957,
-0.010767805390059948,
0.0752870962023735,
0.025720171630382538,
-0.008587981574237347,
0.09482672065496445,
0.014812298119068146
] |
17,930 | imodels.rule_set.slipper_util | _rule_predict | return all indices for which the passed rule holds on X | def _rule_predict(self, X, rule):
""" return all indices for which the passed rule holds on X """
preds = np.zeros(X.shape[0])
positive_cases = set(range(X.shape[0]))
for condition in rule:
outputs = set(list(self._condition_classify(X, condition)))
positive_cases = positive_cases.intersection(outputs)
preds[list(positive_cases)] = 1
return preds
| (self, X, rule) | [
-0.003938691224902868,
0.018134981393814087,
-0.055032696574926376,
-0.009407522156834602,
0.032974280416965485,
0.012607299722731113,
-0.01265089400112629,
-0.050185076892375946,
0.03926921263337135,
-0.029643720015883446,
0.01716720126569271,
0.010139896534383297,
0.0409432090818882,
-0.022651290521025658,
0.001848373212851584,
-0.035572465509176254,
-0.014455673284828663,
0.04443070665001869,
-0.0409432090818882,
0.02015773020684719,
0.012921174988150597,
-0.007223477121442556,
-0.023924225941300392,
0.007380414754152298,
0.021831728518009186,
0.004110886715352535,
-0.04062933474779129,
-0.028039472177624702,
0.02533666230738163,
-0.014429517090320587,
-0.06040344014763832,
0.01567629724740982,
-0.01528395339846611,
-0.02420322597026825,
0.010296833701431751,
-0.03578171506524086,
0.03311378136277199,
0.034055404365062714,
0.04028058424592018,
-0.004821463953703642,
-0.02268616482615471,
-0.06814568489789963,
-0.02465660125017166,
0.03912971168756485,
-0.05695081874728203,
-0.019111480563879013,
-0.00392561312764883,
0.005627947393804789,
0.03909483551979065,
-0.046837080270051956,
-0.06479768455028534,
0.01784726418554783,
0.044918954372406006,
-0.006469306070357561,
0.04767407849431038,
0.006669837050139904,
-0.03171878308057785,
-0.0336020290851593,
-0.013330955989658833,
-0.030707407742738724,
0.03182340785861015,
0.03055047057569027,
0.02272104099392891,
-0.0020336464513093233,
0.018745293840765953,
-0.032921966165304184,
-0.031875718384981155,
0.027464035898447037,
0.03461340442299843,
-0.018413981422781944,
-0.0185709185898304,
-0.03211984410881996,
0.08648991584777832,
-0.01269448734819889,
0.02950422093272209,
-0.03321840614080429,
0.05670669302344322,
-0.016216859221458435,
0.06162406504154205,
0.017803670838475227,
-0.026243411004543304,
0.019983354955911636,
-0.007537351921200752,
0.004187175538390875,
-0.031526967883110046,
-0.014804422855377197,
-0.007546070497483015,
-0.017018983140587807,
-0.005052510648965836,
-0.020070543512701988,
0.0075068362057209015,
0.04035033658146858,
0.009520865976810455,
0.00669599324464798,
0.003402488771826029,
0.09597590565681458,
0.004086910281330347,
-0.0036749495193362236,
0.012554987333714962,
-0.020645979791879654,
-0.02830103412270546,
0.06490231305360794,
-0.023279039189219475,
0.0279522854834795,
-0.01709745265543461,
0.0042678238824009895,
-0.012738081626594067,
0.03307890519499779,
-0.0409780852496624,
0.0004536470223683864,
-0.021064478904008865,
0.031858280301094055,
-0.04136170819401741,
-0.02158760465681553,
-0.011395394802093506,
-0.02570284903049469,
-0.042686957865953445,
-0.014316173270344734,
-0.08990766108036041,
0.014263860881328583,
0.014028455130755901,
-0.021151667460799217,
-0.03567709028720856,
0.03229421749711037,
0.006508540362119675,
-0.0021415408700704575,
0.05513732135295868,
0.022825665771961212,
0.04666270315647125,
-0.02205841615796089,
-0.010907145217061043,
-0.008675147779285908,
-0.020192604511976242,
-0.008160741999745369,
-0.04872032627463341,
-0.03463084250688553,
0.011238457635045052,
-0.011255894787609577,
0.018134981393814087,
-0.03475290164351463,
0.06769230961799622,
0.023941664025187492,
0.017428763210773468,
0.019163792952895164,
0.012738081626594067,
-0.03578171506524086,
0.0019780644215643406,
0.07267943024635315,
0.03531090170145035,
0.015353703871369362,
0.006900883745402098,
-0.002981809666380286,
-0.002258154097944498,
-0.04659295454621315,
0.015353703871369362,
0.03912971168756485,
-0.004533745348453522,
-0.062042564153671265,
0.00726271141320467,
-0.06950580328702927,
-0.046034954488277435,
-0.03461340442299843,
-0.06570443511009216,
0.003450441872701049,
0.04031546041369438,
0.02537153847515583,
-0.05632307007908821,
0.03804858773946762,
0.018117545172572136,
-0.031213093549013138,
-0.005527682136744261,
-0.054265446960926056,
-0.021744541823863983,
0.03902508690953255,
-0.03257321938872337,
-0.004270003642886877,
0.006107478402554989,
0.033009156584739685,
-0.0093028973788023,
0.08460666984319687,
0.05691594257950783,
0.005606150720268488,
-0.03135259449481964,
-0.03644433990120888,
0.0019955020397901535,
0.013810486532747746,
0.010087584145367146,
0.051266200840473175,
-0.01604248397052288,
0.057125192135572433,
-0.03829271346330643,
-0.047883328050374985,
0.005806681700050831,
0.012563706375658512,
-0.02165735326707363,
-0.02345341444015503,
-0.014560298062860966,
0.045267704874277115,
-0.004516308195888996,
-0.04701145365834236,
0.01942535676062107,
0.0032695280387997627,
0.005087385419756174,
0.07323742657899857,
-0.05778781697154045,
0.028423096984624863,
-0.027394285425543785,
0.030341221019625664,
-0.054997820407152176,
-0.027847660705447197,
-0.00915467832237482,
-0.014996235258877277,
0.015013672411441803,
0.01100305188447237,
0.03438671678304672,
0.039304085075855255,
0.001970435492694378,
0.028928784653544426,
-0.012049300596117973,
-0.05032457411289215,
-0.06371656060218811,
-0.04073395952582359,
-0.004913010634481907,
0.01865810714662075,
0.023993976414203644,
-0.033323030918836594,
0.02352316491305828,
0.0015061625745147467,
-0.006927039939910173,
0.0024695834144949913,
-0.014089486561715603,
-0.014551579020917416,
0.06912218034267426,
-0.05405619740486145,
0.03825783729553223,
0.04261720925569534,
0.01227598823606968,
0.035241153091192245,
-0.028580034151673317,
0.04892957583069801,
0.00455554248765111,
-0.016539452597498894,
0.024674037471413612,
0.004198073875159025,
-0.011098957620561123,
0.10462489724159241,
0.05988031625747681,
0.009084928780794144,
0.003038481343537569,
-0.020593667402863503,
-0.026766536757349968,
-0.019495105370879173,
-0.03211984410881996,
-0.02538897469639778,
0.010174770839512348,
-0.04819720238447189,
0.008043038658797741,
0.004974042065441608,
0.05102207511663437,
0.019948480650782585,
-0.021884040907025337,
0.060577817261219025,
0.06423968821763992,
-0.09764990210533142,
-0.03285221755504608,
0.022075854241847992,
-0.03239884227514267,
0.05374232307076454,
0.023993976414203644,
0.04139658436179161,
0.025092538446187973,
-0.00929417833685875,
-0.01287758070975542,
-0.01472595427185297,
-0.003995363134890795,
0.06040344014763832,
-0.025912100449204445,
0.03975746035575867,
-0.010741489008069038,
0.011735426262021065,
0.025109974667429924,
-0.02760353498160839,
-0.024674037471413612,
0.007371695712208748,
-0.043733205646276474,
-0.03571196645498276,
0.009320334531366825,
0.031108468770980835,
0.020053105428814888,
-0.03328815475106239,
0.02052391692996025,
0.025162287056446075,
-0.0008860420784913003,
-0.06657630950212479,
-0.010514802299439907,
0.012345737777650356,
0.03307890519499779,
-0.06887805461883545,
0.03808346390724182,
0.014054611325263977,
0.0011181785957887769,
0.01748107746243477,
0.012058019638061523,
-0.0409780852496624,
-0.06375143676996231,
0.031038720160722733,
0.013487893156707287,
0.022511789575219154,
0.02231997810304165,
-0.061728689819574356,
0.027865096926689148,
0.02828359790146351,
0.029277533292770386,
-0.020959854125976562,
-0.04293108358979225,
-0.04906907677650452,
0.006713430862873793,
-0.010889708064496517,
0.0779804214835167,
0.050917450338602066,
-0.0005236694123595953,
0.014394641853868961,
-0.020401854068040848,
0.01792573183774948,
0.0448143295943737,
-0.0003106051590293646,
0.05468394607305527,
-0.054230570793151855,
-0.027010660618543625,
0.00353980902582407,
0.01640867069363594,
0.007929695770144463,
-0.011491301469504833,
0.006308009382337332,
-0.01301708072423935,
0.0005465560825541615,
0.0003686392738018185,
0.04390758275985718,
-0.010785083286464214,
-0.0027769191656261683,
-0.022564101964235306,
0.017803670838475227,
0.003984464798122644,
0.01714976504445076,
0.023645225912332535,
-0.016164546832442284,
-0.07735267281532288,
0.04722070321440697,
-0.02345341444015503,
0.026906035840511322,
0.006325447000563145,
0.021866602823138237,
0.050115324556827545,
0.026661911979317665,
0.059496693313121796,
-0.027394285425543785,
-0.008862600661814213,
-0.04174533486366272,
0.004204613156616688,
-0.022930290549993515,
0.054265446960926056,
-0.03273015469312668,
0.006316727958619595,
0.017995482310652733,
0.010296833701431751,
-0.0003133297723252326,
-0.012563706375658512,
0.04362858086824417,
0.005837197415530682,
-0.021151667460799217,
-0.036304838955402374,
-0.016548171639442444,
-0.04997582733631134,
-0.0003528365632519126,
0.04258233308792114,
0.011735426262021065,
0.009320334531366825,
-0.016321483999490738,
0.0334625281393528,
0.002946934662759304,
-0.03905996307730675,
0.015859391540288925,
-0.040873460471630096,
0.04209408536553383,
-0.00949470978230238,
-0.04652320593595505,
-0.0038515040650963783,
0.0021415408700704575,
0.06640193611383438,
0.021500416100025177,
0.0784686729311943,
-0.029329845681786537,
-0.0204716045409441,
-0.10281139612197876,
0.019599730148911476,
-0.006700352765619755,
-0.02831847220659256,
0.041501209139823914,
-0.01822216995060444,
-0.00986961554735899,
-0.08397892117500305,
-0.020663417875766754,
0.03281734138727188,
0.0029752706177532673,
-0.04512820392847061,
0.03058534488081932,
-0.03198034316301346,
0.013139143586158752,
-0.027359411120414734,
-0.011962112970650196,
-0.056462571024894714,
0.05527682229876518,
0.036025840789079666,
-0.06838981062173843,
-0.018867356702685356,
0.0013742916053161025,
0.10016090422868729,
0.05004557594656944,
0.01340942457318306,
-0.01605992205440998,
0.06151944026350975,
-0.04889470338821411,
0.07588792592287064,
-0.013287361711263657,
0.0019965916872024536,
0.011970832012593746,
0.030620219185948372,
0.023749852553009987,
-0.0446050800383091,
0.03245115652680397,
-0.05370744690299034,
-0.06047318875789642,
-0.0670296847820282,
-0.0597408153116703,
-0.041187334805727005,
0.00246522412635386,
-0.009555740281939507,
0.02758609876036644,
-0.003406848292797804,
0.036723338067531586,
-0.006866008974611759,
0.044918954372406006,
0.017036421224474907,
0.07316768169403076,
-0.01601632870733738,
0.014028455130755901,
-0.01681845262646675,
-0.06765743345022202,
-0.07686442136764526,
0.0009334502392448485,
0.004599136300384998,
-0.012031863443553448,
0.06887805461883545,
-0.00012526378850452602,
0.027795348316431046,
0.04028058424592018,
-0.10155589878559113,
-0.050115324556827545,
-0.000274776597507298,
0.025842349976301193,
0.05726469308137894,
0.04324495792388916,
-0.03175365552306175,
-0.02197122760117054,
-0.0298355333507061,
-0.07191217690706253,
-0.03790908679366112,
0.04763920232653618,
-0.01472595427185297,
-0.032207030802965164,
-0.008186898194253445,
-0.053846947848796844,
-0.024150913581252098,
-0.00623390031978488,
-0.024883288890123367,
0.06082193925976753,
0.02347085252404213,
0.0019061348866671324,
0.011299489066004753,
0.03797883912920952,
-0.01755082607269287,
-0.00428962055593729,
-0.04770895466208458,
-0.022180479019880295,
-0.016164546832442284,
-0.021378353238105774,
-0.010384021326899529,
-0.006752665154635906,
-0.0632283166050911,
-0.017219513654708862,
0.01827448233962059,
-0.032259345054626465,
0.044953830540180206,
0.021099355071783066,
0.028580034151673317,
-0.006059525068849325,
0.05053382366895676,
0.02463916316628456,
0.026382911950349808,
-0.01509214099496603,
-0.016286609694361687,
-0.04062933474779129,
-0.06061268970370293,
-0.00040869100484997034,
-0.013575080782175064,
0.021535292267799377,
-0.0447794571518898,
-0.011325645260512829,
-0.011683113873004913,
-0.001166131696663797,
0.038920462131500244,
0.00857488252222538,
-0.009965521283447742,
-0.023627789691090584,
0.025842349976301193,
0.05189394950866699,
0.030376095324754715,
-0.007070899475365877,
-0.062461063265800476,
0.013723298907279968,
0.021517854183912277,
-0.06193793937563896,
-0.005523322615772486,
-0.007310664746910334,
0.02568541280925274,
0.11592438817024231,
0.0041174255311489105,
-0.05356794595718384,
-0.0019377402495592833,
-0.030689969658851624,
-0.031457219272851944,
-0.034526217728853226,
0.031003843992948532,
0.0706915557384491,
-0.01605120301246643,
0.039373837411403656,
0.05151032283902168,
-0.04279158264398575,
0.005815400741994381,
0.054544445127248764,
0.02092497982084751,
0.024778662249445915,
0.006290571764111519,
-0.00428744126111269,
0.07044743001461029,
0.0373510867357254,
-0.06465818732976913,
-0.01549320388585329,
-0.08265367150306702,
0.014874173328280449,
-0.013871517963707447,
0.0242904145270586,
0.017603138461709023,
-0.010933301411569118,
0.09827765077352524,
0.0631585642695427,
0.06682043522596359,
0.016539452597498894,
-0.010846114717423916,
0.051196448504924774,
-0.03654896467924118,
-0.12931637465953827,
0.01119486428797245,
-0.05663694441318512,
-0.055730193853378296,
-0.00819997675716877,
0.003286965424194932,
0.0045860582031309605,
-0.056811317801475525,
-0.020297229290008545,
0.016277890652418137,
0.027464035898447037,
-0.014978798106312752,
-0.0034940356854349375,
-0.005959259811788797,
0.007315024267882109,
0.056148696690797806,
-0.05890381708741188,
-0.01782110705971718,
0.02680141106247902,
0.010078865103423595,
-0.0014462212566286325,
0.0006713430630043149,
-0.011116395704448223,
0.014865454286336899,
0.018867356702685356,
0.005130979232490063,
0.041605833917856216,
-0.044186580926179886,
-0.043000832200050354,
-0.05182420089840889,
0.019181231036782265,
-0.02490072511136532,
0.012162644416093826,
-0.018937107175588608,
-0.0045860582031309605,
-0.020314667373895645,
-0.040106210857629776,
0.013819205574691296,
0.0009715947671793401,
0.020645979791879654,
0.0007165715796872973,
-0.0046427296474576,
0.003993183374404907,
0.04980145022273064,
-0.01563270390033722,
-0.04390758275985718,
0.017271826043725014,
-0.0005261215264908969,
-0.011465145274996758,
-0.01675742119550705,
-0.04139658436179161,
0.02565053664147854,
-0.026679348200559616,
0.016931796446442604,
-0.016626639291644096,
0.002700630109757185,
0.08042167127132416,
-0.016539452597498894,
0.03620021417737007,
0.03393334150314331,
-0.004542464390397072,
0.03126540780067444,
0.01714976504445076,
0.052312448620796204,
0.03313121572136879,
0.062077440321445465,
-0.05189394950866699,
-0.0014778266195207834,
0.020576229318976402,
0.000253660895396024,
0.06884318590164185,
0.0005814310861751437,
-0.017446201294660568,
0.04537232965230942,
0.01789085753262043,
0.031021282076835632,
0.05754369497299194,
0.007284508552402258,
-0.06908730417490005,
-0.07930567115545273,
0.009538303129374981,
0.07916617393493652,
-0.022197915241122246,
0.0335148423910141,
-0.044953830540180206,
0.014603892341256142,
0.0015105219790712,
0.04910395294427872,
0.004498870577663183,
0.010706614702939987,
-0.026522411033511162,
-0.06640193611383438,
0.06668093800544739,
0.03517140448093414,
0.053149446845054626,
-0.006582649890333414,
0.024342726916074753,
0.015327547676861286,
-0.07288867980241776,
-0.03243371844291687,
0.044221457093954086,
-0.028161535039544106,
-0.04443070665001869,
-0.0019355606054887176,
0.03534577786922455,
0.04035033658146858,
-0.08544366806745529,
-0.04666270315647125,
0.029347283765673637,
-0.008849522098898888,
0.011447707191109657,
-0.023697538301348686,
0.02350572682917118,
0.08704791218042374,
-0.03769983723759651,
0.02165735326707363,
-0.022581540048122406,
-0.01794316992163658,
-0.04652320593595505,
0.014516704715788364,
-0.014455673284828663,
0.02162247896194458,
-0.023348789662122726,
0.0484762005507946,
-0.0005629037623293698,
0.0446050800383091,
-0.04885982722043991,
0.00660880608484149,
-0.0028597472701221704,
-0.05182420089840889,
0.016504578292369843,
0.05852019414305687,
-0.006848571356385946,
0.001075129839591682,
-0.001672908547334373,
-0.06193793937563896,
0.04613957926630974,
0.02498791366815567,
0.00968652218580246,
0.009608052670955658,
-0.0742836743593216,
-0.02158760465681553,
-0.02350572682917118,
-0.028928784653544426,
0.023959102109074593,
-0.04812745377421379,
-0.04028058424592018,
0.03198034316301346,
-0.008439742028713226,
-0.040420085191726685,
-0.0011617722921073437,
-0.00473863584920764,
-0.0409432090818882,
-0.030759720131754875,
0.011709270067512989,
-0.03769983723759651,
0.010924583300948143,
-0.08028217405080795,
0.02463916316628456,
0.04729045182466507,
-0.018169857561588287,
0.014194111339747906,
0.03137003257870674,
-0.06151944026350975,
-0.02723734825849533,
0.07323742657899857,
-0.05489319562911987,
-0.03637458756566048,
-0.0011585027677938342,
-0.01061942707747221,
0.019181231036782265,
-0.025877224281430244,
0.012284706346690655,
0.007489399053156376,
0.01232830062508583,
-0.010174770839512348,
-0.1041366457939148,
0.00006487969949375838,
0.03620021417737007,
0.04924345016479492,
-0.01784726418554783,
-0.030864344909787178,
-0.04816232621669769,
0.017751358449459076,
0.05820631608366966,
0.022860540077090263,
0.007249633315950632,
0.01792573183774948,
-0.059461817145347595,
-0.01714104600250721,
0.045337457209825516,
0.033392779529094696,
-0.0002412639296380803,
0.025214599445462227,
0.04551183059811592,
0.05356794595718384,
-0.040838584303855896,
0.0002117019466822967,
0.025912100449204445,
-0.04558157920837402,
-0.01717592030763626,
-0.0448492057621479,
0.03794396296143532,
0.00017246761126443744,
-0.009442397393286228,
0.08697816729545593,
0.0009596064919605851
] |
17,931 | imodels.rule_set.slipper_util | _sample_weight | Calculate learner sample weight
in paper this is C_R, which is confidence of learner
| def _sample_weight(self, plus, minus):
""" Calculate learner sample weight
in paper this is C_R, which is confidence of learner
"""
return 0.5 * np.log((plus + (1 / (2 * len(self.D)))) /
(minus + 1 / (2 * len(self.D))))
| (self, plus, minus) | [
-0.04680468887090683,
-0.03147986903786659,
0.08599885553121567,
0.05773615837097168,
0.02935238555073738,
-0.01933763548731804,
-0.007264585699886084,
-0.006369485054165125,
0.03537161275744438,
0.05161315202713013,
-0.03523324057459831,
0.023125598207116127,
0.058185871690511703,
0.05721725896000862,
-0.07707379013299942,
0.013024363666772842,
0.023056410253047943,
-0.00018566854123491794,
-0.03301927074790001,
-0.007000811863690615,
-0.014788620173931122,
-0.0013869736576452851,
0.00016499366029165685,
0.07319934666156769,
-0.06095333397388458,
0.05649080127477646,
-0.039090387523174286,
-0.03262144699692726,
0.0025361187290400267,
-0.01054229773581028,
-0.04545554891228676,
-0.0782499611377716,
0.005513301584869623,
-0.0016593956388533115,
0.005409521982073784,
-0.012617893517017365,
0.009331532754004002,
-0.01717555522918701,
-0.0876593291759491,
-0.045490141957998276,
0.021153781563043594,
-0.04427937790751457,
0.023748276755213737,
0.002127485815435648,
-0.04355292022228241,
0.04002440720796585,
-0.002663681283593178,
0.008873172104358673,
-0.0007599708042107522,
-0.04427937790751457,
0.02687896601855755,
0.00853156391531229,
0.012514113448560238,
0.016786381602287292,
-0.02170727401971817,
-0.01657882146537304,
0.02082514576613903,
0.004622525069862604,
0.03125501424074173,
0.01092282310128212,
0.04832679033279419,
-0.010170419700443745,
0.01733122579753399,
0.004877650178968906,
-0.0012875180691480637,
-0.0035825648810714483,
-0.05209745466709137,
0.054173052310943604,
0.04327617585659027,
0.03286360204219818,
0.057943716645240784,
-0.022814258933067322,
-0.007424579467624426,
0.034454893320798874,
-0.00834994949400425,
0.006123007740825415,
-0.032811712473630905,
-0.03165283799171448,
0.028176214545965195,
-0.033330611884593964,
0.037845030426979065,
-0.013932437635958195,
0.05925826355814934,
-0.032067954540252686,
0.02523578703403473,
-0.08240115642547607,
-0.0359078086912632,
-0.017642565071582794,
0.05624864995479584,
0.00959098245948553,
-0.08558373898267746,
0.04037034139037132,
0.0718156173825264,
0.026757890358567238,
0.031964175403118134,
0.009547741152346134,
-0.04846516251564026,
-0.008181307464838028,
0.06382457166910172,
0.018109574913978577,
-0.022658588364720345,
0.01579182595014572,
-0.01373352576047182,
0.03787962347269058,
-0.03403977304697037,
-0.01180495135486126,
0.0032452805899083614,
0.0004070113645866513,
-0.019026296213269234,
0.006611637771129608,
-0.054138459265232086,
-0.018369022756814957,
0.015627507120370865,
0.0017772290157154202,
-0.06095333397388458,
-0.002799892332404852,
0.017417708411812782,
0.03621914982795715,
-0.0037425588816404343,
0.05182071030139923,
0.05631783604621887,
-0.015878308564424515,
-0.034057069569826126,
-0.0009053705725818872,
-0.023558013141155243,
0.005054940935224295,
0.0074159312061965466,
0.01135523896664381,
0.011493612080812454,
0.025650905445218086,
0.03704938665032387,
-0.023921241983771324,
-0.01375082228332758,
0.028037840500473976,
0.02736327238380909,
-0.01933763548731804,
-0.011061196215450764,
0.030424775555729866,
0.09139540791511536,
0.04230756312608719,
0.06254462152719498,
0.012548706494271755,
0.08489187061786652,
0.024889854714274406,
0.038087185472249985,
0.03864067792892456,
0.020358135923743248,
0.03715316578745842,
0.005033319815993309,
-0.013776767998933792,
0.018265243619680405,
0.02634277008473873,
0.04867272451519966,
-0.08046393096446991,
0.02296992763876915,
-0.0010680670384317636,
-0.02360990270972252,
-0.046873874962329865,
-0.022018613293766975,
-0.06977461278438568,
0.03436840698122978,
-0.04175407066941261,
-0.008233197033405304,
0.02722489833831787,
0.0166998989880085,
0.06039984151721001,
-0.024163395166397095,
0.045732297003269196,
-0.024042319506406784,
-0.03580402955412865,
-0.006079766433686018,
-0.0776272863149643,
-0.010265551507472992,
0.019735457375645638,
0.032950084656476974,
0.04867272451519966,
-0.02032354287803173,
0.0013696770183742046,
0.01708907261490822,
0.020012203603982925,
0.07354527711868286,
0.0021534308325499296,
-0.011510908603668213,
0.008579129353165627,
-0.004012818913906813,
-0.02485525980591774,
0.04244593530893326,
0.0024907151237130165,
0.008159685879945755,
0.02674059383571148,
0.001700475113466382,
-0.01729663275182247,
-0.01771175116300583,
-0.016094516962766647,
0.007169453892856836,
0.028072433546185493,
0.01154550164937973,
-0.024682294577360153,
0.01097471360117197,
-0.00025417940923944116,
0.010023398324847221,
-0.005820316728204489,
-0.018490100279450417,
0.01945871114730835,
0.014356205239892006,
-0.01362109836190939,
-0.01592154987156391,
0.03850230202078819,
-0.06828710436820984,
-0.022156985476613045,
0.04358751326799393,
0.0022118068300187588,
0.06351323425769806,
0.01595614291727543,
0.026654111221432686,
-0.018420914188027382,
-0.002916644560173154,
-0.007273233961313963,
-0.03580402955412865,
0.004168488550931215,
-0.007727270480245352,
-0.030026953667402267,
-0.015229684300720692,
0.021776460111141205,
0.049260810017585754,
-0.028158918023109436,
0.06382457166910172,
-0.04483287036418915,
-0.05019482597708702,
0.018472803756594658,
0.0067154173739254475,
-0.02144782431423664,
0.06022687256336212,
-0.02371368370950222,
-0.04165029153227806,
-0.01450322661548853,
-0.04666631296277046,
0.036841828376054764,
-0.006611637771129608,
-0.012903288006782532,
-0.030424775555729866,
0.012834100984036922,
0.011926027946174145,
0.006135980132967234,
0.010248254984617233,
-0.01373352576047182,
0.05085209757089615,
-0.00783537421375513,
-0.02786487527191639,
0.004596579819917679,
-0.03085719235241413,
-0.03476623073220253,
-0.035060275346040726,
-0.020288949832320213,
0.013828657567501068,
0.02257210575044155,
0.019285745918750763,
0.003842014353722334,
-0.039989814162254333,
-0.0369110144674778,
-0.04040493443608284,
0.02295263111591339,
-0.04528258368372917,
0.011640633456408978,
-0.06852925568819046,
0.04120057821273804,
0.023315859958529472,
0.007134860847145319,
-0.002510173711925745,
-0.0027328678406774998,
0.08918143808841705,
0.056525394320487976,
-0.012263312004506588,
-0.016544228419661522,
-0.030320996418595314,
-0.03794880956411362,
0.036080773919820786,
0.04943377524614334,
-0.015515078790485859,
0.022053206339478493,
-0.007018108386546373,
0.006927301175892353,
-0.007969423197209835,
0.08343895524740219,
-0.05019482597708702,
0.025910355150699615,
-0.00019269529730081558,
-0.02975020743906498,
0.011260108090937138,
-0.02360990270972252,
0.008479674346745014,
0.008259141817688942,
0.05700970068573952,
0.05659458041191101,
0.03165283799171448,
-0.010767153464257717,
0.02110189199447632,
-0.04742736741900444,
0.029577240347862244,
0.06413590908050537,
-0.019631678238511086,
-0.03298467770218849,
0.02335045300424099,
0.0030096140690147877,
-0.029092935845255852,
-0.012098994106054306,
0.05870477110147476,
-0.049364589154720306,
-0.0361153669655323,
-0.010386628098785877,
-0.04168488457798958,
0.04808463901281357,
0.032189033925533295,
0.03454137593507767,
0.0020291111432015896,
-0.04981430247426033,
0.007701325695961714,
0.039332542568445206,
0.012799507938325405,
0.06648825109004974,
-0.02245102822780609,
0.01142442598938942,
-0.0012399522820487618,
0.02070406824350357,
-0.023436937481164932,
-0.045386362820863724,
0.012911936268210411,
-0.009582334198057652,
-0.027173008769750595,
-0.03173932060599327,
-0.066799595952034,
-0.010343385860323906,
0.011043899692595005,
-0.012989770621061325,
-0.07735054194927216,
0.04230756312608719,
0.027138415724039078,
0.019873831421136856,
-0.028418367728590965,
-0.007100267335772514,
0.014546467922627926,
-0.03549268841743469,
-0.046112820506095886,
0.09582334011793137,
0.01555832102894783,
-0.02207050286233425,
0.012349795550107956,
-0.0031955528538674116,
-0.0011642795288935304,
-0.022935334593057632,
-0.022520216181874275,
0.015471837483346462,
0.0047263046726584435,
0.04075086489319801,
0.024007726460695267,
0.029836690053343773,
-0.04452153295278549,
-0.014511874876916409,
0.01682962290942669,
0.009262346662580967,
-0.03184309974312782,
0.013967030681669712,
0.012617893517017365,
0.05230501666665077,
0.00028863755869679153,
0.03663426637649536,
0.017616620287299156,
0.017538785934448242,
-0.03423003479838371,
-0.01286004576832056,
-0.020046796649694443,
-0.08080986887216568,
-0.04382966458797455,
0.04576689004898071,
-0.027155712246894836,
-0.012825452722609043,
-0.05510707199573517,
-0.013595152646303177,
-0.00006563936767634004,
0.02923130802810192,
-0.023246673867106438,
0.05783993750810623,
-0.0052668247371912,
0.03241388872265816,
-0.007805105298757553,
-0.04746196046471596,
-0.02232995256781578,
-0.006987839471548796,
-0.03552728146314621,
0.0030615038704127073,
-0.0014183238381519914,
-0.0007383499760180712,
-0.03011343628168106,
-0.02118837460875511,
-0.07153887301683426,
-0.01893981173634529,
-0.020046796649694443,
0.022866148501634598,
-0.05524544417858124,
0.008401839062571526,
-0.011917379684746265,
-0.023661792278289795,
-0.10073558986186981,
-0.030649632215499878,
-0.05950041487812996,
0.016224240884184837,
-0.01004069484770298,
0.08918143808841705,
-0.022502917796373367,
-0.010464462451636791,
-0.07769647240638733,
0.07126212865114212,
0.004339292645454407,
0.006369485054165125,
-0.005089533980935812,
-0.05054076015949249,
0.004239837173372507,
-0.004994402639567852,
-0.029802097007632256,
0.021793756633996964,
0.07229992002248764,
0.013033012859523296,
0.06890978664159775,
0.028919968754053116,
0.0650007426738739,
-0.02283155545592308,
-0.007091619074344635,
-0.011683874763548374,
0.041096799075603485,
0.02207050286233425,
-0.054899509996175766,
-0.016777733340859413,
-0.006110035348683596,
-0.03037288598716259,
0.01631937175989151,
-0.02912752889096737,
-0.024301769211888313,
0.027709204703569412,
-0.009028841741383076,
-0.04680468887090683,
0.05745941400527954,
-0.014805917628109455,
0.03301927074790001,
-0.012894639745354652,
-0.04922621697187424,
-0.06586557626724243,
-0.037464506924152374,
-0.01682097464799881,
-0.05133640393614769,
-0.07098537683486938,
0.044106412678956985,
-0.005210610572248697,
0.07292260229587555,
0.05344659462571144,
-0.029698317870497704,
0.07368365675210953,
-0.0409238338470459,
-0.057943716645240784,
0.03801799938082695,
-0.012003863230347633,
0.026688704267144203,
0.040093593299388885,
-0.0309955645352602,
0.006200842559337616,
-0.0013037336757406592,
0.014373501762747765,
0.031220421195030212,
-0.01805768348276615,
0.017158258706331253,
0.03315764293074608,
0.08177847415208817,
0.014762675389647484,
-0.011735765263438225,
-0.03191228583455086,
0.02020246721804142,
-0.002624763874337077,
-0.06669581681489944,
0.005310066044330597,
0.035337019711732864,
-0.010187716223299503,
-0.026636812835931778,
-0.01593884639441967,
0.0027825958095490932,
0.02260669879615307,
-0.01658746972680092,
-0.014805917628109455,
-0.0838540717959404,
0.02058299258351326,
0.03687642142176628,
-0.02160349301993847,
0.0044365860521793365,
0.056179460138082504,
0.045005835592746735,
0.002901510102674365,
-0.09651520848274231,
-0.0055089774541556835,
0.04344914108514786,
-0.006996487732976675,
0.03224092349410057,
0.06022687256336212,
0.009487202391028404,
-0.02561631239950657,
-0.05853180214762688,
-0.021620789542794228,
0.014096755534410477,
0.02058299258351326,
-0.04784248396754265,
-0.013257868587970734,
-0.033296018838882446,
0.03047666698694229,
0.02336774952709675,
0.016648009419441223,
0.02997506409883499,
0.04528258368372917,
0.011199569329619408,
-0.041235171258449554,
-0.03436840698122978,
0.10025127977132797,
0.04168488457798958,
0.009495851583778858,
0.060296058654785156,
0.007359717041254044,
-0.0401281863451004,
-0.02975020743906498,
0.03113393858075142,
-0.03530242666602135,
-0.012194125913083553,
-0.054034680128097534,
0.001295085297897458,
0.08530698716640472,
-0.007130536716431379,
0.010403924621641636,
0.008445080369710922,
0.062440842390060425,
-0.03315764293074608,
0.04220378398895264,
-0.03213714435696602,
-0.055522188544273376,
-0.017884718254208565,
-0.02170727401971817,
0.016120461747050285,
-0.06731849163770676,
0.0551762580871582,
-0.015765881165862083,
0.04977970942854881,
0.08115579932928085,
-0.05569515749812126,
-0.013949734158813953,
-0.035112164914608,
-0.0032885221298784018,
0.023523420095443726,
-0.048638131469488144,
-0.06161060556769371,
0.0001563453406561166,
0.13013985753059387,
-0.033071160316467285,
-0.010334737598896027,
0.02335045300424099,
0.02336774952709675,
0.053377408534288406,
-0.05645620822906494,
-0.09665358066558838,
0.06444725394248962,
-0.009089380502700806,
0.016544228419661522,
-0.0008891550241969526,
-0.028556739911437035,
0.01380271278321743,
-0.0675952360033989,
-0.04465990513563156,
-0.011709820479154587,
0.031670134514570236,
0.0451442115008831,
0.05171693116426468,
-0.07333771884441376,
0.0057684266939759254,
0.010611483827233315,
-0.03836392983794212,
-0.012185477651655674,
0.014079459011554718,
-0.014390798285603523,
0.04801545292139053,
0.018490100279450417,
-0.01582641899585724,
0.024284472689032555,
-0.000856183294672519,
-0.025823872536420822,
-0.006460292264819145,
-0.030960971489548683,
0.027553535997867584,
-0.06686878204345703,
-0.06368619948625565,
-0.034575968980789185,
-0.06475859135389328,
0.01468484103679657,
-0.012790859676897526,
-0.021395934745669365,
-0.03964387997984886,
0.036807235330343246,
0.02210509590804577,
-0.020046796649694443,
-0.003874445566907525,
0.011657929979264736,
0.009123973548412323,
0.004239837173372507,
0.016648009419441223,
-0.014096755534410477,
-0.04216919094324112,
-0.05995012819766998,
-0.023679088801145554,
-0.015004828572273254,
0.014529171399772167,
0.00678027980029583,
-0.023903945460915565,
-0.013275165110826492,
-0.03915957733988762,
-0.014883751980960369,
-0.045628517866134644,
0.056041087955236435,
0.0038247178308665752,
-0.019406821578741074,
-0.011337942443788052,
0.016466394066810608,
0.02260669879615307,
-0.034057069569826126,
-0.019804643467068672,
0.010775801725685596,
-0.015298871323466301,
-0.008592101745307446,
-0.019372228533029556,
0.010594187304377556,
-0.02847025729715824,
0.07250748574733734,
-0.07140050083398819,
0.020410025492310524,
0.04379507154226303,
0.042618900537490845,
0.0018766846042126417,
0.013638394884765148,
0.035942401736974716,
0.01618964783847332,
0.036807235330343246,
0.01643180102109909,
-0.06188734993338585,
-0.005379252601414919,
0.029214011505246162,
-0.04621660336852074,
0.005214934702962637,
0.007087294943630695,
0.010637428611516953,
-0.05282391607761383,
-0.006040848791599274,
0.0006432185182347894,
0.01579182595014572,
-0.002856106497347355,
-0.016743140295147896,
0.0035674304235726595,
0.05908529460430145,
0.020652178674936295,
-0.07126212865114212,
-0.06669581681489944,
0.0489494688808918,
0.046147413551807404,
-0.0027328678406774998,
-0.009763948619365692,
0.044106412678956985,
-0.024872558191418648,
-0.04756573960185051,
-0.006520830560475588,
-0.06942868232727051,
-0.013508670032024384,
0.020669475197792053,
-0.014165941625833511,
0.029836690053343773,
-0.02836647629737854,
-0.016846919432282448,
0.005336011294275522,
-0.029767503961920738,
-0.008557508699595928,
-0.058912329375743866,
0.029300495982170105,
0.0054527632892131805,
0.007450524251908064,
-0.07631274312734604,
0.08516861498355865,
0.025547126308083534,
-0.06039984151721001,
0.027311382815241814,
0.010230958461761475,
0.024440141394734383,
-0.07167724519968033,
-0.02874700352549553,
-0.000007360358722507954,
0.01135523896664381,
0.012133587151765823,
0.009556389413774014,
-0.04126976430416107,
-0.012643838301301003,
0.012159532867372036,
-0.04998726770281792,
0.03725694492459297,
0.011839544400572777,
-0.02018517069518566,
0.02546064369380474,
-0.026654111221432686,
-0.004955484997481108,
-0.051267217844724655,
0.0023220728617161512,
0.017158258706331253,
-0.022174281999468803,
0.01556696929037571,
0.030026953667402267,
-0.030424775555729866,
-0.008691557683050632,
-0.030822599306702614,
0.02509741298854351,
-0.05995012819766998,
0.028279993683099747,
-0.0184555072337389,
0.0035825648810714483,
-0.03614996001124382,
-0.01406216248869896,
0.03237929567694664,
0.012393036857247353,
-0.054795730859041214,
0.002276669256389141,
0.041719477623701096,
-0.04431397095322609,
-0.025685498490929604,
-0.025183897465467453,
-0.035112164914608,
-0.029300495982170105,
-0.018490100279450417,
0.00004891703792964108,
0.04545554891228676,
0.06084955111145973,
-0.007493766024708748,
-0.00966016948223114,
0.08288545906543732,
-0.0027004366274923086,
0.019354932010173798,
0.05368874594569206,
0.019770050421357155,
0.01582641899585724,
-0.007627815008163452,
0.015739934518933296,
0.008168335072696209,
0.017651213333010674,
0.036461301147937775,
-0.08558373898267746,
0.044625312089920044,
0.0249763373285532,
0.012946529313921928,
-0.0210672989487648,
0.027138415724039078,
-0.03187769278883934,
0.05306606739759445,
-0.06015768647193909,
-0.0021328909788280725,
-0.021759163588285446,
0.004073356743901968,
-0.05586812272667885,
0.03151446580886841,
0.04822301119565964,
-0.0011761710047721863,
0.06666122376918793,
0.026066025719046593,
0.053031474351882935
] |
17,932 | imodels.rule_set.slipper_util | _set_rule_or_default |
Compare output of eq 5 between learned rule and default rule
return rule that minimizes eq 5
| def _set_rule_or_default(self, X, y, learned_rule):
"""
Compare output of eq 5 between learned rule and default rule
return rule that minimizes eq 5
"""
rules = [self._make_default_rule(X, y), learned_rule]
scores = [self._eq_5(X, y, rule) for rule in rules]
self.rule = rules[scores.index(min(scores))]
| (self, X, y, learned_rule) | [
0.03968759626150131,
-0.003676379332318902,
0.01627122238278389,
0.007850151509046555,
-0.02624502405524254,
-0.024549564346671104,
-0.00022707048628944904,
-0.012612143531441689,
0.018528951331973076,
-0.009048218838870525,
0.015613799914717674,
0.023874839767813683,
0.017516866326332092,
0.05266305431723595,
-0.01913447305560112,
-0.011842266656458378,
0.012023922987282276,
0.05262845382094383,
0.014740118756890297,
0.04366673529148102,
0.047749679535627365,
-0.040933240205049515,
0.023874839767813683,
0.053182072937488556,
-0.005454016849398613,
0.012274782173335552,
0.02275030128657818,
-0.015129382722079754,
0.018131038174033165,
-0.000231530808378011,
-0.05228244140744209,
0.0018598154420033097,
-0.02228318341076374,
0.01851165108382702,
0.09203924238681793,
-0.011279997415840626,
0.021297048777341843,
0.045812010765075684,
-0.021608460694551468,
-0.05740341916680336,
-0.019272878766059875,
-0.011885518208146095,
0.03041447140276432,
0.02320011705160141,
-0.03954919055104256,
0.025812508538365364,
-0.015881959348917007,
0.07695310562849045,
0.06743777543306351,
-0.05120980367064476,
0.025466496124863625,
-0.040864039212465286,
0.06231679394841194,
0.02709275297820568,
0.016314474865794182,
-0.019688092172145844,
-0.012863002717494965,
-0.026383427903056145,
0.009748892858624458,
-0.026314226910471916,
0.025985514745116234,
-0.008235089480876923,
-0.040760233998298645,
-0.022819504141807556,
-0.0027875606901943684,
-0.04640023410320282,
-0.03110649436712265,
-0.003531486727297306,
0.025708705186843872,
0.02845950238406658,
-0.019047969952225685,
0.013442573137581348,
0.007075949106365442,
-0.060690537095069885,
0.020639626309275627,
-0.004922023043036461,
-0.06546550244092941,
-0.041383057832717896,
0.026435330510139465,
-0.018771160393953323,
0.01563110016286373,
0.014878523536026478,
0.018252141773700714,
-0.03844195231795311,
-0.05522354319691658,
-0.02709275297820568,
0.054566118866205215,
-0.009004967287182808,
0.044600971043109894,
-0.03489532694220543,
0.021573860198259354,
-0.01312251202762127,
0.003354155458509922,
0.02612392045557499,
0.02766367420554161,
0.04280170798301697,
-0.012828401289880276,
-0.025016680359840393,
0.03115839697420597,
-0.0322137326002121,
-0.01656533218920231,
0.03781913220882416,
-0.04902992397546768,
-0.0007698771078139544,
0.006011961493641138,
-0.0349472314119339,
0.03747311979532242,
0.030033856630325317,
-0.027110055088996887,
-0.026660239323973656,
-0.07210893929004669,
-0.039099376648664474,
-0.08470378071069717,
0.03271545097231865,
-0.004947974346578121,
0.02892661839723587,
-0.055707961320877075,
-0.009273126721382141,
0.04515459015965462,
0.04072563350200653,
-0.027023551985621452,
0.00787610188126564,
-0.040691033005714417,
0.013632879592478275,
-0.0017992632929235697,
-0.014143248088657856,
0.05667679384350777,
0.01088208332657814,
0.02761177159845829,
-0.027404164895415306,
0.04996415972709656,
0.0002355856413487345,
-0.04664244130253792,
0.015856008976697922,
-0.06833740323781967,
0.0038947996217757463,
-0.04422035813331604,
0.04176367074251175,
0.033026862889528275,
-0.00034682315890677273,
0.06830280274152756,
0.028424900025129318,
0.030725881457328796,
-0.041106246411800385,
0.014575762674212456,
0.020016804337501526,
-0.011254046112298965,
0.10366524755954742,
0.022196682170033455,
0.03460121899843216,
-0.013667481020092964,
0.009956500492990017,
-0.006967820227146149,
-0.05259384959936142,
0.03423790633678436,
0.030604777857661247,
-0.02032821625471115,
-0.056399986147880554,
-0.00327846547588706,
-0.036642689257860184,
0.026833243668079376,
-0.04553520306944847,
0.005860581062734127,
-0.044773977249860764,
0.03510293737053871,
-0.019099872559309006,
-0.05837225541472435,
0.04404735192656517,
0.0028113489970564842,
0.0007693364750593901,
-0.05145201086997986,
-0.08062084019184113,
-0.08553420752286911,
0.04992955923080444,
0.055361948907375336,
0.03685029596090317,
-0.021331651136279106,
-0.006033587269484997,
-0.02349422685801983,
0.016746990382671356,
0.028390299528837204,
0.014471959322690964,
0.0113405492156744,
-0.030154962092638016,
-0.002923802938312292,
0.05380489304661751,
0.02027631364762783,
0.023528827354311943,
-0.04567360877990723,
0.05449691787362099,
-0.015674352645874023,
-0.013200365006923676,
-0.03650428354740143,
0.0029930053278803825,
-0.021348951384425163,
-0.0007855557487346232,
0.043632134795188904,
0.028736311942338943,
0.060759738087654114,
-0.0009791062911972404,
0.017836928367614746,
-0.010406316258013248,
0.051763422787189484,
0.04899532347917557,
0.009385580196976662,
-0.007253280375152826,
-0.02698894962668419,
0.017214106395840645,
-0.060690537095069885,
0.020345516502857208,
0.025189686566591263,
0.011254046112298965,
-0.016452878713607788,
0.008979015983641148,
0.002108511747792363,
0.011617358773946762,
0.06854501366615295,
0.022767601534724236,
-0.038649559020996094,
-0.006448802072554827,
-0.011651960201561451,
-0.03340747579932213,
0.0320926308631897,
0.04013741388916969,
0.06183237582445145,
-0.045812010765075684,
0.01799263246357441,
-0.046192627400159836,
-0.021954473108053207,
0.001361341681331396,
0.004059155471622944,
-0.05944489315152168,
0.05401249974966049,
-0.04342452809214592,
0.020137907937169075,
0.05961789935827255,
0.042075082659721375,
0.011245395988225937,
-0.10048193484544754,
0.05678059905767441,
-0.059998512268066406,
-0.020829932764172554,
0.01873655989766121,
0.006626133341342211,
-0.01503422949463129,
0.07591507583856583,
0.056226979941129684,
-0.03778453171253204,
-0.06280121207237244,
0.0035012108273804188,
0.03082968480885029,
0.009480733424425125,
-0.02015521004796028,
-0.02446306124329567,
-0.010017052292823792,
0.037611525505781174,
-0.03186772018671036,
-0.04003360867500305,
-0.014688217081129551,
-0.02332122065126896,
-0.028026986867189407,
0.029203427955508232,
-0.014826621860265732,
-0.031175697222352028,
-0.03615827113389969,
0.03574305772781372,
-0.032282937318086624,
0.05740341916680336,
-0.024705270305275917,
-0.019151773303747177,
0.00928177684545517,
-0.025051280856132507,
0.01621067151427269,
0.007629568688571453,
-0.013442573137581348,
0.020466620102524757,
-0.0438743457198143,
0.018113737925887108,
0.011617358773946762,
-0.02622772380709648,
0.03923778235912323,
0.01054472103714943,
-0.01695459708571434,
-0.0075733414851129055,
-0.05854526162147522,
-0.0000034466056604287587,
-0.025449195876717567,
-0.009169322438538074,
-0.012958155944943428,
-0.03802673891186714,
-0.010657175444066525,
0.00925582554191351,
0.04771507903933525,
0.0010018133325502276,
0.05210943520069122,
-0.01409134641289711,
-0.021106742322444916,
0.021781466901302338,
0.07383900135755539,
0.04570820927619934,
0.00032168321195058525,
-0.036573488265275955,
0.027144655585289,
-0.017447663471102715,
0.001990651246160269,
-0.03633127734065056,
-0.020293613895773888,
-0.01340797170996666,
0.05041397362947464,
-0.04186747223138809,
0.028684409335255623,
0.020708829164505005,
-0.030898887664079666,
-0.028026986867189407,
0.011418402194976807,
0.0032590022310614586,
0.005315612070262432,
-0.017231406643986702,
0.035604652017354965,
0.03757692128419876,
-0.017170853912830353,
-0.02166036330163479,
-0.07075949013233185,
-0.020587725564837456,
-0.02347692660987377,
-0.07695310562849045,
0.008044783025979996,
-0.004848495591431856,
-0.04397814720869064,
0.004675489384680986,
0.018113737925887108,
-0.03133140131831169,
-0.008243740536272526,
-0.007452237419784069,
-0.016011713072657585,
0.0006833740626461804,
0.02996465563774109,
0.00347958505153656,
-0.008351868949830532,
0.006833740510046482,
-0.01740441285073757,
0.03122759982943535,
0.03013765998184681,
-0.013658830896019936,
0.0810360535979271,
0.01889226585626602,
-0.027248458936810493,
0.0020393093582242727,
0.009333678521215916,
-0.03723090887069702,
-0.04771507903933525,
0.007149476557970047,
0.0025886036455631256,
-0.04567360877990723,
0.04480857774615288,
0.022490791976451874,
-0.014099996536970139,
-0.03716170787811279,
0.04480857774615288,
-0.07937519252300262,
-0.05065618455410004,
-0.05653839185833931,
-0.01799263246357441,
0.05864906311035156,
0.034462813287973404,
0.02153925783932209,
-0.01581275649368763,
0.03183311969041824,
0.003150873351842165,
-0.036573488265275955,
-0.06875261664390564,
-0.05366648733615875,
-0.025466496124863625,
-0.03390919417142868,
0.02909962460398674,
0.00868058018386364,
-0.02451496198773384,
0.030777784064412117,
0.05546575412154198,
-0.012378585524857044,
0.075845867395401,
0.030604777857661247,
-0.007988556288182735,
0.048545509576797485,
-0.03396109491586685,
-0.01896146684885025,
-0.024549564346671104,
0.05397789925336838,
0.022092876955866814,
-0.008780059404671192,
0.07577666640281677,
-0.002186364494264126,
0.06508488953113556,
-0.024532264098525047,
-0.0013591790338978171,
0.02972244657576084,
0.005069078411906958,
0.017378462478518486,
-0.08560341596603394,
-0.008299967274069786,
-0.037438519299030304,
0.03774992749094963,
0.005302636418491602,
0.01531968917697668,
-0.03314796835184097,
0.005713526159524918,
0.005661624483764172,
0.11093150824308395,
-0.05380489304661751,
0.04432415962219238,
-0.07972120493650436,
-0.014385456219315529,
0.03115839697420597,
-0.030604777857661247,
-0.043389927595853806,
0.05259384959936142,
0.11210794746875763,
0.056053973734378815,
0.07176292687654495,
0.003765044966712594,
0.011331899091601372,
-0.057022806257009506,
0.01740441285073757,
0.02657373622059822,
0.021279748529195786,
-0.07328537851572037,
-0.009039567783474922,
-0.043632134795188904,
-0.0530436672270298,
-0.008840611204504967,
0.016193369403481483,
-0.045846614986658096,
0.03401299566030502,
-0.02600281499326229,
0.005380489397794008,
-0.02532809227705002,
0.017802326008677483,
0.007841501384973526,
0.01166061032563448,
0.0020036266651004553,
0.0421442836523056,
-0.02726575918495655,
0.002861088141798973,
0.03389189392328262,
-0.04577741026878357,
-0.010259261354804039,
0.012906254269182682,
-0.00370881799608469,
-0.09951310604810715,
0.04989495500922203,
-0.01552729681134224,
-0.002569140400737524,
-0.026937048882246017,
0.06383924931287766,
0.012992757372558117,
0.010691775940358639,
0.0036850296892225742,
-0.022092876955866814,
0.02200637385249138,
0.011236745864152908,
0.04221348464488983,
0.03259434551000595,
0.032058026641607285,
0.007071624044328928,
-0.09231604635715485,
0.04404735192656517,
-0.06366623938083649,
0.03598526492714882,
-0.007447912357747555,
-0.047853484749794006,
-0.032507844269275665,
-0.055534955114126205,
-0.025535698980093002,
-0.02698894962668419,
0.0024415485095232725,
-0.0018154826248064637,
-0.000029448205168591812,
-0.016193369403481483,
0.029186127707362175,
0.010527420789003372,
-0.013061960227787495,
-0.006327697541564703,
0.025795208290219307,
-0.01781962811946869,
0.022663798183202744,
-0.011063739657402039,
-0.07069028913974762,
-0.03313066437840462,
-0.07646869122982025,
0.028597906231880188,
0.007447912357747555,
0.029981955885887146,
0.011418402194976807,
0.006340673193335533,
-0.07183212786912918,
0.04401274770498276,
0.0421442836523056,
0.0008569207857362926,
0.05608857423067093,
0.008628678508102894,
0.017516866326332092,
-0.022767601534724236,
-0.09224684536457062,
0.01712760329246521,
0.021054841578006744,
-0.009653739631175995,
-0.08594942837953568,
-0.017560118809342384,
-0.039722196757793427,
0.02749066799879074,
0.043735940009355545,
0.01868465729057789,
-0.010717727243900299,
-0.009307727217674255,
0.005549170542508364,
0.000934232899453491,
0.03730011358857155,
0.029480237513780594,
0.03930698335170746,
-0.028892016038298607,
0.008235089480876923,
-0.006643434055149555,
0.003204937791451812,
-0.030224163085222244,
0.018580853939056396,
0.027992384508252144,
0.0031724991276860237,
-0.02382293902337551,
0.06698796153068542,
-0.019445884972810745,
0.043113116174936295,
-0.007383035030215979,
-0.03311336413025856,
0.08615703135728836,
-0.004000765737146139,
0.09273126721382141,
-0.02198907360434532,
0.000964508973993361,
-0.024428460747003555,
-0.02681594341993332,
-0.005882206838577986,
0.020535822957754135,
0.032784655690193176,
0.0061806426383554935,
-0.002897852100431919,
0.060067713260650635,
-0.06868341565132141,
0.0830429196357727,
-0.045812010765075684,
-0.03541434556245804,
-0.05861446261405945,
0.023061711341142654,
0.01656533218920231,
-0.007499814033508301,
0.04048342630267143,
-0.026625636965036392,
0.012110426090657711,
0.020656926557421684,
0.04100244492292404,
0.03899557143449783,
-0.027629071846604347,
-0.035431645810604095,
0.02565680257976055,
-0.027058152481913567,
0.06325102597475052,
-0.02863250859081745,
-0.007863126695156097,
-0.005216133780777454,
0.02377103641629219,
-0.013209015130996704,
0.00415214616805315,
0.030604777857661247,
0.022715698927640915,
-0.00624551996588707,
-0.03408220037817955,
-0.0042451368644833565,
0.005501593463122845,
-0.024705270305275917,
-0.06529249995946884,
0.004251624457538128,
0.0033433425705879927,
0.005402115173637867,
0.055085137486457825,
-0.03819974511861801,
0.012015272863209248,
-0.05951409414410591,
-0.004736041650176048,
0.05688440054655075,
-0.09155482053756714,
-0.017603369429707527,
-0.051417410373687744,
0.03702330216765404,
-0.07432341575622559,
-0.006924568675458431,
-0.03167741373181343,
-0.0002897852100431919,
0.0004941486404277384,
-0.008040457963943481,
0.05909888073801994,
0.04598501697182655,
-0.06985986232757568,
-0.015501345507800579,
-0.0121450275182724,
-0.008671930059790611,
0.051763422787189484,
0.000287892937194556,
-0.04467017203569412,
-0.05041397362947464,
0.0010218172101303935,
-0.020293613895773888,
0.021867970004677773,
0.04605422168970108,
0.02503398060798645,
-0.004080781247466803,
-0.017110303044319153,
-0.024047845974564552,
0.004428955726325512,
0.04273250326514244,
-0.05224784091114998,
-0.03335557505488396,
-0.011063739657402039,
0.011245395988225937,
0.008031807839870453,
0.010484169237315655,
0.014316254295408726,
0.015899259597063065,
0.04141765832901001,
-0.018598154187202454,
-0.01770717278122902,
-0.03449741378426552,
-0.009757543914020061,
-0.03615827113389969,
0.035431645810604095,
-0.05193642899394035,
-0.023303920403122902,
-0.02148735709488392,
0.04996415972709656,
0.02778477780520916,
0.00011110234481748194,
-0.04529299587011337,
-0.03373618796467781,
0.04165986552834511,
0.08733347058296204,
-0.010216009803116322,
-0.011617358773946762,
0.014082695357501507,
-0.00974024273455143,
0.02698894962668419,
0.034912627190351486,
0.007158127147704363,
-0.019913000985980034,
-0.003449308918789029,
-0.021279748529195786,
0.05165961757302284,
0.03380538895726204,
0.006829415448009968,
0.023234717547893524,
-0.0210721418261528,
0.0500679612159729,
-0.0669187530875206,
-0.07082869112491608,
-0.0035747382789850235,
0.03826894611120224,
-0.007517114747315645,
0.04152145981788635,
0.02612392045557499,
0.015432143583893776,
-0.050552379339933395,
-0.02114134468138218,
-0.031417906284332275,
-0.05210943520069122,
-0.021331651136279106,
0.0029065022245049477,
-0.01406539510935545,
0.03557005152106285,
-0.07020587474107742,
0.0005806516855955124,
-0.021279748529195786,
-0.05363188683986664,
-0.07141691446304321,
0.022646497935056686,
-0.006669384893029928,
-0.03702330216765404,
-0.0034536339808255434,
0.009783494286239147,
0.03861495852470398,
-0.005531869828701019,
0.009212573990225792,
0.04283630847930908,
0.01243048720061779,
-0.058406855911016464,
-0.004132682923227549,
0.023961342871189117,
-0.003473097225651145,
-0.04909912869334221,
-0.04186747223138809,
-0.0877486914396286,
0.054566118866205215,
-0.007940979674458504,
-0.04280170798301697,
0.0632164254784584,
0.012854352593421936,
-0.013961591757833958,
-0.015025578439235687,
0.02394404262304306,
-0.015163984149694443,
-0.05671139433979988,
-0.010726377367973328,
-0.012404536828398705,
-0.047749679535627365,
-0.02887471579015255,
-0.00956723652780056,
-0.040414221584796906,
-0.018027234822511673,
-0.01736116036772728,
0.025310790166258812,
-0.01051011960953474,
0.0030211189296096563,
-0.08318132907152176,
0.02250809222459793,
0.01248238980770111,
-0.0589950755238533,
-0.003916425164788961,
-0.024082448333501816,
0.03306146338582039,
0.014904474839568138,
0.05363188683986664,
-0.08345814049243927,
-0.021694963797926903,
0.008135611191391945,
0.002832974772900343,
0.04747287184000015,
0.08027482777833939,
0.04567360877990723,
0.028719011694192886,
0.03152170777320862,
0.01746496558189392,
-0.05567336082458496,
0.0451199896633625,
0.05556955561041832,
0.031539011746644974,
-0.02979164943099022,
0.01486122328788042,
-0.03550085052847862,
-0.024532264098525047,
0.01608956605195999,
-0.016695087775588036,
0.038684163242578506,
0.0018641406204551458,
0.05293986201286316,
-0.0006087651709094644,
0.005445366725325584,
0.07743752747774124,
0.04204047843813896,
0.005730826873332262,
-0.03259434551000595,
0.034912627190351486,
-0.014982327818870544,
0.02532809227705002,
0.03878796473145485,
-0.016764290630817413,
0.02887471579015255,
0.02582980878651142,
0.04968734830617905,
0.028442200273275375,
-0.01440275739878416,
0.04439336434006691,
0.0236672330647707
] |
17,935 | imodels.rule_set.slipper_util | fit |
Main loop for training
| def fit(self, X, y, sample_weight=None, feature_names=None):
"""
Main loop for training
"""
X, y, feature_names = check_fit_arguments(self, X, y, feature_names)
if sample_weight is not None:
self.D = sample_weight
X_grow, X_prune, y_grow, y_prune = \
train_test_split(X, y, test_size=0.33)
self._make_feature_dict(X.shape[1], feature_names)
rule = self._grow_rule(X_grow, y_grow)
rule = self._prune_rule(X_prune, y_prune, rule)
self._set_rule_or_default(X, y, rule)
return self
| (self, X, y, sample_weight=None, feature_names=None) | [
0.00894015934318304,
-0.026071704924106598,
0.0008271451224572957,
-0.031231917440891266,
-0.032134052366018295,
-0.01932373456656933,
-0.025151526555418968,
0.02890440821647644,
0.027406863868236542,
0.008110194467008114,
-0.03756490722298622,
-0.007532828021794558,
0.026306260377168655,
0.030005013570189476,
-0.014443183317780495,
0.02340138517320156,
0.008168833330273628,
0.022553378716111183,
-0.04236426576972008,
0.005539109464734793,
-0.011177454143762589,
-0.03778141736984253,
-0.030600422993302345,
0.05102476105093956,
-0.020821278914809227,
0.028128573670983315,
0.008493602275848389,
0.01336062140762806,
-0.005967623554170132,
-0.013730496168136597,
-0.04680277034640312,
-0.01043770369142294,
-0.020785193890333176,
0.0369514524936676,
-0.012837382964789867,
-0.04741622135043144,
0.007009590044617653,
0.027605334296822548,
0.0015888854395598173,
-0.04431287571787834,
-0.016364730894565582,
-0.049978286027908325,
0.018583983182907104,
0.022517291828989983,
-0.004713655915111303,
0.047235794365406036,
-0.009634803049266338,
0.08703799545764923,
-0.006310435011982918,
-0.02518761157989502,
-0.02921113558113575,
-0.04954526200890541,
0.008840924128890038,
0.038286615163087845,
-0.020839320495724678,
0.020406296476721764,
0.036410171538591385,
0.04705536738038063,
0.06517024338245392,
-0.034587860107421875,
0.014686759561300278,
-0.016202347353100777,
-0.014244713820517063,
-0.005056467372924089,
-0.042869459837675095,
-0.04655017331242561,
-0.07642889022827148,
0.006941929925233126,
0.0035296035930514336,
0.04247252270579338,
0.034894585609436035,
-0.024141136556863785,
0.04958134517073631,
0.05744796246290207,
-0.011664606630802155,
0.01340572815388441,
-0.06264426559209824,
-0.026270175352692604,
0.01876441016793251,
-0.034245047718286514,
-0.004930168390274048,
0.06571152061223984,
-0.032116010785102844,
-0.04990611597895622,
-0.018602026626467705,
-0.012936617247760296,
0.03853921219706535,
0.033072274178266525,
0.0675879642367363,
-0.037312306463718414,
-0.010139998979866505,
0.0705830529332161,
0.06322162598371506,
0.015706172212958336,
0.09613151848316193,
0.020676936954259872,
-0.0430859737098217,
0.016536137089133263,
-0.00920177809894085,
-0.000009682094969321042,
-0.05784490332007408,
-0.005981155671179295,
0.009052925743162632,
0.08429550379514694,
-0.02948177605867386,
0.004650506656616926,
0.00683367345482111,
-0.03390223905444145,
-0.06585586071014404,
-0.013008788228034973,
-0.056437574326992035,
-0.009310034103691578,
0.01910722255706787,
0.05185472592711449,
-0.03821444511413574,
-0.03778141736984253,
-0.009034883230924606,
0.032458823174238205,
-0.04088476300239563,
-0.022679677233099937,
0.017257845029234886,
0.04034348204731941,
-0.05438070371747017,
-0.04864312708377838,
0.0035160717088729143,
0.000050815579015761614,
0.036446258425712585,
0.03936917707324028,
0.03595910593867302,
-0.05358682572841644,
-0.014686759561300278,
0.003416836727410555,
-0.03482241556048393,
0.011836012825369835,
-0.02024391107261181,
-0.038286615163087845,
-0.011556350626051426,
-0.003103344701230526,
0.034245047718286514,
-0.011511243879795074,
0.09353336691856384,
-0.0033987939823418856,
0.0584944412112236,
0.006296902894973755,
0.04766881838440895,
0.024141136556863785,
0.01583247072994709,
-0.013631261885166168,
-0.008358282037079334,
0.0176908690482378,
-0.017122523859143257,
0.03143038600683212,
0.031123662367463112,
-0.07170169800519943,
0.0002689490211196244,
0.008646965026855469,
-0.05102476105093956,
-0.026270175352692604,
-0.005245915614068508,
-0.0037506266962736845,
-0.009282969869673252,
-0.025386082008481026,
-0.027912059798836708,
0.04027131199836731,
0.004578335676342249,
0.054813727736473083,
-0.0015945237828418612,
0.019179392606019974,
-0.010239233262836933,
0.033974409103393555,
0.05687059834599495,
-0.047199707478284836,
-0.001557310693897307,
0.0261799618601799,
0.014082329347729683,
0.057051025331020355,
0.019810887053608894,
-0.031213875859975815,
0.020839320495724678,
0.061922553926706314,
0.03785359114408493,
-0.02403287962079048,
-0.008484580554068089,
-0.051205188035964966,
-0.010410639457404613,
0.005358682479709387,
-0.022986402735114098,
0.03453373163938522,
-0.026053661480545998,
0.04759664833545685,
-0.0026184471789747477,
-0.014560461044311523,
-0.008259046822786331,
0.028056401759386063,
-0.01181797031313181,
0.023437470197677612,
-0.0138207096606493,
-0.003416836727410555,
0.008493602275848389,
0.0430138036608696,
-0.0230585727840662,
-0.02154298685491085,
0.05019479617476463,
-0.035778678953647614,
-0.019017009064555168,
0.04059607908129692,
-0.03283771872520447,
0.05254035070538521,
-0.04478198662400246,
-0.03832269832491875,
-0.019540246576070786,
-0.028687896206974983,
0.001573098124936223,
0.06271643191576004,
0.0615256130695343,
-0.01196231134235859,
-0.011610479094088078,
-0.029752416536211967,
0.005272979848086834,
-0.023437470197677612,
0.019846972078084946,
-0.016337666660547256,
-0.032440777868032455,
0.011267667636275291,
0.06127301603555679,
-0.040163055062294006,
0.06913963705301285,
-0.04590063542127609,
-0.010807578451931477,
-0.040090885013341904,
0.01398309413343668,
-0.0889866054058075,
0.042003411799669266,
-0.024050923064351082,
0.021326474845409393,
-0.026612985879182816,
0.0002356828044867143,
0.0092468848451972,
0.006734438706189394,
0.0010831259423866868,
-0.014028200879693031,
-0.014515354298055172,
-0.023545727133750916,
-0.05448896065354347,
-0.004393397830426693,
0.04384376481175423,
0.05008654296398163,
0.009779145009815693,
0.029644159600138664,
-0.024736544117331505,
-0.056112803518772125,
0.024231350049376488,
-0.04099301993846893,
-0.003193558193743229,
-0.03850312530994415,
-0.04250860586762428,
0.030203483998775482,
-0.03590497747063637,
-0.008268068544566631,
-0.017582613974809647,
-0.0107444291934371,
0.04478198662400246,
-0.011303752660751343,
0.10168866813182831,
-0.04784924536943436,
0.025909321382641792,
0.031484514474868774,
0.004921147134155035,
-0.008809349499642849,
-0.008822881616652012,
0.005579705815762281,
0.07137692719697952,
-0.005746600683778524,
0.02823682874441147,
-0.01905309408903122,
0.0431220568716526,
0.014560461044311523,
-0.02892245166003704,
0.03597714751958847,
0.007424572017043829,
0.04218383878469467,
-0.04120953381061554,
0.0353095680475235,
0.05474155768752098,
-0.033992450684309006,
0.033649638295173645,
-0.0072080595418810844,
0.026973839849233627,
0.006075880024582148,
-0.023275086656212807,
-0.04240034893155098,
0.013153130188584328,
0.06542284041643143,
0.04055999591946602,
0.002814661478623748,
-0.010924856178462505,
-0.002091825706884265,
-0.025674765929579735,
0.021128004416823387,
0.012178824283182621,
-0.017429251223802567,
0.0020579956471920013,
0.007659127004444599,
-0.0005641163443215191,
0.012990745715796947,
-0.028435299172997475,
0.03265729174017906,
-0.021957969292998314,
-0.01705937460064888,
0.0028642790857702494,
0.03175515681505203,
0.05019479617476463,
0.01834040693938732,
-0.008741688914597034,
-0.00011854619515361264,
-0.06531458348035812,
0.04590063542127609,
0.008281600661575794,
0.025656722486019135,
0.06239166483283043,
-0.036085404455661774,
-0.020514553412795067,
0.009725016541779041,
-0.031791239976882935,
-0.04878746718168259,
0.020532594993710518,
0.03466003015637398,
0.009878379292786121,
-0.055824119597673416,
-0.03139430284500122,
0.014064286835491657,
-0.03135821595788002,
0.048390526324510574,
0.013793646357953548,
-0.059793516993522644,
0.0022688698954880238,
0.015634002164006233,
0.01686992682516575,
0.010022721253335476,
0.030275654047727585,
-0.00406862935051322,
0.038900066167116165,
-0.05438070371747017,
0.020045442506670952,
0.010230212472379208,
-0.03327074274420738,
0.02949981763958931,
-0.007329847663640976,
0.062247324734926224,
0.037023626267910004,
-0.014361990615725517,
0.0199732705950737,
0.048426613211631775,
0.05293728783726692,
0.06351031363010406,
0.0005841325037181377,
-0.04113736003637314,
0.027208395302295685,
0.0138207096606493,
-0.031268004328012466,
-0.004587356932461262,
-0.02428547665476799,
-0.04954526200890541,
0.04763273522257805,
0.00031941221095621586,
-0.01573323644697666,
-0.020153697580099106,
0.012142738327383995,
0.01767282746732235,
-0.027442950755357742,
0.0015618214383721352,
-0.05189081281423569,
-0.06502589583396912,
0.04128170385956764,
-0.008083130232989788,
0.013486919924616814,
-0.031213875859975815,
0.02064085192978382,
0.05632931739091873,
0.04701928049325943,
-0.01686992682516575,
0.04806575924158096,
0.015760300680994987,
-0.007190017029643059,
-0.012196866795420647,
-0.05051956698298454,
-0.005029403138905764,
-0.03756490722298622,
0.053009457886219025,
-0.040163055062294006,
0.030329782515764236,
0.01350496243685484,
-0.016761669889092445,
0.014641652815043926,
-0.057014938443899155,
0.001840355689637363,
0.022661633789539337,
0.04373551160097122,
-0.09245080500841141,
0.012530656531453133,
-0.021290387958288193,
-0.048137929290533066,
-0.07650105655193329,
0.06812924146652222,
-0.004298673942685127,
0.020171741023659706,
0.0034732201602309942,
0.038250528275966644,
0.0022091034334152937,
0.07614020258188248,
-0.0067615024745464325,
0.04553978145122528,
0.027298608794808388,
0.03630191832780838,
-0.0492565780878067,
0.00020946450240444392,
0.004952721763402224,
0.04232817888259888,
0.051457785069942474,
0.02948177605867386,
0.04088476300239563,
-0.0022609762381762266,
-0.0018527599750086665,
0.015615958720445633,
0.011646564118564129,
-0.020352168008685112,
-0.04344682767987251,
-0.06332988291978836,
0.029373519122600555,
-0.028705939650535583,
-0.12752582132816315,
-0.02495305798947811,
-0.09028568118810654,
-0.00968893151730299,
0.0026139365509152412,
-0.028164658695459366,
-0.02525978349149227,
0.012909553945064545,
-0.02832704223692417,
-0.01338768471032381,
-0.007591466885060072,
-0.07570718228816986,
0.05820575729012489,
-0.012413378804922104,
-0.05604063346982002,
-0.03693341091275215,
-0.009562632068991661,
0.017320994287729263,
-0.1076788455247879,
-0.015137827023863792,
0.07491330057382584,
-0.008259046822786331,
0.03563433885574341,
0.014515354298055172,
-0.021146047860383987,
0.013099001720547676,
0.01213371753692627,
-0.018529854714870453,
0.051493871957063675,
-0.03166494145989418,
0.02369006723165512,
0.00016999608487822115,
-0.008416920900344849,
0.01521901972591877,
-0.06177821382880211,
0.026649070903658867,
-0.0024605735670775175,
-0.0011660095769912004,
0.031520601361989975,
-0.014226670376956463,
0.040740422904491425,
-0.009914465248584747,
0.009409269317984581,
-0.04582846537232399,
-0.0067660133354365826,
0.0369514524936676,
-0.0016080557834357023,
0.04727188125252724,
0.039152663201093674,
-0.05318988487124443,
0.0215610284358263,
-0.03345116972923279,
0.056112803518772125,
0.04250860586762428,
-0.009025861509144306,
-0.016166260465979576,
-0.02948177605867386,
-0.02215643785893917,
-0.01905309408903122,
0.043807681649923325,
-0.01656320132315159,
0.00814628042280674,
0.045936718583106995,
-0.003094323445111513,
-0.029716331511735916,
-0.01871028169989586,
0.016112133860588074,
0.013757560402154922,
0.0337759405374527,
-0.01963046006858349,
0.009427311830222607,
0.016896991059184074,
-0.04160647094249725,
-0.023202914744615555,
0.006617160979658365,
0.03770924732089043,
-0.021091919392347336,
0.008331217803061008,
-0.08732667565345764,
0.007171974051743746,
-0.04499850049614906,
-0.03101540543138981,
0.01600387692451477,
0.04860704019665718,
0.04546761140227318,
0.017744997516274452,
-0.0011141368886455894,
0.10421464592218399,
-0.0074741896241903305,
0.015444553457200527,
0.029012665152549744,
0.04391593858599663,
0.058241844177246094,
-0.030275654047727585,
0.015002506785094738,
0.04795750230550766,
0.024971099570393562,
-0.01600387692451477,
0.07336162775754929,
0.03792576119303703,
0.027785761281847954,
-0.006585586350411177,
0.02489892952144146,
0.05596846342086792,
0.016130175441503525,
-0.030528252944350243,
0.023581812158226967,
-0.07137692719697952,
-0.01661732792854309,
-0.018367471173405647,
0.012422400526702404,
-0.008096662349998951,
0.021073875948786736,
-0.03198971226811409,
-0.022986402735114098,
0.03466003015637398,
0.011727756820619106,
-0.0026387451216578484,
-0.025873234495520592,
-0.020207826048135757,
-0.025295868515968323,
-0.0292291771620512,
-0.013721475377678871,
0.08270774781703949,
0.08739884942770004,
-0.05647365748882294,
-0.023509640246629715,
0.02639647386968136,
0.021290387958288193,
0.016951119527220726,
-0.05820575729012489,
-0.011267667636275291,
0.07004176825284958,
-0.0353817380964756,
0.005097063258290291,
-0.009562632068991661,
-0.06805707514286041,
0.019269606098532677,
-0.08494504541158676,
-0.009607738815248013,
0.015805406495928764,
0.055174585431814194,
-0.0041430555284023285,
0.04369942471385002,
-0.06318554282188416,
0.023491598665714264,
-0.012999767437577248,
-0.03810618817806244,
-0.08220255374908447,
0.003626583144068718,
-0.016130175441503525,
-0.03168298676609993,
-0.01569715142250061,
-0.04460155963897705,
-0.02428547665476799,
-0.01905309408903122,
-0.019612416625022888,
0.006269839126616716,
-0.044385045766830444,
0.015805406495928764,
0.001832461915910244,
-0.0032003242522478104,
0.013035852462053299,
-0.05355073884129524,
0.0013238833053037524,
-0.008633432909846306,
-0.04655017331242561,
-0.057628389447927475,
0.0398743711411953,
-0.028489427641034126,
-0.016518093645572662,
0.028705939650535583,
0.027785761281847954,
0.030329782515764236,
0.013685389421880245,
-0.009770123288035393,
-0.05196298286318779,
0.029608074575662613,
-0.005854856688529253,
-0.0584944412112236,
-0.022932274267077446,
-0.010536937974393368,
0.06798490136861801,
-0.010500852949917316,
-0.057628389447927475,
0.0007233995711430907,
-0.007740319240838289,
-0.04550369456410408,
0.060082197189331055,
-0.05322597175836563,
0.02731665037572384,
-0.06596411764621735,
-0.004641484934836626,
0.036698855459690094,
-0.03664472699165344,
-0.05203515291213989,
-0.0015144593780860305,
-0.055535439401865005,
-0.03411874920129776,
-0.004821912385523319,
-0.005327107850462198,
-0.04449330270290375,
0.011899162083864212,
-0.05134953185915947,
0.06351031363010406,
0.033342912793159485,
0.011393966153264046,
0.007938789203763008,
-0.008583815768361092,
-0.06679408252239227,
0.0024966588243842125,
0.001976803643628955,
0.06899529695510864,
-0.007104313932359219,
-0.03476828709244728,
-0.03595910593867302,
-0.0001664721203269437,
0.009346120059490204,
0.06358247995376587,
0.00900781899690628,
-0.021921882405877113,
-0.01724882423877716,
-0.030961276963353157,
-0.005543620325624943,
0.08270774781703949,
0.033036187291145325,
-0.006513415370136499,
-0.006418691482394934,
0.03770924732089043,
-0.06989742815494537,
-0.028760068118572235,
0.046586256474256516,
0.06996960192918777,
0.003301814431324601,
-0.03191753849387169,
0.035183269530534744,
-0.025999534875154495,
-0.0184757262468338,
-0.035778678953647614,
0.002227146178483963,
-0.09295599907636642,
0.025710850954055786,
-0.0461893193423748,
0.018565939739346504,
-0.0431220568716526,
-0.033324871212244034,
-0.035778678953647614,
-0.051818642765283585,
-0.014064286835491657,
-0.008755221031606197,
0.036752983927726746,
0.025945406407117844,
0.0007397508015856147,
0.0014343948569148779,
0.07953222841024399,
0.03218818083405495,
-0.08018177002668381,
-0.021723413839936256,
-0.01335159968584776,
0.00967990979552269,
0.021957969292998314,
-0.018890708684921265,
0.050230883061885834,
-0.037637077271938324,
-0.04391593858599663,
0.003119132248684764,
-0.035832807421684265,
-0.056762341409921646,
0.0261438749730587,
-0.03630191832780838,
-0.0014659696025773883,
0.01968458853662014,
-0.060443051159381866,
0.004217481706291437,
0.024375690147280693,
0.007798958104103804,
-0.09771927446126938,
0.08660496771335602,
0.008083130232989788,
-0.02334725670516491,
0.025584552437067032,
0.005791707430034876,
-0.04391593858599663,
-0.01794346794486046,
-0.0029048749711364508,
0.014361990615725517,
-0.010185105726122856,
-0.0003374549269210547,
0.02861572615802288,
0.0007267826003953815,
0.05109693109989166,
0.012900532223284245,
0.007090781815350056,
-0.013225301168859005,
-0.020099570974707603,
-0.018529854714870453,
0.026847541332244873,
-0.042003411799669266,
0.007113335188478231,
-0.04889572411775589,
0.0584222711622715,
0.016969161108136177,
-0.018069766461849213,
0.04095693305134773,
0.012738147750496864,
-0.001976803643628955,
0.023220958188176155,
0.008773263543844223,
0.08083130419254303,
0.04983394220471382,
-0.014542417600750923,
0.015237062238156796,
0.000828836637083441,
0.017889339476823807,
0.0491483211517334,
0.021994054317474365,
0.012151760049164295,
0.00568796182051301,
0.00545340683311224,
-0.04171472787857056,
0.012034482322633266,
-0.004655017051845789,
0.022372951731085777,
0.029716331511735916,
0.05557152256369591,
-0.02917504869401455,
-0.033072274178266525,
-0.020081527531147003,
0.0009303268161602318,
-0.06120084598660469,
-0.013495941646397114,
-0.08877009153366089,
0.015011528506875038,
0.03319857269525528,
-0.012891510501503944,
0.050591737031936646,
0.11850447207689285,
0.06268034875392914
] |
17,938 | imodels.rule_set.slipper_util | predict |
external predict function that returns predictions
using estimators rule
| def predict(self, X):
"""
external predict function that returns predictions
using estimators rule
"""
return self._rule_predict(X, self.rule)
| (self, X) | [
0.03543567284941673,
-0.026774384081363678,
-0.02600105293095112,
0.02741023153066635,
0.01331845112144947,
-0.02045026794075966,
-0.05757008120417595,
-0.025399575009942055,
0.06495967507362366,
0.030211402103304863,
0.038013435900211334,
-0.019281679764389992,
0.022924920544028282,
0.0037807216867804527,
-0.022753071039915085,
0.018817681819200516,
0.04031623899936676,
0.04275652393698692,
-0.038563359528779984,
0.009950172156095505,
0.007759071886539459,
-0.026688458397984505,
-0.07527072727680206,
0.010431354865431786,
0.022856181487441063,
0.008029737509787083,
-0.0007137185893952847,
-0.049905527383089066,
0.026774384081363678,
-0.0012964009074494243,
-0.03777284547686577,
-0.042722154408693314,
-0.017305394634604454,
-0.000920476857572794,
0.010354021564126015,
-0.014023040421307087,
-0.01469325926154852,
0.05550786852836609,
-0.05341128632426262,
-0.035263821482658386,
-0.034456122666597366,
-0.06867165118455887,
0.044303182512521744,
0.025330834090709686,
-0.020587747916579247,
0.0022104333620518446,
-0.04351266846060753,
0.0036668702960014343,
0.047808945178985596,
-0.04698405787348747,
-0.0382540300488472,
-0.0004280163557268679,
0.05079915001988411,
0.0016691026976332068,
-0.010860982351005077,
0.0419316403567791,
0.04117549583315849,
0.05086789280176163,
-0.0003334983193781227,
-0.016248511150479317,
0.06911846250295639,
0.005202788393944502,
0.013593412935733795,
0.011428090743720531,
0.011084388010203838,
0.01530333049595356,
-0.01177179254591465,
-0.0006154413567855954,
-0.006190931890159845,
0.012020976282656193,
-0.023234253749251366,
-0.04901190102100372,
0.015724364668130875,
0.024918392300605774,
0.06688440591096878,
0.015552514232695103,
0.030520735308527946,
-0.06489092856645584,
0.036432407796382904,
0.023268623277544975,
-0.04196600988507271,
0.001729250536300242,
-0.04550614207983017,
-0.006642040330916643,
-0.03839150816202164,
-0.10517280548810959,
0.010586020536720753,
-0.05966665968298912,
0.00681389169767499,
0.08228225260972977,
-0.035263821482658386,
0.04873693734407425,
-0.015449403785169125,
0.03832276910543442,
0.037910327315330505,
0.015561106614768505,
0.02950681373476982,
0.007539961952716112,
0.0386321023106575,
-0.028406968340277672,
-0.009056546725332737,
0.12242664396762848,
-0.054614242166280746,
0.048943158239126205,
0.010053282603621483,
0.00835195742547512,
-0.01147964596748352,
0.015054145827889442,
-0.017906872555613518,
0.013344229198992252,
-0.06674692034721375,
0.03760099411010742,
-0.056710824370384216,
-0.019367605447769165,
-0.02799452468752861,
-0.021206410601735115,
-0.02770237810909748,
0.016652360558509827,
-0.09183716773986816,
0.025846388190984726,
-0.021206410601735115,
0.034267086535692215,
-0.05272388085722923,
0.0007851441623643041,
-0.05200210586190224,
0.00011848319991258904,
0.08186981081962585,
0.03718855232000351,
0.015260367654263973,
-0.07190245389938354,
-0.026791568845510483,
-0.0008893288322724402,
-0.007398184854537249,
0.009004991501569748,
-0.016385991126298904,
0.00405568303540349,
0.06471908092498779,
0.009151064790785313,
-0.015604069456458092,
-0.012038161046802998,
0.06698751449584961,
0.02464343048632145,
0.05540475621819496,
-0.004343533422797918,
-0.0014242150355130434,
-0.037944696843624115,
-0.0017958427779376507,
0.012287345714867115,
0.02086270973086357,
0.006517448462545872,
0.022564034909009933,
-0.01916138455271721,
0.030658215284347534,
-0.06186635419726372,
0.017485838383436203,
0.02906000055372715,
-0.005782785825431347,
-0.03663862869143486,
0.04031623899936676,
-0.03428427129983902,
-0.05647023394703865,
-0.001426363131031394,
-0.016841396689414978,
-0.021687593311071396,
0.03469671308994293,
0.03467952832579613,
-0.021309521049261093,
-0.0057312301360070705,
0.012132679112255573,
-0.013455932028591633,
0.03015984781086445,
-0.05846370384097099,
-0.020811153575778008,
0.018456796184182167,
-0.03873521089553833,
0.0242825448513031,
0.04461251571774483,
0.057845041155815125,
0.0018968052463606,
0.07478954643011093,
0.052173957228660583,
-0.008145736530423164,
-0.07808908820152283,
-0.03828839957714081,
-0.03093317709863186,
-0.016617991030216217,
-0.003911757841706276,
0.03828839957714081,
-0.05134907364845276,
0.04041935130953789,
-0.010182171128690243,
-0.006276857107877731,
0.03773847594857216,
0.011376535519957542,
-0.04447503387928009,
-0.04808390513062477,
-0.007879368029534817,
0.04650287702679634,
-0.0027818377129733562,
-0.00412012729793787,
-0.0022297664545476437,
-0.011565571650862694,
0.019075458869338036,
0.05110848322510719,
-0.06616263091564178,
0.008489438332617283,
-0.026860307902097702,
0.008566771633923054,
-0.059391699731349945,
-0.07795160263776779,
0.0069470759481191635,
-0.020656488835811615,
0.021790705621242523,
0.01761472597718239,
0.0467090979218483,
0.0032329466193914413,
-0.006212412845343351,
0.006968557368963957,
0.046846579760313034,
-0.03340782970190048,
0.002571320394054055,
-0.03553878515958786,
-0.006478782277554274,
0.015191626735031605,
0.0691872090101242,
-0.03483419492840767,
0.03870084136724472,
-0.017924057319760323,
-0.007857886143028736,
-0.03959446772933006,
0.001625065808184445,
-0.01046572532504797,
0.037360403686761856,
-0.05684830620884895,
0.07905144989490509,
-0.009649432264268398,
-0.007196260150521994,
0.00932291615754366,
-0.04863382875919342,
0.029180297628045082,
0.018525535240769386,
0.03308131545782089,
0.012201420031487942,
-0.026086978614330292,
-0.0009639766067266464,
0.05904799699783325,
0.050524190068244934,
0.04461251571774483,
-0.013919929973781109,
-0.03911328315734863,
0.02828667126595974,
-0.012751342728734016,
-0.01714213564991951,
0.04244719445705414,
-0.006354189943522215,
-0.02541675977408886,
0.057845041155815125,
0.018955163657665253,
0.07128378748893738,
0.050043005496263504,
-0.03192991390824318,
0.012854453176259995,
-0.008158625103533268,
0.025846388190984726,
-0.02089707925915718,
-0.0032007244881242514,
-0.03028014302253723,
0.03002236597239971,
0.0625193864107132,
0.01469325926154852,
0.09218087047338486,
0.015715772286057472,
-0.0699089765548706,
-0.04550614207983017,
0.033682793378829956,
0.033596865832805634,
-0.010568835772573948,
-0.011153128929436207,
0.024523135274648666,
0.005610934458673,
0.045196808874607086,
-0.06609389185905457,
-0.023990396410226822,
0.004665754269808531,
-0.032909464091062546,
-0.020072195678949356,
0.006904113106429577,
-0.0014091780176386237,
0.038460250943899155,
-0.036398038268089294,
0.01776939257979393,
0.038941431790590286,
0.014658888801932335,
-0.009821283631026745,
0.034267086535692215,
-0.026568161323666573,
0.007368111051619053,
-0.037944696843624115,
0.055164165794849396,
0.00811136607080698,
0.005061011295765638,
-0.011187499389052391,
0.020587747916579247,
-0.04138171672821045,
-0.05767318978905678,
0.008936251513659954,
0.03172369301319122,
0.021240781992673874,
-0.047912053763866425,
-0.027100900188088417,
0.013455932028591633,
0.06131643056869507,
-0.04175978899002075,
-0.0016519175842404366,
-0.05506105348467827,
-0.06554396450519562,
0.03629492595791817,
0.020398711785674095,
0.08104492723941803,
0.029884885996580124,
-0.010396984405815601,
0.008051218464970589,
-0.009950172156095505,
-0.009357285685837269,
0.037979066371917725,
0.00417597871273756,
0.057192008942365646,
-0.014942442998290062,
-0.0020847672130912542,
-0.0014478445518761873,
0.0156298466026783,
-0.03005673736333847,
0.006268264725804329,
0.044234443455934525,
-0.06121332198381424,
-0.0010053282603621483,
-0.012845860794186592,
0.01592199318110943,
0.01938479021191597,
0.018937978893518448,
-0.018181834369897842,
-0.039456985890865326,
-0.020725227892398834,
0.03705107048153877,
0.007986774668097496,
-0.0004946085973642766,
-0.026430681347846985,
0.0382540300488472,
0.013516079634428024,
0.05117722228169441,
-0.04619354382157326,
0.013335635885596275,
0.06379108875989914,
0.0570201575756073,
0.027599267661571503,
-0.026877494528889656,
-0.03302975744009018,
0.0005163585301488638,
0.016858581453561783,
-0.06688440591096878,
0.019487900659441948,
-0.04038498178124428,
-0.030073922127485275,
0.00927136093378067,
0.0011589201167225838,
-0.024402840062975883,
-0.05196773633360863,
0.029781775549054146,
0.05409868806600571,
0.003845165716484189,
-0.020312786102294922,
-0.028235116973519325,
-0.05949481204152107,
0.03131124749779701,
0.028235116973519325,
0.019041089341044426,
0.03167213499546051,
-0.015655623748898506,
0.011806163005530834,
0.027358677238225937,
-0.02192818559706211,
0.007767664268612862,
-0.030709771439433098,
0.008343365043401718,
0.04282526671886444,
-0.017442874610424042,
0.004034201614558697,
-0.0034284270368516445,
0.04344392940402031,
-0.026327570900321007,
0.03928513452410698,
-0.04255030304193497,
-0.026843123137950897,
-0.03983505815267563,
-0.056745193898677826,
-0.024712171405553818,
-0.03148309886455536,
0.011651496402919292,
-0.04186290130019188,
-0.02596668340265751,
-0.05873866751790047,
0.014968221075832844,
0.028974076732993126,
0.00914247240871191,
-0.005331676919013262,
0.00014486501459032297,
0.013696523383259773,
0.04980241507291794,
-0.03060666099190712,
0.04186290130019188,
-0.05547349900007248,
0.03318442404270172,
-0.008807362988591194,
-0.07300230115652084,
-0.01238186378031969,
0.05183025822043419,
0.049355603754520416,
0.025244910269975662,
0.014968221075832844,
-0.03859772905707359,
0.04275652393698692,
0.0076774428598582745,
0.013009119778871536,
0.029369333758950233,
0.010431354865431786,
0.03553878515958786,
-0.011703051626682281,
0.03258294612169266,
-0.029661480337381363,
0.015535328537225723,
-0.012493566609919071,
-0.06104147061705589,
-0.0783640518784523,
-0.08104492723941803,
-0.010843796655535698,
0.021601669490337372,
-0.01880049705505371,
-0.037875957787036896,
0.0023479140363633633,
0.004635680466890335,
-0.005000863689929247,
0.047327760607004166,
0.04337518662214279,
0.01648050919175148,
-0.01270837988704443,
-0.005189899820834398,
-0.024660615250468254,
-0.04866819828748703,
-0.029180297628045082,
-0.0879189595580101,
0.02450595051050186,
0.006092117168009281,
0.06313805282115936,
0.04299711436033249,
-0.013842596672475338,
-0.03428427129983902,
-0.044165704399347305,
-0.09018739312887192,
-0.007746182847768068,
0.04863382875919342,
-0.018937978893518448,
0.012648232281208038,
-0.004798938520252705,
-0.04145045578479767,
-0.010895352810621262,
0.018113093450665474,
-0.015440810471773148,
0.01585325412452221,
-0.023492028936743736,
-0.03722292184829712,
0.03474826738238335,
-0.05430490896105766,
-0.0008490512846037745,
0.0018613609718158841,
-0.03938824683427811,
0.03363123908638954,
0.02821793220937252,
-0.018714571371674538,
-0.003991239238530397,
0.011565571650862694,
0.002646505134180188,
-0.03129406273365021,
-0.0073809996247291565,
0.028819410130381584,
0.009099509567022324,
0.008751511573791504,
-0.016068067401647568,
-0.014057410880923271,
-0.03340782970190048,
0.002725986298173666,
-0.01990034431219101,
0.06729684770107269,
0.089774951338768,
0.01938479021191597,
-0.04134734719991684,
0.0002295821759616956,
0.07389592379331589,
0.011316386982798576,
0.022787440568208694,
-0.05647023394703865,
-0.009975949302315712,
-0.03663862869143486,
-0.03234235569834709,
-0.03376871719956398,
-0.004459532909095287,
0.02347484417259693,
-0.05585157126188278,
0.00268517155200243,
-0.05753570795059204,
0.039422616362571716,
-0.032359540462493896,
0.0028054672293365,
0.03392338380217552,
0.013146600686013699,
0.0017990650376304984,
0.01736554130911827,
0.03808217868208885,
0.023698249831795692,
-0.08035752177238464,
0.00561952730640769,
0.04657161608338356,
-0.019814418628811836,
0.031397175043821335,
-0.07623309642076492,
0.02416224777698517,
0.07417088747024536,
-0.01111016608774662,
-0.012218604795634747,
0.036329299211502075,
0.014487038366496563,
-0.0006132932030595839,
-0.039010174572467804,
0.020244045183062553,
0.07747042179107666,
0.014409705065190792,
0.049389973282814026,
-0.002708801068365574,
-0.018663017079234123,
-0.01935042068362236,
0.02302803099155426,
-0.018559906631708145,
-0.06166013330221176,
-0.03876958042383194,
-0.0027195417787879705,
0.03289227932691574,
-0.02644786611199379,
-0.04694968834519386,
0.032686058431863785,
-0.06214131414890289,
0.007436851505190134,
-0.05877303704619408,
-0.020467452704906464,
0.008373439311981201,
0.013971485197544098,
0.060491546988487244,
0.04255030304193497,
0.01707339473068714,
0.029695849865674973,
0.0071146306581795216,
0.027427416294813156,
-0.038460250943899155,
-0.0467090979218483,
0.04664035513997078,
0.008442179299890995,
-0.009082324802875519,
0.03454204648733139,
-0.025210538879036903,
0.03467952832579613,
-0.03626055642962456,
-0.06389419734477997,
0.08592548966407776,
0.018044352531433105,
0.028630373999476433,
0.0072177411057055,
-0.03321879357099533,
0.046812206506729126,
0.03711981326341629,
-0.061419542878866196,
-0.03629492595791817,
0.028406968340277672,
-0.0024531728122383356,
-0.00699003878980875,
-0.027461787685751915,
-0.02979896031320095,
-0.03653552010655403,
-0.02476372756063938,
-0.019487900659441948,
0.054682981222867966,
-0.030623845756053925,
-0.0412098653614521,
-0.08448194712400436,
0.004481014329940081,
-0.059288591146469116,
0.02741023153066635,
0.022529663518071175,
-0.03601996600627899,
-0.042619042098522186,
-0.01783813163638115,
-0.014212076552212238,
-0.06131643056869507,
-0.017571762204170227,
0.031070657074451447,
0.01864583231508732,
-0.010663353838026524,
0.057810671627521515,
-0.02302803099155426,
-0.09348693490028381,
-0.005971821490675211,
0.0017313986318185925,
-0.015990734100341797,
-0.019780049100518227,
-0.02744460292160511,
-0.010362613946199417,
-0.019281679764389992,
0.04292837530374527,
0.0015241034561768174,
-0.0025476908776909113,
0.01751161552965641,
-0.000982235767878592,
0.0356762632727623,
0.07272733747959137,
-0.021068930625915527,
-0.00596752529963851,
0.04096927493810654,
-0.006534633692353964,
0.001167512615211308,
0.05818874388933182,
-0.09843624383211136,
0.035779375582933426,
-0.04399385303258896,
0.01861146092414856,
0.054236169904470444,
0.027839859947562218,
-0.06296619772911072,
0.07313977926969528,
0.012167049571871758,
0.033235982060432434,
0.036913592368364334,
0.028424153104424477,
-0.07850152999162674,
-0.05698578432202339,
0.03808217868208885,
0.002127730054780841,
-0.02380136027932167,
0.024849651381373405,
0.002242655260488391,
-0.03667299821972847,
0.0296099241822958,
0.08028878271579742,
0.004541162401437759,
-0.012940378859639168,
-0.017417097464203835,
-0.03467952832579613,
0.0783640518784523,
0.04096927493810654,
0.014590148814022541,
-0.0041587939485907555,
0.04701842740178108,
0.037326034158468246,
-0.0218938160687685,
-0.08544430881738663,
0.009864246472716331,
-0.008764400146901608,
-0.007106038276106119,
0.029180297628045082,
0.012124086730182171,
-0.027461787685751915,
-0.051520925015211105,
-0.03938824683427811,
-0.008583956398069859,
-0.04251593351364136,
0.019041089341044426,
0.02515898458659649,
-0.0032222059089690447,
0.08633793145418167,
-0.07815782725811005,
0.011978013440966606,
-0.03653552010655403,
0.017047617584466934,
0.0007255333475768566,
-0.005009456072002649,
0.021464187651872635,
0.01983160339295864,
-0.02818356081843376,
0.010457132011651993,
-0.015217404812574387,
0.019848788157105446,
0.012691195122897625,
-0.03725729137659073,
-0.006384264212101698,
-0.021756334230303764,
-0.005451972596347332,
0.03543567284941673,
-0.030881620943546295,
0.010714909061789513,
-0.035366933792829514,
-0.07437710464000702,
-0.020295601338148117,
-0.013808226212859154,
0.001952656777575612,
0.020656488835811615,
-0.021051745861768723,
-0.02622446045279503,
-0.029042815789580345,
-0.0024725061375647783,
0.06396293640136719,
-0.07176496833562851,
-0.04251593351364136,
0.003252279944717884,
-0.06324116140604019,
0.004407977685332298,
0.011488238349556923,
0.04086616262793541,
-0.039525724947452545,
0.03959446772933006,
0.042206600308418274,
-0.034198347479104996,
0.03390619903802872,
-0.03258294612169266,
0.06406604498624802,
-0.01592199318110943,
-0.035332560539245605,
0.059872884303331375,
-0.004079312551766634,
-0.07080260664224625,
-0.014822147786617279,
0.010087653063237667,
-0.03993816673755646,
0.02545113116502762,
0.032136134803295135,
0.01585325412452221,
0.025227723643183708,
-0.03777284547686577,
0.017485838383436203,
-0.03467952832579613,
-0.029884885996580124,
-0.014530000276863575,
-0.04347829893231392,
0.02493557706475258,
0.005473454017192125,
0.04086616262793541,
-0.016892950981855392,
-0.011677274480462074,
-0.03663862869143486,
0.052620772272348404,
0.020587747916579247,
-0.025244910269975662,
0.00621670950204134,
0.03938824683427811,
-0.03208457678556442,
0.02347484417259693,
0.035263821482658386,
0.03866647183895111,
-0.00039337764610536397,
0.05856681615114212,
0.020037824288010597,
0.050077375024557114,
0.004554050974547863,
0.010422762483358383,
-0.019109830260276794,
-0.028149191290140152,
-0.03777284547686577,
-0.033596865832805634,
-0.020398711785674095,
0.05193336680531502,
-0.024729356169700623,
0.05430490896105766,
0.046812206506729126
] |
17,939 | imodels.rule_set.slipper_util | predict_proba | null | def predict_proba(self, X):
proba = self.predict(X)
proba = proba.reshape(-1, 1)
proba = np.hstack([
np.zeros(proba.shape), proba
])
return proba
| (self, X) | [
0.0251288004219532,
0.011258330196142197,
-0.05018794536590576,
-0.03796312212944031,
0.024049116298556328,
-0.022499244660139084,
-0.015455170534551144,
-0.04872514680027962,
0.11625771224498749,
0.003273884067311883,
0.025807958096265793,
-0.03813726454973221,
-0.0063605643808841705,
0.019016390666365623,
-0.01090133748948574,
-0.02077523246407509,
0.05328768491744995,
-0.06262173503637314,
-0.04200323671102524,
0.03803278133273125,
0.040331464260816574,
0.04224703460931778,
-0.036987923085689545,
0.0016064670635387301,
-0.024066530168056488,
-0.02800215594470501,
-0.016247520223259926,
-0.04214254766702652,
0.04607817530632019,
-0.005589982960373163,
0.01225094310939312,
0.004893411882221699,
-0.020061247050762177,
-0.028959941118955612,
0.03247762471437454,
0.04189874976873398,
0.02474568784236908,
0.0183720625936985,
0.06262173503637314,
-0.06540802121162415,
-0.05443703010678291,
-0.08839486539363861,
-0.08031464368104935,
0.013200021348893642,
0.012799493037164211,
-0.03932143747806549,
-0.009421123191714287,
0.06283070892095566,
0.005041433032602072,
0.02779318578541279,
-0.004797633271664381,
0.007958324626088142,
0.029865484684705734,
-0.009098959155380726,
-0.005250404588878155,
0.04875997453927994,
0.00800621323287487,
0.02114093117415905,
-0.020061247050762177,
-0.022986844182014465,
0.05241697281599045,
0.02835044264793396,
0.03479372337460518,
-0.003990046214312315,
0.04917791858315468,
-0.023491859436035156,
0.00447546923533082,
0.010997115634381771,
0.03446285426616669,
-0.006991832051426172,
-0.014723771251738071,
-0.009281809441745281,
-0.030266012996435165,
0.005389718804508448,
0.02469344437122345,
0.03254728391766548,
0.013435114175081253,
-0.027253342792391777,
0.030771026387810707,
0.03425388038158417,
-0.03167656809091568,
-0.0070745497941970825,
-0.043953634798526764,
-0.004645258188247681,
-0.009821651503443718,
-0.04670508950948715,
0.015655433759093285,
-0.020496603101491928,
-0.025982100516557693,
0.018424304202198982,
-0.005232990253716707,
0.06485076248645782,
0.03183329850435257,
0.064467653632164,
0.026939885690808296,
-0.0000827178155304864,
0.02164594642817974,
0.0504317432641983,
0.005598689895123243,
-0.0016739473212510347,
-0.04116734862327576,
0.06613942235708237,
-0.04569506272673607,
0.022307688370347023,
-0.009307931177318096,
0.07202544808387756,
0.016552269458770752,
0.05913888290524483,
-0.01394883543252945,
-0.01746651902794838,
0.004967422224581242,
0.004081470891833305,
0.009072838351130486,
-0.04318740591406822,
-0.028925113379955292,
-0.03284332528710365,
-0.03963489457964897,
0.04611300304532051,
-0.01215516496449709,
0.0325821116566658,
0.025947272777557373,
0.03460216894745827,
-0.023944629356265068,
0.0027166272047907114,
-0.06098479777574539,
0.009839066304266453,
0.05196420103311539,
0.0029800180345773697,
-0.0010203677229583263,
-0.01636071316897869,
-0.04026180878281593,
-0.000674259033985436,
-0.06349245458841324,
0.004231669008731842,
-0.007588271051645279,
-0.06108928099274635,
0.015359391458332539,
-0.04364017769694328,
0.08637481182813644,
-0.04478951916098595,
0.030805855989456177,
-0.006334443110972643,
0.0573626272380352,
0.014288414269685745,
0.04694889113306999,
-0.031049655750393867,
0.10211731493473053,
0.03573409467935562,
0.026104001328349113,
-0.017048576846718788,
0.01819791831076145,
-0.0034741482231765985,
0.01575121283531189,
-0.08247401565313339,
0.020235389471054077,
0.018807418644428253,
-0.016665462404489517,
-0.054854970425367355,
0.040819063782691956,
-0.04952620342373848,
-0.03200744092464447,
0.031171554699540138,
-0.019347261637449265,
-0.015524827875196934,
0.012111629359424114,
0.027410071343183517,
0.02476310171186924,
0.05067554488778114,
0.024188430979847908,
-0.030823269858956337,
0.029412712901830673,
-0.062203794717788696,
0.012259650975465775,
0.015133006498217583,
0.008711491711437702,
0.029360469430685043,
0.004510297439992428,
-0.005328768398612738,
0.009995794855058193,
0.06088031083345413,
0.03900798037648201,
-0.010718487203121185,
-0.005337475799024105,
-0.058233339339494705,
-0.003108448348939419,
-0.027462314814329147,
0.017144355922937393,
0.026086585596203804,
-0.022708216682076454,
0.02182008884847164,
-0.058337826281785965,
-0.017039868980646133,
0.008815977722406387,
0.04687923192977905,
0.019382089376449585,
0.013809521682560444,
-0.003911681938916445,
0.019242774695158005,
-0.010300545021891594,
-0.02533777244389057,
0.008210831321775913,
-0.044719863682985306,
-0.012268357910215855,
0.03751035034656525,
-0.04928240180015564,
-0.03879900649189949,
-0.047645460814237595,
-0.013487356714904308,
0.019678132608532906,
-0.08268298208713531,
0.03608237951993942,
-0.003191166091710329,
0.04677474498748779,
-0.07376687228679657,
0.03963489457964897,
0.054402198642492294,
0.0708761066198349,
-0.016116913408041,
0.013417700305581093,
-0.026434872299432755,
-0.009952259249985218,
-0.022743044421076775,
-0.04322223365306854,
0.03272142633795738,
0.008885634131729603,
-0.032825909554958344,
-0.033626966178417206,
-0.004159835167229176,
0.0037070640828460455,
-0.03514200821518898,
-0.012520864605903625,
-0.0042991493828594685,
-0.02889028564095497,
-0.057919882237911224,
0.08247401565313339,
0.04454571753740311,
-0.011197379790246487,
-0.023039087653160095,
-0.06624390929937363,
0.014001077972352505,
0.03893832117319107,
0.011545665562152863,
0.013191314414143562,
0.00306055904366076,
0.00782336387783289,
0.05746711418032646,
0.04301326349377632,
0.00612111808732152,
0.0007319438154809177,
0.006238664500415325,
-0.01237284392118454,
0.04214254766702652,
-0.005263464991003275,
0.0031781054567545652,
0.013217436149716377,
-0.023160988464951515,
0.031067069619894028,
0.030509812757372856,
0.01701374724507332,
0.048690315335989,
-0.02808922715485096,
-0.04259531944990158,
0.009586559608578682,
-0.0062125432305037975,
0.044267091900110245,
0.029900312423706055,
0.003863792633637786,
0.027148857712745667,
0.02134990319609642,
0.02093196101486683,
0.09076321125030518,
-0.00009577852324582636,
-0.01615174114704132,
-0.055272914469242096,
0.03190295398235321,
0.04256049171090126,
-0.004710561595857143,
0.014958863146603107,
0.05419322848320007,
0.03550770878791809,
0.008219538256525993,
-0.054785314947366714,
0.029639098793268204,
-0.0120855076238513,
0.010387616232037544,
-0.02147180214524269,
0.009882601909339428,
-0.015846991911530495,
0.044267091900110245,
-0.0023531040642410517,
0.026104001328349113,
0.05948716774582863,
-0.026330385357141495,
0.005729297176003456,
0.03472406789660454,
0.015063349157571793,
0.020357288420200348,
0.022255444899201393,
0.033957839012145996,
0.019939346238970757,
0.034201640635728836,
0.051128316670656204,
-0.03489821031689644,
-0.055098772048950195,
-0.047401659190654755,
0.007448956836014986,
0.05589982867240906,
-0.0043883975595235825,
-0.07578693330287933,
-0.014131685718894005,
-0.007292228285223246,
0.0421077199280262,
0.02154145948588848,
0.040958378463983536,
-0.0941067487001419,
-0.03507235273718834,
0.08233469724655151,
0.020566260442137718,
0.054367370903491974,
-0.01622139848768711,
-0.015220077708363533,
-0.030266012996435165,
0.023195816203951836,
-0.005415840074419975,
0.04189874976873398,
0.013147778809070587,
0.0016695937374606729,
-0.01590794138610363,
-0.05227765813469887,
-0.013382871635258198,
0.02086230367422104,
-0.03298263996839523,
-0.023178402334451675,
0.0767621323466301,
-0.06060168147087097,
0.03545546531677246,
-0.013678913936018944,
0.006094996817409992,
0.005733650643378496,
-0.0007243250729516149,
-0.06129825487732887,
-0.054402198642492294,
-0.04607817530632019,
0.026643842458724976,
0.01784963347017765,
-0.03453250974416733,
-0.029900312423706055,
0.048028573393821716,
-0.025895029306411743,
0.009203445166349411,
-0.0074663711711764336,
-0.026034343987703323,
0.04524229094386101,
0.05987028405070305,
0.003992222715169191,
-0.04572989046573639,
0.005254758056253195,
0.00882033072412014,
0.015133006498217583,
0.010465980507433414,
0.0047453902661800385,
0.003774544456973672,
-0.03468924015760422,
-0.009952259249985218,
-0.01812826097011566,
0.0016717705875635147,
-0.05938268452882767,
0.06401488184928894,
0.005929561331868172,
0.02897735685110092,
0.014610578306019306,
0.036848608404397964,
-0.07557795941829681,
0.05711882561445236,
0.0005447403527796268,
0.004225139040499926,
-0.029604269191622734,
-0.03615203872323036,
0.02138473093509674,
-0.041237007826566696,
-0.030579470098018646,
-0.03291298449039459,
-0.003411021316424012,
-0.006016632542014122,
-0.009786823764443398,
0.05057105794548988,
0.04127183556556702,
-0.0570143423974514,
0.051615916192531586,
-0.03632618114352226,
-0.03629135340452194,
-0.022777874022722244,
-0.036709293723106384,
-0.033888183534145355,
-0.014924035407602787,
-0.026765743270516396,
0.019416918978095055,
0.03232089802622795,
0.012520864605903625,
0.005829429253935814,
-0.033539894968271255,
-0.013043292798101902,
-0.012512157671153545,
-0.018842246383428574,
-0.04597368836402893,
-0.0701795369386673,
-0.005929561331868172,
0.018598446622490883,
-0.012973636388778687,
0.036709293723106384,
-0.05603914335370064,
0.07167716324329376,
0.05349665880203247,
-0.06648770719766617,
0.013243556953966618,
0.036569979041814804,
0.004122829996049404,
-0.003202049992978573,
0.007875606417655945,
-0.023596344515681267,
0.01066624466329813,
0.033226437866687775,
-0.03970455005764961,
-0.01263405755162239,
-0.016813483089208603,
0.050954174250364304,
0.0033979606814682484,
0.040505606681108475,
0.036987923085689545,
0.023666001856327057,
-0.008236953057348728,
-0.03615203872323036,
-0.00036950918729417026,
-0.05565602704882622,
-0.04715786129236221,
-0.01771031878888607,
0.0062125432305037975,
-0.004262144211679697,
-0.012712421827018261,
0.019173119217157364,
0.013774693012237549,
0.040366291999816895,
0.04963068664073944,
0.07167716324329376,
0.033818524330854416,
0.0065695359371602535,
-0.03886866569519043,
-0.05966131016612053,
-0.008236953057348728,
-0.01751876249909401,
0.01051822304725647,
0.007209510542452335,
0.08616583794355392,
-0.007714524399489164,
0.04485917463898659,
-0.01814567670226097,
-0.054854970425367355,
-0.058407481759786606,
-0.008458985015749931,
0.020461775362491608,
0.011484715156257153,
0.003045321675017476,
0.0343061238527298,
-0.0039182123728096485,
-0.0036591747775673866,
-0.06704496592283249,
-0.014854378066956997,
0.019120875746011734,
-0.03751035034656525,
0.007766767404973507,
0.019295018166303635,
-0.01231189351528883,
0.009647509083151817,
-0.050849687308073044,
-0.008572177961468697,
0.026243314146995544,
0.040505606681108475,
0.018563618883490562,
0.04611300304532051,
0.015437755733728409,
-0.025372600182890892,
-0.026939885690808296,
0.0013822582550346851,
0.05050140246748924,
-0.003763660555705428,
0.009769408963620663,
0.0035721035674214363,
-0.01229447964578867,
-0.017161769792437553,
-0.02072298899292946,
0.008241306059062481,
0.0313631109893322,
0.009926137514412403,
0.10406771302223206,
-0.05231248587369919,
-0.006530353799462318,
0.048028573393821716,
-0.01790187694132328,
-0.020165732130408287,
0.00708761066198349,
0.006473757326602936,
0.011014529503881931,
-0.004536419175565243,
-0.04552092030644417,
-0.051929373294115067,
0.0049630687572062016,
-0.04593886062502861,
0.027201099321246147,
-0.03179847076535225,
0.03590823709964752,
-0.054541513323783875,
-0.03176363930106163,
-0.04249083623290062,
-0.026156242936849594,
-0.004192486871033907,
0.06147239729762077,
0.051197972148656845,
0.03597789630293846,
-0.03503752499818802,
-0.012834321707487106,
0.034149397164583206,
0.019486576318740845,
0.02110610343515873,
-0.005372304469347,
-0.0076143923215568066,
0.08609618246555328,
0.04538160562515259,
-0.047610633075237274,
-0.006077582482248545,
0.0435008630156517,
-0.005886025261133909,
-0.058546796441078186,
0.033261269330978394,
0.062064480036497116,
-0.0005730385310016572,
0.026974713429808617,
0.02143697440624237,
-0.02516363002359867,
0.05245180055499077,
-0.003635230241343379,
0.012111629359424114,
-0.030474983155727386,
0.010187352076172829,
0.04189874976873398,
0.005655286367982626,
0.022116132080554962,
-0.051128316670656204,
0.03458475321531296,
-0.09152943640947342,
-0.007183389272540808,
-0.07007504999637604,
-0.004471115302294493,
0.022847531363368034,
0.02051401697099209,
0.0630745068192482,
0.023230645805597305,
0.02791508473455906,
0.00545502221211791,
0.0047758654691278934,
0.03402749449014664,
-0.013678913936018944,
-0.09647509455680847,
0.020531432703137398,
-0.019086046144366264,
-0.05764125660061836,
0.05384494364261627,
-0.05433254316449165,
0.09884343296289444,
-0.007196449674665928,
-0.033435411751270294,
0.05363597348332405,
0.005933914799243212,
-0.06756739318370819,
-0.013147778809070587,
0.006094996817409992,
-0.02175043150782585,
0.03212933987379074,
-0.04144597798585892,
-0.05360114201903343,
0.0355251245200634,
-0.018633276224136353,
-0.000537665793672204,
-0.05196420103311539,
-0.05081485956907272,
-0.012189993634819984,
-0.010152523405849934,
-0.06094996631145477,
0.016212690621614456,
0.005846843123435974,
-0.083170585334301,
-0.0639452263712883,
0.03540322557091713,
0.0033065357711166143,
0.005707528907805681,
0.0325821116566658,
-0.018598446622490883,
-0.018284989520907402,
-0.0058555505238473415,
-0.007192096207290888,
-0.06007925420999527,
0.044719863682985306,
0.01426229253411293,
0.047088202089071274,
0.03279108181595802,
0.04329189285635948,
-0.04269980639219284,
-0.05663122609257698,
0.018859662115573883,
0.028942527249455452,
-0.01083168014883995,
0.006674021482467651,
-0.029168913140892982,
-0.03615203872323036,
0.0022246737498790026,
-0.058755770325660706,
0.011876536533236504,
-0.029743583872914314,
0.011806879192590714,
-0.030353084206581116,
0.03660481050610542,
0.03531615436077118,
-0.029935142025351524,
0.026800571009516716,
0.040714576840400696,
-0.012668886221945286,
-0.007318349555134773,
0.013739864341914654,
-0.06735841929912567,
0.023578930646181107,
-0.01394012849777937,
0.05067554488778114,
0.02098420262336731,
0.04492883384227753,
-0.023561516776680946,
0.040192149579524994,
-0.0017000687075778842,
-0.030422741547226906,
0.051232799887657166,
0.0025294236838817596,
-0.07188613712787628,
-0.08163812756538391,
-0.030405327677726746,
-0.004140244331210852,
-0.029464956372976303,
0.012921392917633057,
-0.05945234000682831,
-0.041062865406274796,
0.005254758056253195,
0.02866389974951744,
-0.040366291999816895,
0.019573647528886795,
-0.10281389206647873,
-0.010108987800776958,
0.051372114568948746,
0.007109378464519978,
0.0029517197981476784,
-0.014053321443498135,
0.06694047898054123,
-0.031711395829916,
-0.011763343587517738,
-0.03564702346920967,
-0.03799794986844063,
-0.030266012996435165,
-0.006290907505899668,
0.06530353426933289,
0.06990090757608414,
-0.029325641691684723,
-0.061402738094329834,
-0.030683955177664757,
0.005542093422263861,
-0.00005101838905829936,
0.03272142633795738,
-0.003961747977882624,
-0.04687923192977905,
0.09508194774389267,
-0.0495610311627388,
-0.013574428856372833,
0.015864405781030655,
0.011806879192590714,
-0.0035394516307860613,
0.03949557989835739,
-0.011188672855496407,
0.054889798164367676,
-0.047645460814237595,
0.025825371965765953,
-0.04705337435007095,
0.014741185121238232,
-0.00006860272696940228,
-0.023770486935973167,
0.0062125432305037975,
0.037545181810855865,
-0.033574726432561874,
0.037719324231147766,
-0.025424843654036522,
-0.04217737913131714,
0.030544640496373177,
0.022081302478909492,
-0.0001156416765297763,
-0.01231189351528883,
-0.03594306856393814,
-0.009943552315235138,
-0.013260971754789352,
-0.06335313618183136,
0.015141713432967663,
-0.029203740879893303,
0.0930618941783905,
-0.033557310700416565,
-0.04628714546561241,
-0.03512459620833397,
-0.022307688370347023,
-0.016735119745135307,
0.018563618883490562,
0.019277604296803474,
-0.05360114201903343,
0.026939885690808296,
0.06046236678957939,
-0.02525070123374462,
0.01247732900083065,
-0.04339637607336044,
0.03449768200516701,
-0.018911903724074364,
0.03625652194023132,
0.021228002384305,
0.0344802662730217,
-0.07794630527496338,
-0.019625889137387276,
0.0649900808930397,
-0.07237373292446136,
-0.020426945760846138,
-0.0012723305262625217,
-0.008894341997802258,
0.014471263624727726,
-0.01393142156302929,
0.0005395704647526145,
0.005333122331649065,
-0.03458475321531296,
-0.025372600182890892,
-0.06467662006616592,
0.011981022544205189,
-0.009177323430776596,
-0.01727496273815632,
-0.03583858162164688,
0.048237547278404236,
0.0017751677660271525,
0.012816907837986946,
0.005437607876956463,
-0.00022298436670098454,
-0.040644921362400055,
0.009699751622974873,
-0.04865548759698868,
0.003467617789283395,
0.0431525781750679,
0.009743288159370422,
-0.023143572732806206,
0.03162432461977005,
-0.008202124387025833,
0.02822854183614254,
-0.006708850152790546,
-0.03970455005764961,
-0.039913520216941833,
-0.07843390107154846,
0.002035293495282531,
-0.036953095346689224,
-0.0019591061864048243,
0.03451509773731232,
-0.02446705847978592,
0.06453730911016464,
-0.0007934379973448813
] |
17,944 | imodels.rule_set.slipper | SlipperClassifier | null | class SlipperClassifier(BoostedRulesClassifier):
def __init__(self, n_estimators=10, **kwargs):
'''
An estimator that supports building rules as described in
A Simple, Fast, and Effective Rule Learner (1999).
Parameters
----------
n_estimators
'''
super().__init__(estimator=SlipperBaseEstimator(), n_estimators=n_estimators, **kwargs)
# super().__init__(n_estimators, SlipperBaseEstimator)
| (n_estimators=10, **kwargs) | [
-0.03681997209787369,
-0.02940496616065502,
-0.02018630877137184,
-0.013008144684135914,
-0.05895568057894707,
-0.008858838118612766,
-0.05848199501633644,
-0.002546061994507909,
0.010503075085580349,
0.029204560443758965,
-0.0005499767139554024,
0.04121067747473717,
-0.013809767551720142,
0.04616616293787956,
-0.021753115579485893,
-0.03694750368595123,
0.06631603091955185,
-0.003081236034631729,
-0.013117456808686256,
0.007806709036231041,
-0.0048734997399151325,
0.04441716521978378,
-0.022500082850456238,
0.028038565069437027,
0.02107902429997921,
0.06427554041147232,
-0.004946374334394932,
-0.016806742176413536,
-0.006631603464484215,
0.016642773523926735,
-0.06985045969486237,
-0.006754579488188028,
-0.051595330238342285,
0.0572795607149601,
0.0647856593132019,
-0.03651025518774986,
-0.01475713960826397,
0.0815468579530716,
-0.09765218198299408,
0.07994361221790314,
-0.005360849667340517,
-0.05068439617753029,
0.005593137815594673,
-0.02124299295246601,
-0.01590491645038128,
-0.0023411016445606947,
-0.0010168306762352586,
0.04656697064638138,
0.02142518013715744,
-0.03767625242471695,
-0.031409021466970444,
-0.03547178953886032,
0.04503660276532173,
0.007966122590005398,
-0.033321984112262726,
0.09925542771816254,
0.06675328314304352,
0.02053246460855007,
0.019876591861248016,
0.018674157559871674,
0.022627612575888634,
-0.0013481831410899758,
0.04612972214818001,
-0.06485854089260101,
0.011386681348085403,
-0.04864390194416046,
-0.0694132074713707,
0.004545563366264105,
0.011915023438632488,
0.03363170102238655,
0.026927223429083824,
-0.04612972214818001,
-0.011641742661595345,
0.0442349798977375,
0.01880168914794922,
0.0186923760920763,
-0.021989958360791206,
-0.021989958360791206,
0.05323501303792,
0.010220685042440891,
-0.016050666570663452,
-0.01853751763701439,
0.016050666570663452,
-0.02053246460855007,
-0.03448798134922981,
-0.0707249566912651,
0.036054786294698715,
-0.039461683481931686,
0.051595330238342285,
-0.003668788820505142,
-0.07323913276195526,
0.0309899915009737,
0.011259150691330433,
0.00025862001348286867,
0.012762192636728287,
0.06376541405916214,
0.01580471359193325,
-0.009728780947625637,
-0.009956514462828636,
-0.03742118924856186,
-0.05068439617753029,
0.05815405771136284,
-0.0314454585313797,
0.010202466510236263,
-0.010912995785474777,
-0.0035549220629036427,
-0.029350310564041138,
0.005151334684342146,
-0.012306725606322289,
-0.024959605187177658,
-0.040445491671562195,
0.026471756398677826,
-0.0344151072204113,
0.04776940494775772,
-0.04714997112751007,
-0.027164068073034286,
-0.009501047432422638,
-0.01720755361020565,
0.011086072772741318,
-0.008549120277166367,
-0.030443431809544563,
0.049226902425289154,
-0.037967748939991,
0.03638272359967232,
-0.011905914172530174,
0.007105289027094841,
0.01596868224442005,
0.039570994675159454,
0.028475813567638397,
-0.05287063866853714,
-0.001596412737853825,
-0.025524385273456573,
-0.032811861485242844,
-0.05403663590550423,
0.032793641090393066,
-0.026836130768060684,
0.023994015529751778,
0.02089683711528778,
-0.012962598353624344,
0.012270287610590458,
0.06704477965831757,
-0.005155889317393303,
0.04208517447113991,
-0.024376608431339264,
-0.011878586374223232,
0.04857102781534195,
-0.014948435127735138,
0.024868512526154518,
-0.007843146100640297,
0.009828983806073666,
0.0056477938778698444,
0.01633305661380291,
0.045619599521160126,
0.004682203289121389,
0.036674223840236664,
0.002416253788396716,
-0.02089683711528778,
-0.05039289593696594,
0.023465672507882118,
-0.030607400462031364,
0.00610326137393713,
-0.005798098165541887,
0.004149306565523148,
-0.03485235571861267,
-0.02457701414823532,
0.015440340153872967,
-0.04532810300588608,
-0.0507572703063488,
-0.01650613360106945,
0.01695249043405056,
-0.022554738447070122,
-0.05181395635008812,
-0.016296617686748505,
0.018400877714157104,
-0.017808768898248672,
0.027255160734057426,
0.01163263339549303,
0.06336460262537003,
0.012507131323218346,
0.037639815360307693,
0.015859369188547134,
-0.0019289038609713316,
-0.023228829726576805,
-0.0644577294588089,
0.013399846851825714,
0.005957511719316244,
0.03241105005145073,
0.022937331348657608,
-0.04310541972517967,
0.05403663590550423,
0.03971674665808678,
0.0010230933548882604,
0.0398624949157238,
0.012188304215669632,
0.01480268593877554,
-0.016879616305232048,
0.022245021536946297,
0.019348248839378357,
-0.009619468823075294,
0.07240107655525208,
0.006913993041962385,
0.05778968706727028,
0.03020658902823925,
0.008061770349740982,
0.009200438857078552,
0.0591743066906929,
-0.005124006886035204,
0.01453851442784071,
-0.0354900099337101,
-0.02381182834506035,
0.018747031688690186,
-0.02011343464255333,
0.00847624521702528,
0.04317829757928848,
0.022591175511479378,
-0.01137757208198309,
0.04277748614549637,
-0.012160975486040115,
0.00952837523072958,
-0.007437780499458313,
0.06562372297048569,
0.004823398310691118,
-0.00044664257438853383,
0.01685228943824768,
-0.017681239172816277,
0.03231995552778244,
0.04893540218472481,
-0.04179367423057556,
0.01650613360106945,
0.0013732337392866611,
-0.014037501066923141,
-0.06438485532999039,
0.024613451212644577,
0.024977823719382286,
-0.014110375195741653,
-0.04248598590493202,
-0.009245985187590122,
-0.002493683248758316,
-0.07425938546657562,
0.01905675046145916,
-0.011532430537045002,
0.011905914172530174,
-0.009519265964627266,
-0.016205525025725365,
-0.010594168677926064,
0.025050699710845947,
0.03607300668954849,
-0.016569899395108223,
0.029368529096245766,
0.0018856344977393746,
0.052469827234745026,
-0.038696497678756714,
-0.03753050044178963,
0.03476126119494438,
-0.01764480210840702,
-0.020313840359449387,
-0.002983310492709279,
-0.0572795607149601,
0.030589181929826736,
-0.04416210576891899,
-0.05403663590550423,
-0.0010367573704570532,
-0.024795638397336006,
0.033413078635931015,
-0.021006150171160698,
0.003516207216307521,
0.0197672788053751,
0.010029388591647148,
0.030771367251873016,
0.019257156178355217,
0.11127976328134537,
0.00709162512794137,
-0.02211748994886875,
0.03716612979769707,
-0.049919210374355316,
-0.0011773828882724047,
-0.04117424041032791,
0.005684231407940388,
0.011732836253941059,
-0.01633305661380291,
0.07458731532096863,
0.008936267346143723,
-0.022263240069150925,
-0.02712762914597988,
0.03487057238817215,
-0.013591143302619457,
0.017772331833839417,
0.012762192636728287,
-0.006253565661609173,
0.018510188907384872,
-0.022500082850456238,
0.017772331833839417,
0.03507097810506821,
0.00027000668342225254,
0.046311911195516586,
-0.02062355726957321,
0.010339106433093548,
0.006321885623037815,
0.011951460503041744,
-0.05403663590550423,
0.0280203465372324,
-0.07622700184583664,
-0.03405073285102844,
-0.006558728404343128,
-0.02827540785074234,
-0.013208550401031971,
0.05910143256187439,
-0.005602247081696987,
-0.01410126592963934,
0.0008226877544075251,
0.03242927044630051,
0.0760083794593811,
-0.038077063858509064,
-0.0203867144882679,
-0.030534524470567703,
-0.024813856929540634,
-0.012798629701137543,
-0.017444396391510963,
0.05538481846451759,
0.04503660276532173,
-0.05068439617753029,
0.013044582679867744,
-0.03250214457511902,
-0.028293626382946968,
-0.02809322066605091,
0.014738920144736767,
0.018838126212358475,
-0.0036050232592970133,
-0.05811762064695358,
0.005187772214412689,
-0.025615477934479713,
-0.02494138665497303,
0.05866418406367302,
-0.029915088787674904,
-0.08570072054862976,
0.021844210103154182,
0.04620260000228882,
0.048789653927087784,
0.022937331348657608,
-0.010694371536374092,
0.04365198314189911,
0.015039528720080853,
-0.023228829726576805,
0.03146367892622948,
-0.031664084643125534,
-0.01488467026501894,
-0.014511186629533768,
0.014811795204877853,
0.04576535150408745,
-0.001266198931261897,
0.01009315438568592,
-0.03237461298704147,
0.028494032099843025,
0.04106492921710014,
0.04208517447113991,
-0.017963629215955734,
-0.03323088958859444,
0.04372485727071762,
0.04259529709815979,
-0.09364406764507294,
-0.0011523321736603975,
-0.07506100088357925,
-0.015185278840363026,
0.07841324061155319,
0.036583129316568375,
-0.015185278840363026,
-0.002347933826968074,
-0.0011842148378491402,
0.01544944941997528,
-0.025688353925943375,
-0.009323414415121078,
-0.06059536337852478,
-0.014474749565124512,
-0.003211044240742922,
0.025342198088765144,
0.0312814898788929,
-0.025870541110634804,
-0.004265450872480869,
0.03960743173956871,
0.015786495059728622,
0.011842148378491402,
-0.00030260105268098414,
0.03756694123148918,
0.001043020049110055,
0.017699457705020905,
0.009719671681523323,
-0.011031417176127434,
0.0368928462266922,
0.10049429535865784,
-0.03891512379050255,
0.057826124131679535,
-0.03643738105893135,
-0.05523907020688057,
-0.0467127226293087,
-0.09269669651985168,
-0.020496027544140816,
0.01256178691983223,
-0.011341135017573833,
-0.026653943583369255,
-0.04602041095495224,
0.023228829726576805,
-0.04612972214818001,
0.03993536904454231,
0.004044549074023962,
0.005164998583495617,
-0.0075653111562132835,
0.011605305597186089,
0.029896870255470276,
0.00008148593769874424,
0.010694371536374092,
-0.01713467761874199,
0.008945376612246037,
0.011869477108120918,
-0.036127664148807526,
-0.023866483941674232,
-0.018328001722693443,
0.05476538464426994,
-0.0007839730242267251,
0.0069959769025444984,
-0.036674223840236664,
0.05214188992977142,
0.004065045155584812,
-0.0041105919517576694,
0.02854868769645691,
0.060558926314115524,
0.026307789608836174,
-0.049737025052309036,
-0.05104877054691315,
0.0280203465372324,
-0.013153894804418087,
-0.048352405428886414,
-0.0325203612446785,
-0.09925542771816254,
-0.007884138263761997,
-0.004625270143151283,
-0.034378670156002045,
-0.049664150923490524,
0.03756694123148918,
0.003734831465408206,
0.0036118554417043924,
-0.015413012355566025,
-0.028676219284534454,
0.03255679830908775,
0.01650613360106945,
0.02362964116036892,
-0.033158015459775925,
0.012835067696869373,
-0.014793576672673225,
-0.03583616390824318,
-0.06839296221733093,
0.0033294656313955784,
-0.027856377884745598,
0.04055480286478996,
0.06376541405916214,
-0.016752086579799652,
0.00042813923209905624,
0.016843179240822792,
-0.03275720402598381,
0.04682203382253647,
0.0022978323977440596,
0.04718640819191933,
-0.007178164087235928,
-0.013654908165335655,
0.03756694123148918,
-0.04591109976172447,
0.035417135804891586,
0.022190364077687263,
0.03100821003317833,
0.00472319545224309,
-0.002532397862523794,
0.03259323537349701,
-0.024121545255184174,
0.01967618614435196,
-0.04820665344595909,
-0.07149013876914978,
0.0725468248128891,
0.040445491671562195,
-0.03445154428482056,
0.008562784641981125,
0.009637687355279922,
0.0009889332577586174,
-0.05046577379107475,
-0.0016875062137842178,
0.04489085450768471,
-0.007879583165049553,
-0.04689490795135498,
-0.07218245416879654,
-0.031245054677128792,
-0.007337577641010284,
0.01382798608392477,
0.0014472472248598933,
-0.0015554206911474466,
0.02519644796848297,
0.049846336245536804,
0.01009315438568592,
0.059502243995666504,
0.05840912088751793,
0.011987898498773575,
0.04022686928510666,
-0.02512357383966446,
-0.00332718831487,
0.023921139538288116,
-0.030151931568980217,
-0.03836856037378311,
0.05549412965774536,
-0.0205506831407547,
-0.04467222839593887,
0.016487915068864822,
-0.06719052791595459,
0.026380663737654686,
0.0010976761113852262,
-0.013153894804418087,
0.007897802628576756,
0.05469250679016113,
-0.006800126284360886,
-0.03255679830908775,
-0.02266405150294304,
0.050720833241939545,
0.00013272601063363254,
0.011905914172530174,
0.08628372102975845,
0.005456497892737389,
0.016788523644208908,
-0.06088686361908913,
0.029277434572577477,
-0.00009251678420696408,
0.023028424009680748,
0.002022274537011981,
0.05899211764335632,
0.016351275146007538,
0.06278160959482193,
-0.019913028925657272,
-0.035963695496320724,
0.07841324061155319,
0.009164000861346722,
0.05764393508434296,
-0.011723726987838745,
-0.00791146606206894,
0.07484237849712372,
-0.02344745397567749,
0.02967824600636959,
-0.010912995785474777,
0.02862156182527542,
0.00874497089534998,
-0.0020723759662359953,
0.026635725051164627,
-0.04970058798789978,
0.026417100802063942,
-0.052469827234745026,
0.0026804248336702585,
0.009810764342546463,
-0.002120200078934431,
-0.06821077316999435,
-0.01207899209111929,
0.06711765378713608,
0.0005007293075323105,
-0.025360416620969772,
0.011450447142124176,
0.01625107228755951,
0.0504293330013752,
-0.033249109983444214,
-0.013991953805088997,
0.04558316245675087,
-0.014146813191473484,
0.004001279827207327,
0.01536746509373188,
-0.029878651723265648,
0.03884224593639374,
-0.07863187044858932,
-0.03208311274647713,
0.04055480286478996,
-0.02703653648495674,
-0.042376674711704254,
0.042558860033750534,
-0.06591521948575974,
0.04397991672158241,
0.02774706482887268,
-0.018227798864245415,
-0.07331200689077377,
-0.024722762405872345,
-0.005515708588063717,
0.011477774940431118,
-0.02659928798675537,
-0.06977758556604385,
-0.010539512149989605,
-0.013490940444171429,
-0.053526513278484344,
0.019439343363046646,
-0.0028352837543934584,
-0.004370208363980055,
-0.0009001171565614641,
0.013144784606993198,
-0.02195352129638195,
-0.06110548600554466,
-0.04529166594147682,
0.011924132704734802,
-0.05862774699926376,
-0.0803808644413948,
0.01667010225355625,
0.02177133411169052,
-0.025141792371869087,
0.06558728218078613,
0.005429169628769159,
0.030079057440161705,
0.0507572703063488,
-0.02335636131465435,
-0.014720701612532139,
0.013654908165335655,
0.0031654974445700645,
-0.014975763857364655,
-0.004691312555223703,
0.011514212004840374,
0.032283518463373184,
-0.04438072815537453,
-0.015085075981914997,
0.009510156698524952,
-0.03487057238817215,
-0.018728813156485558,
0.06340104341506958,
-0.05629575252532959,
-0.011404899880290031,
-0.03767625242471695,
-0.0137004554271698,
0.056332189589738846,
-0.06638890504837036,
-0.021753115579485893,
-0.008571893908083439,
-0.12279397249221802,
0.015868479385972023,
-0.055639881640672684,
0.029550716280937195,
-0.02809322066605091,
0.036929287016391754,
-0.08788695931434631,
0.01949399895966053,
0.009637687355279922,
0.04915402829647064,
0.05323501303792,
-0.01549499575048685,
-0.025870541110634804,
-0.0790691152215004,
-0.036856409162282944,
0.010685262270271778,
-0.024285513907670975,
-0.06252654641866684,
-0.08548209816217422,
-0.046676285564899445,
0.04532810300588608,
0.06551440805196762,
0.023994015529751778,
0.025141792371869087,
0.03703859820961952,
-0.04095561429858208,
0.019876591861248016,
-0.0022443148773163557,
-0.010348215699195862,
0.05112164467573166,
0.03645559772849083,
0.03355882689356804,
-0.052907075732946396,
-0.04591109976172447,
0.02916812337934971,
0.07418650388717651,
0.08263997733592987,
0.019913028925657272,
0.012762192636728287,
0.012224741280078888,
-0.027819940820336342,
-0.030589181929826736,
0.029550716280937195,
-0.027874596416950226,
0.038587186485528946,
-0.08708533644676208,
-0.028220750391483307,
0.02197173982858658,
-0.03898799791932106,
-0.02528754249215126,
-0.03731187805533409,
0.01651524193584919,
-0.002320605795830488,
0.018655939027667046,
0.01014781091362238,
-0.014001063071191311,
-0.04274104908108711,
0.02501426264643669,
0.0368928462266922,
-0.023848265409469604,
0.03151833266019821,
-0.05476538464426994,
-0.04725928232073784,
0.012634661979973316,
0.0120698818936944,
0.02618025802075863,
0.016105322167277336,
0.029477840289473534,
0.014693373814225197,
-0.08242135494947433,
-0.08759546279907227,
0.0008642491302452981,
-0.04478153958916664,
0.03432401269674301,
-0.014392765238881111,
-0.0467127226293087,
0.013982844538986683,
-0.013554705306887627,
0.06383828818798065,
-0.03323088958859444,
-0.01860128343105316,
0.04583822563290596,
-0.055202633142471313,
0.008854283951222897,
0.02862156182527542,
0.016196414828300476,
-0.04714997112751007,
0.048352405428886414,
0.009318860247731209,
0.01687050797045231,
0.0004722626181319356,
-0.045182351022958755,
-0.004695867653936148,
0.021552709862589836,
-0.017417067661881447,
0.010821902193129063,
0.0013083297526463866,
0.004591110162436962,
-0.0373847521841526,
0.025615477934479713,
-0.008339605294167995,
0.026453537866473198,
-0.01905675046145916,
0.040008243173360825,
-0.022463645786046982,
-0.07334844768047333,
-0.04223092272877693,
0.01488467026501894,
-0.012898832559585571,
0.01748994179069996,
-0.03804062679409981,
0.06682615727186203,
0.0002714300062507391,
0.03188270702958107,
-0.05013783648610115,
-0.023574985563755035,
-0.011341135017573833,
-0.001324271084740758,
0.04776940494775772,
0.01730775646865368,
0.04011755436658859,
0.04467222839593887,
-0.014064828865230083,
0.0014381378423422575,
-0.0016317114932462573,
0.030862461775541306,
-0.0028785530012100935,
0.0056250207126140594,
-0.056150004267692566,
0.06576947122812271,
-0.0312814898788929,
-0.0407734289765358,
-0.05742531269788742,
0.018063832074403763,
-0.06897596269845963,
0.049044713377952576,
-0.015185278840363026,
0.06751846522092819,
0.005684231407940388,
0.059429366141557693,
0.005365404300391674
] |
17,947 | imodels.rule_set.slipper | __init__ |
An estimator that supports building rules as described in
A Simple, Fast, and Effective Rule Learner (1999).
Parameters
----------
n_estimators
| def __init__(self, n_estimators=10, **kwargs):
'''
An estimator that supports building rules as described in
A Simple, Fast, and Effective Rule Learner (1999).
Parameters
----------
n_estimators
'''
super().__init__(estimator=SlipperBaseEstimator(), n_estimators=n_estimators, **kwargs)
# super().__init__(n_estimators, SlipperBaseEstimator)
| (self, n_estimators=10, **kwargs) | [
-0.035874947905540466,
-0.0298057422041893,
0.005231763236224651,
-0.00733437342569232,
-0.05147118493914604,
0.0065059359185397625,
-0.043222825974226,
-0.01286779623478651,
-0.015407136641442776,
0.045023780316114426,
0.009635088965296745,
0.06728353351354599,
-0.007194799836724997,
0.0517953559756279,
-0.027554553002119064,
-0.03153465315699577,
0.0626370832324028,
0.003590646432712674,
0.002116117626428604,
0.03261522576212883,
-0.013065900653600693,
0.0089012011885643,
-0.03259721398353577,
0.005677498411387205,
0.015416141599416733,
0.07200202345848083,
0.006001669447869062,
-0.04012519121170044,
-0.011553101241588593,
0.020080605521798134,
-0.07419918477535248,
-0.03085029311478138,
-0.058999158442020416,
0.06422191858291626,
0.06472618132829666,
-0.028923274949193,
-0.03643324226140976,
0.07816127687692642,
-0.1020779088139534,
0.08975940197706223,
-0.014830832369625568,
-0.056009579449892044,
0.00885617733001709,
-0.020837005227804184,
-0.025267343968153,
-0.006771576125174761,
0.003635670058429241,
0.04286263883113861,
0.005348824895918369,
-0.04257448390126228,
-0.01817159727215767,
-0.029247445985674858,
0.04949013888835907,
0.016802873462438583,
-0.0310664065182209,
0.1071205735206604,
0.08514896780252457,
0.02766260877251625,
0.036541298031806946,
0.01725311204791069,
0.015272065997123718,
-0.005740531720221043,
0.04412330314517021,
-0.039260733872652054,
-0.008419446647167206,
-0.045275911688804626,
-0.06724751740694046,
-0.00022413399710785598,
-0.0024628005921840668,
0.04041334241628647,
0.041998181492090225,
-0.0338398702442646,
-0.032885368913412094,
0.029787732288241386,
0.01796448789536953,
0.038216184824705124,
-0.053992513567209244,
-0.018243635073304176,
0.0502825565636158,
0.011670163832604885,
0.0005948766483925283,
-0.0089012011885643,
-0.023934639990329742,
-0.005889110267162323,
-0.028437018394470215,
-0.07077737897634506,
0.01993652991950512,
-0.05085885897278786,
0.06840012222528458,
0.011895282194018364,
-0.07909777760505676,
0.03962092474102974,
0.01608249358832836,
-0.00828887801617384,
0.025969715788960457,
0.058999158442020416,
0.00025382154854014516,
-0.012273482047021389,
-0.019288185983896255,
-0.038216184824705124,
-0.032507166266441345,
0.05359630659222603,
-0.012237463146448135,
0.02497919276356697,
-0.008829163387417793,
-0.024060707539319992,
-0.027014266699552536,
0.015263061039149761,
0.001167241483926773,
-0.014821828342974186,
-0.06443803012371063,
0.03320953994989395,
-0.06948069483041763,
0.04880577698349953,
-0.0512910895049572,
0.0005270596011541784,
-0.0030886312015354633,
-0.027248390018939972,
0.021881556138396263,
-0.009752150624990463,
-0.020494824275374413,
0.08903902769088745,
-0.03504651039838791,
0.03018394112586975,
-0.0034150537103414536,
-0.00488958228379488,
0.00864456593990326,
0.028635123744606972,
0.0052047488279640675,
-0.06901244819164276,
0.024655021727085114,
-0.03547873720526695,
-0.03915267810225487,
-0.0414578951895237,
0.023988669738173485,
-0.01805453561246395,
0.028004789724946022,
0.024294830858707428,
-0.019000034779310226,
0.008410441689193249,
0.032579205930233,
0.002717185067012906,
0.017649320885539055,
-0.012390543706715107,
0.0018223373917862773,
0.04340292140841484,
-0.020458804443478584,
0.023808574303984642,
0.002225300297141075,
0.00717679038643837,
-0.001932645682245493,
0.012732724659144878,
0.03265124559402466,
-0.02056686207652092,
0.04819345101714134,
-0.008050251752138138,
0.005587450694292784,
-0.03441617637872696,
0.03958490490913391,
-0.013714242726564407,
-0.009977268986403942,
-0.009743145667016506,
0.027968771755695343,
-0.020386766642332077,
-0.021791508421301842,
0.029625646770000458,
-0.0666712075471878,
-0.04257448390126228,
-0.036829449236392975,
0.019792452454566956,
-0.025915686041116714,
-0.0515432208776474,
-0.03166072070598602,
-0.004025125876069069,
-0.016775859519839287,
0.03954888880252838,
0.024168765172362328,
0.07084941864013672,
0.0018943754257634282,
0.02933749370276928,
-0.0031021384056657553,
-0.01708202250301838,
-0.03362375870347023,
-0.0502825565636158,
0.004590174183249474,
0.0020902289543300867,
0.029517589136958122,
0.005569441244006157,
-0.04570813849568367,
0.048625681549310684,
0.024871135130524635,
0.006384371779859066,
0.020098615437746048,
0.004988634493201971,
-0.0023074685595929623,
-0.025537487119436264,
0.008779636584222317,
0.0008239351445809007,
0.0015037942212074995,
0.06937263906002045,
0.0022691984195262194,
0.05438872426748276,
0.03524461388587952,
0.0024898150004446507,
0.008617551065981388,
0.04869771748781204,
-0.022475870326161385,
0.014425618574023247,
-0.012642676942050457,
0.008721105754375458,
0.020963070914149284,
-0.028364980593323708,
0.031174464151263237,
0.040233246982097626,
0.01767633482813835,
-0.017055006697773933,
0.03929675370454788,
-0.01863984391093254,
0.03245313838124275,
-0.006654514465481043,
0.10265421867370605,
-0.014335570856928825,
0.018693873658776283,
0.022187717258930206,
0.007789113558828831,
0.021629422903060913,
0.054424744099378586,
-0.06220485270023346,
-0.005425365176051855,
-0.011571111157536507,
-0.019882500171661377,
-0.0583508163690567,
0.01968439668416977,
0.012471586465835571,
-0.027212372049689293,
-0.03749580308794975,
-0.011589120142161846,
-0.01064362097531557,
-0.07938592880964279,
-0.001324824639596045,
-0.026203839108347893,
0.016388654708862305,
-0.023808574303984642,
0.0043042730540037155,
-0.008599542081356049,
0.0028522564098238945,
0.014029409736394882,
-0.005965650547295809,
0.020927052944898605,
0.004509131424129009,
0.06285319477319717,
-0.035154566168785095,
-0.04970625042915344,
0.0251412782818079,
-0.007433425635099411,
-0.0023997672833502293,
0.023862602189183235,
-0.03990907594561577,
0.040485382080078125,
-0.057450342923402786,
-0.022601936012506485,
-0.02895929478108883,
-0.036667365580797195,
0.04588823392987251,
-0.026600047945976257,
0.00167938694357872,
0.01510998047888279,
-0.016307612881064415,
0.018189607188105583,
0.000471905485028401,
0.09494614601135254,
0.04080955311655998,
-0.020134633406996727,
0.03266925364732742,
-0.02820289507508278,
-0.005614465102553368,
-0.03211095929145813,
-0.004795032553374767,
-0.009202860295772552,
0.0030436073429882526,
0.07124562561511993,
0.00011621762678259984,
-0.03216498717665672,
-0.0121294055134058,
0.01343509554862976,
-0.021269233897328377,
0.010112340562045574,
0.011282959021627903,
-0.020242691040039062,
0.010355468839406967,
-0.027770666405558586,
0.030201951041817665,
0.023160232231020927,
-0.00036047163303010166,
0.054424744099378586,
-0.010571583174169064,
0.0053893462754786015,
0.0256455447524786,
-0.0015094222035259008,
-0.044267378747463226,
0.05896313861012459,
-0.07275842875242233,
-0.03450622409582138,
-0.004252495709806681,
-0.006974183488637209,
0.004234486259520054,
0.0454920269548893,
-0.012993862852454185,
0.003912566229701042,
-0.009058784693479538,
0.04949013888835907,
0.08118687570095062,
-0.04898587241768837,
-0.010202388279139996,
-0.009599069133400917,
-0.037964049726724625,
-0.017604297026991844,
-0.03416404500603676,
0.03785599395632744,
0.03531665354967117,
-0.038180164992809296,
0.004045386333018541,
-0.02681616321206093,
-0.0586029514670372,
-0.02757256105542183,
0.004036381840705872,
0.021053118631243706,
-0.008450963534414768,
-0.060259826481342316,
0.01594742201268673,
-0.02636592462658882,
-0.021845538169145584,
0.06771576404571533,
-0.004423586186021566,
-0.08817456662654877,
0.03630717471241951,
0.037459783256053925,
0.047833263874053955,
0.02132326178252697,
0.01064362097531557,
0.051615260541439056,
0.002420028205960989,
-0.018729891628026962,
0.0328313410282135,
-0.029499579221010208,
-0.02346639335155487,
0.010877745226025581,
0.0036446747835725546,
0.05197545140981674,
-0.004862567875534296,
-0.009959260001778603,
-0.0029040337540209293,
0.02371852658689022,
0.03220100700855255,
0.05528920143842697,
0.02308819442987442,
-0.04671667143702507,
0.030364036560058594,
0.028779199346899986,
-0.09242480993270874,
0.008162811398506165,
-0.05424464866518974,
-0.013750261627137661,
0.06393376737833023,
0.025843648239970207,
-0.035874947905540466,
0.012408553622663021,
0.002345738932490349,
0.034740347415208817,
-0.012948838993906975,
-0.009797174483537674,
-0.0820513367652893,
-0.012192439287900925,
0.00456315977498889,
0.030580149963498116,
0.0272844098508358,
-0.044807665050029755,
-0.012534620240330696,
0.011625139974057674,
0.007077738177031279,
0.013786280527710915,
0.006060200743377209,
0.05485697090625763,
0.00742892362177372,
0.004673468414694071,
-0.00682110246270895,
0.0037955045700073242,
0.037459783256053925,
0.08824660629034042,
-0.04671667143702507,
0.03731570765376091,
-0.0358569361269474,
-0.02908536046743393,
-0.02744649536907673,
-0.056477826088666916,
-0.029949817806482315,
0.019234158098697662,
-0.005546929314732552,
-0.05503706634044647,
-0.041277799755334854,
0.03394792973995209,
-0.04419534280896187,
0.0500304214656353,
0.0012685449328273535,
0.0089012011885643,
-0.029913797974586487,
0.015803346410393715,
0.02359245903789997,
0.008009729906916618,
-0.0028792705852538347,
-0.0032192000653594732,
-0.009473003447055817,
0.010499545373022556,
-0.011237935163080692,
-0.016613774001598358,
-0.0006494679837487638,
0.0424664281308651,
0.01510998047888279,
0.0128227723762393,
-0.04516785591840744,
0.05006644129753113,
-0.004952615592628717,
-0.020548852160573006,
0.05438872426748276,
0.07852146774530411,
0.012372534722089767,
-0.06058399751782417,
-0.042790599167346954,
0.03789201378822327,
-0.022277764976024628,
-0.03763987869024277,
-0.011373006738722324,
-0.08450062572956085,
0.0020812242291867733,
-0.006681528873741627,
-0.015812350437045097,
-0.06728353351354599,
0.019108092412352562,
0.015136994421482086,
0.012210449203848839,
-0.009058784693479538,
-0.043042730540037155,
0.0465005598962307,
-0.011111868545413017,
0.009193855337798595,
-0.025123268365859985,
0.01812657341361046,
0.00009750462049851194,
-0.0447356253862381,
-0.08975940197706223,
0.032507166266441345,
-0.03227304294705391,
0.01236352976411581,
0.051147013902664185,
-0.015182018280029297,
-0.0136422049254179,
0.03380385413765907,
-0.007771104108542204,
0.033479683101177216,
0.00742892362177372,
0.042250312864780426,
0.005614465102553368,
-0.025339381769299507,
0.0037167128175497055,
-0.041205763816833496,
0.031174464151263237,
0.025447439402341843,
0.011048835702240467,
-0.0009494389523752034,
-0.011201916262507439,
0.02447492629289627,
-0.016307612881064415,
0.0013169455341994762,
-0.046320464462041855,
-0.04034130647778511,
0.0626370832324028,
0.024907154962420464,
-0.04974227026104927,
-0.010022292844951153,
0.012048362754285336,
-0.0066905333660542965,
-0.04538396745920181,
0.04109770432114601,
0.052191562950611115,
-0.018441740423440933,
-0.042502447962760925,
-0.07434326410293579,
-0.03564082458615303,
-0.011138882488012314,
0.022565918043255806,
-0.0036446747835725546,
0.009932245127856731,
0.02274601347744465,
0.0475090928375721,
0.011832249350845814,
0.06912050396203995,
0.07365889847278595,
0.014308556914329529,
0.04203420132398605,
-0.019702404737472534,
0.009265894070267677,
0.013200972229242325,
-0.015848370268940926,
-0.023916631937026978,
0.0530560202896595,
-0.017613302916288376,
-0.031174464151263237,
0.02438487857580185,
-0.08450062572956085,
0.032092947512865067,
0.014038413763046265,
0.0007924184901639819,
-0.003809011774137616,
0.052947964519262314,
0.0033069965429604053,
-0.04696880653500557,
-0.03648727014660835,
0.03328157588839531,
0.0001338753936579451,
0.0141464713960886,
0.07938592880964279,
0.016145527362823486,
0.02451094426214695,
-0.05312805995345116,
0.033767834305763245,
-0.011994334869086742,
0.01712704449892044,
0.016064483672380447,
0.04804937541484833,
0.025069240480661392,
0.05402853339910507,
-0.03198489174246788,
-0.041746046394109726,
0.08903902769088745,
0.011688172817230225,
0.058999158442020416,
-0.022511890158057213,
-0.005416360683739185,
0.09357742220163345,
-0.006650011986494064,
0.01678486540913582,
-0.012012343853712082,
0.005294796545058489,
0.0019236409571021795,
0.007784611079841852,
0.0025415923446416855,
-0.03987305983901024,
0.03387589007616043,
-0.006478921510279179,
0.001516175689175725,
0.007388402242213488,
-0.006298826541751623,
-0.048589661717414856,
0.011931301094591618,
0.03836026042699814,
0.014038413763046265,
-0.03425408899784088,
-0.007942194119095802,
0.016262589022517204,
0.037423763424158096,
-0.014929885044693947,
-0.013318033888936043,
0.038216184824705124,
0.007199302315711975,
0.01510998047888279,
0.009198358282446861,
-0.022061651572585106,
0.02438487857580185,
-0.07816127687692642,
-0.0414578951895237,
0.043583016842603683,
-0.03857637196779251,
-0.056729961186647415,
0.043510980904102325,
-0.08169114589691162,
0.03709959238767624,
0.01867586374282837,
-0.0029513086192309856,
-0.06832809001207352,
-0.018747901543974876,
-0.004016120918095112,
0.0057000103406608105,
-0.008829163387417793,
-0.05997167155146599,
-0.024799097329378128,
0.012210449203848839,
-0.058494891971349716,
0.006803093012422323,
-0.0209810808300972,
-0.0030908824410289526,
-0.007298354525119066,
-0.007140771485865116,
-0.02081899531185627,
-0.03980102017521858,
-0.031156454235315323,
0.01737917773425579,
-0.05993565544486046,
-0.08082668483257294,
0.034524232149124146,
-0.014749789610505104,
-0.051147013902664185,
0.06483424454927444,
-0.005925129167735577,
0.012723719701170921,
0.04152993485331535,
-0.025033220648765564,
-0.013660214841365814,
0.035064518451690674,
0.007784611079841852,
0.003081877715885639,
0.019414253532886505,
0.01192229613661766,
0.03396593779325485,
-0.0558294840157032,
-0.013831304386258125,
0.013714242726564407,
-0.028995312750339508,
-0.012957843020558357,
0.05629773437976837,
-0.0591072179377079,
-0.00042069092160090804,
-0.029157398268580437,
-0.023106202483177185,
0.043294865638017654,
-0.0712096095085144,
-0.03472233936190605,
0.010616607032716274,
-0.1306770145893097,
0.013750261627137661,
-0.07124562561511993,
0.03034602664411068,
-0.025753600522875786,
0.0330834724009037,
-0.09343334287405014,
0.033515699207782745,
-0.013561162166297436,
0.061268359422683716,
0.0502825565636158,
-0.00870759878307581,
-0.0394408293068409,
-0.05510910600423813,
-0.006105224601924419,
0.009590065106749535,
-0.020710937678813934,
-0.05330815538764,
-0.07816127687692642,
-0.05719820782542229,
0.05226360261440277,
0.07722478359937668,
0.027212372049689293,
0.0315706729888916,
0.05705413222312927,
-0.043510980904102325,
0.02854507602751255,
0.002775715896859765,
-0.002503321971744299,
0.03832424059510231,
0.03702755644917488,
0.04931004345417023,
-0.03592897579073906,
-0.037964049726724625,
0.04138585552573204,
0.055505312979221344,
0.07873758673667908,
0.04189012199640274,
-0.003021095646545291,
-0.012201444245874882,
-0.03315551206469536,
-0.016046473756432533,
0.0333356037735939,
-0.041277799755334854,
0.03126451000571251,
-0.05536123737692833,
-0.012525615282356739,
0.03468631953001022,
-0.026473982259631157,
-0.010301440954208374,
-0.042502447962760925,
-0.019540319219231606,
0.00462844455614686,
-0.001396862673573196,
0.010499545373022556,
-0.012273482047021389,
-0.05374038219451904,
-0.000617951387539506,
0.03160669282078743,
-0.039981115609407425,
0.04232235252857208,
-0.04131381958723068,
-0.0323270745575428,
-0.009995278902351856,
-0.02766260877251625,
0.019450271502137184,
0.004196216352283955,
0.03432612866163254,
-0.006001669447869062,
-0.09919638931751251,
-0.09069590270519257,
-0.007397406734526157,
-0.03900860249996185,
0.03252517804503441,
-0.003682945156469941,
-0.05741432309150696,
0.024240802973508835,
-0.017145054414868355,
0.04041334241628647,
-0.019108092412352562,
-0.014281542971730232,
0.05057070776820183,
-0.07686459273099899,
0.012750733643770218,
0.01695595495402813,
0.008234849199652672,
-0.04484368488192558,
0.04992236569523811,
0.023196250200271606,
0.04062945768237114,
0.012327510863542557,
-0.036415230482816696,
-0.014740784652531147,
0.03618110716342926,
-0.03601902350783348,
0.03047209419310093,
0.0064384001307189465,
-0.005934134125709534,
-0.006830107420682907,
0.022349802777171135,
-0.008126791566610336,
0.04642852023243904,
-0.04131381958723068,
0.035910964012145996,
-0.010571583174169064,
-0.038216184824705124,
-0.054208628833293915,
0.011210921220481396,
-0.011886277236044407,
0.012390543706715107,
-0.005249772686511278,
0.04689676687121391,
-0.007604516111314297,
0.038972582668066025,
-0.03261522576212883,
-0.027842704206705093,
-0.030039865523576736,
0.006456410046666861,
0.029229437932372093,
0.018567806109786034,
0.01553320325911045,
0.050534687936306,
-0.0121294055134058,
-0.008261863142251968,
-0.010778692550957203,
0.043799132108688354,
0.01565026491880417,
-0.002471805550158024,
-0.04167401045560837,
0.049093928188085556,
-0.014614718966186047,
-0.0304360743612051,
-0.0558294840157032,
-0.0007997348438948393,
-0.04790529981255531,
0.04830151051282883,
-0.032219015061855316,
0.07816127687692642,
0.014452632516622543,
0.06713946163654327,
0.014434623531997204
] |
17,985 | imodels.tree.tao | TaoTreeClassifier | null | class TaoTreeClassifier(TaoTree, ClassifierMixin):
pass
| (model_type: str = 'CART', n_iters: int = 20, model_args: dict = {'max_leaf_nodes': 15}, randomize_tree=False, update_scoring='accuracy', min_node_samples_tao=3, min_leaf_samples_tao=2, node_model='stump', node_model_args: dict = {}, reg_param: float = 0.001, weight_errors: bool = False, verbose: int = 0) | [
-0.035591281950473785,
-0.02989526279270649,
0.03573279827833176,
0.015973621979355812,
-0.041853368282318115,
-0.03168190270662308,
-0.06898906826972961,
0.02782559022307396,
0.02165195345878601,
-0.001354352687485516,
0.04567430168390274,
-0.008013345301151276,
0.0002205660130130127,
0.03693568706512451,
-0.027843279764056206,
-0.03175266087055206,
0.03665265440940857,
0.0315757654607296,
0.00016500991478096694,
-0.026711152866482735,
-0.06078113988041878,
0.05101653188467026,
-0.013497091829776764,
0.006359376944601536,
-0.00984420906752348,
0.03014291636645794,
-0.018662426620721817,
-0.02244798094034195,
0.025083716958761215,
-0.019511524587869644,
-0.06817535310983658,
-0.031345803290605545,
-0.031947243958711624,
0.019670728594064713,
0.03468911722302437,
-0.0414288192987442,
-0.014363877475261688,
0.07903670519590378,
-0.04899992793798447,
0.04415300488471985,
-0.03063822165131569,
-0.07231469452381134,
-0.06056886538863182,
-0.03828008845448494,
0.019246181473135948,
0.024747617542743683,
0.02189960703253746,
0.029665298759937286,
-0.025561334565281868,
-0.038456983864307404,
-0.037572506815195084,
-0.04613422974944115,
0.04256094992160797,
0.02595050260424614,
-0.04853999987244606,
0.07224393635988235,
0.014381567016243935,
0.033273957669734955,
-0.01126821432262659,
0.05925983935594559,
0.024535343050956726,
0.05504973977804184,
0.051865626126527786,
-0.04266708716750145,
-0.030868185684084892,
-0.0017479441594332457,
-0.0725269690155983,
0.036864928901195526,
-0.0039513930678367615,
0.05292699858546257,
-0.0375017486512661,
-0.04680642858147621,
0.053493063896894455,
0.08448507636785507,
0.06874141842126846,
-0.004908837378025055,
-0.01033067051321268,
-0.010887890122830868,
0.038103193044662476,
-0.0011586626060307026,
-0.019175423309206963,
-0.038740016520023346,
0.03483063355088234,
0.01869780570268631,
-0.023314766585826874,
-0.07245621085166931,
0.018467843532562256,
-0.027843279764056206,
0.026109708473086357,
0.0024743194226175547,
-0.10019335150718689,
0.002231088699772954,
0.013682832010090351,
0.017884088680148125,
-0.03707720339298248,
0.07387137413024902,
0.04164109379053116,
-0.007181938737630844,
-0.02846241369843483,
-0.06286849826574326,
0.008574987761676311,
0.05858764052391052,
-0.03778478130698204,
-0.002335014520213008,
-0.043091632425785065,
0.010825976729393005,
-0.05052122473716736,
0.024694548919796944,
-0.0008839224465191364,
0.010136086493730545,
-0.05883529409766197,
0.05204252153635025,
0.025048337876796722,
0.046841807663440704,
-0.02575591951608658,
-0.11462798714637756,
-0.005147645715624094,
-0.013337886892259121,
-0.04408224672079086,
-0.025773609057068825,
-0.005607572849839926,
0.04019055515527725,
-0.04220715910196304,
0.0308328066021204,
-0.020643651485443115,
0.027011873200535774,
0.057349372655153275,
0.04231329634785652,
-0.01933462917804718,
-0.0606750026345253,
0.007296920754015446,
0.0018927770433947444,
-0.025437507778406143,
0.005085732787847519,
0.05416526272892952,
-0.007588797714561224,
-0.004581581801176071,
-0.010401428677141666,
-0.025366749614477158,
0.006921018939465284,
0.008305222727358341,
-0.047372493892908096,
0.07160711288452148,
-0.04670029133558273,
-0.027984796091914177,
0.03690030798316002,
-0.061630234122276306,
-0.03231872618198395,
-0.05292699858546257,
-0.031257353723049164,
0.0014372722944244742,
0.0032747695222496986,
0.05444829538464546,
-0.013329042121767998,
-0.0017755840672180057,
-0.0032681359443813562,
-0.009950346313416958,
-0.066123366355896,
-0.004223369061946869,
-0.027542559430003166,
0.002905501052737236,
-0.0017512609483674169,
-0.01977686583995819,
0.0029652032535523176,
-0.014841494150459766,
-0.004373730160295963,
-0.020979752764105797,
-0.08229157328605652,
-0.036228105425834656,
0.015858640894293785,
-0.020095277577638626,
-0.043480802327394485,
0.020785167813301086,
0.05027357116341591,
-0.0003695448103826493,
-0.0032990926411002874,
0.01972379721701145,
0.07160711288452148,
0.029877573251724243,
0.061984024941921234,
0.008154861629009247,
0.028144001960754395,
-0.027790211141109467,
0.007898364216089249,
0.025738229975104332,
-0.00736325653269887,
0.04450679197907448,
0.028444724157452583,
0.011683917604386806,
0.023367835208773613,
0.018520912155508995,
-0.01132128294557333,
-0.006589340511709452,
-0.02013065665960312,
0.05218403786420822,
0.01038373913615942,
0.007279231213033199,
0.00984420906752348,
-0.029276130720973015,
0.08674933016300201,
-0.015566764399409294,
0.002536232816055417,
0.03516673669219017,
0.01790177822113037,
-0.001960218185558915,
0.05066274106502533,
-0.008716503158211708,
0.06534503400325775,
-0.054978981614112854,
-0.055474285036325455,
0.04478982463479042,
0.013682832010090351,
-0.01988300308585167,
0.07033347338438034,
0.051476459950208664,
-0.04033207148313522,
-0.0019370007794350386,
0.012701064348220825,
-0.026127398014068604,
-0.002472108229994774,
0.02476530708372593,
0.07047498971223831,
0.010481031611561775,
0.01631856895983219,
-0.016955390572547913,
-0.026551946997642517,
0.05144108086824417,
-0.020042208954691887,
0.0429147370159626,
-0.04613422974944115,
-0.009870743378996849,
-0.06039196997880936,
0.0066689434461295605,
0.05282086133956909,
-0.0022708901669830084,
-0.013417488895356655,
0.0016882420750334859,
-0.01094980351626873,
-0.0897919237613678,
0.010472186841070652,
-0.023933900520205498,
-0.006509737577289343,
-0.005749089177697897,
-0.04337466508150101,
0.013903950341045856,
-0.02609201893210411,
0.0258974339812994,
-0.008446738123893738,
0.020997442305088043,
-0.012276516295969486,
-0.00510784424841404,
-0.0557573176920414,
-0.03387540206313133,
0.007305765524506569,
-0.0003206222609151155,
-0.03131042420864105,
0.005841958802193403,
-0.028674686327576637,
0.014956476166844368,
-0.024871444329619408,
-0.042348675429821014,
-0.04662953317165375,
0.010666771791875362,
0.11123160272836685,
-0.05154721811413765,
-0.022465670481324196,
0.02929382026195526,
-0.023261697962880135,
-0.005881760269403458,
-0.025295991450548172,
0.11370813846588135,
0.02181115932762623,
-0.011436264961957932,
0.037112582474946976,
-0.03325626999139786,
-0.04273784160614014,
-0.05165335536003113,
0.027931727468967438,
-0.016053225845098495,
-0.03468911722302437,
0.010003414936363697,
-0.03562666103243828,
-0.02802017517387867,
-0.019847624003887177,
-0.051122669130563736,
-0.029311509802937508,
-0.020608272403478622,
0.019157733768224716,
-0.022607186809182167,
-0.011462799273431301,
-0.028144001960754395,
0.01279835682362318,
-0.02391621097922325,
0.028833892196416855,
0.04556816443800926,
-0.06102878972887993,
-0.06152409687638283,
0.05943673476576805,
0.012807201594114304,
-0.01944076642394066,
-0.01020684465765953,
-0.06470821052789688,
-0.009189697913825512,
-0.027631007134914398,
-0.032831721007823944,
0.008849174715578556,
0.05282086133956909,
0.00976460613310337,
-0.03422919288277626,
0.03543207794427872,
0.020590582862496376,
0.05565118044614792,
-0.00754899624735117,
0.043339285999536514,
-0.02727721631526947,
-0.013647452928125858,
0.009959191083908081,
-0.02653425745666027,
0.04532051086425781,
0.056358762085437775,
-0.07995656132698059,
0.017831020057201385,
-0.03127504512667656,
-0.0023527040611952543,
0.025295991450548172,
-0.024110794067382812,
0.04662953317165375,
0.011100164614617825,
-0.03127504512667656,
0.018114052712917328,
-0.052997756749391556,
0.038209330290555954,
0.07217317819595337,
-0.016203586012125015,
-0.11328358948230743,
0.02110357955098152,
0.03345085307955742,
0.023244008421897888,
-0.0014715456636622548,
-0.015354489907622337,
-0.015372179448604584,
0.03824470937252045,
-0.03284940868616104,
0.05239631235599518,
-0.016238965094089508,
-0.02678191103041172,
-0.02741873264312744,
0.016009001061320305,
0.08568795770406723,
0.052997756749391556,
-0.0007971333106979728,
-0.012807201594114304,
0.007977966219186783,
0.031257353723049164,
0.006894484627991915,
-0.006828148849308491,
-0.0066689434461295605,
0.0040840646252036095,
-0.0007573319016955793,
-0.031133528798818588,
0.019299250096082687,
-0.03323857858777046,
-0.0013996820198372006,
0.04677104949951172,
0.022111881524324417,
-0.025331370532512665,
0.015894019976258278,
0.01282489113509655,
0.05045046657323837,
-0.04394073039293289,
0.012179223820567131,
-0.0075224619358778,
-0.014903407543897629,
0.00484692445024848,
0.02007758803665638,
0.010790597647428513,
-0.02165195345878601,
0.0013455079169943929,
-0.007062534801661968,
0.04804469645023346,
0.007619753945618868,
0.02032524161040783,
0.009136629290878773,
-0.049742888659238815,
-0.0019093608716502786,
-0.03990752249956131,
0.03764326497912407,
0.06973202526569366,
0.016787340864539146,
-0.002006653230637312,
-0.003259291173890233,
-0.036723412573337555,
-0.05865839868783951,
-0.07171325385570526,
-0.08660781383514404,
-0.02481837570667267,
-0.04050896689295769,
-0.017645280808210373,
-0.030408259481191635,
-0.03736023232340813,
0.047230977565050125,
-0.03251330927014351,
0.046346500515937805,
0.0008092948119156063,
0.029311509802937508,
0.026410430669784546,
0.03838622570037842,
0.009897277690470219,
0.0023217475973069668,
-0.027365664020180702,
0.01972379721701145,
0.05688944831490517,
-0.027595628052949905,
0.01583210751414299,
-0.014691133983433247,
-0.01869780570268631,
0.08165475726127625,
-0.000693760288413614,
0.0033455276861786842,
-0.01908697560429573,
0.0042499033734202385,
0.07238545268774033,
-0.01038373913615942,
0.007080224342644215,
0.06028583273291588,
0.01348824705928564,
-0.004683296196162701,
-0.009092405438423157,
0.0011752464342862368,
0.019794555380940437,
-0.05996742099523544,
-0.02250104956328869,
-0.059719767421483994,
-0.007575530558824539,
0.027984796091914177,
-0.02250104956328869,
-0.051228806376457214,
-0.04029669240117073,
0.001719198771752417,
0.023845452815294266,
-0.03654651716351509,
0.00979114044457674,
0.03891691192984581,
-0.004395842086523771,
0.045603543519973755,
-0.01756567880511284,
-0.01716766506433487,
0.003272558329626918,
-0.00631515309214592,
-0.041711851954460144,
0.007358834147453308,
0.020696720108389854,
0.04050896689295769,
0.06545116752386093,
0.006434557493776083,
-0.024782996624708176,
0.029912952333688736,
-0.0517948679625988,
0.03493677079677582,
0.011922726407647133,
-0.01282489113509655,
-0.006726433988660574,
0.03284940868616104,
0.0113478172570467,
0.01903390698134899,
-0.0024190398398786783,
0.03555590286850929,
0.0033565834164619446,
-0.009331213310360909,
-0.050839636474847794,
0.08094717562198639,
-0.0030138492584228516,
-0.016654668375849724,
-0.055969592183828354,
-0.045462027192115784,
0.07854139804840088,
0.012241137214004993,
-0.037855539470911026,
0.000059494777815416455,
-0.03803243488073349,
0.024482274428009987,
-0.039199940860271454,
0.018980838358402252,
0.008866864256560802,
-0.012011174112558365,
-0.00722616259008646,
0.006518582347780466,
-0.026852667331695557,
0.04149957746267319,
-0.026304293423891068,
-0.030514394864439964,
0.012922183610498905,
0.0010138297220692039,
0.04379921406507492,
0.04040282964706421,
0.04157033562660217,
0.011303593404591084,
0.02363317832350731,
-0.030549773946404457,
-0.038846153765916824,
0.028621617704629898,
0.015894019976258278,
0.005934828892350197,
-0.03927069902420044,
0.047372493892908096,
-0.006637986749410629,
0.02372162602841854,
-0.003938125912100077,
-0.051228806376457214,
0.020502135157585144,
0.003292459063231945,
-0.01132128294557333,
0.03532594069838524,
0.014753047376871109,
0.03555590286850929,
0.009428505785763264,
-0.023403214290738106,
0.038846153765916824,
0.03168190270662308,
0.030868185684084892,
0.027259526774287224,
-0.03422919288277626,
0.05133494362235069,
-0.040968891233205795,
0.011683917604386806,
0.035396698862314224,
0.00366836111061275,
0.08625402301549911,
0.02816169150173664,
0.05979052558541298,
0.030992012470960617,
-0.04631112143397331,
-0.003124408656731248,
0.05490822345018387,
-0.008924354799091816,
0.04394073039293289,
-0.029506094753742218,
0.004842502065002918,
0.09248073399066925,
-0.018609359860420227,
0.039482973515987396,
-0.02939995750784874,
0.009685004130005836,
0.036723412573337555,
-0.001247110078111291,
0.01094980351626873,
-0.018034450709819794,
0.0037988212425261736,
-0.006164792459458113,
0.052113279700279236,
0.013284818269312382,
-0.007212895434349775,
-0.06177175045013428,
0.0325663797557354,
0.06523889303207397,
-0.0071554044261574745,
-0.02184653840959072,
-0.005802157334983349,
0.017344558611512184,
0.036864928901195526,
-0.030461326241493225,
0.0025915123987942934,
0.047478631138801575,
0.003624137258157134,
0.02688804641366005,
0.02465916983783245,
-0.03813857212662697,
0.05451905354857445,
-0.02372162602841854,
-0.02327938750386238,
0.029966020956635475,
-0.043869972229003906,
-0.02678191103041172,
0.017397627234458923,
-0.04606347158551216,
0.05745550990104675,
-0.028692375868558884,
0.01809636317193508,
-0.07634790241718292,
-0.04758476838469505,
-0.029523782432079315,
0.018627047538757324,
0.0054704793728888035,
-0.01469997875392437,
0.00463465042412281,
-0.06651253998279572,
0.0010884572984650731,
0.03456529229879379,
0.012533013708889484,
-0.034759875386953354,
-0.012117310427129269,
0.007677244953811169,
0.020502135157585144,
-0.02338552474975586,
-0.003781131701543927,
-0.04581581801176071,
-0.06951975077390671,
-0.06092265248298645,
-0.008048724383115768,
-0.03380464389920235,
0.022518739104270935,
0.0365111380815506,
0.010764063335955143,
0.009976880624890327,
0.013160991482436657,
-0.02308480441570282,
-0.007394212763756514,
-0.030425947159528732,
-0.03902304917573929,
-0.015513695776462555,
0.027171079069375992,
0.023367835208773613,
0.05363457649946213,
-0.01889239065349102,
-0.005174180027097464,
-0.028444724157452583,
-0.05055660381913185,
-0.016000157222151756,
0.021970365196466446,
0.002951936097815633,
-0.02672884240746498,
-0.0350252203643322,
0.024482274428009987,
0.010366049595177174,
-0.048964548856019974,
0.002447785111144185,
0.012586082331836224,
-0.09608939290046692,
0.012249981984496117,
-0.05416526272892952,
0.025030648335814476,
-0.04765552654862404,
-0.0058286916464567184,
-0.07132408022880554,
-0.020360620692372322,
-0.04026131331920624,
0.008097371086478233,
0.028922339901328087,
-0.012108465656638145,
-0.007986810989677906,
-0.09014571458101273,
-0.04174723103642464,
0.008340601809322834,
-0.006996199022978544,
-0.006354954559355974,
-0.086820088326931,
-0.037997055798769,
0.04464830830693245,
-0.004749631974846125,
0.020997442305088043,
-0.006814881693571806,
0.04567430168390274,
-0.02457072213292122,
0.021687332540750504,
-0.023668557405471802,
0.03171728178858757,
0.017477231100201607,
0.04641725867986679,
0.05292699858546257,
-0.006726433988660574,
-0.043233148753643036,
0.00251633208245039,
0.044365279376506805,
0.07903670519590378,
0.05420064181089401,
0.016654668375849724,
-0.005819846875965595,
-0.02465916983783245,
0.004362673964351416,
-0.020855925977230072,
-0.03636962175369263,
0.05582807585597038,
-0.028444724157452583,
-0.0750034973025322,
-0.02289021946489811,
-0.02057289332151413,
0.018874701112508774,
-0.018821632489562035,
0.08215005695819855,
-0.0039071692153811455,
0.02136892080307007,
0.03640500083565712,
-0.00521840387955308,
-0.00548816891387105,
0.04779704287648201,
0.04277322068810463,
-0.014885718002915382,
0.015796728432178497,
-0.0046965633518993855,
-0.06626488268375397,
0.00009024411701830104,
0.04217178001999855,
0.022996356710791588,
0.031894177198410034,
0.05388223007321358,
0.0631515309214592,
-0.0389522910118103,
-0.04408224672079086,
-0.014443480409681797,
-0.038350846618413925,
0.042950116097927094,
-0.04464830830693245,
-0.06619412451982498,
0.010834821499884129,
0.021280474960803986,
0.05069812014698982,
-0.03606890141963959,
0.029576851055026054,
0.04029669240117073,
-0.03506059944629669,
0.01408084575086832,
0.03951835259795189,
0.006275351624935865,
-0.03318551182746887,
-0.013603229075670242,
0.02948840521275997,
0.016504308208823204,
0.028975408524274826,
-0.02037831023335457,
-0.013346731662750244,
0.00003104300776612945,
-0.025048337876796722,
0.0517948679625988,
0.037572506815195084,
0.017795640975236893,
0.00457715941593051,
0.011312438175082207,
-0.04475444555282593,
-0.02738335356116295,
-0.0150449238717556,
0.03449453413486481,
0.024234620854258537,
-0.07705548405647278,
-0.053245410323143005,
-0.037855539470911026,
-0.03350392356514931,
-0.03693568706512451,
-0.016557376831769943,
-0.01711459644138813,
0.0340346060693264,
0.012665685266256332,
-0.05940135568380356,
0.00255392212420702,
0.042348675429821014,
0.023757005110383034,
-0.017450695857405663,
0.01908697560429573,
0.06697246432304382,
0.007416324689984322,
0.00628861878067255,
0.03102739155292511,
0.027984796091914177,
-0.013320197351276875,
-0.005028241779655218,
0.045462027192115784,
-0.00966731458902359,
0.07896594703197479,
-0.05183024704456329,
-0.03343316540122032,
-0.06180712953209877,
0.02446458488702774,
-0.07372985780239105,
0.030408259481191635,
-0.017547989264130592,
0.03437070921063423,
0.021085890009999275,
0.041216544806957245,
0.020395999774336815
] |
17,987 | imodels.tree.tao | __init__ | TAO: Alternating optimization of decision trees, with application to learning sparse oblique trees (Neurips 2018)
https://proceedings.neurips.cc/paper/2018/hash/185c29dc24325934ee377cfda20e414c-Abstract.html
Note: this implementation learns single-feature splits rather than oblique trees.
Currently supports
- given a CART tree, posthoc improve it with TAO
- also works with HSTreeCV
Todo
- update bottom to top otherwise input points don't get updated
- update leaf nodes
- support regression
- support FIGS
- support error-weighting
- support oblique trees
- support generic models at decision node
- support pruning (e.g. if weights -> 0, then remove a node)
- support classifiers in leaves
Parameters
----------
model_type: str
'CART' or 'FIGS'
n_iters
Number of iterations to run TAO
model_args
Arguments to pass to the model
randomize_tree
Whether to randomize the tree before each iteration
min_node_samples_tao: int
Minimum number of samples in a node to apply tao
min_leaf_samples_tao: int
node_model: str
'stump' or 'linear'
reg_param
Regularization parameter for node-wise linear model (if node_model is 'linear')
verbose: int
Verbosity level
| def __init__(self, model_type: str = 'CART',
n_iters: int = 20,
model_args: dict = {'max_leaf_nodes': 15},
randomize_tree=False,
update_scoring='accuracy',
min_node_samples_tao=3,
min_leaf_samples_tao=2,
node_model='stump',
node_model_args: dict = {},
reg_param: float = 1e-3,
weight_errors: bool = False,
verbose: int = 0,
):
"""TAO: Alternating optimization of decision trees, with application to learning sparse oblique trees (Neurips 2018)
https://proceedings.neurips.cc/paper/2018/hash/185c29dc24325934ee377cfda20e414c-Abstract.html
Note: this implementation learns single-feature splits rather than oblique trees.
Currently supports
- given a CART tree, posthoc improve it with TAO
- also works with HSTreeCV
Todo
- update bottom to top otherwise input points don't get updated
- update leaf nodes
- support regression
- support FIGS
- support error-weighting
- support oblique trees
- support generic models at decision node
- support pruning (e.g. if weights -> 0, then remove a node)
- support classifiers in leaves
Parameters
----------
model_type: str
'CART' or 'FIGS'
n_iters
Number of iterations to run TAO
model_args
Arguments to pass to the model
randomize_tree
Whether to randomize the tree before each iteration
min_node_samples_tao: int
Minimum number of samples in a node to apply tao
min_leaf_samples_tao: int
node_model: str
'stump' or 'linear'
reg_param
Regularization parameter for node-wise linear model (if node_model is 'linear')
verbose: int
Verbosity level
"""
super().__init__()
self.model_type = model_type
self.n_iters = n_iters
self.model_args = model_args
self.randomize_tree = randomize_tree
self.update_scoring = update_scoring
self.min_node_samples_tao = min_node_samples_tao
self.min_leaf_samples_tao = min_leaf_samples_tao
self.node_model = node_model
self.node_model_args = node_model_args
self.reg_param = reg_param
self.weight_errors = weight_errors
self.verbose = verbose
self._init_prediction_task() # decides between regressor and classifier
| (self, model_type: str = 'CART', n_iters: int = 20, model_args: dict = {'max_leaf_nodes': 15}, randomize_tree=False, update_scoring='accuracy', min_node_samples_tao=3, min_leaf_samples_tao=2, node_model='stump', node_model_args: dict = {}, reg_param: float = 0.001, weight_errors: bool = False, verbose: int = 0) | [
-0.012772534042596817,
-0.016377456486225128,
-0.04118836298584938,
-0.008212259039282799,
-0.004795582965016365,
-0.015455048531293869,
-0.07816000282764435,
-0.014767948538064957,
-0.036915164440870285,
-0.05056304484605789,
0.02059418149292469,
0.041338961571455,
0.015972726047039032,
0.01967177353799343,
-0.0010777119314298034,
0.034675028175115585,
0.03845878690481186,
-0.01640569418668747,
0.042468439787626266,
0.03266078978776932,
0.004515565931797028,
0.0015530347591266036,
-0.036331601440906525,
0.03262314200401306,
-0.004899118561297655,
-0.022871965542435646,
0.010410038754343987,
-0.013958487659692764,
0.014353805221617222,
-0.0018495231634005904,
-0.016424518078565598,
-0.020725954324007034,
-0.061594296246767044,
0.024114392697811127,
-0.008668757043778896,
-0.05116543546319008,
0.024283815175294876,
0.05598454922437668,
-0.06144370138645172,
-0.02034946158528328,
-0.00523325614631176,
-0.09962011873722076,
-0.047136954963207245,
-0.03064655140042305,
-0.032171349972486496,
-0.004894412588328123,
-0.009158198721706867,
0.05447857454419136,
-0.018871724605560303,
-0.07861179113388062,
-0.025112099945545197,
-0.05583395063877106,
0.024773256853222847,
0.04408736154437065,
-0.043484970927238464,
0.02757813222706318,
0.012236030772328377,
-0.012556049972772598,
0.02974296733736992,
0.007567514665424824,
0.03358319774270058,
0.064079150557518,
0.017808131873607635,
0.04834173619747162,
-0.021535415202379227,
-0.017412813380360603,
-0.06656400859355927,
0.00811813585460186,
-0.008136960677802563,
0.0275593064725399,
0.01183130033314228,
-0.052106667309999466,
0.039832986891269684,
0.027107514441013336,
0.03862820938229561,
-0.0003988475364167243,
0.01574683003127575,
-0.05221961438655853,
-0.02450971119105816,
0.003887292928993702,
-0.04788994416594505,
0.007685168646275997,
-0.006475684233009815,
-0.03738578036427498,
-0.04318377748131752,
-0.04258138686418533,
0.04815348982810974,
-0.00591565016657114,
0.01258428767323494,
-0.0033978517167270184,
-0.07876238971948624,
-0.008904065936803818,
-0.001376553438603878,
0.020801251754164696,
0.0064239162020385265,
0.031606610864400864,
0.025883911177515984,
-0.08102134615182877,
-0.04171545431017876,
-0.05722697451710701,
-0.0052944365888834,
0.03930589556694031,
-0.049697112292051315,
0.031079519540071487,
-0.021535415202379227,
-0.03356437385082245,
-0.07495980709791183,
0.052934952080249786,
0.012330153957009315,
-0.023229634389281273,
-0.08719583600759506,
0.07635283470153809,
-0.007261613849550486,
0.03266078978776932,
-0.06212138757109642,
-0.03527741879224777,
-0.01520091574639082,
-0.00221542757935822,
-0.05862000212073326,
-0.04532978683710098,
0.02475443109869957,
0.03386556729674339,
-0.028933506458997726,
0.017346927896142006,
-0.022043680772185326,
0.0031248941086232662,
0.08064485341310501,
0.060088325291872025,
-0.04374851658940315,
-0.08312971144914627,
0.008028718642890453,
-0.040322426706552505,
-0.004216724541038275,
0.03734813258051872,
0.00952998548746109,
-0.010899479500949383,
-0.02142246626317501,
0.00032325476058758795,
-0.05865764990448952,
0.0064192102290689945,
0.03768697381019592,
-0.06588631868362427,
0.014137322083115578,
-0.0778588056564331,
-0.003644925309345126,
-0.016716301441192627,
-0.05741522088646889,
-0.07413152605295181,
-0.024641484022140503,
-0.0020342401694506407,
-0.0005609161453321576,
0.009882948361337185,
-0.008682875894010067,
-0.003489621914923191,
-0.008687581866979599,
-0.006790996994823217,
0.006089778617024422,
-0.07239965349435806,
0.003743754932656884,
0.009958246722817421,
-0.05075129121541977,
0.008998189121484756,
0.0606154166162014,
-0.03603040426969528,
-0.02076360397040844,
0.013883189298212528,
-0.0513160303235054,
-0.0235873032361269,
-0.058092910796403885,
0.003675515530630946,
-0.018410520628094673,
-0.031192466616630554,
-0.03322552889585495,
0.026109807193279266,
-0.04476504772901535,
0.036764565855264664,
0.04856763035058975,
-0.020707128569483757,
0.005525038577616215,
0.016932783648371696,
-0.026542775332927704,
-0.006442741025239229,
0.0043790871277451515,
0.000901819032151252,
-0.032999634742736816,
-0.0009100547758862376,
0.032943159341812134,
0.004675575532019138,
-0.0012765474384650588,
0.04965946078300476,
0.0016271568601951003,
-0.006118015386164188,
0.005482682958245277,
0.011021840386092663,
0.03074067458510399,
0.026392176747322083,
0.03473150357604027,
0.003355496097356081,
0.026222756132483482,
0.06848412752151489,
0.006362736225128174,
-0.0002778108464553952,
0.06080366298556328,
0.01361964363604784,
-0.00046708693844266236,
0.011351271532475948,
0.004052008502185345,
0.03232194483280182,
-0.01857052929699421,
0.006470977794378996,
-0.0064898026175796986,
0.0017342220526188612,
0.03414794057607651,
0.06456859409809113,
0.036821041256189346,
-0.010297090746462345,
-0.020744778215885162,
0.059598881751298904,
0.002268371870741248,
-0.008805235847830772,
0.017544586211442947,
0.011727765202522278,
-0.021234219893813133,
0.0213471669703722,
0.02068830467760563,
-0.01901290938258171,
0.030703024938702583,
0.026693372055888176,
0.02765342965722084,
-0.04284493252635002,
-0.007708699442446232,
-0.03938119485974312,
0.017149267718195915,
0.008005187846720219,
0.01084300596266985,
-0.01246192678809166,
-0.00523325614631176,
-0.012198382057249546,
-0.0888524129986763,
-0.048454683274030685,
-0.012960780411958694,
-0.038063470274209976,
-0.0049791233614087105,
-0.04894412308931351,
-0.01579389162361622,
0.024434411898255348,
0.05621044337749481,
-0.00728514464572072,
-0.019728247076272964,
-0.03740460425615311,
-0.0001481706858612597,
-0.013581993989646435,
-0.010730057954788208,
0.021140096709132195,
-0.015972726047039032,
-0.0729643926024437,
0.06599926948547363,
0.019652947783470154,
0.022815492004156113,
-0.01262193638831377,
-0.03382791951298714,
-0.02989356406033039,
-0.008527572266757488,
0.05854470282793045,
-0.0468357615172863,
-0.02151658944785595,
0.017177505418658257,
-0.025450944900512695,
0.0031931335106492043,
0.005637986585497856,
0.038496434688568115,
0.056850481778383255,
-0.040322426706552505,
0.03655749559402466,
-0.0056850481778383255,
-0.024547360837459564,
-0.059335336089134216,
0.013723179697990417,
-0.022213103249669075,
-0.009892360307276249,
-0.012094845995306969,
-0.04325907677412033,
-0.015539759770035744,
0.0017436344642192125,
-0.08365680277347565,
-0.05553275719285011,
-0.021365992724895477,
-0.007468685042113066,
0.0344114825129509,
-0.017732832580804825,
-0.04359791800379753,
0.0468357615172863,
-0.007369855418801308,
0.017318690195679665,
0.07172196358442307,
-0.017177505418658257,
-0.04939591512084007,
0.035013873130083084,
0.00954410433769226,
-0.01528562605381012,
0.014071435667574406,
-0.028519364073872566,
-0.015379750169813633,
-0.05398913472890854,
0.03537154197692871,
0.04657221585512161,
0.04062362387776375,
0.010071194730699062,
0.031098343431949615,
0.027804028242826462,
0.0076239886693656445,
0.03064655140042305,
0.07379268109798431,
0.034016165882349014,
-0.038082294166088104,
-0.00805695541203022,
0.01884348690509796,
-0.060163624584674835,
0.05805525928735733,
0.025601541623473167,
-0.06976420432329178,
0.024095568805933,
-0.02748400717973709,
-0.002198955975472927,
0.01220779400318861,
-0.046383969485759735,
0.06227198615670204,
-0.006536864209920168,
-0.012819595634937286,
-0.004075539764016867,
-0.01986001990735531,
0.006903945002704859,
0.019389402121305466,
0.017761070281267166,
-0.08087075501680374,
0.027709903195500374,
0.011021840386092663,
0.018579943105578423,
0.0016542172525078058,
0.004903824534267187,
0.06878531724214554,
0.047965239733457565,
-0.00712042860686779,
0.055683352053165436,
-0.013017254881560802,
-0.0384211391210556,
0.06840882450342178,
0.004917943384498358,
0.03023240901529789,
0.061669595539569855,
-0.02475443109869957,
0.03315023332834244,
0.02102714776992798,
0.07891298830509186,
0.030458305031061172,
0.02034946158528328,
0.007139253430068493,
-0.029912389814853668,
0.03778109699487686,
-0.0464969165623188,
-0.027220463380217552,
-0.03315023332834244,
-0.01038180198520422,
0.04702400788664818,
0.0232484582811594,
-0.08975599706172943,
-0.0033625555224716663,
0.010457100346684456,
0.07612694054841995,
-0.05109013617038727,
0.014786772429943085,
-0.05146662890911102,
0.02716398797929287,
0.00158362474758178,
0.013817302882671356,
0.03830818831920624,
-0.038816455751657486,
-0.02791697531938553,
-0.0027131044771522284,
0.01657511666417122,
0.03435501083731651,
0.012772534042596817,
0.010993603616952896,
-0.008875828236341476,
0.0004017889150418341,
-0.05858235061168671,
0.04811583831906319,
0.02217545360326767,
0.07936477661132812,
-0.01784577965736389,
0.03411028906702995,
0.011332446709275246,
0.007473391015082598,
-0.024697957560420036,
-0.007238083053380251,
0.0010247676400467753,
0.026523949578404427,
0.005096777342259884,
-0.06938771158456802,
-0.03764932602643967,
-0.0013671411434188485,
-0.045141540467739105,
0.029197052121162415,
0.002927235094830394,
0.0020530647598206997,
-0.026222756132483482,
0.02334258146584034,
0.02068830467760563,
-0.001841287361457944,
0.04450150206685066,
0.0019707069732248783,
0.02592156082391739,
0.044313255697488785,
0.02733341045677662,
-0.054102081805467606,
0.015464460477232933,
0.030025336891412735,
0.05944828689098358,
0.013581993989646435,
-0.010758294723927975,
0.016951609402894974,
0.07168431580066681,
0.008499335497617722,
0.024377938359975815,
0.09600578248500824,
0.02665572240948677,
0.015586821362376213,
0.01382671482861042,
-0.025017976760864258,
0.007586339022964239,
-0.03478797897696495,
-0.022853141650557518,
-0.04457680135965347,
-0.010353564284741879,
0.0022283694706857204,
0.0317007340490818,
-0.022382523864507675,
-0.04811583831906319,
0.0154079869389534,
0.035164471715688705,
0.004889706149697304,
-0.017488112673163414,
0.03198310360312462,
-0.012358391657471657,
0.002270725090056658,
-0.006052128970623016,
-0.01074888277798891,
-0.028124047443270683,
-0.04036007821559906,
-0.01993531733751297,
0.03629394993185997,
0.0468357615172863,
0.0015789186581969261,
0.034844450652599335,
-0.02008591592311859,
-0.03593628108501434,
0.014043198898434639,
-0.013318449258804321,
-0.021478939801454544,
-0.00480264239013195,
0.0063486178405582905,
0.017977552488446236,
0.06871002167463303,
0.011916011571884155,
0.0382140651345253,
0.0017459874507039785,
0.0599377267062664,
0.02947942167520523,
-0.009200554341077805,
-0.07081837952136993,
-0.0070215994492173195,
-0.022363699972629547,
-0.024886203929781914,
-0.012320742011070251,
-0.009012307040393353,
0.032754912972450256,
-0.02061300538480282,
-0.07631518691778183,
-0.038496434688568115,
-0.04702400788664818,
0.03900470212101936,
-0.05357499048113823,
0.05101483687758446,
0.02823699451982975,
-0.02059418149292469,
0.01818462461233139,
0.02076360397040844,
-0.02940412424504757,
0.019314104691147804,
-0.02001061663031578,
-0.10421333461999893,
-0.05109013617038727,
0.016349220648407936,
0.0695759579539299,
-0.0043367319740355015,
0.037592850625514984,
0.0031931335106492043,
0.030025336891412735,
-0.017073970288038254,
-0.030684201046824455,
0.03695281222462654,
0.04224254563450813,
0.022777842357754707,
-0.024603834375739098,
0.012311330065131187,
0.01857052929699421,
-0.06784408539533615,
-0.009327620267868042,
-0.06490743905305862,
0.030627727508544922,
0.015756243839859962,
-0.038006994873285294,
0.05489271879196167,
-0.0014212620444595814,
0.021215396001935005,
0.04307083040475845,
-0.005967418197542429,
-0.0005888589657843113,
0.026203930377960205,
-0.013196088373661041,
0.008155785501003265,
0.007346324622631073,
0.06901121139526367,
-0.032849036157131195,
0.023135511204600334,
0.045630984008312225,
0.02010473981499672,
0.03527741879224777,
0.06810762733221054,
0.03247254341840744,
0.0235873032361269,
-0.037009287625551224,
-0.023643776774406433,
0.062987320125103,
0.03254784271121025,
0.008141666650772095,
0.04212959483265877,
0.0007976950728334486,
0.07691757380962372,
-0.044802699238061905,
0.001548328553326428,
0.008391093462705612,
-0.010984190739691257,
-0.0206694807857275,
-0.03245371952652931,
0.021704835817217827,
0.042731985449790955,
0.04773934558033943,
-0.062008440494537354,
0.01628333330154419,
0.02042475901544094,
0.0115395188331604,
0.04815348982810974,
0.062422581017017365,
0.05557040497660637,
-0.001808344153687358,
-0.013111378066241741,
-0.025112099945545197,
0.051353681832551956,
0.019747070968151093,
-0.02068830467760563,
-0.005637986585497856,
-0.008913477882742882,
0.0025013270787894726,
0.038402311503887177,
0.04864292964339256,
-0.02932882495224476,
0.030288882553577423,
0.0129984300583601,
0.0027931092772632837,
0.06852177530527115,
-0.04374851658940315,
-0.023719076067209244,
0.005765052977949381,
-0.08478628098964691,
-0.02251429669559002,
-0.047212254256010056,
0.022156627848744392,
-0.07168431580066681,
-0.014090260490775108,
0.026674548164010048,
0.01589742861688137,
0.008758174255490303,
-0.02275901846587658,
0.04736285284161568,
0.010033545084297657,
0.02018003910779953,
0.0468357615172863,
-0.009826473891735077,
-0.026561599224805832,
-0.02292843908071518,
0.04013418033719063,
0.012301917187869549,
-0.024942679330706596,
-0.035748034715652466,
-0.02034946158528328,
-0.04947121441364288,
-0.029780616983771324,
0.029799440875649452,
-0.006174489390105009,
-0.038816455751657486,
0.004461444914340973,
0.02614745683968067,
0.016255097463726997,
0.0007888710242696106,
-0.038082294166088104,
-0.054440926760435104,
0.025545068085193634,
0.013742003589868546,
0.002147188177332282,
0.07014069706201553,
0.003972003702074289,
0.05587159842252731,
-0.07032894343137741,
-0.039832986891269684,
-0.03544684126973152,
-0.019314104691147804,
0.00046620453940704465,
0.08147314190864563,
-0.023399056866765022,
0.019201155751943588,
-0.004699106328189373,
-0.00022633715707343072,
0.01893761195242405,
-0.0923161506652832,
-0.0017330455593764782,
0.03603040426969528,
-0.13696825504302979,
0.006005067378282547,
-0.03414794057607651,
0.04359791800379753,
-0.049697112292051315,
0.0037202241364866495,
-0.048529982566833496,
0.04800289124250412,
-0.03695281222462654,
0.026674548164010048,
0.04988535866141319,
0.005675635766237974,
-0.013657293282449245,
-0.04069892317056656,
-0.009374681860208511,
0.012923130765557289,
0.01200072281062603,
0.013657293282449245,
-0.06995245069265366,
-0.008974658325314522,
0.0526714064180851,
0.0664510577917099,
0.06524628400802612,
-0.03356437385082245,
0.037009287625551224,
-0.05839410424232483,
-0.012527813203632832,
-0.03352672606706619,
0.03919294849038124,
-0.00932291429489851,
-0.005934474989771843,
0.03380909562110901,
-0.0005706226220354438,
-0.04374851658940315,
0.005845057778060436,
0.022533122450113297,
0.03207722678780556,
0.01830698549747467,
-0.03281138837337494,
0.011125375516712666,
0.003972003702074289,
-0.011530105955898762,
0.033771444112062454,
-0.06321322172880173,
-0.0026378058828413486,
-0.009892360307276249,
0.021045973524451256,
0.02725811116397381,
-0.016961021348834038,
0.026467476040124893,
0.0043414379470050335,
0.01361964363604784,
-0.009289971552789211,
0.04875587671995163,
0.07014069706201553,
-0.016396282240748405,
-0.0330561101436615,
0.051278382539749146,
0.00936997588723898,
-0.04973476007580757,
0.05353734269738197,
0.006216845009475946,
-0.0792141854763031,
-0.010579460300505161,
0.038402311503887177,
0.027935799211263657,
-0.008155785501003265,
-0.011812476441264153,
0.00822637788951397,
-0.06321322172880173,
-0.017441051080822945,
0.010278265923261642,
-0.015671532601118088,
0.0323784202337265,
-0.03723518177866936,
-0.07217375934123993,
0.016857486218214035,
-0.014739710837602615,
0.06415445357561111,
-0.09096077084541321,
-0.008155785501003265,
-0.024867380037903786,
-0.0657733753323555,
0.024189691990613937,
0.02816169522702694,
0.02633570320904255,
-0.05146662890911102,
-0.014212620444595814,
0.04506624490022659,
-0.0035107997246086597,
0.015398574061691761,
-0.03740460425615311,
0.010193554684519768,
-0.03862820938229561,
-0.03975768759846687,
0.07699286937713623,
0.0423554927110672,
0.007256907410919666,
-0.00405906792730093,
0.013676118105649948,
-0.05474212020635605,
0.04359791800379753,
-0.023361407220363617,
0.035992756485939026,
0.02183660864830017,
-0.0011235970305278897,
-0.07469626516103745,
0.011341859586536884,
-0.04807819053530693,
0.010908892378211021,
-0.03972003981471062,
0.0010512397857382894,
0.04461445286870003,
0.0317007340490818,
-0.03448678180575371,
-0.051956068724393845,
0.008781705051660538,
-0.005247374996542931,
0.037498727440834045,
0.003906117519363761,
0.035013873130083084,
0.041564855724573135,
-0.022137803956866264,
0.05259610712528229,
-0.0216860119253397,
0.05722697451710701,
0.02898998185992241,
0.057189326733350754,
-0.014579701237380505,
0.04171545431017876,
-0.024867380037903786,
-0.007256907410919666,
-0.07352913171052933,
0.004917943384498358,
-0.06938771158456802,
0.002274254569783807,
0.013243150897324085,
0.04627102240920067,
0.00975117553025484,
0.01614214852452278,
0.000590329640544951
] |
17,996 | imodels.tree.tao | _init_prediction_task |
TaoRegressor and TaoClassifier override this method
to alter the prediction task. When using this class directly,
it is equivalent to SuperCARTRegressor
| def _init_prediction_task(self):
"""
TaoRegressor and TaoClassifier override this method
to alter the prediction task. When using this class directly,
it is equivalent to SuperCARTRegressor
"""
self.prediction_task = 'classification'
| (self) | [
0.0327162891626358,
-0.0024252168368548155,
-0.027033695951104164,
0.001343639101833105,
-0.015144387260079384,
-0.03312087431550026,
-0.07981377094984055,
0.024459058418869972,
0.04086317867040634,
-0.01501565519720316,
0.0449090376496315,
0.04498260095715523,
0.057377640157938004,
-0.00862963404506445,
0.013075482100248337,
-0.0016240907134488225,
0.037185125052928925,
0.025213059037923813,
-0.013250188902020454,
-0.03133701905608177,
0.01637653447687626,
0.022362567484378815,
-0.06175452470779419,
0.00575615419074893,
0.018785661086440086,
0.06116603687405586,
-0.007415876258164644,
-0.04104708135128021,
0.010767502710223198,
0.008133096620440483,
-0.034224290400743484,
-0.023760227486491203,
-0.05053646117448807,
0.05380992963910103,
0.016909852623939514,
0.00263210735283792,
0.008997439406812191,
0.08194704353809357,
-0.05469266325235367,
0.017617877572774887,
-0.013930629007518291,
-0.06730838865041733,
-0.025948669761419296,
-0.005466507747769356,
-0.013572018593549728,
-0.0088916951790452,
-0.03096921369433403,
-0.02276715449988842,
0.04946982488036156,
-0.06028330326080322,
-0.016008729115128517,
-0.0332312174141407,
-0.004432055167853832,
0.056605249643325806,
-0.0630786269903183,
0.06752906739711761,
0.025213059037923813,
0.08032869547605515,
-0.03284502029418945,
-0.012836407870054245,
0.01542024128139019,
0.021112028509378433,
-0.027456672862172127,
0.009608916006982327,
0.005245824344456196,
0.012220334261655807,
-0.0542512945830822,
0.025084327906370163,
0.022252226248383522,
0.0498376302421093,
-0.004032066557556391,
-0.050426118075847626,
-0.003620584262534976,
-0.00948937889188528,
0.03994366526603699,
-0.0025401560124009848,
-0.012385846115648746,
-0.0737081989645958,
0.00567799573764205,
0.017093755304813385,
-0.02447744831442833,
0.014151312410831451,
-0.0070480708964169025,
-0.05057324096560478,
-0.049359481781721115,
-0.10114648193120956,
-0.003220595885068178,
-0.05851783603429794,
-0.03650468587875366,
-0.04630669951438904,
-0.06469696760177612,
0.01668917015194893,
0.012863993644714355,
0.02434871718287468,
0.029350869357585907,
0.01892358809709549,
-0.012919164262712002,
-0.03876668959856033,
-0.05193411931395531,
-0.05579607933759689,
0.0008925027796067297,
0.009976721368730068,
-0.033396728336811066,
-0.0168730728328228,
0.03073013946413994,
-0.02964511513710022,
-0.06363033503293991,
0.02914857678115368,
-0.003774602897465229,
-0.01999022252857685,
-0.04718943312764168,
0.11144503206014633,
-0.06683024019002914,
0.020394809544086456,
-0.07871035486459732,
-0.031208287924528122,
-0.013038701377809048,
-0.010510038584470749,
-0.0446515753865242,
-0.0035332306288182735,
-0.010730721987783909,
0.04921236261725426,
-0.021847641095519066,
0.03626561164855957,
-0.014840947464108467,
0.01667078025639057,
0.0623062327504158,
0.09717418253421783,
-0.010969796217978,
-0.0809907466173172,
0.026279695332050323,
-0.05487656593322754,
-0.034592095762491226,
0.013829482719302177,
-0.007985974662005901,
0.0373874194920063,
0.047336552292108536,
0.031704824417829514,
-0.014344410039484501,
0.012624920345842838,
0.039759762585163116,
0.002733253873884678,
0.0033010533079504967,
-0.0014103037538006902,
0.03475761041045189,
-0.03632078319787979,
-0.046637725085020065,
0.01827992871403694,
-0.022693593055009842,
-0.01495128870010376,
0.038435664027929306,
-0.0009947986109182239,
0.009507769718766212,
-0.012854798696935177,
-0.012624920345842838,
0.04660094156861305,
0.026702672243118286,
-0.017397195100784302,
0.015300704166293144,
-0.00548949558287859,
-0.002689576940611005,
-0.00885031744837761,
0.03672536835074425,
0.004395274445414543,
0.013057091273367405,
-0.011824943125247955,
0.0023930338211357594,
-0.001519495970569551,
0.0015884594758972526,
0.025636035948991776,
0.004974567797034979,
-0.07047151029109955,
-0.01030774600803852,
-0.010638770647346973,
-0.011172088794410229,
0.0181695856153965,
0.05090426653623581,
-0.026390036568045616,
0.03376453369855881,
0.09746842831373215,
0.03210940957069397,
0.012946750037372112,
-0.05947413295507431,
0.009939940646290779,
0.007323924917727709,
0.006404411513358355,
0.00526421470567584,
0.01702938973903656,
-0.04067927598953247,
0.03854600340127945,
0.042040154337882996,
0.001798798213712871,
-0.011972065083682537,
-0.007374498061835766,
0.03275306895375252,
-0.03847244381904602,
0.0133697260171175,
-0.0010522681986913085,
0.002689576940611005,
0.03293697163462639,
-0.016100680455565453,
0.014252458699047565,
0.04093673825263977,
0.07297258824110031,
0.01620182767510414,
0.03027038276195526,
0.02473491244018078,
0.021406274288892746,
-0.025139497593045235,
-0.03637595474720001,
-0.0007867587264627218,
-0.003464267123490572,
0.011687016114592552,
0.06896351277828217,
0.05380992963910103,
0.007622766774147749,
-0.019567247480154037,
0.019070709124207497,
0.00526421470567584,
0.007425071205943823,
0.01513519138097763,
-0.025213059037923813,
0.03891380876302719,
0.007144619710743427,
0.04189303517341614,
0.0009672132437117398,
0.0017298347083851695,
-0.023999301716685295,
-0.009236512705683708,
-0.007549205794930458,
-0.029295699670910835,
-0.024367107078433037,
0.023944130167365074,
-0.009089390747249126,
0.07091288268566132,
-0.039759762585163116,
0.011503113433718681,
-0.007857242599129677,
-0.04251830279827118,
0.007645754609256983,
0.0001346225180895999,
0.046196356415748596,
-0.035088635981082916,
-0.06300505995750427,
-0.029442820698022842,
0.03260594606399536,
0.013949019834399223,
0.03979654237627983,
-0.034463364630937576,
-0.05903276428580284,
0.03968620300292969,
-0.03587941452860832,
-0.02326369099318981,
0.010197404772043228,
-0.01819717139005661,
-0.038950592279434204,
0.06855892390012741,
0.014804166741669178,
0.05542827397584915,
0.05141919478774071,
-0.05803969129920006,
0.03784717619419098,
-0.012698480859398842,
0.029442820698022842,
-0.00772851100191474,
-0.02295105718076229,
-0.02188442088663578,
0.015751264989376068,
-0.009015829302370548,
-0.02320851944386959,
0.15330128371715546,
0.050867486745119095,
-0.060136180371046066,
0.006583716720342636,
0.01321340911090374,
-0.027898039668798447,
-0.05366280674934387,
0.0002853365149348974,
-0.03569551184773445,
-0.024072863161563873,
0.040017224848270416,
-0.048219285905361176,
0.031815167516469955,
0.013820287771522999,
-0.049285922199487686,
-0.0781218633055687,
0.006404411513358355,
0.02195798233151436,
0.019475296139717102,
-0.008243437856435776,
-0.02970028482377529,
0.06502798944711685,
-0.01460187416523695,
0.021167200058698654,
0.054324857890605927,
-0.03558517247438431,
-0.009700867347419262,
-0.005204446148127317,
-0.001225251704454422,
-0.013480067253112793,
0.047961823642253876,
-0.04130454361438751,
-0.04417342692613602,
-0.04244474321603775,
-0.0506100207567215,
0.0482928492128849,
0.0664624348282814,
0.040090788155794144,
-0.018804050981998444,
0.023226911202073097,
0.036173660308122635,
0.019125880673527718,
0.010454867966473103,
0.041525229811668396,
-0.05167665705084801,
-0.014473142102360725,
0.05366280674934387,
0.004392975475639105,
0.04774114117026329,
0.005719373933970928,
-0.06925775855779648,
-0.005981435067951679,
-0.020155735313892365,
-0.02523144893348217,
0.03979654237627983,
-0.025764767080545425,
-0.005820520222187042,
-0.031999070197343826,
-0.051823779940605164,
0.05513402819633484,
0.0008534234366379678,
0.017452366650104523,
0.020707443356513977,
0.022105103358626366,
-0.06363033503293991,
0.007595181465148926,
0.008381365798413754,
0.024624571204185486,
0.005038933828473091,
0.0002828940632753074,
0.011990455910563469,
0.002988418797031045,
-0.03481278195977211,
0.09739486873149872,
-0.013535238802433014,
-0.004694116301834583,
0.007737705949693918,
0.012753651477396488,
0.040532153099775314,
-0.02769574522972107,
-0.05347890406847,
0.0005042956909164786,
0.019953442737460136,
0.08378607034683228,
0.023686667904257774,
0.03668858855962753,
-0.017020193859934807,
0.003751615062355995,
0.02782447822391987,
-0.056494906544685364,
-0.03663341701030731,
-0.031061165034770966,
0.009415818378329277,
0.01943851448595524,
-0.0079170111566782,
-0.024900425225496292,
-0.03198067843914032,
0.04888133704662323,
0.050683584064245224,
-0.04818250611424446,
0.0015965052880346775,
-0.04340103641152382,
0.01217435859143734,
0.04005400836467743,
-0.003930920269340277,
0.013084677048027515,
-0.021737297996878624,
-0.029663505032658577,
-0.026390036568045616,
0.00608717929571867,
-0.011861723847687244,
0.008923877961933613,
-0.022730372846126556,
0.027548624202609062,
-0.020468369126319885,
-0.016698364168405533,
-0.009516964666545391,
0.010436478070914745,
0.07768049836158752,
0.0000664132967358455,
0.04899167641997337,
-0.028725601732730865,
-0.02655554935336113,
-0.049028459936380386,
-0.016385730355978012,
-0.030748531222343445,
-0.035732295364141464,
0.017930513247847557,
-0.0412677638232708,
-0.016863876953721046,
-0.01545702200382948,
-0.02990257740020752,
0.03532770648598671,
0.018712099641561508,
0.03543804958462715,
0.03216458112001419,
0.040642496198415756,
-0.0033240411430597305,
0.015659313648939133,
-0.011144503019750118,
-0.02447744831442833,
0.0007471046992577612,
-0.002302231965586543,
-0.05347890406847,
-0.08224128186702728,
0.029847407713532448,
-0.006179130636155605,
0.0031194493640214205,
0.04156200960278511,
-0.008307804353535175,
0.009737648069858551,
0.08113786578178406,
0.00019927580433432013,
-0.004753884859383106,
0.057304080575704575,
0.06311540305614471,
0.0638510137796402,
0.04031147062778473,
0.0019620119128376245,
-0.0007143470575101674,
-0.0635935515165329,
0.008013559505343437,
-0.068522147834301,
0.0066388873383402824,
0.0246613509953022,
0.021718908101320267,
0.017553512006998062,
-0.006537741050124168,
-0.01648687571287155,
-0.0009212375734932721,
-0.007314729504287243,
-0.03690927103161812,
0.04174591228365898,
-0.053515683859586716,
-0.027217598631978035,
0.00720438826829195,
-0.04509294033050537,
-0.005967642646282911,
-0.025213059037923813,
-0.07381854206323624,
0.010629575699567795,
0.04207693785429001,
0.009728452190756798,
0.056494906544685364,
0.03359902277588844,
-0.02738311141729355,
-0.012542163953185081,
-0.06366711109876633,
-0.016523657366633415,
-0.018555782735347748,
-0.02762218564748764,
0.02775091677904129,
-0.006542338524013758,
0.007737705949693918,
0.04527684301137924,
-0.014491531997919083,
0.033966828137636185,
0.0011022668331861496,
-0.020321248099207878,
-0.044504452496767044,
-0.0025079729966819286,
-0.030932433903217316,
0.02302461676299572,
-0.007227376103401184,
-0.09158354252576828,
0.06660955399274826,
0.022160274907946587,
-0.0009907757630571723,
0.01296513993293047,
0.010831869207322598,
0.04895489662885666,
-0.024330327287316322,
0.022031543776392937,
0.056862711906433105,
-0.008225047960877419,
-0.006611302029341459,
-0.013250188902020454,
-0.05038933828473091,
-0.00023160246200859547,
-0.017093755304813385,
-0.024642961099743843,
-0.008873305283486843,
0.04843996837735176,
0.06289472430944443,
-0.050168655812740326,
0.021847641095519066,
0.038509223610162735,
0.02787964791059494,
0.023741837590932846,
0.020578712224960327,
0.02604062110185623,
0.0033631206024438143,
-0.0227119829505682,
-0.01943851448595524,
0.04016434773802757,
-0.010454867966473103,
-0.06940487772226334,
0.009802013635635376,
-0.09114217758178711,
0.05542827397584915,
0.009618110954761505,
-0.004395274445414543,
0.011024966835975647,
-0.007231973577290773,
0.041672348976135254,
-0.008473317138850689,
-0.036872491240501404,
-0.011457137763500214,
0.0032389862462878227,
0.018151195719838142,
0.009029622189700603,
0.051382411271333694,
0.0376448817551136,
-0.03236687555909157,
0.024955594912171364,
0.02188442088663578,
0.0007994020124897361,
-0.012827212922275066,
0.029314089566469193,
0.06289472430944443,
-0.013673165813088417,
-0.06936809420585632,
-0.014316825196146965,
0.0503525584936142,
0.03906093165278435,
0.05336856096982956,
-0.021461443975567818,
-0.012238724157214165,
0.04343781620264053,
-0.016698364168405533,
-0.02819228358566761,
-0.011962870135903358,
0.023006226867437363,
-0.03909771144390106,
0.02523144893348217,
-0.010896234773099422,
-0.039833322167396545,
0.04369528219103813,
-0.039318397641181946,
0.007935401052236557,
-0.006349240429699421,
-0.004887213930487633,
-0.013728336431086063,
0.025948669761419296,
0.02403608150780201,
0.030858872458338737,
0.0011189329670742154,
0.02315334975719452,
0.03639434278011322,
0.05145597457885742,
-0.024826863780617714,
-0.025029156357049942,
0.023171739652752876,
0.005245824344456196,
-0.00391942635178566,
0.02006378397345543,
-0.0804758220911026,
0.03527253866195679,
-0.042040154337882996,
-0.03304731473326683,
0.07021404802799225,
-0.040716055780649185,
0.0037654077168554068,
0.041598789393901825,
-0.047079090029001236,
0.014215677976608276,
0.019383344799280167,
-0.0030366932041943073,
-0.05116172879934311,
-0.01596275344491005,
-0.032256532460451126,
0.039318397641181946,
0.002501076553016901,
-0.037883955985307693,
-0.027842868119478226,
-0.02144305408000946,
0.0022286707535386086,
0.023944130167365074,
-0.009374439716339111,
-0.059878718107938766,
-0.023576324805617332,
0.053331781178712845,
0.005333178211003542,
0.009273293428122997,
-0.01593516767024994,
-0.04799860343337059,
-0.03172321617603302,
-0.027088867500424385,
-0.0009953733533620834,
-0.0054021417163312435,
-0.017516732215881348,
0.015604143962264061,
0.008744573220610619,
-0.008500901982188225,
0.04987441003322601,
-0.04825606569647789,
-0.09445242583751678,
-0.013259384781122208,
-0.020210906863212585,
-0.021663738414645195,
0.019787929952144623,
-0.02692335471510887,
0.0410103015601635,
0.0005844657425768673,
0.01708456128835678,
-0.04332747682929039,
-0.04615957662463188,
0.006721643730998039,
0.022491300478577614,
-0.02536018192768097,
0.004487225785851479,
-0.016008729115128517,
-0.0049331896007061005,
0.03740580752491951,
-0.08422743529081345,
0.009562940336763859,
0.037111565470695496,
-0.1297617405653,
0.005981435067951679,
-0.029185358434915543,
0.008799743838608265,
-0.013047896325588226,
0.010868648998439312,
-0.0703611746430397,
0.045644648373126984,
-0.032826632261276245,
0.008238840848207474,
0.07047151029109955,
0.04851353168487549,
-0.06565326452255249,
-0.03917127475142479,
0.006128557492047548,
0.017746610566973686,
-0.020652271807193756,
0.018647734075784683,
-0.07576791197061539,
-0.028431355953216553,
0.00859285332262516,
0.05340534448623657,
0.03361741453409195,
-0.06315218657255173,
0.0506100207567215,
-0.01788453757762909,
0.04351137951016426,
-0.031943898648023605,
0.016725949943065643,
-0.05829715356230736,
-0.029608333483338356,
0.011061747558414936,
-0.015466216951608658,
-0.07848966866731644,
0.0198614913970232,
-0.0033999010920524597,
0.01565011963248253,
0.048403188586235046,
0.012284699827432632,
-0.052191585302352905,
-0.028118722140789032,
-0.06157062202692032,
0.017066169530153275,
-0.03039911575615406,
-0.004832043312489986,
0.02819228358566761,
-0.018721293658018112,
0.06054076552391052,
-0.0016160449013113976,
0.008036547340452671,
-0.02061549201607704,
0.0314105786383152,
-0.018629342317581177,
0.019033929333090782,
-0.020799394696950912,
0.01596275344491005,
0.008229645900428295,
0.025562474504113197,
0.028100332245230675,
-0.05443519726395607,
0.0009149159304797649,
0.009756037965416908,
0.005641215015202761,
0.024459058418869972,
0.05127207189798355,
-0.003707938129082322,
0.010206599719822407,
0.00545731233432889,
0.010335331782698631,
-0.1113714724779129,
-0.05116172879934311,
-0.0010620381217449903,
0.005415934603661299,
0.00811010878533125,
-0.05601676180958748,
-0.06705092638731003,
-0.029001455754041672,
-0.03155770152807236,
0.06580038368701935,
-0.06344643235206604,
-0.05233870819211006,
-0.03258755803108215,
-0.0848894864320755,
0.06249013543128967,
0.035346098244190216,
0.020137345418334007,
-0.04189303517341614,
-0.004206774290651083,
0.00009662075171945617,
-0.00788942538201809,
0.0013034103903919458,
-0.04674806445837021,
0.010436478070914745,
0.0014149013441056013,
-0.03733224794268608,
0.04913879930973053,
0.02572798728942871,
0.02837618626654148,
-0.025580864399671555,
-0.023374032229185104,
-0.05601676180958748,
0.039575859904289246,
0.04877099394798279,
0.03393004834651947,
0.017516732215881348,
-0.06848536431789398,
-0.04093673825263977,
-0.005484898108989,
0.003696444211527705,
0.013204213231801987,
-0.02068905346095562,
0.010896234773099422,
0.05160309746861458,
0.0021378688979893923,
-0.05134563148021698,
-0.018905196338891983,
0.004680323414504528,
0.03540126979351044,
0.03891380876302719,
-0.011337601579725742,
0.015098411589860916,
0.0223257876932621,
0.0010246827732771635,
0.0353093184530735,
0.025268230587244034,
0.021020077168941498,
0.015080020762979984,
0.06907385587692261,
-0.007590583525598049,
0.06730838865041733,
0.028284234926104546,
-0.006611302029341459,
-0.0036573647521436214,
0.001881554489955306,
-0.03887702897191048,
-0.04123098403215408,
-0.031171506270766258,
0.10386823862791061,
0.015162777155637741,
0.05163987725973129,
0.020358027890324593
] |
18,000 | imodels.tree.tao | _tao_iter_cart | Updates tree by applying the tao algorithm to the tree
Params
------
X: array-like of shape (n_samples, n_features)
The input samples.
y: array-like of shape (n_samples,)
The target values.
model: DecisionTreeClassifier.tree_ or DecisionTreeRegressor.tree_
The model to be post-hoc improved
| def _tao_iter_cart(self, X, y, tree, X_score=None, y_score=None, sample_weight=None):
"""Updates tree by applying the tao algorithm to the tree
Params
------
X: array-like of shape (n_samples, n_features)
The input samples.
y: array-like of shape (n_samples,)
The target values.
model: DecisionTreeClassifier.tree_ or DecisionTreeRegressor.tree_
The model to be post-hoc improved
"""
# Tree properties
children_left = tree.children_left
children_right = tree.children_right
feature = tree.feature
threshold = tree.threshold
value = tree.value
# For each node, store the path to that node #######################################################
indexes_with_prefix_paths = [] # data structure with (index, path_to_node_index)
# e.g. if if node 3 is the left child of node 1 which is the right child of node 0
# then we get (3, [(0, R), (1, L)])
# start with the root node id (0) and its depth (0)
queue = deque()
queue.append((0, []))
while len(queue) > 0:
node_id, path_to_node_index = queue.popleft()
indexes_with_prefix_paths.append((node_id, path_to_node_index))
# If a split node, append left and right children and depth to queue
if children_left[node_id] != children_right[node_id]:
queue.append((children_left[node_id], path_to_node_index + [(node_id, 'L')]))
queue.append((children_right[node_id], path_to_node_index + [(node_id, 'R')]))
# print(indexes_with_prefix_paths)
num_updates = 0
# Reversing BFS queue presents nodes bottom -> top one level at a time
for (node_id, path_to_node_index) in reversed(indexes_with_prefix_paths):
# For each each node, try a TAO update
# print('node_id', node_id, path_to_node_index)
# Compute the points being input to the node ######################################
def filter_points_by_path(X, y, path_to_node_index):
"""Returns the points in X that are in the path to the node"""
for node_id, direction in path_to_node_index:
idxs = X[:, feature[node_id]] <= threshold[node_id]
if direction == 'R':
idxs = ~idxs
# print('idxs', idxs.size, idxs.sum())
X = X[idxs]
y = y[idxs]
return X, y
X_node, y_node = filter_points_by_path(X, y, path_to_node_index)
if sample_weight is not None:
sample_weight_node = filter_points_by_path(X, sample_weight, path_to_node_index)[1]
else:
sample_weight_node = np.ones(y_node.size)
# Skip over leaf nodes and nodes with too few samples ######################################
if children_left[node_id] == children_right[node_id]: # is leaf node
if isinstance(self, RegressorMixin) and X_node.shape[0] >= self.min_leaf_samples_tao:
# old_score = self.model.score(X, y)
value[node_id] = np.mean(y_node)
"""
new_score = self.model.score(X, y)
if new_score > old_score:
print(f'\tLeaf improved score from {old_score:0.3f} to {new_score:0.3f}')
if new_score < old_score:
print(f'\tLeaf reduced score from {old_score:0.3f} to {new_score:0.3f}')
# raise ValueError('Leaf update reduced score')
"""
# print('\tshapes', X_node.shape, y_node.shape)
# print('\tvals:', value[node_id][0][0], np.mean(y_node))
# assert value[node_id][0][0] == np.mean(y_node), 'unless tree changed, vals should be leaf means'
continue
elif X_node.shape[0] < self.min_node_samples_tao:
continue
# Compute the outputs for these points if they go left or right ######################################
def predict_from_node(X, node_id):
"""Returns predictions for X starting at node node_id"""
def predict_from_node(x, node_id):
"""Returns predictions for x starting at node node_id"""
if children_left[node_id] == children_right[node_id]:
if isinstance(self, RegressorMixin):
return value[node_id]
if isinstance(self, ClassifierMixin):
return np.argmax(value[node_id]) # note value stores counts for each class
if x[feature[node_id]] <= threshold[node_id]:
return predict_from_node(x, children_left[node_id])
else:
return predict_from_node(x, children_right[node_id])
preds = np.zeros(X.shape[0])
for i in range(X.shape[0]):
preds[i] = predict_from_node(X[i], node_id)
return preds
y_node_left = predict_from_node(X_node, children_left[node_id])
y_node_right = predict_from_node(X_node, children_right[node_id])
if node_id == 0: # root node
assert np.all(np.logical_or(self.model.predict(X_node) == y_node_left,
self.model.predict(
X_node) == y_node_right)), \
'actual predictions should match either predict_from_node left or right'
# Decide on prediction target (want to go left (0) / right (1) when advantageous)
# TAO paper binarizes these (e.g. predict 0 or 1 depending on which of these is better)
y_node_absolute_errors = np.abs(np.vstack((y_node - y_node_left,
y_node - y_node_right))).T
# screen out indexes where going left/right has no effect
idxs_relevant = y_node_absolute_errors[:, 0] != y_node_absolute_errors[:, 1]
if idxs_relevant.sum() <= 1: # nothing to change
if self.verbose:
print('no errors to change')
continue
# assert np.all((self.model.predict(X) != y)[idxs_relevant]), 'relevant indexes should be errors'
y_node_target = np.argmin(y_node_absolute_errors, axis=1)
y_node_target = y_node_target[idxs_relevant]
# here, we optionally weight these errors by the size of the error
# if we want this to work for classification, must switch to predict_proba
# if self.prediction_task == 'regression':
# weight by the difference in error ###############################################################
if self.weight_errors:
sample_weight_node *= np.abs(y_node_absolute_errors[:, 1] - y_node_absolute_errors[:, 0])
sample_weight_node_target = sample_weight_node[idxs_relevant]
X_node = X_node[idxs_relevant]
# Fit a 1-variable binary classification model on these outputs ######################################
# Note: this could be customized (e.g. for sparse oblique trees)
best_score = -np.inf
best_feat_num = None
for feat_num in range(X.shape[1]):
if isinstance(self, ClassifierMixin):
if self.node_model == 'linear':
m = LogisticRegression(**self.node_model_args)
elif self.node_model == 'stump':
m = DecisionTreeClassifier(max_depth=1, **self.node_model_args)
if isinstance(self, RegressorMixin):
if self.node_model == 'linear':
m = LinearRegression(**self.node_model_args)
elif self.node_model == 'stump':
m = DecisionTreeRegressor(max_depth=1, **self.node_model_args)
X_node_single_feat = X_node[:, feat_num: feat_num + 1]
m.fit(X_node_single_feat, y_node_target, sample_weight=sample_weight_node_target)
score = m.score(X_node_single_feat, y_node_target, sample_weight=sample_weight_node_target)
if score > best_score:
best_score = score
best_feat_num = feat_num
best_model = deepcopy(m)
if self.node_model == 'linear':
best_threshold = -best_model.intercep | (self, X, y, tree, X_score=None, y_score=None, sample_weight=None) | [
0.014180506579577923,
-0.013315078802406788,
-0.004243724979460239,
0.031697604805231094,
0.008409248664975166,
-0.029361991211771965,
-0.08558353036642075,
0.013429773971438408,
0.021896371617913246,
-0.031572479754686356,
0.013794713653624058,
-0.003274028655141592,
0.031405650079250336,
0.030592357739806175,
-0.002349949674680829,
0.04404298588633537,
0.005562720820307732,
0.015431728214025497,
0.029987601563334465,
0.05092470347881317,
-0.024357106536626816,
-0.034471143037080765,
-0.028069062158465385,
0.035513829439878464,
-0.033928949385881424,
-0.05355226621031761,
-0.004366240464150906,
-0.011010746471583843,
0.00015925374464131892,
-0.009983702562749386,
-0.04504396393895149,
-0.06301984190940857,
-0.033741265535354614,
-0.05305177718400955,
-0.024127714335918427,
-0.038120537996292114,
0.004058648832142353,
0.042708348482847214,
-0.005547080654650927,
-0.06852521002292633,
-0.035513829439878464,
-0.08541669696569443,
-0.05889081209897995,
-0.0007350924424827099,
-0.023231007158756256,
0.011302698403596878,
-0.039392612874507904,
0.06185203418135643,
-0.0006946884095668793,
-0.04984030872583389,
-0.010400775820016861,
-0.0856669470667839,
0.016151180490851402,
0.07740888744592667,
0.0061674779281020164,
0.023877471685409546,
-0.007251869421452284,
-0.0015418694820255041,
0.05117494612932205,
-0.04596152529120445,
0.07649131864309311,
0.05576275661587715,
-0.019091550260782242,
0.040664687752723694,
-0.0014767016982659698,
-0.01957118511199951,
-0.04754640534520149,
-0.00043532068957574666,
0.004108176100999117,
0.033032238483428955,
-0.023668933659791946,
-0.044918838888406754,
0.08633425831794739,
0.004095142707228661,
0.019393928349018097,
-0.021792102605104446,
-0.000039446866139769554,
-0.028361013159155846,
-0.017183437943458557,
-0.025733448565006256,
-0.045544449239969254,
0.042708348482847214,
0.032239798456430435,
-0.024065153673291206,
-0.013825993984937668,
-0.025441497564315796,
0.06110130250453949,
0.031801871955394745,
-0.008529157377779484,
-0.004118603188544512,
-0.05359397456049919,
0.009238183498382568,
0.04984030872583389,
0.05651348829269409,
0.035534679889678955,
0.019675452262163162,
-0.001419353997334838,
-0.04700420796871185,
0.004637338686734438,
-0.04579469561576843,
0.015296178869903088,
0.06823325902223587,
-0.037411514669656754,
0.08228864520788193,
-0.031509920954704285,
0.020061247050762177,
-0.04712933301925659,
0.04871421307325363,
0.011250563897192478,
-0.018643194809556007,
-0.12829187512397766,
0.03726553916931152,
0.021958932280540466,
-0.0038005842361599207,
-0.05163372680544853,
-0.06010032445192337,
-0.04479371756315231,
0.036827608942985535,
-0.05989178642630577,
0.001966763287782669,
0.04249981418251991,
0.016276301816105843,
-0.035367853939533234,
-0.006918210536241531,
-0.04135286062955856,
-0.013189956545829773,
0.08074547350406647,
0.06005861610174179,
-0.027964793145656586,
-0.06080934777855873,
-0.029716502875089645,
-0.018914293497800827,
-0.007131960708647966,
0.06493838131427765,
0.011354831978678703,
-0.014097091741859913,
-0.033073946833610535,
-0.005033558700233698,
0.0005623978795483708,
-0.04537762328982353,
0.06443788856267929,
-0.05338543653488159,
0.06014203280210495,
-0.07532351464033127,
0.021197771653532982,
-0.012783309444785118,
-0.010624953545629978,
0.003777123987674713,
-0.022793078795075417,
-0.025378936901688576,
-0.019404355436563492,
-0.004728573374450207,
0.029862478375434875,
-0.04118603095412254,
0.009264250285923481,
-0.004105569329112768,
-0.0012857600813731551,
-0.05301007255911827,
0.005088299512863159,
-0.009681323543190956,
-0.035764072090387344,
-0.06039227545261383,
0.026484182104468346,
-0.02069728448987007,
0.007069399580359459,
0.015379593707621098,
-0.04500225558876991,
0.032323215156793594,
-0.036806754767894745,
-0.005917233414947987,
0.0014362976653501391,
-0.04650371894240379,
-0.06627301871776581,
0.022542834281921387,
-0.05734763666987419,
0.04658713564276695,
0.032510895282030106,
-0.023627227172255516,
0.002909089205786586,
0.05872398242354393,
0.006402081809937954,
-0.0013248607283458114,
0.0007924400852061808,
-0.023835763335227966,
-0.022542834281921387,
-0.005656562279909849,
0.04625347629189491,
-0.014733129180967808,
-0.007470833137631416,
0.06835838407278061,
-0.039434321224689484,
-0.033511873334646225,
0.012209833599627018,
0.028194183483719826,
0.05472007393836975,
0.024461373686790466,
0.032448336482048035,
0.009644829668104649,
0.05751446634531021,
0.030821748077869415,
-0.0032948823645710945,
-0.034825656563043594,
0.05104982480406761,
0.008039096370339394,
-0.05288494750857353,
-0.004337566904723644,
-0.023126738145947456,
0.05484519526362419,
-0.035868339240550995,
-0.024795033037662506,
-0.029028331860899925,
0.022104907780885696,
0.0060579958371818066,
0.023585518822073936,
0.05150860548019409,
0.012355809099972248,
-0.005234275478869677,
0.02075984515249729,
-0.009175621904432774,
-0.033324189484119415,
-0.018278256058692932,
-0.016985327005386353,
-0.05997520312666893,
0.004074288997799158,
0.031530775129795074,
-0.028152476996183395,
0.040331028401851654,
0.04266664385795593,
0.06969302147626877,
-0.04933982342481613,
0.038120537996292114,
-0.015223191119730473,
0.017788194119930267,
-0.040164198726415634,
0.035638950765132904,
-0.030550651252269745,
-0.0060006482526659966,
-0.004697293043136597,
-0.06172691285610199,
-0.012647761031985283,
-0.0398096889257431,
-0.06552228331565857,
0.0028647752478718758,
-0.04387615621089935,
-0.019206244498491287,
0.04283347353339195,
0.08591718971729279,
0.009425866417586803,
-0.008904524147510529,
-0.024920154362916946,
0.006876503117382526,
-0.037932854145765305,
-0.013231663964688778,
-0.012564346194267273,
-0.003495599143207073,
-0.08349815756082535,
0.07056887447834015,
0.019456489011645317,
0.029007477685809135,
-0.009769951924681664,
-0.0018090573139488697,
0.018403377383947372,
-0.023773202672600746,
0.041123468428850174,
-0.05509543791413307,
0.0018989888485521078,
0.033240776509046555,
-0.020082099363207817,
0.010207879357039928,
0.0023942638654261827,
0.05225933715701103,
0.03916322439908981,
-0.07144472748041153,
0.020561734214425087,
-0.024857593700289726,
0.015504715964198112,
-0.017464961856603622,
0.005781684536486864,
0.009921140968799591,
0.014816544018685818,
-0.037286389619112015,
-0.06276959925889969,
-0.011563369072973728,
0.014138799160718918,
-0.07140301913022995,
-0.037098709493875504,
-0.029507966712117195,
-0.01973801478743553,
0.038016270846128464,
-0.018789172172546387,
-0.034909069538116455,
0.011552941985428333,
0.0003958941961172968,
0.038871269673109055,
0.06055910512804985,
-0.0034643185790628195,
-0.038954686373472214,
-0.003130659693852067,
0.007549034431576729,
0.029299428686499596,
0.022542834281921387,
0.023481251671910286,
0.05200909450650215,
-0.05947471410036087,
0.018851732835173607,
0.033803824335336685,
0.06381227821111679,
-0.003641574876382947,
0.013513188809156418,
0.020092526450753212,
0.022438567131757736,
0.021521003916859627,
0.05184226483106613,
0.007168454583734274,
-0.03695273399353027,
-0.07753400504589081,
0.036577366292476654,
-0.03726553916931152,
0.06306155025959015,
0.05046592280268669,
-0.07131960988044739,
-0.017861181870102882,
0.011062880977988243,
0.004718146752566099,
0.014962519519031048,
-0.007257082965224981,
0.06452130526304245,
0.003466925350949168,
-0.011010746471583843,
-0.031697604805231094,
0.011010746471583843,
-0.038078829646110535,
0.002778753638267517,
0.014222213998436928,
-0.033491019159555435,
-0.005541867110878229,
-0.010447696782648563,
0.015118923038244247,
0.00012398167746141553,
0.030613211914896965,
-0.0004463992372620851,
0.04733786731958389,
-0.025941986590623856,
0.06894228607416153,
0.038495905697345734,
-0.030008453875780106,
0.028256744146347046,
-0.0014597580302506685,
0.0018846519524231553,
0.07340497523546219,
-0.010499831289052963,
0.05905763804912567,
0.017454534769058228,
0.05734763666987419,
0.006574124563485384,
0.0065115634351968765,
0.013012700714170933,
-0.016099045053124428,
0.025191253051161766,
-0.002366893459111452,
-0.03885041922330856,
-0.034116629511117935,
-0.030342113226652145,
0.05826519802212715,
0.012574773281812668,
-0.034095779061317444,
-0.033303335309028625,
0.038767002522945404,
0.05793154239654541,
-0.05230104550719261,
0.016912339255213737,
-0.05584617331624031,
-0.007955681532621384,
0.04235383868217468,
-0.023314421996474266,
0.05684714764356613,
-0.04329225420951843,
-0.014024103991687298,
0.039350904524326324,
0.012366236187517643,
0.037557490170001984,
0.018330389633774757,
-0.035680659115314484,
-0.001947212964296341,
-0.009118274785578251,
-0.05622153729200363,
0.05205080285668373,
-0.038016270846128464,
0.041436273604631424,
-0.05939129739999771,
0.04039359092712402,
-0.0011567278997972608,
0.0057451906614005566,
-0.04566957429051399,
-0.022980762645602226,
0.018653621897101402,
0.027777111157774925,
0.043667618185281754,
-0.05367738753557205,
-0.019237525761127472,
-0.029987601563334465,
-0.031447358429431915,
-0.005249915644526482,
-0.001105897012166679,
-0.003036818001419306,
-0.023877471685409546,
0.033908095210790634,
0.034116629511117935,
-0.016703803092241287,
0.08132937550544739,
-0.030467236414551735,
0.037286389619112015,
0.035951755940914154,
0.027130646631121635,
-0.04458518326282501,
-0.006626259069889784,
0.033949799835681915,
0.06906741112470627,
0.07040204852819443,
-0.011010746471583843,
0.008445742540061474,
0.04135286062955856,
0.005703483242541552,
0.011188002303242683,
0.04291688650846481,
-0.004798954352736473,
-0.015786239877343178,
-0.0009423259762115777,
-0.040143344551324844,
0.04900616407394409,
-0.008852389641106129,
-0.06785789877176285,
-0.036577366292476654,
-0.041790787130594254,
-0.012001296505331993,
0.008383181877434254,
-0.021333321928977966,
-0.021729541942477226,
0.019842281937599182,
0.017027035355567932,
0.020186368376016617,
0.028611257672309875,
0.07219546288251877,
-0.005948514211922884,
0.015233618207275867,
-0.008284127339720726,
-0.029090892523527145,
-0.04954835772514343,
-0.06806643307209015,
-0.0068504358641803265,
0.015118923038244247,
0.011907454580068588,
0.04850567504763603,
0.05809837207198143,
-0.027380891144275665,
-0.016015630215406418,
-0.037453219294548035,
-0.027380891144275665,
-0.001451937947422266,
-0.0038970327004790306,
-0.017537949606776237,
0.013846848160028458,
0.028569551184773445,
0.014639288187026978,
0.024398813024163246,
-0.0062143984250724316,
0.027797963470220566,
-0.003550340188667178,
-0.013054408133029938,
-0.029528819024562836,
0.023919178172945976,
-0.05526226758956909,
-0.04762981832027435,
-0.031489066779613495,
-0.011115014553070068,
0.022230029106140137,
-0.028506988659501076,
-0.036973584443330765,
0.004832841921597719,
-0.032114677131175995,
0.011146295815706253,
-0.04227042198181152,
0.030780041590332985,
-0.0009794716024771333,
0.011646783910691738,
-0.005289016291499138,
0.017673499882221222,
-0.038412488996982574,
0.023189298808574677,
-0.029028331860899925,
-0.08800255507230759,
-0.05930788442492485,
0.021333321928977966,
0.05029909312725067,
-0.08216352760791779,
0.0072049484588205814,
0.027631133794784546,
-0.0029560099355876446,
-0.005755617283284664,
-0.042103592306375504,
0.033657848834991455,
0.024357106536626816,
-0.028110768646001816,
-0.036410536617040634,
0.010948185808956623,
0.038892123848199844,
-0.04858908802270889,
0.015108495950698853,
-0.06080934777855873,
0.05009055510163307,
0.0006233297172002494,
-0.04170737415552139,
0.06969302147626877,
-0.022772224619984627,
-0.0025180827360600233,
0.040643833577632904,
0.029382843524217606,
0.04108176380395889,
0.025733448565006256,
-0.0017947204178199172,
-0.011855321004986763,
-0.011104588396847248,
0.034200046211481094,
-0.039392612874507904,
0.05743105337023735,
0.06447959691286087,
-0.005077872425317764,
0.022042347118258476,
0.040664687752723694,
-0.007992175407707691,
0.013388066552579403,
-0.041790787130594254,
0.029466258361935616,
0.05388592556118965,
-0.007449979428201914,
-0.018424231559038162,
0.08437401801347733,
-0.06293642520904541,
0.019831854850053787,
-0.034971632063388824,
0.023481251671910286,
-0.013283798471093178,
-0.0058442456647753716,
-0.013992823660373688,
-0.02069728448987007,
0.036014314740896225,
0.015077215619385242,
0.013930262066423893,
-0.04842225834727287,
0.025253813713788986,
0.021416736766695976,
-0.0013007486704736948,
0.06251934915781021,
0.08875329047441483,
0.08091229945421219,
0.0010752682574093342,
-0.005453239195048809,
0.017694352194666862,
0.05334372818470001,
0.013043981045484543,
-0.027297476306557655,
-0.033866386860609055,
0.008174644783139229,
-0.05701397731900215,
0.04496054723858833,
0.031801871955394745,
-0.05050762742757797,
0.04379274323582649,
-0.005620068404823542,
0.011198429390788078,
0.040018223226070404,
0.007507327012717724,
-0.021291613578796387,
-0.018455512821674347,
-0.06276959925889969,
-0.009587482549250126,
-0.017381547018885612,
-0.026213083416223526,
-0.06623131036758423,
0.0051430403254926205,
0.022501127794384956,
0.024023447185754776,
0.034241754561662674,
-0.031551629304885864,
0.05363568291068077,
-0.005080479197204113,
0.007283149752765894,
0.07853498309850693,
-0.0029012691229581833,
-0.024899302050471306,
-0.038725294172763824,
0.033574435859918594,
-0.004785920958966017,
-0.06881716847419739,
-0.01911240443587303,
0.009582269005477428,
-0.019612891599535942,
-0.012564346194267273,
0.042875178158283234,
-0.00485630240291357,
0.018267828971147537,
0.005906806793063879,
0.029779063537716866,
0.008148577995598316,
0.0019341794541105628,
-0.029216013848781586,
-0.009441506117582321,
-0.026838693767786026,
-0.0025089590344578028,
0.007684583310037851,
0.038391634821891785,
0.0028856289573013783,
0.05601300299167633,
-0.04375103488564491,
-0.03853761404752731,
-0.035263583064079285,
0.004496576264500618,
0.039893101900815964,
0.009545775130391121,
-0.003711956087499857,
0.017068741843104362,
0.005322903394699097,
0.008998366072773933,
0.022104907780885696,
-0.06193544715642929,
-0.002145322971045971,
0.032031260430812836,
-0.09542647004127502,
0.0033756904304027557,
-0.0060684229247272015,
0.006824369076639414,
-0.04946494475007057,
-0.002609317423775792,
-0.04617006331682205,
0.018653621897101402,
-0.011479954235255718,
0.04604493826627731,
0.013846848160028458,
-0.006683606654405594,
-0.00037178213824518025,
-0.05805666372179985,
-0.006819155532866716,
-0.001294883550144732,
0.017204292118549347,
-0.008101657032966614,
-0.036765050143003464,
-0.004282825626432896,
0.06410422921180725,
0.041269443929195404,
0.04391786456108093,
-0.028798941522836685,
0.003881392301991582,
-0.06427106261253357,
-0.013304651714861393,
-0.013356786221265793,
0.039580296725034714,
-0.00023900279484223574,
0.04959006607532501,
0.018413804471492767,
-0.013513188809156418,
-0.024649057537317276,
-0.003881392301991582,
0.029591381549835205,
0.016224168241024017,
0.0026718785520642996,
-0.014628861099481583,
0.034033216536045074,
0.012804163619875908,
0.015431728214025497,
0.032385773956775665,
-0.035013340413570404,
-0.036535657942295074,
-0.011792759411036968,
0.007794065400958061,
0.009764738380908966,
-0.05985007807612419,
0.015066788531839848,
0.014555873349308968,
0.008226779289543629,
-0.029487112537026405,
0.05609641596674919,
0.10251672565937042,
-0.035805780440568924,
-0.041436273604631424,
0.08053693920373917,
0.029174307361245155,
-0.024252837523818016,
0.028840648010373116,
0.022834787145256996,
-0.05934959277510643,
-0.035638950765132904,
-0.0032323214691132307,
0.04026846960186958,
0.005268162582069635,
-0.028757233172655106,
0.005974580999463797,
-0.04988201707601547,
0.04214530065655708,
0.024586496874690056,
-0.039663709700107574,
0.0022365578915923834,
-0.030508942902088165,
-0.06510520726442337,
0.0007533394382335246,
0.014910385943949223,
0.05901593342423439,
-0.10393477231264114,
0.014065811410546303,
-0.027589427307248116,
-0.07111106812953949,
-0.0064542158506810665,
0.009738671593368053,
-0.011563369072973728,
-0.035555534064769745,
-0.03853761404752731,
0.020978808403015137,
-0.037390660494565964,
0.007705437019467354,
-0.025337228551506996,
0.018893439322710037,
-0.0031384797766804695,
-0.001896382076665759,
0.04008078575134277,
0.04813030734658241,
-0.037870295345783234,
0.023043323308229446,
0.04400127753615379,
-0.08028668910264969,
0.012032576836645603,
-0.035326145589351654,
0.022042347118258476,
0.034450288861989975,
0.015796666964888573,
-0.033782970160245895,
-0.035492975264787674,
-0.041436273604631424,
-0.007809705566614866,
-0.04721274599432945,
0.023105883970856667,
0.04938152804970741,
0.021051796153187752,
-0.04291688650846481,
-0.04971518740057945,
0.013043981045484543,
0.013534042052924633,
0.030091868713498116,
-0.0016291942447423935,
0.031572479754686356,
0.012564346194267273,
-0.038954686373472214,
0.07878522574901581,
-0.026817841455340385,
0.039079807698726654,
0.05017396807670593,
0.05142518877983093,
0.05401104688644409,
0.021979784592986107,
-0.027589427307248116,
-0.006506350357085466,
-0.05109153315424919,
0.017902890220284462,
-0.05184226483106613,
-0.015327459201216698,
0.034971632063388824,
0.027526866644620895,
0.031655896455049515,
-0.0030915590468794107,
0.04950665310025215
] |
18,003 | imodels.tree.tao | fit |
Params
------
_sample_weight: array-like of shape (n_samples,), default=None
Sample weights. If None, then samples are equally weighted.
Splits that would create child nodes with net zero or negative weight
are ignored while searching for a split in each node.
| def fit(self, X, y=None, feature_names=None, sample_weight=None):
"""
Params
------
_sample_weight: array-like of shape (n_samples,), default=None
Sample weights. If None, then samples are equally weighted.
Splits that would create child nodes with net zero or negative weight
are ignored while searching for a split in each node.
"""
X, y, feature_names = check_fit_arguments(self, X, y, feature_names)
if isinstance(self, RegressorMixin):
raise Warning('TAO Regression is not yet tested')
X, y = check_X_y(X, y)
y = y.astype(float)
if feature_names is not None:
self.feature_names_ = feature_names
if self.model_type == 'CART':
if isinstance(self, ClassifierMixin):
self.model = DecisionTreeClassifier(**self.model_args)
elif isinstance(self, RegressorMixin):
self.model = DecisionTreeRegressor(**self.model_args)
self.model.fit(X, y, sample_weight=sample_weight)
if self.verbose:
print(export_text(self.model))
# plot_tree(self.model)
# plt.savefig('/Users/chandan/Desktop/tree.png', dpi=300)
# plt.show()
if self.randomize_tree:
np.random.shuffle(self.model.tree_.feature) # shuffle CART features
# np.random.shuffle(self.model.tree_.threshold)
for i in range(self.model.tree_.node_count): # split on feature medians
self.model.tree_.threshold[i] = np.median(
X[:, self.model.tree_.feature[i]])
if self.verbose:
print('starting score', self.model.score(X, y))
for i in range(self.n_iters):
num_updates = self._tao_iter_cart(X, y, self.model.tree_, sample_weight=sample_weight)
if num_updates == 0:
break
return self
| (self, X, y=None, feature_names=None, sample_weight=None) | [
-0.0017641711747273803,
-0.004221844021230936,
0.020634720101952553,
-0.030504345893859863,
-0.00012539303861558437,
-0.03299608454108238,
-0.0737399235367775,
0.0237883273512125,
0.026630468666553497,
-0.014298303984105587,
0.026688868179917336,
0.0011759113986045122,
0.043916914612054825,
0.0005319888587109745,
-0.012468432076275349,
0.014181503094732761,
0.009339157491922379,
-0.0286355409771204,
0.009879359044134617,
0.0351763591170311,
-0.0069058178924024105,
-0.018931381404399872,
-0.0608140230178833,
0.017101511359214783,
-0.021101921796798706,
-0.013753235340118408,
-0.002273955848067999,
0.0063023497350513935,
-0.013947902247309685,
0.012273765169084072,
-0.03231475129723549,
-0.03982890397310257,
-0.07424605637788773,
0.005236546974629164,
-0.03377475216984749,
-0.03737609460949898,
0.006414283066987991,
0.024975797161459923,
0.035955026745796204,
-0.02752593718469143,
-0.016507776454091072,
-0.07521939277648926,
-0.0201675184071064,
-0.012984300032258034,
-0.0649799033999443,
0.0012762866681441665,
-0.04971799626946449,
0.11750110238790512,
-0.009295357391238213,
-0.0577382817864418,
-0.012789633125066757,
-0.06957404315471649,
-0.002261789282783866,
0.04613611847162247,
-0.02098512090742588,
0.025014732033014297,
0.029764609411358833,
0.028752340003848076,
0.06443483382463455,
-0.006078482139855623,
0.06264389306306839,
0.05182040110230446,
0.0017885046545416117,
0.02738966979086399,
-0.02943367511034012,
-0.040607571601867676,
-0.06346149742603302,
0.026046467944979668,
0.003927410114556551,
0.04212597385048866,
-0.010658027604222298,
-0.03873876482248306,
0.05162573233246803,
0.03829103335738182,
0.01744217798113823,
-0.0054360805079340935,
0.008696755394339561,
-0.03542942553758621,
-0.021004587411880493,
-0.007202685344964266,
-0.06474629789590836,
0.03770703077316284,
0.004331344738602638,
-0.023145927116274834,
-0.03291821852326393,
-0.034942757338285446,
0.048978257924318314,
0.01804564706981182,
0.02458646334707737,
0.007037218194454908,
-0.03879716619849205,
0.01471683755517006,
0.041775573045015335,
0.015768039971590042,
0.022776057943701744,
-0.00397851038724184,
0.000941094069276005,
-0.022717658430337906,
-0.038680367171764374,
-0.0400235690176487,
-0.03391101956367493,
0.06237136200070381,
-0.005956815555691719,
0.0803586095571518,
-0.015417640097439289,
0.006170949432998896,
-0.046642255038022995,
0.036850493401288986,
-0.0008468021987937391,
-0.013860302045941353,
-0.0949975773692131,
0.04286571219563484,
0.04703158885240555,
0.030601678416132927,
-0.04469558224081993,
-0.05980175361037254,
-0.05100279673933983,
0.003336108522489667,
-0.08207167685031891,
-0.062176693230867386,
0.009816092438995838,
0.0543510727584362,
-0.02376886084675789,
-0.0011053445050492883,
-0.048549991101026535,
0.03260675072669983,
0.08643222600221634,
0.04745985567569733,
-0.03930330276489258,
-0.06268282979726791,
0.00835608784109354,
-0.000799960398580879,
0.013305501081049442,
0.015738841146230698,
0.0053484803065657616,
0.013753235340118408,
-0.003482108935713768,
-0.026085400953888893,
0.0009155440493486822,
-0.022211523726582527,
0.07486899197101593,
-0.06976871192455292,
0.02871340699493885,
-0.050535596907138824,
0.04286571219563484,
0.017909379675984383,
-0.04967906326055527,
-0.04123050719499588,
-0.04819959029555321,
-0.017938580363988876,
-0.03141928091645241,
0.022698191925883293,
0.027564870193600655,
-0.06587536633014679,
-0.000456251174909994,
0.02752593718469143,
-0.023535260930657387,
-0.016536975279450417,
0.020673653110861778,
-0.002011155243963003,
-0.016770577058196068,
-0.007046951446682215,
0.01497963909059763,
0.0024199562612921,
0.013665635138750076,
0.0406465046107769,
-0.03614969179034233,
0.0019405883504077792,
-0.04586358368396759,
-0.01907738298177719,
-0.0068863509222865105,
-0.03951743617653847,
-0.024352863430976868,
0.019768450409173965,
-0.04660332202911377,
0.009811225347220898,
0.04146410524845123,
0.005299813579767942,
0.02069311961531639,
0.07171538472175598,
0.004041776992380619,
-0.01324710063636303,
-0.014960171654820442,
0.006190415937453508,
-0.027078203856945038,
-0.0443451814353466,
0.02622166834771633,
0.0023128893226385117,
-0.02119925431907177,
0.06782203912734985,
0.021744322031736374,
0.009042290039360523,
-0.004944546148180962,
0.005129479803144932,
0.026903003454208374,
0.00942189060151577,
0.027623271569609642,
-0.027117136865854263,
0.003382342169061303,
0.06334469467401505,
0.0033993753604590893,
-0.04683692008256912,
0.05368920415639877,
-0.0008972939685918391,
-0.007100484799593687,
0.03424195572733879,
-0.015115905553102493,
0.058945219963788986,
-0.051197465509176254,
-0.03850516676902771,
0.004959146026521921,
0.0016449375543743372,
-0.010151892900466919,
0.0648241639137268,
0.03936170041561127,
0.013646168634295464,
-0.0251704640686512,
-0.020342718809843063,
-0.0035332092083990574,
-0.032859817147254944,
0.003411542158573866,
0.004034477286040783,
-0.03535155951976776,
0.03509848937392235,
0.02040112018585205,
-0.0437222458422184,
0.05692068114876747,
-0.0017958045937120914,
0.03568249195814133,
-0.06630364060401917,
0.025014732033014297,
-0.045162782073020935,
0.04255424439907074,
-0.01773417927324772,
-0.003900643438100815,
-0.0010919611668214202,
0.008677288889884949,
-0.002557439962401986,
-0.050691328942775726,
0.01200123131275177,
-0.018872981891036034,
-0.02620220184326172,
-0.012916166335344315,
-0.060697223991155624,
-0.0010633694473654032,
0.054818276315927505,
0.05014626309275627,
-0.012886966578662395,
0.03099101409316063,
-0.05108066648244858,
-0.01951538398861885,
0.002747240476310253,
-0.013821369037032127,
-0.0201675184071064,
-0.032139550894498825,
-0.07580339908599854,
0.06517456471920013,
-0.003024641191586852,
0.013792169280350208,
-0.01899951510131359,
-0.017724445089697838,
0.01647857576608658,
-0.02974514290690422,
0.07677672803401947,
-0.06813351064920425,
-0.008896289393305779,
0.010112959891557693,
-0.012964833527803421,
0.0015062371967360377,
0.0046525453217327595,
0.008219821378588676,
0.049133993685245514,
-0.017412979155778885,
0.02509259805083275,
-0.02149125561118126,
0.016429908573627472,
-0.02371046133339405,
-0.011290695518255234,
-0.0014174203388392925,
-0.0020208884961903095,
-0.016361774876713753,
-0.04282677546143532,
0.0219389908015728,
0.01472657173871994,
-0.07607592642307281,
-0.028109939768910408,
-0.014376170001924038,
0.0032193083316087723,
0.015738841146230698,
-0.0029127076268196106,
-0.05536334216594696,
0.030270744115114212,
0.018152713775634766,
0.05084706470370293,
0.03973156958818436,
-0.035137422382831573,
-0.04613611847162247,
-0.013685101643204689,
0.027078203856945038,
0.005509080830961466,
-0.014366436749696732,
0.016965243965387344,
0.011242029257118702,
-0.048627857118844986,
0.014853104948997498,
0.03443662077188492,
0.06704337149858475,
-0.00651648361235857,
-0.0002010546886594966,
0.028752340003848076,
0.0254819318652153,
0.0640454962849617,
0.06992444396018982,
-0.0029102740809321404,
-0.05178146809339523,
-0.030504345893859863,
0.045746784657239914,
-0.05625881254673004,
0.05614200979471207,
0.05189826712012291,
-0.05777721479535103,
-0.004002843517810106,
-0.0036037759855389595,
-0.029472609981894493,
0.032509416341781616,
0.019028715789318085,
0.03069901280105114,
0.018872981891036034,
-0.022912325337529182,
-0.00942189060151577,
-0.014901772141456604,
0.0025452731642872095,
0.04543531686067581,
-0.0050126793794333935,
-0.045396383851766586,
0.015456573106348515,
-0.0033628754317760468,
-0.008687022142112255,
-0.02230885811150074,
0.0441894456744194,
0.0023773727007210255,
0.02768167108297348,
-0.021880589425563812,
0.0390307679772377,
-0.0017264544731006026,
-0.003002741141244769,
0.04644758626818657,
0.018610181286931038,
0.05302733555436134,
0.06365616619586945,
-0.03128301352262497,
0.035156890749931335,
0.047226253896951675,
0.05298840254545212,
0.0018177046440541744,
0.008808689191937447,
-0.02127712219953537,
0.03770703077316284,
0.01649804227054119,
-0.03328808769583702,
-0.030270744115114212,
-0.01509643904864788,
-0.01979765109717846,
0.06416229903697968,
-0.0023956228978931904,
-0.06809457391500473,
-0.019856050610542297,
0.057465746998786926,
0.041113704442977905,
-0.05766041576862335,
0.03445608913898468,
-0.024761663749814034,
-0.024119261652231216,
0.054662540555000305,
0.007922953926026821,
0.054428938776254654,
-0.012127764523029327,
-0.034047286957502365,
0.060541488230228424,
0.016332576051354408,
0.008935223333537579,
0.028732873499393463,
-0.009738225489854813,
-0.018055379390716553,
-0.012127764523029327,
-0.058205485343933105,
0.005129479803144932,
-0.015388439409434795,
0.04699265584349632,
-0.05411747470498085,
0.045162782073020935,
-0.012137497775256634,
-0.011952564120292664,
-0.007845086976885796,
-0.0603468231856823,
-0.013120567426085472,
0.028888607397675514,
0.005820548161864281,
-0.09896878898143768,
0.005051612854003906,
0.007392485626041889,
-0.05544120818376541,
-0.024703264236450195,
0.0040052770636975765,
0.0011704363860189915,
0.03196435049176216,
0.00016972543380688876,
-0.01598217524588108,
-0.014405370689928532,
0.030796345323324203,
-0.02075152099132538,
0.04364437982439995,
0.05520761013031006,
0.0340278223156929,
-0.06424016505479813,
0.01980738528072834,
0.03667529299855232,
0.08098154515028,
0.06073615700006485,
0.009402424097061157,
0.02077098749577999,
0.031049413606524467,
-0.025929667055606842,
0.012896699830889702,
0.087133027613163,
0.019564051181077957,
-0.0017313210992142558,
-0.03157501295208931,
-0.011242029257118702,
-0.004759612493216991,
-0.06700444221496582,
-0.04905612766742706,
-0.08370688557624817,
-0.011504829861223698,
0.017257245257496834,
0.007538486272096634,
-0.04971799626946449,
-0.02988141030073166,
-0.030368078500032425,
0.022503525018692017,
-0.0067160171456635,
-0.04123050719499588,
0.0538838729262352,
-0.03175021708011627,
-0.015038038603961468,
-0.03406675532460213,
0.004124510567635298,
-0.04216491058468819,
-0.08596502244472504,
-0.029861943796277046,
0.05808868259191513,
0.026688868179917336,
0.027428604662418365,
0.07930740714073181,
-0.045980386435985565,
-0.009188290685415268,
0.05653134733438492,
-0.04088010638952255,
0.02244512550532818,
-0.0160503089427948,
0.0019807384815067053,
-0.0035332092083990574,
0.04543531686067581,
0.008696755394339561,
0.001944238319993019,
-0.0007379102171398699,
0.027370203286409378,
0.01560257375240326,
0.0218611229211092,
-0.03583822399377823,
0.023223793134093285,
-0.02339899353682995,
-0.019700316712260246,
-0.020148051902651787,
-0.012935633771121502,
0.0772828683257103,
-0.008224687539041042,
-0.024489128962159157,
-0.009027689695358276,
-0.04138623923063278,
0.024391796439886093,
-0.048783592879772186,
0.046720121055841446,
0.018658848479390144,
-0.002820240566506982,
0.018298713490366936,
0.002181489020586014,
-0.03498169034719467,
0.013373634777963161,
0.005095412954688072,
-0.05396173894405365,
-0.019894985482096672,
0.0014952871715649962,
0.03461182117462158,
-0.0255597997456789,
0.023204326629638672,
0.028460340574383736,
0.019826851785182953,
-0.050107330083847046,
-0.011193362064659595,
0.026611002162098885,
0.029044341295957565,
0.002754540415480733,
-0.007314618676900864,
-0.0025769066996872425,
0.018152713775634766,
-0.022561924532055855,
-0.009485158137977123,
-0.08238314837217331,
0.029920343309640884,
-0.038758233189582825,
-0.041191574186086655,
0.05633667856454849,
0.01728644408285618,
0.02518993243575096,
0.02871340699493885,
0.005363080650568008,
0.03727876394987106,
0.01259496621787548,
-0.002693706890568137,
-0.004742579068988562,
0.006122282240539789,
0.07354525476694107,
-0.03792116418480873,
0.04123050719499588,
0.05516867712140083,
-0.003681642934679985,
0.04940652847290039,
0.04687585309147835,
0.02164698950946331,
0.05734894797205925,
-0.02024538628757,
-0.015875108540058136,
0.054740406572818756,
0.004467611666768789,
-0.03212008252739906,
0.0073097520507872105,
-0.032859817147254944,
0.0577382817864418,
-0.04298251122236252,
0.0010329526849091053,
-0.02421659603714943,
0.008419355377554893,
-0.025501398369669914,
-0.02680566906929016,
0.009198023937642574,
0.043021444231271744,
0.0009356190566904843,
-0.030387545004487038,
0.03258728235960007,
0.008365822024643421,
-0.015417640097439289,
0.02834353968501091,
0.09554264694452286,
0.08939116448163986,
-0.008818422444164753,
-0.016916576772928238,
0.02082938700914383,
0.030932612717151642,
-0.008322021923959255,
-0.019184449687600136,
-0.001811621361412108,
0.03480648994445801,
-0.028109939768910408,
0.0808258056640625,
0.0125852320343256,
-0.04282677546143532,
0.03467022255063057,
-0.043021444231271744,
-0.02760380506515503,
0.039634235203266144,
-0.004175610840320587,
-0.02349632792174816,
0.04173664003610611,
-0.07549192756414413,
0.026552602648735046,
-0.03827156499028206,
-0.01358776818960905,
-0.1266893893480301,
0.027779005467891693,
0.0016072208527475595,
-0.01193309761583805,
-0.002186355646699667,
-0.02053738571703434,
0.04831639304757118,
-0.02371046133339405,
0.024547530338168144,
0.024119261652231216,
-0.03276248276233673,
-0.02775953896343708,
-0.024761663749814034,
0.03175021708011627,
0.03223688155412674,
-0.037804365158081055,
-0.015476039610803127,
-0.021880589425563812,
-0.06930151581764221,
-0.049367595463991165,
0.018094314262270927,
-0.01589457504451275,
0.005518814083188772,
0.022406190633773804,
0.04586358368396759,
0.02114085480570793,
0.010979228653013706,
-0.007154018618166447,
-0.03336595371365547,
0.00908609014004469,
0.0018724548863247037,
-0.044423047453165054,
0.02672780305147171,
-0.004650111775845289,
0.08479701727628708,
-0.043761178851127625,
-0.01980738528072834,
-0.008760022930800915,
-0.010950027965009212,
-0.04204810783267021,
0.04971799626946449,
-0.022425657138228416,
0.02789580449461937,
-0.03745396435260773,
-0.002710740314796567,
0.03796009719371796,
-0.06906791031360626,
0.00036104675382375717,
0.0017775546293705702,
-0.12357471883296967,
0.010404960252344608,
-0.025267798453569412,
0.026241134852170944,
-0.05972388759255409,
0.0044286781921982765,
-0.05073026567697525,
0.04512384906411171,
-0.014668171294033527,
0.011942830868065357,
0.028830207884311676,
0.005723214708268642,
-0.07074204832315445,
-0.05516867712140083,
-0.0032558084931224585,
0.03171128034591675,
0.007319485768675804,
-0.012828566133975983,
-0.07580339908599854,
-0.028830207884311676,
0.027350736781954765,
0.06100869178771973,
0.03262621909379959,
-0.028771808370947838,
0.005017546471208334,
-0.05314413830637932,
-0.01612817496061325,
0.019398583099246025,
0.05431213974952698,
0.021335521712899208,
0.012273765169084072,
0.03539049252867699,
-0.009003356099128723,
-0.040957972407341,
0.0237883273512125,
0.0671212375164032,
0.040373969823122025,
0.018084580078721046,
-0.004482211545109749,
-0.006336416117846966,
0.0032120083924382925,
-0.017841245979070663,
-0.00672088423743844,
-0.06926257908344269,
0.032061681151390076,
-0.04247637465596199,
0.015592840500175953,
-0.021393921226263046,
-0.010463360697031021,
-0.0037230097223073244,
-0.02805153839290142,
0.03796009719371796,
-0.00778181990608573,
0.03642222657799721,
0.0738956555724144,
-0.0026693735271692276,
-0.030796345323324203,
0.08285034447908401,
0.033307552337646484,
-0.04909506067633629,
0.03389155492186546,
-0.023029126226902008,
-0.05890628695487976,
0.007543352898210287,
0.0028762074653059244,
0.034125152975320816,
-0.014775237999856472,
-0.015106172300875187,
0.0571153461933136,
-0.04617505148053169,
-0.03864143416285515,
0.026980869472026825,
-0.027564870193600655,
0.0219389908015728,
-0.011903896927833557,
-0.0574268139898777,
0.03167234733700752,
0.0030879080295562744,
0.01693604327738285,
-0.10722267627716064,
0.04500705003738403,
0.0010390359675511718,
-0.07817833870649338,
0.005577214527875185,
0.03511795774102211,
-0.025812866166234016,
-0.01133936271071434,
-0.034261420369148254,
0.010920828208327293,
-0.020303785800933838,
0.026922469958662987,
0.01468763779848814,
0.0011333279544487596,
0.009441358037292957,
-0.021393921226263046,
0.08043647557497025,
0.034339290112257004,
0.029998211190104485,
0.009928025305271149,
0.06653723865747452,
-0.039634235203266144,
0.015612307004630566,
-0.04621398448944092,
0.053260937333106995,
0.01818191446363926,
0.007806153502315283,
-0.040529705584049225,
-0.013208167627453804,
-0.039205968379974365,
-0.01556363981217146,
-0.03829103335738182,
0.0637340322136879,
0.03916703537106514,
-0.001205111388117075,
-0.03085474669933319,
-0.00020120677072554827,
0.013256833888590336,
0.03889450058341026,
0.0025209398008883,
-0.01218616496771574,
0.06315002590417862,
0.02884967438876629,
-0.02349632792174816,
0.0072659519501030445,
-0.03673369437456131,
0.041113704442977905,
0.03182808309793472,
0.05189826712012291,
0.030815813690423965,
0.010414693504571915,
-0.04652545228600502,
0.007592019625008106,
-0.037434495985507965,
0.021685922518372536,
-0.07366205751895905,
-0.006677083671092987,
0.010658027604222298,
0.013208167627453804,
0.009149356745183468,
0.05439000576734543,
0.031399812549352646
] |
18,006 | imodels.tree.tao | predict | null | def predict(self, X):
return self.model.predict(X)
| (self, X) | [
0.031441498547792435,
-0.032076507806777954,
-0.019187552854418755,
0.013343758881092072,
0.03231678158044815,
-0.010975348763167858,
-0.05588074401021004,
0.009765400551259518,
0.10242514312267303,
0.024370593950152397,
0.0302401315420866,
-0.03393004462122917,
0.013017673045396805,
-0.004698204342275858,
0.0282836202532053,
0.00756003288552165,
0.029141739010810852,
-0.013944442383944988,
-0.04633845388889313,
0.018672680482268333,
0.02874700352549553,
-0.017196714878082275,
-0.05097230151295662,
0.018809979781508446,
0.005255982279777527,
-0.00713526364415884,
0.004989964887499809,
-0.024370593950152397,
0.05080067738890648,
0.012082322500646114,
-0.03559479862451553,
-0.0032801618799567223,
-0.00841815210878849,
-0.008267981931567192,
-0.017505638301372528,
-0.003790742950513959,
-0.0032780165784060955,
0.044381942600011826,
0.02586372196674347,
-0.06260839849710464,
-0.04139568656682968,
-0.07977078855037689,
-0.020749330520629883,
0.02009715884923935,
-0.024833979085087776,
-0.03171609714627266,
-0.024456406012177467,
0.012176715768873692,
0.04647575318813324,
-0.04609818011522293,
-0.04685332626104355,
0.01562635600566864,
0.01003141701221466,
-0.020337432622909546,
0.01946215145289898,
0.006392990238964558,
0.02026878297328949,
0.025177227333188057,
-0.015506220050156116,
0.010125810280442238,
0.058077529072761536,
0.019187552854418755,
0.024748167023062706,
0.03235110640525818,
0.015763655304908752,
0.004303469322621822,
0.015815142542123795,
0.034925464540719986,
-0.002900443971157074,
0.0043721189722418785,
-0.01767726242542267,
-0.05289448797702789,
0.011610357090830803,
0.04702495038509369,
0.055537495762109756,
0.022242458537220955,
0.030205806717276573,
-0.004123264458030462,
0.01651880145072937,
0.019187552854418755,
-0.04362679645419121,
-0.006946477573364973,
-0.04448491707444191,
0.0009809378534555435,
-0.049256060272455215,
-0.10318028926849365,
-0.005710785277187824,
-0.051281221210956573,
-0.030720679089426994,
0.0701255276799202,
-0.010486220940947533,
0.08842063695192337,
-0.021933535113930702,
0.05474802479147911,
0.03243691846728325,
0.012202459387481213,
0.011910699307918549,
0.02502276562154293,
0.023426663130521774,
0.006028289441019297,
-0.013489638455212116,
0.13887806236743927,
-0.045686282217502594,
0.042974624782800674,
-0.02392437309026718,
0.016965022310614586,
-0.0158237237483263,
0.016879210248589516,
-0.02672184258699417,
-0.01043473370373249,
-0.023134902119636536,
0.07338637858629227,
-0.007993383333086967,
-0.014622356742620468,
-0.06532005965709686,
-0.039748094975948334,
-0.013892955146729946,
0.028094833716750145,
-0.11910699307918549,
0.0328659787774086,
-0.01844956912100315,
0.04503411427140236,
-0.05114392191171646,
-0.015900954604148865,
-0.051590144634246826,
0.06126973405480385,
0.05512559786438942,
0.001882499665953219,
-0.005251691676676273,
-0.04712792485952377,
-0.049462009221315384,
-0.014639519155025482,
-0.005384699907153845,
0.02600102126598358,
-0.00025354750687256455,
-0.015291689895093441,
0.051796093583106995,
-0.01836375705897808,
0.04359247162938118,
0.013077741488814354,
0.06271137297153473,
0.024713842198252678,
0.10015971213579178,
0.019856885075569153,
0.013223621994256973,
-0.038958627730607986,
0.03236826881766319,
0.011867793276906013,
0.03253989294171333,
-0.005890990607440472,
0.010357502847909927,
0.009310596622526646,
0.06648710370063782,
-0.08169297873973846,
-0.013515382073819637,
0.03926755115389824,
-0.010606356896460056,
-0.06583493202924728,
0.04173893481492996,
-0.03542317450046539,
-0.06734521687030792,
-0.021916372701525688,
-0.008109229616820812,
-0.018329432234168053,
0.0211955513805151,
0.023941535502672195,
-0.02756279893219471,
0.05515992268919945,
-0.006148426327854395,
-0.025503313168883324,
0.029244713485240936,
-0.01997702196240425,
-0.0001700149296084419,
0.012880373746156693,
-0.006633264012634754,
0.003104247385635972,
0.024147482588887215,
0.0388556532561779,
0.0164329893887043,
0.0753772184252739,
0.053409360349178314,
-0.031441498547792435,
-0.043661121279001236,
-0.07668156176805496,
-0.030085669830441475,
-0.051967717707157135,
-0.024147482588887215,
0.045651957392692566,
-0.04283732548356056,
0.02680765464901924,
0.022911790758371353,
-0.018174972385168076,
0.015566288493573666,
-0.010923861525952816,
-0.03662453964352608,
-0.012331177480518818,
-0.01669042557477951,
0.0022847431246191263,
-0.004475093446671963,
0.006126973312348127,
0.012519964016973972,
-0.0491187609732151,
0.01040899008512497,
0.02569209784269333,
-0.08176162838935852,
-0.0016154099721461535,
-0.02951931208372116,
0.011687587946653366,
-0.022379757836461067,
-0.11684155464172363,
0.011567451059818268,
-0.0033552474342286587,
0.029330525547266006,
-0.02056054398417473,
0.06446193903684616,
0.029107414186000824,
-0.0038980080280452967,
-0.039885394275188446,
0.012005092576146126,
-0.04465654119849205,
0.014871211722493172,
-0.027768747881054878,
-0.03425613045692444,
0.035217225551605225,
0.025880884379148483,
-0.05903862416744232,
0.016184134408831596,
-0.012648682110011578,
-0.04719657450914383,
-0.08519410341978073,
0.02090379223227501,
-0.025760747492313385,
0.007285434752702713,
-0.037379685789346695,
0.024439243599772453,
0.04513708874583244,
-0.005685041658580303,
0.004942768253386021,
-0.04163596034049988,
0.017951861023902893,
0.005311759654432535,
0.015145809389650822,
0.01908457837998867,
-0.025880884379148483,
0.014570869505405426,
0.04506843909621239,
0.01776307448744774,
0.04139568656682968,
-0.010142972692847252,
-0.0318877212703228,
0.02294611558318138,
0.013618356548249722,
-0.00981688778847456,
0.024954115971922874,
0.03332936391234398,
-0.050354454666376114,
0.059313222765922546,
0.024662354961037636,
0.05745968222618103,
0.06937038153409958,
-0.07070904970169067,
0.005144426599144936,
0.006208494771271944,
0.02888430282473564,
-0.015360339544713497,
0.015900954604148865,
-0.054336126893758774,
0.046407103538513184,
0.06271137297153473,
0.01721387729048729,
0.10949604958295822,
0.010735074989497662,
-0.06803171336650848,
-0.05261988937854767,
0.057425357401371,
0.011370083317160606,
0.006723366677761078,
0.001484546810388565,
-0.0076458449475467205,
0.027511311694979668,
0.010966767556965351,
-0.08670439571142197,
-0.0008951259078457952,
-0.009962767362594604,
-0.026018183678388596,
-0.005929606035351753,
0.026052508503198624,
-0.009482220746576786,
0.03734536096453667,
-0.028729841113090515,
0.03964512050151825,
0.053924232721328735,
0.0029047345742583275,
-0.03240259364247322,
-0.009173297323286533,
-0.029999857768416405,
0.0038272130768746138,
-0.0036427173763513565,
0.05975944176316261,
0.03957647085189819,
-0.002960512414574623,
0.013172134757041931,
0.003797178855165839,
-0.03597237169742584,
-0.027597123757004738,
0.013515382073819637,
0.041155412793159485,
0.01147305779159069,
-0.06532005965709686,
-0.039336200803518295,
0.0011177007108926773,
0.0626770481467247,
-0.000720820389688015,
-0.006285725627094507,
-0.08334057033061981,
-0.03854672983288765,
0.06676170229911804,
0.04218515753746033,
0.04681900143623352,
0.03782590851187706,
0.009207622148096561,
0.0027695808093994856,
-0.01626136526465416,
0.027785910293459892,
0.03731103613972664,
0.02603534609079361,
0.04753982275724411,
0.009422152303159237,
-0.01666468195617199,
-0.008207913488149643,
0.035217225551605225,
-0.03741401061415672,
0.0036448626779019833,
0.05134987086057663,
-0.06123540922999382,
0.006023998837918043,
-0.02900443971157074,
0.020920954644680023,
0.006380118429660797,
0.03465086594223976,
-0.047093600034713745,
-0.04898146167397499,
-0.020474731922149658,
0.04139568656682968,
0.02658454328775406,
0.013729912228882313,
-0.00006147621752461419,
0.028849977999925613,
-0.005191623233258724,
0.036281295120716095,
-0.04688765108585358,
0.029999857768416405,
0.04733387380838394,
0.0329861156642437,
-0.002773871412500739,
-0.02311773970723152,
-0.0034710934851318598,
0.01744556985795498,
-0.005732238292694092,
-0.029828235507011414,
-0.015077159740030766,
-0.03379274532198906,
-0.019239040091633797,
-0.007993383333086967,
-0.01261435728520155,
-0.007697332184761763,
-0.05577776953577995,
0.04733387380838394,
0.019410664215683937,
0.035938046872615814,
-0.01669042557477951,
0.028146320953965187,
-0.10228784382343292,
0.07201339304447174,
0.018844304606318474,
0.03816915675997734,
0.002773871412500739,
-0.007954767905175686,
0.029708098620176315,
0.028060508891940117,
-0.03662453964352608,
-0.010211622342467308,
-0.0068992809392511845,
0.01117271650582552,
0.04681900143623352,
0.0054318965412676334,
0.02586372196674347,
-0.05910727381706238,
0.030583379790186882,
-0.026395756751298904,
-0.012047997675836086,
-0.06947335600852966,
-0.04880983754992485,
-0.04723089933395386,
-0.046372778713703156,
-0.05776860564947128,
0.022105159237980843,
0.02862686663866043,
-0.029416337609291077,
-0.011464476585388184,
-0.07530856877565384,
0.03597237169742584,
-0.0009584122453816235,
0.009379246272146702,
-0.04451924189925194,
-0.007079486269503832,
-0.01735975779592991,
0.01700792834162712,
-0.027339687570929527,
0.0004365683125797659,
-0.044759515672922134,
0.059004299342632294,
0.011970767751336098,
-0.05244826525449753,
0.014227621257305145,
0.052688539028167725,
0.05025148019194603,
0.010082904249429703,
0.004061050713062286,
-0.0043721189722418785,
0.018037673085927963,
0.022654354572296143,
0.021178388968110085,
0.0014201877638697624,
-0.011215622536838055,
0.03727671131491661,
0.007688750978559256,
0.06786008924245834,
0.01917039044201374,
0.03583507239818573,
-0.04970228299498558,
-0.08141838014125824,
-0.04887848719954491,
-0.053409360349178314,
-0.022757329046726227,
0.002417751820757985,
0.008066323585808277,
-0.0576656311750412,
-0.019307689741253853,
0.041532985866069794,
-0.003408879740163684,
0.020165808498859406,
0.06253974884748459,
0.02294611558318138,
-0.010889536701142788,
-0.021264201030135155,
-0.03820348158478737,
-0.04983958229422569,
-0.0010018545435741544,
-0.04575493186712265,
0.02713373862206936,
-0.010366084054112434,
0.09535424411296844,
-0.00023035146296024323,
0.029948370531201363,
-0.028901465237140656,
-0.06607520580291748,
-0.0825854241847992,
0.002818922745063901,
0.02366693690419197,
-0.03597237169742584,
0.012485639192163944,
0.013266528025269508,
-0.026910629123449326,
-0.014939860440790653,
-0.0388556532561779,
-0.03104676492512226,
0.009507964365184307,
-0.030085669830441475,
-0.01917039044201374,
0.05498829856514931,
-0.03761995956301689,
0.0020562689751386642,
-0.024542218074202538,
-0.04894713684916496,
0.03070351667702198,
0.011189878918230534,
0.0007143844850361347,
0.004505127668380737,
-0.01669042557477951,
-0.024713842198252678,
-0.053546659648418427,
-0.005715075880289078,
0.017866048961877823,
0.0010072177974507213,
0.02098960429430008,
-0.0008184314938262105,
0.01202225498855114,
0.0003928578516934067,
-0.027459824457764626,
-0.010503383353352547,
0.06727656722068787,
0.06875253468751907,
0.005663588643074036,
-0.054473426192998886,
-0.0018331578467041254,
0.03532020002603531,
0.004934187047183514,
-0.03552614897489548,
0.006367247086018324,
-0.005213076248764992,
0.0025121448561549187,
0.0018106321804225445,
-0.0399540439248085,
-0.040262967348098755,
0.046029530465602875,
-0.006054033059626818,
-0.009988510981202126,
-0.020200133323669434,
0.011061160825192928,
-0.03113257698714733,
-0.008225075900554657,
0.0024048800114542246,
-0.0038486660923808813,
0.016450151801109314,
0.0423911027610302,
0.025468988344073296,
0.03163028508424759,
-0.059313222765922546,
0.014424988999962807,
0.028232133015990257,
-0.012648682110011578,
0.01776307448744774,
-0.03964512050151825,
-0.011601775884628296,
0.10489653050899506,
0.0004279871063772589,
-0.040434591472148895,
0.01951363869011402,
0.0657319575548172,
0.007285434752702713,
-0.025880884379148483,
0.001961875706911087,
0.0748966708779335,
-0.0078045972622931,
0.028558216989040375,
0.02366693690419197,
-0.033724095672369,
-0.02560628578066826,
0.022242458537220955,
-0.027888884767889977,
-0.06250542402267456,
-0.022414082661271095,
0.02162461169064045,
0.02493695355951786,
-0.02667035534977913,
-0.06562898308038712,
0.03655588999390602,
-0.062024880200624466,
0.024027347564697266,
-0.06758549064397812,
-0.0169821847230196,
-0.004013854078948498,
0.0113615021109581,
0.07455342262983322,
0.07606371492147446,
-0.00364700797945261,
0.040606215596199036,
0.02026878297328949,
0.03871835395693779,
-0.0006028289790265262,
-0.08718494325876236,
0.07221934199333191,
0.002492837142199278,
-0.03006850741803646,
0.07249394059181213,
-0.05598371848464012,
0.0133780837059021,
-0.004685332532972097,
-0.06435896456241608,
0.05505694821476936,
0.018260782584547997,
0.017514219507575035,
0.02256854437291622,
0.008182169869542122,
0.03278016671538353,
0.02438775636255741,
-0.03803185746073723,
-0.060068365186452866,
0.03964512050151825,
0.001232474111020565,
0.010915280319750309,
-0.019565125927329063,
-0.014313433319330215,
-0.01997702196240425,
-0.029141739010810852,
-0.017514219507575035,
0.023358013480901718,
-0.011807724833488464,
-0.028146320953965187,
-0.049462009221315384,
-0.000059632602642523125,
-0.027288200333714485,
0.04915308579802513,
0.03638426959514618,
-0.04266570135951042,
-0.05371828377246857,
-0.02929620072245598,
-0.002621555235236883,
-0.07084634900093079,
0.03631561994552612,
0.004517999477684498,
0.01917039044201374,
-0.0006805960438214242,
0.02756279893219471,
-0.009876955300569534,
-0.08890118449926376,
0.022620029747486115,
0.004367828369140625,
-0.01076939981430769,
0.0022718715481460094,
-0.04805469512939453,
-0.0358007475733757,
0.008323759771883488,
0.006980802398175001,
0.024610867723822594,
0.04918741062283516,
0.021779073402285576,
-0.02234543301165104,
0.05704778432846069,
0.09974781423807144,
-0.03272867947816849,
0.0003764999273698777,
0.03171609714627266,
-0.004771144594997168,
0.022465569898486137,
0.03597237169742584,
-0.03961079567670822,
0.03919890150427818,
-0.021864885464310646,
0.03834078088402748,
0.02349531278014183,
-0.0003515608550515026,
-0.02735684998333454,
0.0452057346701622,
0.002767435507848859,
-0.001095711369998753,
0.022362595424056053,
0.00864984467625618,
-0.04953065887093544,
-0.05622399225831032,
0.03454789146780968,
-0.010829468257725239,
0.00398596515879035,
0.00841815210878849,
-0.03367260843515396,
-0.02689346671104431,
0.021315688267350197,
0.04338652268052101,
-0.02311773970723152,
-0.021212713792920113,
-0.05385558307170868,
-0.02909025177359581,
0.0368991382420063,
0.03454789146780968,
-0.018930116668343544,
-0.01865551806986332,
0.0412927120923996,
0.005736528895795345,
-0.0401943176984787,
-0.06504546105861664,
0.00994560495018959,
-0.00373282004147768,
-0.015274527482688427,
0.023186389356851578,
0.041155412793159485,
-0.04393571987748146,
-0.05763130635023117,
-0.05004553124308586,
-0.0012206750689074397,
-0.02888430282473564,
0.007667297963052988,
0.010366084054112434,
-0.00958519522100687,
0.07784860581159592,
-0.06435896456241608,
0.02395869791507721,
-0.019273364916443825,
0.022379757836461067,
-0.0031171191949397326,
0.0008951259078457952,
0.010640681721270084,
0.0360410213470459,
0.019702423363924026,
0.01951363869011402,
-0.0135926129296422,
-0.025177227333188057,
0.0022825978230684996,
-0.012991929426789284,
0.0009745020070113242,
-0.008812887594103813,
-0.01562635600566864,
0.0288328155875206,
-0.03950782120227814,
-0.00635008467361331,
0.009207622148096561,
-0.03724238649010658,
0.0043721189722418785,
-0.00660322979092598,
0.006761981640011072,
0.0020627048797905445,
-0.01223678421229124,
-0.04057189077138901,
-0.009010255336761475,
-0.009362083859741688,
0.046029530465602875,
-0.07523991912603378,
-0.02375274896621704,
0.008388117887079716,
-0.0565672405064106,
0.01391011755913496,
0.01282888650894165,
0.0035097089130431414,
-0.009971348568797112,
0.03707076236605644,
0.06775711476802826,
-0.05224231630563736,
0.04091513901948929,
-0.023392338305711746,
0.06988525390625,
-0.02023445814847946,
-0.028523892164230347,
0.032076507806777954,
0.041155412793159485,
-0.0770934596657753,
-0.01831226982176304,
0.017548544332385063,
-0.035217225551605225,
-0.0021302816458046436,
0.0526542142033577,
0.007478511426597834,
0.012219621799886227,
-0.004886990878731012,
-0.008293725550174713,
-0.0296909362077713,
-0.030892303213477135,
-0.024748167023062706,
-0.04335219785571098,
0.0521736666560173,
-0.012288271449506283,
0.045102763921022415,
-0.0287126787006855,
0.0025507602840662003,
-0.03219664469361305,
0.03358679637312889,
0.005895281210541725,
0.0005314977606758475,
-0.006894990336149931,
0.0037135123275220394,
-0.044381942600011826,
0.022791653871536255,
0.042597051709890366,
0.023478150367736816,
-0.02145298756659031,
0.05814617872238159,
0.026138320565223694,
0.006332922261208296,
-0.013112066313624382,
0.012485639192163944,
-0.004393571987748146,
-0.037551309913396835,
-0.0624367780983448,
-0.04273435100913048,
-0.023426663130521774,
0.005414734128862619,
-0.0014116066740825772,
0.05886700004339218,
0.0388556532561779
] |
18,007 | imodels.tree.tao | predict_proba | null | def predict_proba(self, X):
return self.model.predict_proba(X)
| (self, X) | [
0.03026428632438183,
0.0017705117352306843,
-0.038178518414497375,
-0.00487421452999115,
0.02983970381319523,
-0.014350910671055317,
-0.0363103523850441,
-0.0443604476749897,
0.11385621875524521,
0.00987580418586731,
0.022893523797392845,
-0.02428615652024746,
0.019717641174793243,
0.026409072801470757,
-0.021891508251428604,
-0.022384023293852806,
0.03831438347697258,
-0.023216206580400467,
-0.026001472026109695,
0.03807661682367325,
0.02319922298192978,
0.03763505071401596,
-0.048028845340013504,
0.019768591970205307,
-0.01615963503718376,
-0.021874524652957916,
0.0031058257445693016,
-0.029941603541374207,
0.037091583013534546,
0.01277146115899086,
-0.0117269866168499,
0.0076085301116108894,
-0.02973780408501625,
-0.020210158079862595,
0.03586878627538681,
0.03386475145816803,
0.019276075065135956,
0.034645985811948776,
0.035834819078445435,
-0.07153376936912537,
-0.0566563755273819,
-0.08450902998447418,
-0.07024303823709488,
0.010232454165816307,
-0.00838551763445139,
-0.05529771000146866,
-0.018460875377058983,
0.06226087361574173,
0.02275765687227249,
0.00350705673918128,
-0.017526792362332344,
0.020634740591049194,
0.03916354849934578,
-0.011828886345028877,
0.002078334568068385,
0.04891197755932808,
-0.0011601734440773726,
0.01649930141866207,
-0.004878460429608822,
-0.018172159790992737,
0.062294840812683105,
0.01890244148671627,
0.03488375246524811,
-0.005196897778660059,
0.059034042060375214,
-0.021025357767939568,
0.007149980403482914,
0.0007568194414488971,
-0.003315994516015053,
0.0009144459618255496,
-0.012652577832341194,
-0.046602245420217514,
-0.02009127475321293,
0.030434120446443558,
0.026680804789066315,
0.031045520678162575,
0.009841837920248508,
-0.034917719662189484,
0.012491236440837383,
0.03260798752307892,
-0.0319286547601223,
-0.017764559015631676,
-0.037091583013534546,
-0.03286273777484894,
-0.039944782853126526,
-0.08036509901285172,
0.014639627188444138,
-0.038688015192747116,
0.003383927745744586,
0.0418129488825798,
-0.01448677759617567,
0.07499837130308151,
0.025237223133444786,
0.06806916743516922,
0.016465334221720695,
0.007960934191942215,
0.02588258869946003,
0.03926545009016991,
0.007532105315476656,
-0.023810623213648796,
-0.018630709499120712,
0.08050096780061722,
-0.037940751761198044,
0.02520325593650341,
-0.003006048733368516,
0.043816979974508286,
-0.00820719264447689,
0.039707016199827194,
-0.01000317931175232,
-0.02428615652024746,
-0.02746203914284706,
0.03637828305363655,
-0.004339240025728941,
-0.03286273777484894,
-0.042560216039419174,
-0.030773786827921867,
-0.0354611836373806,
0.030111437663435936,
-0.047519344836473465,
0.03610655292868614,
0.007196684367954731,
0.054142843931913376,
-0.03855215013027191,
-0.0028043717611581087,
-0.045073747634887695,
0.035427216440439224,
0.0779874324798584,
0.024014422670006752,
0.011845869943499565,
-0.010572120547294617,
-0.025593873113393784,
-0.010461729019880295,
-0.031130436807870865,
0.017611708492040634,
-0.0005885784048587084,
-0.05417681112885475,
0.03705761581659317,
-0.036072585731744766,
0.08328623324632645,
-0.030603952705860138,
0.058184877038002014,
0.013476269319653511,
0.06535183638334274,
-0.013170569203794003,
0.044156648218631744,
-0.030366187915205956,
0.0728924348950386,
0.019785575568675995,
0.028005504980683327,
-0.02015920728445053,
0.02999255433678627,
0.0064621553756296635,
0.02420124039053917,
-0.07282450050115585,
0.0039040420670062304,
0.027343155816197395,
-0.006598022300750017,
-0.0726207047700882,
0.035427216440439224,
-0.06878247112035751,
-0.0306549035012722,
0.008436467498540878,
-0.02377665601670742,
-0.01764567568898201,
0.021636757999658585,
0.02639208920300007,
-0.010028653778135777,
0.05825280770659447,
0.018851492553949356,
-0.028192320838570595,
0.033491119742393494,
-0.04075998440384865,
0.0039762211963534355,
0.02058379165828228,
0.018613725900650024,
0.040624115616083145,
0.012389336712658405,
0.0117269866168499,
0.005905951838940382,
0.06613307446241379,
0.04646638035774231,
-0.00839825440198183,
-0.019802557304501534,
-0.06565754115581512,
-0.009442728944122791,
-0.010436253622174263,
0.006559809669852257,
0.03231927007436752,
-0.03763505071401596,
0.022146256640553474,
-0.034221403300762177,
-0.031385187059640884,
0.022621789947152138,
0.02471073903143406,
-0.006271093152463436,
0.010385303758084774,
0.007799592334777117,
0.029041487723588943,
-0.010724970139563084,
-0.007396238390356302,
0.022367039695382118,
-0.05315781012177467,
-0.026086388155817986,
0.0398428812623024,
-0.06423094123601913,
-0.03226831927895546,
-0.054992008954286575,
-0.0011049776803702116,
0.027784721925854683,
-0.1027151569724083,
0.027156338095664978,
-0.01164207048714161,
0.04612671211361885,
-0.04086188226938248,
0.04486994817852974,
0.051731210201978683,
0.06382334232330322,
-0.02630717121064663,
0.01066552847623825,
-0.02007429115474224,
0.010699495673179626,
-0.03586878627538681,
-0.02613733895123005,
0.031962618231773376,
0.04870817810297012,
-0.041303448379039764,
-0.011913803406059742,
0.022146256640553474,
-0.003318117232993245,
-0.047349512577056885,
0.002139899181202054,
-0.00890775490552187,
-0.015284993685781956,
-0.045990847051143646,
0.04517564922571182,
0.04847041144967079,
-0.023386040702462196,
-0.007188192568719387,
-0.0747266337275505,
0.02109329029917717,
0.023929506540298462,
0.026697788387537003,
0.01626153476536274,
-0.01864769123494625,
0.003260798519477248,
0.04344334825873375,
0.04544737935066223,
0.022893523797392845,
0.00211230106651783,
-0.0003518732846714556,
0.02167072333395481,
0.02233307436108589,
-0.02134804055094719,
0.023844590410590172,
0.000529932847712189,
-0.01891942508518696,
0.051051877439022064,
0.032234352082014084,
0.04568514600396156,
0.059203874319791794,
-0.037499185651540756,
-0.02975478768348694,
-0.007506629917770624,
0.015955835580825806,
0.026256222277879715,
0.03855215013027191,
-0.01070798747241497,
0.02545800618827343,
0.04042031615972519,
0.014079177752137184,
0.08274276554584503,
-0.00015789185999892652,
-0.04157518222928047,
-0.0453454814851284,
0.016032259911298752,
0.02613733895123005,
-0.009086079895496368,
0.015802985057234764,
0.046602245420217514,
0.016490809619426727,
0.013128111138939857,
-0.05743760988116264,
0.0015284992987290025,
-0.011268436908721924,
-0.012618611566722393,
-0.01866467483341694,
0.02780170552432537,
-0.000439443567302078,
0.04466614872217178,
-0.0051629310473799706,
0.02058379165828228,
0.03980891779065132,
0.006457909941673279,
-0.012601627968251705,
0.04453027993440628,
-0.007251880131661892,
0.038959749042987823,
0.008224175311625004,
0.034645985811948776,
0.022146256640553474,
0.02941512130200863,
0.026018455624580383,
-0.022367039695382118,
-0.058524541556835175,
-0.03872198238968849,
0.03073981963098049,
0.07241690158843994,
-0.0037363318260759115,
-0.06630290299654007,
-0.019802557304501534,
-0.0022290614433586597,
0.05502597615122795,
0.023623807355761528,
0.04429251328110695,
-0.10869328677654266,
-0.048096779733896255,
0.05957750976085663,
0.03467995300889015,
0.04585498198866844,
-0.0047892979346215725,
-0.039027683436870575,
-0.004984606057405472,
0.028022488579154015,
0.0009001162834465504,
0.034238386899232864,
0.024167273193597794,
0.005353993736207485,
-0.0043052732944488525,
-0.054754242300987244,
-0.03417045250535011,
0.020889490842819214,
-0.02454090677201748,
0.006326288916170597,
0.06905420124530792,
-0.07207723706960678,
0.03041713684797287,
-0.012941294349730015,
0.026646839454770088,
0.014469793997704983,
0.016032259911298752,
-0.048028845340013504,
-0.05169724300503731,
-0.033236369490623474,
0.05159534513950348,
0.0013066546525806189,
-0.03126630187034607,
-0.02797153778374195,
0.059781309217214584,
0.0011102849384769797,
0.0006135226576589048,
-0.015208568423986435,
0.009077588096261024,
0.0346120186150074,
0.06175137311220169,
-0.0021505136974155903,
-0.04300178214907646,
0.00820719264447689,
0.02336905710399151,
0.010979720391333103,
0.012160061858594418,
-0.007846296764910221,
-0.028803721070289612,
-0.032234352082014084,
0.01722109317779541,
0.006075785029679537,
0.004092981573194265,
-0.06868056952953339,
0.0631440058350563,
0.013612136244773865,
0.017441876232624054,
-0.005515335127711296,
0.038450248539447784,
-0.08559596538543701,
0.05308987572789192,
-0.005413435399532318,
0.019038308411836624,
-0.023386040702462196,
-0.03518945351243019,
0.026171306148171425,
-0.001378833781927824,
-0.04310368001461029,
-0.05081411078572273,
-0.016745559871196747,
0.01041927095502615,
-0.0005710643599741161,
0.034815818071365356,
0.03344016894698143,
-0.06969957053661346,
0.05010081082582474,
-0.03430631756782532,
-0.012109111063182354,
-0.03529135137796402,
-0.050032880157232285,
-0.03082473762333393,
-0.028175337240099907,
-0.03841628506779671,
0.023046374320983887,
0.018970375880599022,
0.011268436908721924,
-0.012703527696430683,
-0.05981527268886566,
0.0038637067191302776,
-0.01339984405785799,
-0.008457696065306664,
-0.03980891779065132,
-0.061615508049726486,
-0.006445172242820263,
0.03182675316929817,
-0.01193078700453043,
0.02311430685222149,
-0.057165876030921936,
0.06039270758628845,
0.0266298558562994,
-0.06749173998832703,
-0.0152934854850173,
0.061547573655843735,
0.013909343630075455,
-0.01683896780014038,
0.01008809544146061,
-0.015786001458764076,
0.04218658059835434,
0.016991818323731422,
-0.020040323957800865,
-0.012703527696430683,
-0.010478712618350983,
0.031962618231773376,
0.019208142533898354,
0.04931958019733429,
0.048436444252729416,
0.03522341698408127,
-0.02841310389339924,
-0.06620100140571594,
-0.001320453593507409,
-0.052376579493284225,
-0.030722836032509804,
-0.024065373465418816,
-0.012236486189067364,
-0.012542186304926872,
-0.007302829995751381,
0.02243497408926487,
0.026154322549700737,
0.046432413160800934,
0.050202712416648865,
0.040114615112543106,
0.021619774401187897,
0.0027152092661708593,
-0.027343155816197395,
-0.06990337371826172,
-0.003640800481662154,
-0.02032904140651226,
0.0008396132034249604,
-0.0022057094611227512,
0.0993184894323349,
-0.0070693097077310085,
0.045005813241004944,
-0.0054983519949018955,
-0.07846296578645706,
-0.08410143107175827,
-0.01235536951571703,
0.023963473737239838,
0.007999146357178688,
0.009587087668478489,
0.023131290450692177,
-0.002250290708616376,
-0.015149126760661602,
-0.032811786979436874,
-0.030060486868023872,
0.03167390450835228,
-0.04031841456890106,
-0.0005880476674064994,
0.02797153778374195,
-0.02160279080271721,
-0.00434136250987649,
-0.04857231304049492,
-0.02824327163398266,
0.036004651337862015,
0.019887475296854973,
0.018104225397109985,
0.0469079464673996,
-0.010240945965051651,
-0.017187125980854034,
-0.0372953824698925,
0.018358975648880005,
0.04228848218917847,
0.006283830851316452,
-0.0003651415172498673,
-0.00032374466536566615,
-0.002309732371941209,
-0.016652151942253113,
-0.039944782853126526,
0.018953392282128334,
0.02865087054669857,
0.04622861370444298,
0.09354416280984879,
-0.06334780901670456,
-0.017458859831094742,
0.07296036928892136,
-0.020396973937749863,
-0.01516611035913229,
0.007273109629750252,
0.009103062562644482,
0.030043503269553185,
-0.007706184405833483,
-0.04405474662780762,
-0.03237022086977959,
0.027954554185271263,
-0.043986815959215164,
0.011879836209118366,
-0.04371508210897446,
0.029958587139844894,
-0.04065808281302452,
-0.02494850568473339,
-0.013934819027781487,
-0.014605659991502762,
0.004252200480550528,
0.05234261229634285,
0.06912213563919067,
0.030179370194673538,
-0.0363103523850441,
-0.007727413438260555,
0.04327351599931717,
-0.0024625821970403194,
0.018613725900650024,
-0.028464054688811302,
-0.009230437688529491,
0.10156028717756271,
0.03831438347697258,
-0.04656828194856644,
-0.0010434130672365427,
0.04551531374454498,
0.01798534207046032,
-0.04116758331656456,
0.020447924733161926,
0.05081411078572273,
-0.018375959247350693,
0.02629018947482109,
0.0085468590259552,
-0.04565117880702019,
0.011540169827640057,
0.012584644369781017,
0.013170569203794003,
-0.048878014087677,
0.015514268539845943,
0.04765521362423897,
0.044156648218631744,
0.011039162054657936,
-0.060460641980171204,
0.029092438519001007,
-0.07248483598232269,
0.017407909035682678,
-0.04663621261715889,
-0.005642710253596306,
-0.005184160079807043,
0.017713608220219612,
0.07669670134782791,
0.04269608110189438,
0.015208568423986435,
0.016889918595552444,
0.003921025432646275,
0.028803721070289612,
-0.012151570059359074,
-0.11419588327407837,
0.047179680317640305,
-0.032981619238853455,
-0.05757347494363785,
0.05811694264411926,
-0.06925800442695618,
0.07669670134782791,
-0.00548561429604888,
-0.054652344435453415,
0.06412903964519501,
0.017314501106739044,
-0.04955734685063362,
-0.006101259961724281,
-0.004572760779410601,
-0.027275221422314644,
0.0372953824698925,
-0.04126948118209839,
-0.07357177138328552,
0.018002325668931007,
-0.017764559015631676,
0.024082357063889503,
-0.017458859831094742,
-0.03386475145816803,
-0.01435940247029066,
-0.009850328788161278,
-0.06263450533151627,
0.02386157400906086,
0.021025357767939568,
-0.062125008553266525,
-0.06412903964519501,
0.01898735947906971,
-0.03352508693933487,
-0.007052326109260321,
0.017272042110562325,
-0.013612136244773865,
-0.030688870698213577,
-0.005010080989450216,
-0.017594726756215096,
-0.04918371140956879,
0.01462264358997345,
0.027156338095664978,
0.05285210907459259,
0.003638677531853318,
0.029788754880428314,
-0.030026519671082497,
-0.057505540549755096,
0.03189468756318092,
0.03590274974703789,
0.0059356726706027985,
0.0025220238603651524,
-0.024218222126364708,
-0.038518182933330536,
-0.0025262697599828243,
-0.03719348460435867,
0.01365459430962801,
-0.014597169123589993,
0.009544629603624344,
-0.0059823766350746155,
0.040624115616083145,
0.03131725266575813,
-0.02730918861925602,
0.03352508693933487,
0.05336160957813263,
-0.0064664012752473354,
-0.005642710253596306,
0.024388056248426437,
-0.07438696920871735,
0.036242417991161346,
-0.019208142533898354,
0.03661604970693588,
0.02032904140651226,
0.03678588569164276,
-0.023063356056809425,
0.05281814560294151,
-0.015106668695807457,
0.0033011341001838446,
0.031045520678162575,
-0.02871880494058132,
-0.07914230227470398,
-0.10529661923646927,
-0.009043620899319649,
-0.022112291306257248,
-0.01739092543721199,
0.03073981963098049,
-0.04374904930591583,
-0.060460641980171204,
0.028956571593880653,
0.05916990712285042,
-0.039027683436870575,
0.006283830851316452,
-0.10346242040395737,
-0.026001472026109695,
0.050032880157232285,
0.0063645015470683575,
-0.012720511294901371,
-0.008822837844491005,
0.07194136828184128,
-0.016057735309004784,
-0.026256222277879715,
-0.0637214407324791,
-0.037533149123191833,
-0.04001271724700928,
-0.012499728240072727,
0.0497271791100502,
0.03957115113735199,
-0.0550939105451107,
-0.05152741074562073,
-0.051867078989744186,
0.00016532206791453063,
0.01063156221061945,
0.03452710062265396,
-0.01071647834032774,
-0.02982272021472454,
0.07771570235490799,
-0.05539960786700249,
-0.013849901966750622,
-0.005010080989450216,
0.010139045305550098,
-0.0005264831124804914,
0.03892578184604645,
-0.016295501962304115,
0.04001271724700928,
-0.019123224541544914,
0.030519036576151848,
-0.02933020330965519,
0.011650561355054379,
0.01645684242248535,
-0.019955407828092575,
0.014401860535144806,
-0.0011368213454261422,
-0.03681984916329384,
0.024082357063889503,
-0.01583695225417614,
-0.023827606812119484,
0.014945327304303646,
-0.002078334568068385,
0.007680709008127451,
-0.0006979085737839341,
-0.03654811903834343,
-0.007952442392706871,
-0.012491236440837383,
-0.03702365234494209,
0.015692593529820442,
-0.032234352082014084,
0.08410143107175827,
-0.054652344435453415,
-0.04184691607952118,
-0.018528807908296585,
-0.05203691124916077,
-0.023997439071536064,
0.01146374549716711,
0.0013926327228546143,
-0.0514255128800869,
0.02185754105448723,
0.07031097263097763,
-0.02973780408501625,
0.013552694581449032,
-0.03865405172109604,
0.034085534512996674,
-0.026952538639307022,
0.004916673060506582,
0.011438270099461079,
0.04405474662780762,
-0.0710582360625267,
-0.015284993685781956,
0.0248635895550251,
-0.06355160474777222,
-0.012423302978277206,
0.017187125980854034,
0.02058379165828228,
0.003681135829538107,
-0.04177898168563843,
-0.02167072333395481,
-0.012762969359755516,
-0.025865605100989342,
-0.0332024022936821,
-0.04738347977399826,
0.021959440782666206,
-0.012448778375983238,
-0.0024243697989732027,
-0.03226831927895546,
0.032658934593200684,
-0.01815517619252205,
0.014588677324354649,
0.020617756992578506,
-0.016677625477313995,
-0.01587940938770771,
0.02194245718419552,
-0.0628722757101059,
0.027105389162898064,
0.06181930750608444,
0.029041487723588943,
-0.021025357767939568,
0.0408279150724411,
0.012312911450862885,
0.032404184341430664,
-0.021144241094589233,
-0.03821248188614845,
-0.030637919902801514,
-0.07791949808597565,
-0.006288076285272837,
-0.03512151911854744,
0.004005942028015852,
0.03790678456425667,
-0.016100192442536354,
0.04891197755932808,
0.011947769671678543
] |
18,008 | imodels.tree.tao | score | null | def score(self, X, y):
return self.model.score(X, y)
| (self, X, y) | [
0.005842121783643961,
-0.022158904001116753,
0.007954693399369717,
0.05412887781858444,
0.04183144122362137,
-0.03160037845373154,
-0.05678324028849602,
0.026997238397598267,
0.05742163211107254,
0.02790442667901516,
0.017076971009373665,
-0.05634644627571106,
0.03349875286221504,
0.02760203182697296,
0.0003042334283236414,
0.015774989500641823,
0.027316434308886528,
-0.04435140639543533,
-0.013355821371078491,
0.016404980793595314,
0.01109625119715929,
-0.03544752672314644,
0.004561138805001974,
0.016127783805131912,
-0.01790856011211872,
-0.02041172794997692,
0.04549379274249077,
-0.018093358725309372,
0.011289449408650398,
-0.0165729783475399,
-0.03139878064393997,
-0.001163384411484003,
-0.004439340438693762,
0.01522899605333805,
0.006207516882568598,
-0.020562924444675446,
-0.02429247461259365,
0.03548112511634827,
0.013490219600498676,
-0.067501500248909,
-0.07237343490123749,
-0.01853015273809433,
0.007963093928992748,
0.07029026001691818,
-0.011381847783923149,
-0.016018586233258247,
-0.0758005827665329,
0.020327728241682053,
0.03358275070786476,
-0.061554376035928726,
-0.04794655740261078,
-0.07183583825826645,
-0.00798829272389412,
0.0005680423928424716,
0.013288622722029686,
0.03742989897727966,
0.037933893501758575,
0.037127502262592316,
0.021671710535883904,
-0.011533046141266823,
0.08030292391777039,
0.005283529404550791,
-0.016690576449036598,
0.013708616606891155,
0.013649817556142807,
-0.032255567610263824,
-0.028374820947647095,
0.054498471319675446,
0.002089472021907568,
0.05338968709111214,
-0.021352514624595642,
0.016724176704883575,
0.0711638480424881,
-0.0010305611649528146,
0.03823629021644592,
0.04388101398944855,
-0.017572565004229546,
0.03736270219087601,
0.018059758469462395,
-0.011801842600107193,
0.035649124532938004,
-0.002517866436392069,
0.020680522546172142,
-0.05486806482076645,
-0.08151251077651978,
-0.06256236135959625,
0.04707296937704086,
-0.028425220400094986,
0.012683830223977566,
0.0549352653324604,
-0.005686724092811346,
0.07566618919372559,
0.013137424364686012,
0.010726656764745712,
0.008202490396797657,
0.0010279362322762609,
-0.033465150743722916,
-0.015270995907485485,
0.01116345077753067,
-0.0017587264301255345,
-0.0010457859607413411,
0.12808148562908173,
-0.0054431273601949215,
0.04075625538825989,
-0.0019309241324663162,
-0.006211717147380114,
0.001399631262756884,
-0.011877440847456455,
-0.010180664248764515,
0.049559336155653,
-0.07015585899353027,
0.01906774565577507,
-0.013330621644854546,
-0.011146650649607182,
-0.09212996810674667,
-0.04871935024857521,
-0.042268235236406326,
0.02558605745434761,
-0.0518777072429657,
0.03706030547618866,
-0.03652271255850792,
0.05473366752266884,
0.001283082878217101,
-0.0021545712370425463,
-0.016018586233258247,
0.0286268163472414,
0.028509218245744705,
0.004279742948710918,
-0.021419713273644447,
-0.041193049401044846,
-0.03254116326570511,
-0.022041305899620056,
0.0341203436255455,
0.015648990869522095,
0.0007916894392110407,
-0.020562924444675446,
0.05634644627571106,
-0.024662069976329803,
0.08030292391777039,
-0.012364634312689304,
0.09656510502099991,
0.044317808002233505,
0.05617845058441162,
-0.04673697426915169,
0.033381152898073196,
0.006409114226698875,
0.016505779698491096,
0.043108224868774414,
0.02760203182697296,
0.032977957278490067,
0.00913067813962698,
0.009097078815102577,
0.10751856118440628,
-0.060344792902469635,
-0.001970823621377349,
0.010021066293120384,
0.0068249087780714035,
-0.07680857181549072,
0.07351581752300262,
-0.023956479504704475,
-0.02402367815375328,
-0.03880748152732849,
0.0011224349727854133,
-0.010760256089270115,
0.0372283011674881,
0.022830894216895103,
-0.05839601904153824,
0.055439259856939316,
-0.052717696875333786,
-0.048282552510499954,
-0.028962813317775726,
-0.08332688361406326,
-0.08749323338270187,
0.0256364569067955,
0.04912254214286804,
-0.01938694156706333,
-0.0036980505101382732,
0.03951307013630867,
0.017387768253684044,
0.031499579548835754,
0.06948386877775192,
-0.029819602146744728,
-0.015195396728813648,
-0.0559096522629261,
-0.024947665631771088,
-0.00347755360417068,
0.012364634312689304,
0.0435786172747612,
-0.045392993837594986,
0.03541392460465431,
0.011222249828279018,
-0.0668967068195343,
-0.025787655264139175,
-0.012574631720781326,
0.0008861881215125322,
0.013448219746351242,
0.003607751801609993,
0.017421366646885872,
0.018899748101830482,
0.016724176704883575,
0.014834201894700527,
-0.030155597254633904,
-0.0033200555481016636,
0.004842535126954317,
-0.03571632131934166,
0.009357474744319916,
-0.035212330520153046,
0.04774496331810951,
-0.051104918122291565,
-0.0819157063961029,
-0.0066149113699793816,
-0.0048803347162902355,
-0.038202688097953796,
0.006043719127774239,
0.067501500248909,
0.018563751131296158,
0.0634695515036583,
-0.04314182326197624,
-0.02098291926085949,
-0.010365460999310017,
0.03213797137141228,
-0.03790029138326645,
-0.02486366778612137,
0.02483006753027439,
0.04791295900940895,
-0.055036064237356186,
0.0274676326662302,
0.016850175336003304,
-0.01651417836546898,
-0.06894627958536148,
0.023368487134575844,
-0.02760203182697296,
0.016270581632852554,
-0.030105197802186012,
-0.05947120487689972,
0.026762042194604874,
0.009609471075236797,
0.05950480327010155,
-0.11302889138460159,
0.01884934864938259,
-0.004325942136347294,
-0.009475072845816612,
0.014095011167228222,
-0.026896439492702484,
-0.034086745232343674,
-0.0014311309205368161,
0.051373712718486786,
0.004460340365767479,
-0.007320502307265997,
0.028240421786904335,
0.007127304561436176,
0.0010793855180963874,
-0.026896439492702484,
-0.026174049824476242,
-0.006375514902174473,
-0.022511698305606842,
-0.009382674470543861,
0.0030449593905359507,
0.017076971009373665,
0.035783521831035614,
-0.06609031558036804,
0.04603138566017151,
-0.040789853781461716,
0.009861468337476254,
-0.027114836499094963,
0.030709989368915558,
-0.0349099338054657,
0.04294022545218468,
0.03398594632744789,
0.03331395611166954,
0.05265049636363983,
-0.029450006783008575,
-0.016690576449036598,
-0.014279808849096298,
-0.0007843394996598363,
0.029937200248241425,
0.0036560511216521263,
0.014195810072124004,
0.06582152098417282,
0.03396914526820183,
0.04398181289434433,
-0.026577245444059372,
-0.0385722853243351,
-0.034271541982889175,
0.025199662894010544,
0.014422607608139515,
0.006610711570829153,
0.0020674222614616156,
-0.0046409377828240395,
-0.028542818501591682,
-0.00046540627954527736,
0.022931693121790886,
0.026896439492702484,
0.00913067813962698,
0.06094958633184433,
-0.015968186780810356,
0.0017461266834288836,
0.003803049214184284,
0.045796189457178116,
0.044721003621816635,
0.0020579725969582796,
0.04149544611573219,
0.00960107147693634,
-0.030659589916467667,
0.0025703655555844307,
0.027114836499094963,
0.06561992317438126,
-0.0031583576928824186,
-0.00151512969750911,
-0.012541032396256924,
0.02612365037202835,
0.04344421997666359,
-0.012415033765137196,
0.011171850375831127,
-0.07748056203126907,
0.019218942150473595,
0.01799255982041359,
0.0012200836790725589,
0.009769069030880928,
0.0004144819686189294,
0.006934107281267643,
-0.04764416441321373,
0.04411621019244194,
0.021990906447172165,
0.017958959564566612,
-0.011675843968987465,
-0.020327728241682053,
0.021184517070651054,
-0.016396580263972282,
-0.02456127107143402,
0.03040759265422821,
-0.02879481576383114,
0.043108224868774414,
-0.02656044438481331,
0.008744282647967339,
-0.008240289986133575,
-0.008362088352441788,
0.04344421997666359,
0.0018479753052815795,
0.022780494764447212,
-0.07149984687566757,
-0.017488565295934677,
-0.020747723057866096,
0.020294127985835075,
0.015195396728813648,
0.01522899605333805,
-0.06306635588407516,
-0.011314649134874344,
0.024981265887618065,
-0.02246129885315895,
-0.035380326211452484,
0.01674937643110752,
0.04055465757846832,
-0.009214676916599274,
-0.025737255811691284,
0.026510044932365417,
0.004905534442514181,
-0.04035305976867676,
-0.0025850653182715178,
-0.03830348700284958,
-0.049492139369249344,
-0.05933680757880211,
-0.02884521521627903,
0.02397327870130539,
-0.05352408438920975,
0.03800109028816223,
-0.03322995454072952,
0.012969426810741425,
-0.01799255982041359,
-0.0036980505101382732,
-0.038068290799856186,
-0.007492699660360813,
-0.08299089223146439,
0.03823629021644592,
0.014565405435860157,
0.06877828389406204,
0.006052119191735983,
0.008710683323442936,
0.05433047190308571,
0.010760256089270115,
0.044183410704135895,
0.002035922836512327,
-0.030474793165922165,
-0.017942160367965698,
0.008240289986133575,
0.010558659210801125,
-0.009189477190375328,
-0.04381381347775459,
-0.01687537506222725,
-0.017303768545389175,
0.06736709922552109,
-0.024057278409600258,
0.00456533906981349,
-0.07828695327043533,
-0.04246983304619789,
-0.021587710827589035,
0.031230783089995384,
0.029618004336953163,
-0.0286268163472414,
-0.004523339681327343,
-0.041764240711927414,
0.04220103472471237,
-0.010466259904205799,
-0.01928614266216755,
-0.04747616499662399,
0.01834535412490368,
-0.001006411504931748,
0.05806002393364906,
-0.05772402882575989,
0.081781305372715,
-0.053288888186216354,
0.01466620434075594,
0.002181870862841606,
0.002001273212954402,
-0.05769043043255806,
-0.0034544537775218487,
0.061419978737831116,
0.024258876219391823,
0.02992039918899536,
0.042436230927705765,
0.023318087682127953,
0.00039925717283040285,
0.030205996707081795,
0.008156291209161282,
0.017942160367965698,
-0.04478820040822029,
-0.03153317794203758,
-0.0316171757876873,
0.025485258549451828,
0.0025850653182715178,
-0.06995426118373871,
-0.056514445692300797,
-0.03302835673093796,
-0.03227236866950989,
-0.020747723057866096,
-0.034405939280986786,
0.0032318567391484976,
-0.043377019464969635,
-0.0037484499625861645,
0.009743869304656982,
0.06844228506088257,
0.015144997276365757,
0.07452380657196045,
0.023066092282533646,
-0.041226647794246674,
-0.04183144122362137,
-0.009693470783531666,
-0.03237316757440567,
-0.0399162657558918,
0.004762736149132252,
-0.00480053573846817,
0.020378127694129944,
0.0545656718313694,
0.05174330994486809,
0.0054431273601949215,
-0.009853067807853222,
-0.10731696337461472,
-0.09441474080085754,
0.05325528606772423,
0.010449460707604885,
-0.011608644388616085,
0.03447313979268074,
-0.026241248473525047,
-0.012893827632069588,
-0.06740070134401321,
-0.047039370983839035,
-0.03354915231466293,
-0.0006541412440128624,
0.0341203436255455,
-0.014775402843952179,
0.029282009229063988,
-0.03464113548398018,
-0.023637283593416214,
-0.02919800952076912,
-0.03008839674293995,
0.030121996998786926,
0.008223489858210087,
0.0025997653137892485,
0.026224449276924133,
-0.013742215931415558,
0.0013376821298152208,
-0.008609884418547153,
-0.015909386798739433,
-0.01218823716044426,
0.05809362232685089,
0.0056279245764017105,
-0.015329794958233833,
-0.03220516815781593,
0.010231062769889832,
-0.027182037010788918,
0.025821255519986153,
0.016488978639245033,
0.05073532089591026,
-0.0541960746049881,
-0.12089118361473083,
-0.017606165260076523,
0.03062598966062069,
0.013045025989413261,
-0.08534286171197891,
0.01466620434075594,
0.00018611001723911613,
0.018630951642990112,
-0.06175597384572029,
-0.012692229822278023,
0.0067619094625115395,
0.06192397326231003,
0.0048089358024299145,
-0.025283662602305412,
-0.008273889310657978,
0.05674964189529419,
-0.048114556819200516,
-0.019252542406320572,
0.03185237571597099,
-0.0064805131405591965,
0.03183557465672493,
0.005497726611793041,
0.005938720423728228,
0.04451940581202507,
0.01844615302979946,
-0.003546852618455887,
0.002551465993747115,
-0.0304579921066761,
0.0316171757876873,
-0.03358275070786476,
0.0435786172747612,
0.05134011432528496,
-0.01326342299580574,
-0.010793855413794518,
0.03897547721862793,
0.01678297482430935,
0.05134011432528496,
-0.006774509325623512,
-0.024074077606201172,
0.04966013506054878,
-0.040386658161878586,
0.04381381347775459,
0.0007034905720502138,
-0.055876053869724274,
-0.015044198371469975,
0.031583577394485474,
0.008223489858210087,
0.00238976813852787,
0.01893334649503231,
0.036993104964494705,
0.03388514742255211,
0.023906080052256584,
-0.04411621019244194,
-0.0014741802588105202,
-0.025972452014684677,
0.015270995907485485,
-0.02437647432088852,
0.006421714089810848,
-0.002282669534906745,
0.013927013613283634,
0.09932027012109756,
0.0745910033583641,
-0.03746349737048149,
0.04428420960903168,
0.01844615302979946,
0.04021866247057915,
-0.0066485111601650715,
-0.04599778354167938,
0.05718643590807915,
-0.039009079337120056,
-0.022713296115398407,
0.036321114748716354,
-0.029282009229063988,
0.010071465745568275,
-0.008786282502114773,
-0.06273036450147629,
-0.009626271203160286,
0.02442687377333641,
0.003876548260450363,
0.012902227230370045,
0.009323875419795513,
0.06343594938516617,
0.008987879380583763,
-0.08352848142385483,
-0.08709003776311874,
0.033112358301877975,
-0.023334888741374016,
-0.017975758761167526,
0.034809134900569916,
0.000964412116445601,
-0.03742989897727966,
-0.0014069811441004276,
-0.034002743661403656,
0.019403740763664246,
-0.004863535054028034,
0.03675790876150131,
-0.028677215799689293,
0.01341462042182684,
-0.03937867283821106,
-0.008542685769498348,
-0.016598178073763847,
-0.016329381614923477,
-0.05211290344595909,
-0.034977130591869354,
0.04414980858564377,
-0.019050944596529007,
0.008412487804889679,
-0.002631264738738537,
0.015539792366325855,
-0.027652429416775703,
0.02513246424496174,
0.020512524992227554,
-0.03763149678707123,
0.012146237306296825,
-0.017303768545389175,
-0.006476313341408968,
-0.013599418103694916,
-0.007425500545650721,
-0.019403740763664246,
-0.009164277464151382,
0.022982092574238777,
0.007261702790856361,
0.06797189265489578,
0.02924840897321701,
-0.02790442667901516,
0.03611951693892479,
0.04095785319805145,
0.011533046141266823,
0.015388594008982182,
0.015749789774417877,
0.009785869158804417,
0.03202037140727043,
0.017622964456677437,
-0.05977360159158707,
0.02210850454866886,
-0.027114836499094963,
-0.03568272292613983,
-0.007694297004491091,
0.0022868693340569735,
-0.03363315016031265,
0.04344421997666359,
-0.06461193412542343,
0.011566645465791225,
0.006505712866783142,
-0.03487633541226387,
-0.026594044640660286,
-0.06024399399757385,
0.07687576860189438,
0.007656497415155172,
0.022662896662950516,
-0.043377019464969635,
-0.004871934652328491,
-0.06105038523674011,
0.039445873349905014,
0.07465820014476776,
-0.023183690384030342,
0.0041642445139586926,
-0.051272913813591,
-0.028055625036358833,
0.033868346363306046,
0.020058931782841682,
0.01920214295387268,
0.004674537573009729,
0.007732096593827009,
0.015161797404289246,
-0.05117211490869522,
-0.05973999947309494,
0.021638110280036926,
0.02760203182697296,
0.018832547590136528,
-0.038202688097953796,
0.019101344048976898,
-0.000013395523637882434,
-0.05826162174344063,
-0.032574765384197235,
-0.005144931375980377,
0.022074904292821884,
0.038605883717536926,
-0.025686856359243393,
0.029752401635050774,
-0.009416273795068264,
-0.04861855134367943,
-0.008567885495722294,
-0.008202490396797657,
-0.018950145691633224,
-0.01475860271602869,
0.04441860690712929,
0.041730642318725586,
-0.008878680877387524,
0.0081940907984972,
0.0649479329586029,
0.01624538190662861,
-0.02545166015625,
0.031583577394485474,
0.010928253643214703,
-0.018244555220007896,
-0.07768215984106064,
-0.023334888741374016,
-0.002473766915500164,
-0.04666977748274803,
-0.0034208542201668024,
0.015086198225617409,
-0.03558192402124405,
0.01871494948863983,
0.028962813317775726,
0.009634670801460743,
-0.04646817967295647,
0.026627643033862114,
-0.013439820148050785,
0.04290662705898285,
-0.029618004336953163,
0.020327728241682053,
-0.05742163211107254,
0.016186583787202835,
0.01660657860338688,
-0.08991239964962006,
0.001102485228329897,
-0.050567325204610825,
-0.03249076381325722,
0.005468327086418867,
0.029618004336953163,
0.06686310470104218,
0.010877854190766811,
0.02531726099550724,
0.0048173354007303715,
0.03464113548398018,
-0.002251169877126813,
-0.025082064792513847,
0.008601484820246696,
-0.027484431862831116,
-0.02509886398911476,
-0.026711642742156982,
0.07412061095237732,
-0.05170970782637596,
0.03032359480857849,
-0.008357888087630272,
-0.01661497727036476,
-0.02871081605553627,
0.01737096719443798,
-0.0206301249563694,
-0.01228063553571701,
0.022226102650165558,
-0.0362539142370224,
-0.07727896422147751,
0.10577138513326645,
0.012910627759993076,
0.045426592230796814,
-0.0014384808018803596,
0.017488565295934677,
-0.06955107301473618,
0.0037169503048062325,
0.012415033765137196,
-0.03339795395731926,
0.02946680597960949,
-0.005199530627578497,
-0.0015424293233081698,
0.02603965252637863,
0.03729550167918205,
0.06172237545251846,
0.00839568767696619,
0.0366235114634037,
0.04290662705898285,
-0.004661937709897757,
-0.06024399399757385,
0.016463780775666237,
0.016724176704883575,
-0.002843362046405673,
-0.022478099912405014,
-0.03826988860964775,
0.00917267706245184,
-0.022578898817300797,
0.03541392460465431,
0.02682924084365368,
0.08769482374191284
] |
18,011 | imodels.tree.tao | TaoTreeRegressor | null | class TaoTreeRegressor(TaoTree, RegressorMixin):
pass
| (model_type: str = 'CART', n_iters: int = 20, model_args: dict = {'max_leaf_nodes': 15}, randomize_tree=False, update_scoring='accuracy', min_node_samples_tao=3, min_leaf_samples_tao=2, node_model='stump', node_model_args: dict = {}, reg_param: float = 0.001, weight_errors: bool = False, verbose: int = 0) | [
-0.006144370883703232,
-0.005559840239584446,
0.08598494529724121,
0.008251400664448738,
-0.052634965628385544,
-0.03199060261249542,
-0.11868242174386978,
-0.01589561440050602,
0.0340387299656868,
-0.015922801569104195,
0.0652499571442604,
-0.0007991986931301653,
0.03958497568964958,
0.0447324700653553,
-0.02825685776770115,
-0.0033485915046185255,
0.0011747258249670267,
0.017998114228248596,
-0.006597495637834072,
-0.01267842948436737,
-0.057601213455200195,
0.010575930587947369,
-0.01754498854279518,
0.015641864389181137,
-0.02568310871720314,
0.04498622193932533,
-0.024251233786344528,
-0.03311435505747795,
0.021061236038804054,
-0.022656235843896866,
-0.042629972100257874,
-0.06147995963692665,
-0.04734246805310249,
-0.0006621284992434084,
0.010204368270933628,
-0.03813497722148895,
-0.05031496658921242,
0.07010745257139206,
-0.0451674722135067,
0.045239970088005066,
0.0015972645487636328,
-0.05698496475815773,
-0.054012466222047806,
-0.014101240783929825,
0.0561874620616436,
-0.013303741812705994,
-0.012533429078757763,
0.015750614926218987,
-0.022928109392523766,
-0.04132497310638428,
-0.013611866161227226,
-0.007349682971835136,
0.02406998537480831,
0.034691229462623596,
-0.024541234597563744,
0.07315245270729065,
0.013774991035461426,
0.09156744182109833,
0.04752371832728386,
-0.01836061291396618,
0.044949971139431,
0.03991122543811798,
0.00028291973285377026,
-0.02178623527288437,
-0.010131868533790112,
-0.01567811518907547,
-0.09859993308782578,
0.015750614926218987,
0.005772808566689491,
0.03659434989094734,
-0.02584623359143734,
-0.016729364171624184,
0.011255618184804916,
0.03980247303843498,
0.05901496112346649,
0.011808429844677448,
0.008663744665682316,
-0.061407461762428284,
-0.0015621474012732506,
-0.003933122381567955,
-0.020843736827373505,
-0.029072482138872147,
0.017853112891316414,
0.029036231338977814,
-0.02135123685002327,
-0.10838743299245834,
-0.0024038266856223345,
-0.0562962144613266,
0.006497808266431093,
-0.03817122429609299,
-0.0793149471282959,
-0.012134679593145847,
-0.01008655596524477,
0.014554365538060665,
0.001075038337148726,
0.03179122880101204,
0.0339299775660038,
-0.017381863668560982,
-0.04694372043013573,
-0.0894649401307106,
0.024595608934760094,
0.048937469720840454,
-0.05807246267795563,
0.03601435199379921,
0.014708427712321281,
0.014083116315305233,
-0.030486229807138443,
0.003702028887346387,
0.008709057234227657,
0.004694371949881315,
-0.08417244255542755,
0.1004849374294281,
0.009769368916749954,
0.006443433463573456,
-0.05125746876001358,
-0.06456121057271957,
-0.04542122036218643,
0.012950303964316845,
-0.04618246853351593,
-0.010159055702388287,
0.03947622328996658,
0.07115870714187622,
-0.01921248808503151,
0.07126745581626892,
-0.009515618905425072,
0.050532467663288116,
0.07532744854688644,
0.047269970178604126,
-0.020644361153244972,
-0.07413120567798615,
-0.014101240783929825,
0.019466238096356392,
-0.023689359426498413,
0.028981857001781464,
0.029362481087446213,
0.02504873462021351,
0.03519872575998306,
-0.002324529690667987,
0.00821515079587698,
-0.006253120955079794,
0.040636222809553146,
0.015705302357673645,
0.042412471026182175,
-0.04991621896624565,
0.0056323399767279625,
-0.0015836708480492234,
-0.07181120663881302,
0.021804360672831535,
-0.04226747155189514,
-0.040056224912405014,
-0.0048801531083881855,
0.005392184015363455,
0.05604246258735657,
-0.0035434351302683353,
0.01836061291396618,
0.013566553592681885,
-0.006117183715105057,
-0.01807967573404312,
0.0016890224069356918,
-0.010032180696725845,
-0.03418372943997383,
0.017209677025675774,
-0.0016708973562344909,
-0.04357247054576874,
-0.0085912449285388,
-0.01538811530917883,
0.0014035537606105208,
-0.07829994708299637,
-0.04708871990442276,
0.01866873726248741,
-0.015641864389181137,
-0.09149494022130966,
-0.017834989354014397,
0.06071871146559715,
0.0005528121255338192,
0.00034154276363551617,
0.054012466222047806,
0.0680774599313736,
-0.014907803386449814,
0.07413120567798615,
0.055136214941740036,
0.007227339316159487,
-0.026933733373880386,
0.009461243636906147,
0.01495311502367258,
-0.03634060174226761,
-0.004327340982854366,
0.0046286690048873425,
-0.002258826745674014,
0.020825611427426338,
0.04618246853351593,
0.001837420742958784,
-0.0053559341467916965,
-0.047161221504211426,
0.034219976514577866,
-0.03151935338973999,
-0.0033032791689038277,
-0.013548429124057293,
-0.002263357862830162,
0.05966746062040329,
-0.03519872575998306,
0.013838429003953934,
0.04001997411251068,
0.03733747452497482,
-0.007231870200484991,
0.025701234117150307,
-0.001783045707270503,
0.02883685566484928,
-0.037373725324869156,
-0.028746232390403748,
0.05056871846318245,
0.023091234266757965,
0.021913111209869385,
0.08351994305849075,
0.028456231579184532,
-0.004010153468698263,
-0.030649354681372643,
0.0006864839233458042,
0.006352808326482773,
-0.014916865155100822,
0.017155300825834274,
0.005614215042442083,
0.014137490652501583,
-0.02300061099231243,
0.012660304084420204,
-0.03092123009264469,
0.01819748803973198,
-0.016946863383054733,
0.031229354441165924,
-0.05248996615409851,
0.02541123330593109,
-0.06988995522260666,
0.0020787096582353115,
-0.020263737067580223,
0.0038968725129961967,
-0.022619985044002533,
-0.005410308949649334,
-0.01622186414897442,
-0.01921248808503151,
0.022547485306859016,
-0.04766871780157089,
-0.011835617013275623,
-0.022184986621141434,
-0.06100871041417122,
0.023471860215067863,
0.016194676980376244,
0.02948935516178608,
0.02300061099231243,
-0.009062494151294231,
-0.03050435520708561,
-0.015243114903569221,
-0.02354435995221138,
-0.021043110638856888,
0.04458747059106827,
-0.011953430250287056,
-0.026498733088374138,
0.035126227885484695,
-0.0024876545649021864,
0.027441231533885002,
-0.015152490697801113,
-0.028655607253313065,
-0.014726553112268448,
-0.0331687293946743,
0.07286245375871658,
-0.03601435199379921,
-0.020988736301660538,
-0.002854685764759779,
-0.02305498532950878,
-0.01600436493754387,
-0.020028112456202507,
0.12970241904258728,
0.0560787133872509,
-0.03639497607946396,
0.0281481072306633,
-0.013049991801381111,
0.0016618348890915513,
-0.020263737067580223,
0.01444561593234539,
-0.010204368270933628,
-0.04056372493505478,
-0.003600075840950012,
-0.03730122745037079,
-0.0035842163488268852,
-0.030631231144070625,
-0.0672074556350708,
-0.036576226353645325,
-0.020807486027479172,
0.038497474044561386,
-0.014083116315305233,
0.01070280559360981,
-0.009184838272631168,
0.013865616172552109,
-0.027332482859492302,
0.036684975028038025,
0.09432244300842285,
-0.0567312128841877,
-0.03142872825264931,
0.042086221277713776,
0.004173278342932463,
0.010603117756545544,
0.015542177483439445,
-0.03572435304522514,
0.0033078102860599756,
-0.01926686242222786,
-0.04088997468352318,
0.026462482288479805,
0.09091494232416153,
0.008577650412917137,
-0.013675304129719734,
0.0457112193107605,
0.011146867647767067,
0.0459287203848362,
-0.013874678872525692,
0.021369360387325287,
-0.02680685743689537,
-0.049843717366456985,
0.02439623512327671,
-0.04574747011065483,
0.04886496812105179,
0.04491372033953667,
-0.08605744689702988,
0.005582496523857117,
0.01583217643201351,
-0.06575746089220047,
0.03363997861742973,
0.0140468655154109,
0.029833730310201645,
0.005074996966868639,
-0.03483622893691063,
0.03311435505747795,
-0.04643622040748596,
0.0004839938192162663,
0.0788799524307251,
-0.008274056948721409,
-0.08366494625806808,
0.018741238862276077,
0.05774621292948723,
0.012125616893172264,
-0.03461872786283493,
-0.018106862902641296,
0.01436405349522829,
0.04723371937870979,
-0.019248737022280693,
0.051982466131448746,
-0.03795372694730759,
-0.022547485306859016,
-0.013122491538524628,
0.007603432517498732,
0.08678244799375534,
0.061987459659576416,
-0.04099872335791588,
0.03257060423493385,
-0.0027300764340907335,
0.04777747020125389,
0.016285302117466927,
0.005718433763831854,
-0.005981246009469032,
0.037917476147413254,
0.015324677340686321,
-0.04284747317433357,
-0.022601859644055367,
0.004356794059276581,
-0.011137804947793484,
0.026263108476996422,
0.01802530139684677,
-0.046363718807697296,
-0.006457027047872543,
0.03730122745037079,
0.06282120943069458,
-0.032661229372024536,
0.01246999204158783,
-0.006602026987820864,
-0.011509367264807224,
0.021043110638856888,
0.0005103317089378834,
-0.001860076910816133,
-0.0006836518878117204,
-0.04683497175574303,
-0.002793513936921954,
0.024106234312057495,
0.012379366904497147,
0.017853112891316414,
0.002893201308324933,
-0.024468734860420227,
0.021206235513091087,
-0.023689359426498413,
0.02397936023771763,
0.05604246258735657,
0.02403373457491398,
-0.025701234117150307,
0.0070415581576526165,
-0.05821746215224266,
-0.015297490172088146,
-0.024251233786344528,
-0.10983742773532867,
-0.01337624154984951,
-0.0021444126032292843,
0.009515618905425072,
-0.08917494118213654,
-0.013249366544187069,
0.0024695296306163073,
-0.028401857241988182,
0.0014466006541624665,
-0.006805933080613613,
0.05064121633768082,
-0.03461872786283493,
0.035778727382421494,
0.005496402736753225,
0.03755497559905052,
-0.01894061267375946,
-0.01131905522197485,
0.021550610661506653,
-0.0038243725430220366,
0.02107936143875122,
-0.033204980194568634,
-0.02028186246752739,
0.034219976514577866,
0.004263903480023146,
0.03166435286402702,
-0.010766242630779743,
0.03001498058438301,
0.07605244964361191,
-0.03878747671842575,
0.011038118042051792,
0.08453494310379028,
0.02310935966670513,
0.016140302643179893,
-0.004961715545505285,
-0.051547467708587646,
0.05952246114611626,
-0.03160997852683067,
-0.05582496523857117,
-0.04378997161984444,
-0.029144981876015663,
0.04125247523188591,
-0.023236235603690147,
-0.03402060270309448,
-0.02403373457491398,
-0.0008150580688379705,
0.024269359186291695,
0.0168018639087677,
0.01329467911273241,
0.05752871185541153,
-0.056912463158369064,
0.013140616938471794,
-0.0460374690592289,
0.020807486027479172,
-0.023961234837770462,
-0.022166861221194267,
-0.07706744968891144,
0.0340387299656868,
0.0279306061565876,
0.04237622395157814,
0.07017995417118073,
-0.010557806119322777,
-0.024214984849095345,
0.022946234792470932,
-0.06572120636701584,
-0.003969372250139713,
0.009760306216776371,
-0.03012373112142086,
0.002721013966947794,
0.02664373256266117,
0.012488117441534996,
0.019810611382126808,
-0.013666241429746151,
0.044442471116781235,
-0.008178900927305222,
-0.001783045707270503,
-0.04596497118473053,
0.022656235843896866,
-0.01990123651921749,
-0.06532245874404907,
-0.06253121048212051,
-0.0441887229681015,
0.0912049412727356,
-0.027513733133673668,
-0.024378109723329544,
-0.008314838632941246,
-0.05379496514797211,
0.028003107756376266,
-0.04313747212290764,
0.048031218349933624,
0.055027466267347336,
0.00046445283805951476,
0.011473117396235466,
0.01503467746078968,
-0.03193622827529907,
-0.004585621878504753,
0.0037292162887752056,
-0.03460060432553291,
-0.002069647191092372,
-0.0039036693051457405,
0.08830494433641434,
-0.018704988062381744,
0.056912463158369064,
-0.012932179495692253,
0.010349368676543236,
-0.010775305330753326,
-0.014273428358137608,
0.022547485306859016,
0.010557806119322777,
-0.022946234792470932,
-0.01861436292529106,
0.03933122381567955,
0.013240303844213486,
-0.015641864389181137,
0.024432484060525894,
-0.05390371382236481,
0.02321811020374298,
-0.02091623656451702,
-0.010276868008077145,
0.02530248463153839,
0.05462871491909027,
0.02483123354613781,
-0.002265623537823558,
-0.010095618665218353,
0.04088997468352318,
0.014808115549385548,
0.014001553878188133,
0.0033440603874623775,
0.027151232585310936,
0.03980247303843498,
-0.06350995600223541,
0.04542122036218643,
0.036249976605176926,
-0.003602341515943408,
0.05723871290683746,
0.03456435352563858,
0.06111745908856392,
0.05923246219754219,
-0.03634060174226761,
0.0003622165531851351,
0.041614972054958344,
-0.00024213851429522038,
0.004689840599894524,
-0.010358430445194244,
-0.03097560442984104,
0.0450587198138237,
-0.03842497617006302,
-0.006393589545041323,
0.017789676785469055,
0.039947472512722015,
-0.00017983386351261288,
-0.006969057954847813,
-0.005582496523857117,
0.019810611382126808,
0.004089450463652611,
-0.024849358946084976,
0.02044498734176159,
-0.00702343275770545,
-0.0223118606954813,
-0.01669311337172985,
0.06970870494842529,
0.038714975118637085,
0.000921542348805815,
-0.04650871828198433,
0.03135623037815094,
0.016819989308714867,
0.02905435673892498,
-0.0277674812823534,
-0.009397806599736214,
0.051873717457056046,
0.02236623503267765,
-0.011989680118858814,
0.04832121729850769,
-0.050967466086149216,
0.06778745353221893,
-0.042557474225759506,
-0.000025736067982506938,
-0.006284839939326048,
-0.0446237213909626,
-0.0022271079942584038,
0.004354528617113829,
-0.04799496755003929,
0.012633116915822029,
-0.015351865440607071,
-0.00018323230324313045,
-0.09229244291782379,
-0.04215872287750244,
-0.014880615286529064,
0.010494368150830269,
-0.041542474180459976,
-0.037917476147413254,
0.019973736256361008,
-0.027314357459545135,
-0.012633116915822029,
0.0793149471282959,
-0.010177181102335453,
-0.02338123507797718,
-0.00007844721403671429,
0.03450997918844223,
0.009230149909853935,
-0.02707873284816742,
0.006203277036547661,
-0.044551219791173935,
-0.09671493619680405,
-0.02787623181939125,
-0.004161950666457415,
0.007453901693224907,
-0.015714364126324654,
0.011835617013275623,
0.04023747518658638,
-0.02107936143875122,
-0.018396863713860512,
-0.028637481853365898,
0.007027964107692242,
-0.038497474044561386,
-0.025701234117150307,
-0.04835746809840202,
0.03324122726917267,
0.010630305856466293,
0.029344355687499046,
-0.016067802906036377,
0.002111561130732298,
-0.029616231098771095,
-0.07561745494604111,
0.0019337097182869911,
0.016511864960193634,
-0.01037655584514141,
-0.022728735581040382,
-0.01594999060034752,
0.0053559341467916965,
0.007213745266199112,
-0.04708871990442276,
0.039838723838329315,
0.059631213545799255,
-0.08569494634866714,
0.00021792466577608138,
-0.06970870494842529,
-0.006026558578014374,
-0.042557474225759506,
-0.01255155447870493,
-0.07612495124340057,
0.004775934386998415,
-0.052888717502355576,
0.005319684278219938,
0.032769978046417236,
-0.01807967573404312,
-0.0559699647128582,
-0.06669995933771133,
-0.0018057019915431738,
-0.02236623503267765,
-0.012488117441534996,
-0.020209362730383873,
-0.06274870783090591,
-0.042992472648620605,
-0.0015666786348447204,
0.011554679833352566,
-0.0020809753332287073,
-0.024305609986186028,
0.07771994918584824,
-0.03566997870802879,
0.04404372349381447,
-0.0014262100448831916,
0.04009247571229935,
-0.0019280456472188234,
-0.011889992281794548,
0.04034622386097908,
0.013657178729772568,
-0.023399360477924347,
-0.016620613634586334,
0.04237622395157814,
0.054991215467453,
0.04719746857881546,
0.008147181943058968,
-0.03160997852683067,
0.004218590911477804,
0.0032760915346443653,
-0.007381401490420103,
-0.05281621590256691,
0.022946234792470932,
-0.029688730835914612,
-0.018650613725185394,
0.009497493505477905,
0.013321866281330585,
-0.000671757385134697,
-0.030486229807138443,
0.049517467617988586,
0.007757495157420635,
0.004581090994179249,
0.04520371928811073,
0.013494053855538368,
0.005047809332609177,
0.043681222945451736,
0.030649354681372643,
-0.05093121901154518,
0.047813721001148224,
0.02118811197578907,
-0.004574293736368418,
-0.003627263242378831,
0.005451090168207884,
0.01107436791062355,
0.020318111404776573,
0.03936747461557388,
0.04708871990442276,
-0.053432464599609375,
-0.031754978001117706,
-0.01626717671751976,
-0.03431060165166855,
0.03503560274839401,
-0.047016218304634094,
-0.037011224776506424,
0.03189998120069504,
0.019303113222122192,
0.03896872326731682,
-0.006089996080845594,
-0.00048031218466348946,
0.019466238096356392,
-0.045457471162080765,
0.02686123363673687,
0.031174980103969574,
0.04121622443199158,
-0.023073110729455948,
-0.014028741046786308,
0.006298433523625135,
0.03751872479915619,
0.0342562273144722,
-0.03237123042345047,
-0.011545617133378983,
-0.019611237570643425,
-0.0085096824914217,
0.0553174652159214,
0.04610997065901756,
0.038714975118637085,
0.01932123675942421,
0.02000998705625534,
-0.06126246228814125,
-0.020771237090229988,
-0.033730603754520416,
0.04752371832728386,
0.042992472648620605,
-0.017644675448536873,
-0.06488745659589767,
-0.0170193649828434,
0.005559840239584446,
-0.06205996125936508,
0.023236235603690147,
-0.007567182648926973,
0.06854870915412903,
0.01968373730778694,
-0.03824372589588165,
-0.012814367190003395,
-0.018387800082564354,
0.03817122429609299,
0.001763787935487926,
0.0007686127792112529,
0.07202870398759842,
0.019176237285137177,
0.0006547652301378548,
0.05441121384501457,
0.013158741407096386,
0.014481865800917149,
0.014753740280866623,
0.03461872786283493,
0.00394445052370429,
0.05027871951460838,
-0.04045497253537178,
-0.041071224957704544,
-0.03864247351884842,
0.02590060792863369,
-0.05285246670246124,
-0.007916088216006756,
-0.023906860500574112,
0.05622371286153793,
0.0015791396144777536,
0.01622186414897442,
0.016720302402973175
] |
18,037 | imodels.algebraic.tree_gam | TreeGAMClassifier | null | class TreeGAMClassifier(TreeGAM, ClassifierMixin):
...
| (n_boosting_rounds=100, max_leaf_nodes=3, reg_param=0.0, learning_rate: float = 0.01, n_boosting_rounds_marginal=0, max_leaf_nodes_marginal=2, reg_param_marginal=0.0, fit_linear_marginal=None, select_linear_marginal=False, decay_rate_towards_marginal=1.0, fit_posthoc_tree_coefs=None, boosting_strategy='cyclic', validation_frac=0.15, random_state=None) | [
-0.009240123443305492,
-0.05263005942106247,
-0.0058146025985479355,
0.05656501650810242,
-0.04321426525712013,
-0.039209041744470596,
-0.07862888276576996,
0.003921782597899437,
0.04620061814785004,
0.01618778333067894,
0.052348989993333817,
0.0028567968402057886,
0.009494842030107975,
0.06706994771957397,
-0.0295473150908947,
-0.04490067809820175,
0.05445700138807297,
0.018480246886610985,
-0.003276203526183963,
-0.043495334684848785,
-0.0747641921043396,
0.034940317273139954,
-0.015414845198392868,
0.028317641466856003,
-0.008023624308407307,
0.05017070844769478,
0.020166657865047455,
-0.022748973220586777,
0.013069680891931057,
-0.006982793100178242,
-0.07560740411281586,
-0.04184405878186226,
-0.008941488340497017,
0.03973604366183281,
0.04300346598029137,
-0.061694514006376266,
-0.006012228783220053,
0.07104004174470901,
-0.10483851283788681,
0.05315706133842468,
-0.0216949675232172,
-0.07623980194330215,
-0.02466375194489956,
-0.05111931636929512,
0.00349798402749002,
0.027228500694036484,
0.029635149985551834,
0.04142245650291443,
-0.033798474818468094,
-0.03959551081061363,
-0.053684063255786896,
-0.073569655418396,
0.028054140508174896,
0.03783883526921272,
-0.05178685486316681,
0.09078509360551834,
0.05357866361737251,
0.026139361783862114,
-0.012516327202320099,
0.020957162603735924,
0.0070618437603116035,
-0.008748253807425499,
0.050978779792785645,
-0.04444394260644913,
-0.015827665105462074,
-0.01075964979827404,
-0.0820017084479332,
0.03580108657479286,
0.000652715505566448,
0.047114092856645584,
-0.03703076392412186,
-0.04244132712483406,
0.021484166383743286,
0.06984549760818481,
0.04637628793716431,
0.031198592856526375,
-0.03416737914085388,
-0.022151703014969826,
0.04497094452381134,
-0.01042588148266077,
0.014316922053694725,
-0.03956037759780884,
0.011435970664024353,
-0.0007734870887361467,
-0.03871717303991318,
-0.08895815163850784,
0.024365117773413658,
-0.034993015229701996,
0.02134363166987896,
-0.011840006336569786,
-0.08881761878728867,
0.024312416091561317,
0.04865996912121773,
0.03924417495727539,
-0.00372196058742702,
0.0639079287648201,
0.007970924489200115,
-0.009854961186647415,
-0.026719065383076668,
-0.06250258535146713,
-0.014395972713828087,
0.06524300575256348,
-0.04033331573009491,
0.001561247161589563,
-0.050732847303152084,
0.002134363166987896,
-0.04613035172224045,
0.007294603623449802,
-0.0017237397842109203,
0.003915194887667894,
-0.044514209032058716,
0.0500301755964756,
0.022942207753658295,
0.04844916611909866,
-0.017373541370034218,
-0.08909868448972702,
-0.005054839421063662,
0.005898044910281897,
-0.036925360560417175,
-0.006561190355569124,
-0.03026755340397358,
0.04370613768696785,
-0.04086031764745712,
0.06035944074392319,
0.008778995834290981,
0.023961082100868225,
0.05691635236144066,
0.04658708721399307,
-0.011602855287492275,
-0.07363992184400558,
-0.004756204318255186,
0.016995854675769806,
-0.04310886561870575,
-0.01497567631304264,
0.04746542498469353,
-0.0007690953789278865,
0.004483919590711594,
-0.01648641936480999,
-0.004532228223979473,
0.025102920830249786,
0.028791945427656174,
-0.03037295490503311,
0.0518219880759716,
-0.025946127250790596,
0.0020629982464015484,
0.034641679376363754,
-0.02303004264831543,
-0.04022791609168053,
-0.047711361199617386,
-0.03176072984933853,
0.023188143968582153,
0.010794783011078835,
0.07153190672397614,
-0.018954550847411156,
-0.012946713715791702,
0.005068014841526747,
-0.01284131221473217,
-0.038014501333236694,
0.002678933320567012,
-0.02320571057498455,
-0.0014031461905688047,
-0.005362258292734623,
-0.024207016453146935,
0.011295436881482601,
0.011796089820563793,
-0.00014945483417250216,
-0.01042588148266077,
-0.0693184956908226,
-0.04384667053818703,
0.017162740230560303,
-0.011242736130952835,
-0.08045583218336105,
0.010346830822527409,
0.007088193669915199,
-0.0031378651037812233,
0.021800367161631584,
0.01863834820687771,
0.07342912256717682,
0.01633710041642189,
0.07191837579011917,
0.036257825791835785,
0.0019608912989497185,
-0.03562542051076889,
0.003456263104453683,
0.020711228251457214,
0.00744392117485404,
0.04588441550731659,
0.021624701097607613,
0.002259526401758194,
0.014395972713828087,
-0.007017926778644323,
-0.013675734400749207,
-0.01752285845577717,
-0.038436103612184525,
0.05979730188846588,
0.015318227931857109,
0.007237511221319437,
0.012814962305128574,
-0.03822530433535576,
0.10329263657331467,
-0.03177829459309578,
-0.005283207632601261,
0.010478581301867962,
0.0002437390066916123,
-0.029406782239675522,
0.03304310515522957,
-0.014466239139437675,
0.05522993952035904,
-0.02687716670334339,
-0.05178685486316681,
0.008423268795013428,
0.0033838001545518637,
-0.003774660872295499,
0.07272645086050034,
0.07687220722436905,
-0.057654157280921936,
0.039349574595689774,
0.017110038548707962,
-0.015616863034665585,
0.001919170143082738,
0.02062339335680008,
0.02900274656713009,
-0.022871941328048706,
0.0038624946027994156,
-0.03407954424619675,
-0.018849149346351624,
0.055194806307554245,
-0.009644159115850925,
0.014325705356895924,
-0.03425521031022072,
0.018164046108722687,
-0.0584622286260128,
0.026367729529738426,
0.05220845714211464,
-0.026912299916148186,
0.02519075572490692,
0.012156208045780659,
-0.0042753140442073345,
-0.044514209032058716,
0.019182918593287468,
-0.0005758608458563685,
0.0005086130113340914,
-0.0328674353659153,
-0.005902436561882496,
0.03594162315130234,
-0.016916804015636444,
0.025419123470783234,
0.000743294192943722,
0.019516687840223312,
0.015010809525847435,
-0.021361198276281357,
-0.02917841449379921,
-0.04809783026576042,
0.012217692099511623,
-0.014545289799571037,
-0.010996800847351551,
-0.023978648707270622,
-0.02158956602215767,
0.03309580311179161,
-0.032639067620038986,
-0.038014501333236694,
-0.010548848658800125,
-0.004707895684987307,
0.09696859866380692,
-0.03074185736477375,
0.020535560324788094,
0.06485653668642044,
-0.009310390800237656,
-0.0013932648580521345,
-0.008928313851356506,
0.07912075519561768,
0.05986756831407547,
-0.028950044885277748,
0.03755776584148407,
-0.014070986770093441,
-0.008238817565143108,
-0.04827350005507469,
0.03467681258916855,
0.007057452108711004,
-0.014501373283565044,
0.03892797231674194,
-0.036574024707078934,
-0.031022924929857254,
-0.0009068847866728902,
-0.03344713896512985,
0.0012812766944989562,
-0.009951578453183174,
0.03393901139497757,
0.01057519856840372,
-0.006807125173509121,
-0.002832642523571849,
0.026367729529738426,
0.002342968713492155,
0.0464114211499691,
0.05572181195020676,
-0.059235166758298874,
-0.04086031764745712,
0.08284491300582886,
-0.012806179001927376,
-0.008910746313631535,
0.026139361783862114,
-0.04110625386238098,
-0.010443448089063168,
-0.03833070397377014,
-0.04033331573009491,
-0.014589207246899605,
0.05129498243331909,
0.006653415970504284,
-0.03209449723362923,
0.04437367245554924,
0.018409980461001396,
0.0723751112818718,
-0.01904238387942314,
0.040965721011161804,
-0.02562992461025715,
-0.014395972713828087,
0.043671004474163055,
-0.007053060457110405,
0.04739515855908394,
0.04142245650291443,
-0.054281335324048996,
0.026315029710531235,
-0.0167323537170887,
-0.007544930092990398,
0.0029995269142091274,
-0.03822530433535576,
0.029020313173532486,
0.02707040123641491,
-0.03941984474658966,
0.02466375194489956,
-0.07933155447244644,
0.04419800639152527,
0.057548753917217255,
-0.023065175861120224,
-0.10392504185438156,
0.02055312693119049,
0.043565601110458374,
0.0259109940379858,
0.0014514548238366842,
-0.021238232031464577,
-0.010873833671212196,
0.004422435536980629,
-0.045603349804878235,
0.06137831136584282,
-0.03061888925731182,
-0.04145758971571922,
-0.0554758757352829,
0.011137335561215878,
0.05280572548508644,
0.01452772319316864,
-0.006047362461686134,
-0.011515021324157715,
0.02821224182844162,
0.04194945842027664,
0.02109769731760025,
-0.0024132358375936747,
-0.028827078640460968,
-0.006170329637825489,
0.005331516265869141,
-0.03822530433535576,
0.014703391119837761,
-0.02109769731760025,
-0.036011889576911926,
0.05118958279490471,
0.020939595997333527,
-0.023644879460334778,
0.017891760915517807,
-0.018374847248196602,
0.06527813524007797,
-0.04679789021611214,
0.015783747658133507,
-0.02243277244269848,
-0.05294626206159592,
0.015854014083743095,
-0.0026306246872991323,
0.029037879779934883,
-0.018497813493013382,
-0.0029600015841424465,
0.001856588525697589,
0.02164226770401001,
0.025401556864380836,
0.02657853066921234,
0.0217125341296196,
-0.04440880939364433,
0.00506362272426486,
-0.032762035727500916,
0.029494615271687508,
0.07434259355068207,
0.052348989993333817,
-0.012832528911530972,
-0.0031356692779809237,
-0.024611052125692368,
-0.039630644023418427,
-0.06436466425657272,
-0.09612539410591125,
-0.016231700778007507,
-0.019095085561275482,
-0.00877460464835167,
-0.05104904994368553,
-0.05375433340668678,
0.004909913521260023,
-0.019024817273020744,
0.025594791397452354,
-0.0005179453874006867,
0.033728208392858505,
0.012946713715791702,
0.03304310515522957,
0.02598126046359539,
0.008445227518677711,
-0.017557991668581963,
0.012156208045780659,
0.05825142562389374,
-0.031918831169605255,
0.007044276688247919,
-0.017839061096310616,
-0.0518219880759716,
0.0470438227057457,
-0.003717568702995777,
0.0034474795684218407,
0.007509796414524317,
0.0001940579677466303,
0.0855853259563446,
-0.00748783815652132,
0.0014800007920712233,
0.02369757927954197,
0.025717759504914284,
-0.04465474188327789,
-0.016987072303891182,
0.00009250004950445145,
-0.011567721143364906,
-0.07609926909208298,
0.01611751690506935,
-0.052243590354919434,
0.011330570094287395,
0.011374486610293388,
-0.047289758920669556,
-0.05333273112773895,
-0.004795729648321867,
-0.019692355766892433,
-0.0007356086862273514,
-0.009125939570367336,
-0.012525110505521297,
0.02490968629717827,
0.001589793129824102,
0.05136524885892868,
-0.024312416091561317,
-0.01784784346818924,
0.008164159022271633,
-0.018287012353539467,
-0.03966577723622322,
-0.001424006768502295,
0.01057519856840372,
0.022643573582172394,
0.0681590884923935,
0.032762035727500916,
0.0020860545337200165,
0.02067609503865242,
-0.04479527845978737,
0.054702937602996826,
-0.019920723512768745,
-0.01787419430911541,
0.006780775263905525,
-0.008032407611608505,
0.04321426525712013,
0.007799648214131594,
0.01601211540400982,
0.045919548720121384,
0.00883608777076006,
-0.007527363020926714,
-0.033429574221372604,
0.06801855564117432,
0.005915611516684294,
-0.010329264216125011,
-0.0849529281258583,
-0.08038556575775146,
0.07420206069946289,
0.018374847248196602,
-0.00800605770200491,
-0.004391693975776434,
-0.02568262442946434,
0.0334647074341774,
-0.028194673359394073,
0.019990989938378334,
0.025454256683588028,
0.0025098531041294336,
0.015283094719052315,
-0.00477816304191947,
-0.018058644607663155,
0.041141387075185776,
-0.008757037110626698,
-0.04785189405083656,
0.0029841559007763863,
-0.0006609499105252326,
0.0711454376578331,
0.012542677111923695,
0.03515111654996872,
0.009108372963964939,
-0.00027557878638617694,
-0.013157514855265617,
-0.02689473330974579,
0.019130218774080276,
0.03899824246764183,
-0.01905995048582554,
-0.0313391275703907,
0.052067920565605164,
-0.030302686616778374,
0.02230980433523655,
0.01292914617806673,
-0.03032025322318077,
0.03209449723362923,
-0.007970924489200115,
-0.00023454389884136617,
0.021238232031464577,
0.005138281732797623,
0.03847123682498932,
-0.0076986392959952354,
-0.030249986797571182,
0.02724606916308403,
0.01435205526649952,
0.0482383631169796,
0.04999504238367081,
-0.023680012673139572,
0.03399170935153961,
-0.024523219093680382,
0.007843565195798874,
0.028001438826322556,
0.02213413640856743,
0.05842709541320801,
0.03429034352302551,
0.0488356351852417,
0.025577224791049957,
-0.02253817208111286,
-0.012902796268463135,
0.07989369332790375,
-0.006455789785832167,
0.055194806307554245,
0.0007246294990181923,
-0.01682897098362446,
0.049889642745256424,
-0.023293543606996536,
0.025366423651576042,
-0.0421953946352005,
0.03594162315130234,
0.0358537882566452,
0.002146440325304866,
0.026086661964654922,
-0.017839061096310616,
-0.00529199093580246,
-0.00468593742698431,
0.03009188547730446,
-0.014123687520623207,
-0.013368315994739532,
-0.08895815163850784,
0.005704810377210379,
0.08769334107637405,
-0.007514188066124916,
-0.026736631989479065,
0.013710867613554,
0.012560244649648666,
0.02526102215051651,
-0.0259285606443882,
-0.011172468774020672,
0.033675506711006165,
0.0008047778974287212,
0.005687243305146694,
-0.029635149985551834,
-0.05811089277267456,
0.06784288585186005,
-0.026859600096940994,
-0.01594184897840023,
0.014123687520623207,
-0.03622268885374069,
-0.009187423624098301,
0.03039052151143551,
-0.03351740539073944,
0.0608864426612854,
-0.022889507934451103,
0.011356920003890991,
-0.06524300575256348,
-0.05403539910912514,
-0.0018489031353965402,
0.0020970338955521584,
-0.007241902872920036,
-0.004051337484270334,
-0.0009260984370484948,
-0.05203278735280037,
-0.01497567631304264,
0.008994189091026783,
-0.017373541370034218,
-0.031181026250123978,
-0.008295909501612186,
0.04490067809820175,
0.04381153732538223,
-0.03327147290110588,
-0.008309084922075272,
-0.022257104516029358,
-0.06011350452899933,
-0.0512598492205143,
-0.03284987062215805,
-0.029389215633273125,
0.01199810765683651,
0.035063281655311584,
0.030179720371961594,
-0.0021047191694378853,
0.021501732990145683,
-0.023363811895251274,
-0.013429800048470497,
0.007887481711804867,
-0.03165533021092415,
-0.029143279418349266,
-0.0120595907792449,
0.013210214674472809,
0.020869329571723938,
-0.008177333511412144,
0.00011912469199160114,
-0.011857572942972183,
-0.06759694963693619,
0.006719291675835848,
0.031181026250123978,
0.02115039713680744,
-0.01601211540400982,
-0.05164631828665733,
0.0015678346389904618,
0.0241191815584898,
-0.007421962451189756,
-0.009143506176769733,
0.0019740662537515163,
-0.09296337515115738,
0.010417097248136997,
-0.03534435108304024,
0.019393719732761383,
-0.040368448942899704,
0.02266114018857479,
-0.0687563568353653,
0.011075851507484913,
-0.04953830689191818,
-0.0002798332425300032,
0.03892797231674194,
-0.02898517996072769,
-0.021659834310412407,
-0.1006927564740181,
-0.03497545048594475,
-0.012621727772057056,
-0.020886896178126335,
-0.017118822783231735,
-0.07799648493528366,
-0.04103598743677139,
0.06805368512868881,
0.022520605474710464,
-0.0002301522035850212,
0.016143865883350372,
0.045427680015563965,
-0.018497813493013382,
0.0009826414752751589,
-0.011339353397488594,
-0.0027557879220694304,
0.02870411053299904,
0.03748749941587448,
0.03731182962656021,
-0.014369621872901917,
-0.0446196086704731,
0.03219990059733391,
0.060921575874090195,
0.08797440677881241,
0.02664879709482193,
-0.0010979234939441085,
-0.0030939483549445868,
-0.036328092217445374,
0.01564321294426918,
-0.024277282878756523,
-0.061272911727428436,
0.029213547706604004,
-0.028352774679660797,
-0.0681590884923935,
-0.05417593568563461,
-0.008071932941675186,
0.04483041167259216,
-0.0195869542658329,
0.07002116739749908,
0.014009503647685051,
0.03443088009953499,
0.03973604366183281,
-0.009380658157169819,
0.006754424888640642,
0.053086794912815094,
0.025752892717719078,
-0.038857705891132355,
0.0304432213306427,
-0.017663393169641495,
-0.04128191992640495,
-0.006578757427632809,
0.0162844005972147,
0.04230079427361488,
-0.008436444215476513,
0.03393901139497757,
0.06071077659726143,
-0.043249402195215225,
-0.05270032584667206,
-0.009731993079185486,
-0.05565154552459717,
0.014993242919445038,
-0.036328092217445374,
-0.06896715611219406,
0.02345164492726326,
0.00459810346364975,
0.040122512727975845,
-0.05473807081580162,
0.03597675636410713,
0.018480246886610985,
-0.05080311372876167,
0.01513377670198679,
0.01094410102814436,
0.00749222980812192,
-0.012753479182720184,
0.031075624749064445,
0.020763928070664406,
0.04015764966607094,
0.018603214994072914,
-0.018287012353539467,
-0.020482860505580902,
-0.009661726653575897,
-0.017408674582839012,
0.06116751208901405,
0.03653889149427414,
0.003945936914533377,
-0.028124406933784485,
0.015239177271723747,
-0.05568667873740196,
0.023135442286729813,
0.006793950218707323,
0.03219990059733391,
0.017637042328715324,
-0.09984955191612244,
-0.022344937548041344,
-0.04103598743677139,
-0.035836219787597656,
-0.03019728697836399,
-0.027386602014303207,
-0.007215552963316441,
0.038436103612184525,
0.01260416116565466,
-0.057232555001974106,
0.01302576344460249,
0.011927840299904346,
0.014176387339830399,
-0.0174789410084486,
-0.001327389501966536,
0.06699968129396439,
-0.006372347474098206,
-0.008111458271741867,
0.04848429933190346,
0.015959415584802628,
0.01425543799996376,
0.006969618145376444,
0.06938876211643219,
0.008273950777947903,
0.055124539881944656,
-0.07030223309993744,
-0.003912999294698238,
-0.0681239515542984,
-0.002571336692199111,
-0.09057429432868958,
0.014782441779971123,
-0.030162153765559196,
0.0011204308830201626,
0.021255798637866974,
0.0352565161883831,
-0.005362258292734623
] |
18,039 | imodels.algebraic.tree_gam | __init__ |
Params
------
n_boosting_rounds : int
Number of boosting rounds for the cyclic boosting.
max_leaf_nodes : int
Maximum number of leaf nodes for the trees in the cyclic boosting.
reg_param : float
Regularization parameter for the cyclic boosting.
learning_rate: float
Learning rate for the cyclic boosting.
n_boosting_rounds_marginal : int
Number of boosting rounds for the marginal boosting.
max_leaf_nodes_marginal : int
Maximum number of leaf nodes for the trees in the marginal boosting.
reg_param_marginal : float
Regularization parameter for the marginal boosting.
fit_linear_marginal : str [None, "None", "ridge", "NNLS"]
Whether to fit a linear model to the marginal effects.
NNLS for non-negative least squares
ridge for ridge regression
None for no linear model
select_linear_marginal: bool
Whether to restrict features to those with non-negative coefficients in the linear model.
Requires that fit_linear_marginal is NNLS.
decay_rate_towards_marginal: float, [0, 1]
Decay rate for regularizing each shape function towards the marginal shape function after each step
1 means no decay, 0 means only use marginal effects
shape = (1 - decay_rate_towards_marginal) * shape + decay_rate_towards_marginal * marginal_shape
The way this is implemented is by keeping track of how many times to multiply decay_rate_towards_marginal for each cyclic estimator
fit_posthoc_tree_coefs: str [None, "ridge"]
Whether to fit a linear model to the tree coefficients after fitting the cyclic boosting.
boosting_strategy : str ["cyclic", "greedy"]
Whether to use cyclic boosting (cycle over features) or greedy boosting (select best feature at each step)
validation_frac: float
Fraction of data to use for early stopping.
random_state : int
Random seed.
| def __init__(
self,
n_boosting_rounds=100,
max_leaf_nodes=3,
reg_param=0.0,
learning_rate: float = 0.01,
n_boosting_rounds_marginal=0,
max_leaf_nodes_marginal=2,
reg_param_marginal=0.0,
fit_linear_marginal=None,
select_linear_marginal=False,
decay_rate_towards_marginal=1.0,
fit_posthoc_tree_coefs=None,
boosting_strategy="cyclic",
validation_frac=0.15,
random_state=None,
):
"""
Params
------
n_boosting_rounds : int
Number of boosting rounds for the cyclic boosting.
max_leaf_nodes : int
Maximum number of leaf nodes for the trees in the cyclic boosting.
reg_param : float
Regularization parameter for the cyclic boosting.
learning_rate: float
Learning rate for the cyclic boosting.
n_boosting_rounds_marginal : int
Number of boosting rounds for the marginal boosting.
max_leaf_nodes_marginal : int
Maximum number of leaf nodes for the trees in the marginal boosting.
reg_param_marginal : float
Regularization parameter for the marginal boosting.
fit_linear_marginal : str [None, "None", "ridge", "NNLS"]
Whether to fit a linear model to the marginal effects.
NNLS for non-negative least squares
ridge for ridge regression
None for no linear model
select_linear_marginal: bool
Whether to restrict features to those with non-negative coefficients in the linear model.
Requires that fit_linear_marginal is NNLS.
decay_rate_towards_marginal: float, [0, 1]
Decay rate for regularizing each shape function towards the marginal shape function after each step
1 means no decay, 0 means only use marginal effects
shape = (1 - decay_rate_towards_marginal) * shape + decay_rate_towards_marginal * marginal_shape
The way this is implemented is by keeping track of how many times to multiply decay_rate_towards_marginal for each cyclic estimator
fit_posthoc_tree_coefs: str [None, "ridge"]
Whether to fit a linear model to the tree coefficients after fitting the cyclic boosting.
boosting_strategy : str ["cyclic", "greedy"]
Whether to use cyclic boosting (cycle over features) or greedy boosting (select best feature at each step)
validation_frac: float
Fraction of data to use for early stopping.
random_state : int
Random seed.
"""
self.n_boosting_rounds = n_boosting_rounds
self.max_leaf_nodes = max_leaf_nodes
self.reg_param = reg_param
self.learning_rate = learning_rate
self.max_leaf_nodes_marginal = max_leaf_nodes_marginal
self.reg_param_marginal = reg_param_marginal
self.n_boosting_rounds_marginal = n_boosting_rounds_marginal
self.fit_linear_marginal = fit_linear_marginal
self.select_linear_marginal = select_linear_marginal
self.decay_rate_towards_marginal = decay_rate_towards_marginal
self.fit_posthoc_tree_coefs = fit_posthoc_tree_coefs
self.boosting_strategy = boosting_strategy
self.validation_frac = validation_frac
self.random_state = random_state
| (self, n_boosting_rounds=100, max_leaf_nodes=3, reg_param=0.0, learning_rate: float = 0.01, n_boosting_rounds_marginal=0, max_leaf_nodes_marginal=2, reg_param_marginal=0.0, fit_linear_marginal=None, select_linear_marginal=False, decay_rate_towards_marginal=1.0, fit_posthoc_tree_coefs=None, boosting_strategy='cyclic', validation_frac=0.15, random_state=None) | [
0.02134842239320278,
-0.02024644799530506,
-0.027063747867941856,
0.005346443969756365,
-0.021404454484581947,
-0.023795178160071373,
-0.08531897515058517,
-0.03709358349442482,
-0.03770994022488594,
-0.018602823838591576,
-0.028109688311815262,
0.03375030308961868,
0.007452336139976978,
0.0572279654443264,
-0.027063747867941856,
0.020676029846072197,
0.00959091354161501,
0.018360016867518425,
0.009777689352631569,
0.011804201640188694,
-0.008722408674657345,
-0.014960705302655697,
-0.040717024356126785,
0.07471013814210892,
-0.003011752385646105,
-0.003462347900494933,
-0.03496434539556503,
0.016837798058986664,
0.023533692583441734,
0.02676490694284439,
-0.053753942251205444,
-0.06608111411333084,
-0.04351865500211716,
0.006154247559607029,
-0.027474652975797653,
-0.055845826864242554,
0.03643986955285072,
0.035580702126026154,
-0.10265173017978668,
-0.02308543212711811,
0.030070830136537552,
-0.05898365378379822,
-0.016156068071722984,
-0.029155630618333817,
-0.004468600265681744,
-0.01854679174721241,
0.009044595994055271,
0.08120992034673691,
-0.0415014810860157,
-0.03578615561127663,
-0.029678601771593094,
-0.05943191424012184,
0.03158371150493622,
0.029641246423125267,
-0.029062243178486824,
0.022076845169067383,
0.033115267753601074,
0.0012011989019811153,
0.08098579198122025,
-0.0047744447365403175,
0.002222626470029354,
0.013513196259737015,
0.019200505688786507,
-0.019144471734762192,
-0.006341022904962301,
-0.01821993477642536,
-0.07792267203330994,
-0.0001494202733738348,
-0.009320089593529701,
0.02997744269669056,
0.02357104793190956,
-0.01143065094947815,
0.05465046688914299,
0.04138941690325737,
-0.02457963488996029,
-0.012121719308197498,
-0.0172673799097538,
-0.04792655259370804,
-0.0033596213907003403,
-0.018462741747498512,
-0.005888092797249556,
0.037635233253240585,
-0.0007570238085463643,
-0.05039198696613312,
0.012112380936741829,
-0.05700383335351944,
0.015558386221528053,
0.017388785257935524,
0.04938340187072754,
-0.04213651642203331,
-0.05001843720674515,
0.009343436919152737,
0.03757919743657112,
0.03636515885591507,
0.02995876409113407,
0.016660360619425774,
0.013942779041826725,
-0.008409559726715088,
0.0060561904683709145,
-0.0212363563477993,
-0.06294328719377518,
0.025588221848011017,
-0.03922282159328461,
0.06798622757196426,
-0.026484742760658264,
-0.0166977159678936,
-0.07429923117160797,
0.0012805784353986382,
-0.004804795607924461,
-0.06600640714168549,
-0.10989861190319061,
0.0014253293629735708,
0.04617086425423622,
0.027474652975797653,
-0.020563965663313866,
0.0025308059994131327,
-0.025364091619849205,
-0.02114296890795231,
0.012205768376588821,
-0.013662616722285748,
0.042547423392534256,
-0.0023755489382892847,
-0.01843472570180893,
0.03304055705666542,
-0.0202651247382164,
0.011533377692103386,
0.04030611738562584,
0.054613109678030014,
0.021665940061211586,
-0.033712949603796005,
0.0038125517312437296,
-0.008918522857129574,
-0.022618494927883148,
0.009871076792478561,
0.04090379923582077,
-0.04030611738562584,
-0.02200213447213173,
0.021890070289373398,
-0.02581235207617283,
-0.01067421119660139,
0.0692189410328865,
-0.03840101137757301,
0.041090574115514755,
-0.0390734001994133,
-0.006630524527281523,
0.014297652058303356,
-0.039857856929302216,
-0.041464127600193024,
-0.034702859818935394,
-0.0025751651264727116,
0.01963008940219879,
-0.027101101353764534,
0.0025868385564535856,
0.010403386317193508,
-0.010412725619971752,
0.011701474897563457,
-0.023533692583441734,
-0.0792674571275711,
0.013858729973435402,
-0.004622689913958311,
-0.04949546605348587,
-0.01979818567633629,
0.020788095891475677,
-0.0283711738884449,
0.0016424556961283088,
0.017986465245485306,
-0.03959637135267258,
-0.059768110513687134,
-0.04437782242894173,
0.0314529687166214,
-0.006186933256685734,
-0.042061805725097656,
-0.07478484511375427,
0.02715713530778885,
-0.0462082214653492,
0.06742589920759201,
0.020676029846072197,
0.021049581468105316,
-0.015128802508115768,
0.04307039454579353,
0.02222626656293869,
-0.04045553877949715,
-0.009815044701099396,
-0.07754912227392197,
-0.03068718872964382,
0.0009443828021176159,
0.007316924165934324,
0.026484742760658264,
0.014512443915009499,
0.05931985005736351,
0.03892398253083229,
-0.03277907148003578,
0.049906373023986816,
0.037280358374118805,
-0.0020953859202563763,
-0.007457005325704813,
0.03220006823539734,
0.02172197215259075,
0.05898365378379822,
0.022917333990335464,
0.043668076395988464,
0.025270704180002213,
0.03451608493924141,
-0.007022752892225981,
-0.026447389274835587,
-0.002878675004467368,
-0.04579731449484825,
0.027549363672733307,
-0.017958449199795723,
-0.019144471734762192,
-0.04307039454579353,
-0.015259545296430588,
0.04889778420329094,
0.05076553672552109,
0.02274923585355282,
-0.04191238805651665,
0.023365594446659088,
0.001357623259536922,
-0.012261801399290562,
-0.01320501696318388,
0.07146024703979492,
0.005108305718749762,
-0.025401446968317032,
-0.007391634397208691,
0.012896837666630745,
-0.006579161621630192,
0.017603576183319092,
0.018388032913208008,
0.016426891088485718,
-0.04549847170710564,
0.04381749406456947,
-0.05270799994468689,
0.042808908969163895,
-0.0010196766816079617,
-0.012373866513371468,
-0.049570176750421524,
0.004702069330960512,
0.012691384181380272,
-0.0500931479036808,
-0.008110718801617622,
-0.006873332429677248,
-0.015128802508115768,
0.03132222592830658,
-0.013485179282724857,
0.0309673510491848,
0.021703295409679413,
0.05857274681329727,
0.022618494927883148,
0.015175496228039265,
0.000504293420817703,
-0.042435359209775925,
-0.025476157665252686,
-0.030407026410102844,
0.035057730972766876,
-0.007620433811098337,
-0.046880610287189484,
0.0036257763858884573,
0.028445884585380554,
0.022637171670794487,
0.013111628592014313,
-0.016464246436953545,
-0.014288313686847687,
-0.05883423238992691,
0.08756028115749359,
-0.017696963623166084,
-0.0031588380225002766,
0.01705258898437023,
-0.008979224599897861,
-0.012485931627452374,
0.0011556724784895778,
0.04374278709292412,
0.02700771391391754,
-0.0024420875124633312,
0.03205065056681633,
-0.04811332747340202,
-0.06361567974090576,
-0.02444889210164547,
-0.04886043071746826,
-0.010487435385584831,
-0.003551066154614091,
0.01608135737478733,
-0.053380392491817474,
0.010244627483189106,
0.027455976232886314,
-0.03767258673906326,
0.015315578319132328,
-0.05035463348031044,
0.0037518497556447983,
0.01724870316684246,
-0.008918522857129574,
-0.03070586547255516,
-0.025999126955866814,
0.050653472542762756,
0.03698151931166649,
0.08995100855827332,
-0.03048173524439335,
0.015894582495093346,
0.018939020112156868,
0.008152743801474571,
-0.013513196259737015,
0.030855286866426468,
-0.04471401870250702,
0.03279775008559227,
0.0021712633315473795,
0.01883629336953163,
0.012392544187605381,
0.06869596987962723,
0.008951208554208279,
0.011402634903788567,
0.04303303733468056,
-0.0048281424678862095,
0.017594236880540848,
0.06514723598957062,
0.012065687216818333,
0.010029835626482964,
-0.08561781793832779,
-0.023384273052215576,
-0.028520595282316208,
0.047702424228191376,
0.04400426894426346,
-0.04732887074351311,
0.03253626450896263,
-0.0010535296751186252,
-0.005719994660466909,
-0.032256100326776505,
-0.05095231533050537,
0.07041430473327637,
0.01964876614511013,
-0.03416121006011963,
-0.012504609301686287,
-0.029902731999754906,
-0.04762771353125572,
0.03952166065573692,
0.010179256089031696,
-0.027101101353764534,
0.022917333990335464,
0.0047721099108457565,
0.020974870771169662,
0.030761899426579475,
-0.04923398047685623,
0.06115024536848068,
0.05166206136345863,
-0.009740334004163742,
0.01903240755200386,
-0.024504924193024635,
-0.020358512178063393,
0.037915393710136414,
0.0335635282099247,
-0.0014673537807539105,
0.05465046688914299,
0.016613665968179703,
0.018182579427957535,
0.025588221848011017,
0.09682434052228928,
0.009180008433759212,
-0.016044002026319504,
-0.007106801960617304,
0.009067943319678307,
0.04953281953930855,
-0.002621858846396208,
-0.02689564973115921,
-0.02213287726044655,
-0.01856546849012375,
0.0619347020983696,
0.06369039416313171,
-0.024859797209501266,
-0.0653340145945549,
0.028950178995728493,
0.03903604671359062,
-0.0737762600183487,
0.027978945523500443,
-0.07463542371988297,
-0.04191238805651665,
-0.016286808997392654,
0.024355504661798477,
0.006303668022155762,
-0.08718673139810562,
0.010169917717576027,
0.04075438156723976,
0.03270436078310013,
0.023141464218497276,
-0.003151834011077881,
0.02345898374915123,
0.013606583699584007,
0.014904672279953957,
-0.05315626412630081,
0.05095231533050537,
-0.02885678969323635,
0.07762382924556732,
-0.02015305869281292,
0.02457963488996029,
0.001993826823309064,
-0.024486247450113297,
0.003205531742423773,
-0.0763537585735321,
-0.0025051243137568235,
0.08502013236284256,
0.01554904691874981,
-0.03182651847600937,
-0.03035099245607853,
0.018397370353341103,
0.011458666995167732,
-0.03978314623236656,
0.0008959379629231989,
0.019872896373271942,
-0.003520715283229947,
0.035057730972766876,
0.07007811218500137,
-0.017902417108416557,
0.07000339776277542,
-0.011598749086260796,
0.017967788502573967,
0.006070198491215706,
0.020974870771169662,
-0.028670014813542366,
-0.03389972448348999,
0.042323291301727295,
0.019200505688786507,
0.04236064851284027,
-0.03251758590340614,
0.05614466965198517,
0.0063316840678453445,
0.03694416210055351,
0.03442269563674927,
0.044527240097522736,
0.0054725175723433495,
-0.04732887074351311,
-0.010281982831656933,
-0.04142677038908005,
-0.011888250708580017,
-0.03843836486339569,
-0.02347766049206257,
-0.05883423238992691,
0.013391791842877865,
0.033488817512989044,
-0.03623441606760025,
-0.04202445223927498,
0.009324759244918823,
-0.005332435946911573,
-0.007340271025896072,
0.03279775008559227,
-0.060851406306028366,
0.06107553839683533,
-0.040717024356126785,
-0.033582206815481186,
-0.011439989320933819,
-0.011094455607235432,
0.004804795607924461,
-0.019443312659859657,
-0.03672003373503685,
0.04123999550938606,
0.0013949783751741052,
0.021572552621364594,
0.05270799994468689,
-0.031116772443056107,
0.0009834888624027371,
0.016660360619425774,
-0.0019004391506314278,
0.03251758590340614,
-0.004865497816354036,
0.0028599973302334547,
0.0010150072630494833,
-0.0008936032536439598,
0.08315238356590271,
-0.03305923566222191,
0.02381385676562786,
0.05218503251671791,
0.011131810024380684,
-0.015268884599208832,
-0.006028173957020044,
0.026353999972343445,
-0.021068258211016655,
-0.0133357597514987,
-0.05748945102095604,
-0.02654077671468258,
0.0238325335085392,
-0.036402516067028046,
-0.05648086220026016,
-0.01854679174721241,
-0.03993256762623787,
0.05095231533050537,
-0.02224494330585003,
0.020115705206990242,
0.013531873933970928,
-0.03147164359688759,
-0.037149615585803986,
0.0030771237798035145,
0.01567978970706463,
0.01137461792677641,
-0.031023385003209114,
-0.11079513281583786,
-0.018360016867518425,
0.040231410413980484,
0.04348130151629448,
-0.0022564795799553394,
0.016137389466166496,
-0.005089628044515848,
0.006149578373879194,
0.046021442860364914,
-0.04374278709292412,
-0.0037168292328715324,
0.04314510524272919,
-0.01505409274250269,
0.013354437425732613,
0.016856474801898003,
-0.015306239016354084,
-0.06324212998151779,
-0.0029697278514504433,
-0.017043249681591988,
-0.007779193110764027,
0.029996119439601898,
-0.052371807396411896,
0.015007399022579193,
0.04729151725769043,
-0.013055596500635147,
-0.0115520553663373,
-0.0019471329869702458,
0.04579731449484825,
0.02431814931333065,
-0.004893513862043619,
0.04142677038908005,
0.046507060527801514,
0.012271139770746231,
-0.10354825109243393,
0.03460947051644325,
0.0276427511125803,
0.029062243178486824,
0.012616674415767193,
0.06167321652173996,
0.018556131049990654,
0.006882671266794205,
-0.03587954491376877,
0.0041113924235105515,
0.0476650670170784,
-0.028950178995728493,
-0.032237425446510315,
0.05255858227610588,
-0.027829525992274284,
0.003793874057009816,
-0.053492456674575806,
0.017566220834851265,
-0.008815796114504337,
0.03896133601665497,
0.009861738421022892,
-0.040978509932756424,
0.021404454484581947,
0.011542716063559055,
0.006621185690164566,
-0.01678176410496235,
0.0014323333743959665,
0.03643986955285072,
0.006625855341553688,
-0.05076553672552109,
0.01313964556902647,
0.054949305951595306,
-0.013784020207822323,
-0.01621210016310215,
0.029417116194963455,
0.06331684440374374,
0.026185903698205948,
-0.0543142706155777,
0.02149784192442894,
0.045236989855766296,
-0.04904720559716225,
0.035207152366638184,
0.03823291137814522,
-0.04090379923582077,
0.028277786448597908,
-0.047216806560754776,
0.002283328678458929,
0.01859348453581333,
0.013980134390294552,
-0.02469170093536377,
0.029828021302819252,
-0.07011546194553375,
0.018518775701522827,
-0.037037551403045654,
0.010795614682137966,
-0.03720564767718315,
-0.008787780068814754,
0.06174792721867561,
0.012812788598239422,
0.04239800199866295,
-0.06813564151525497,
0.00869906134903431,
0.03171445429325104,
-0.03993256762623787,
0.03892398253083229,
0.0013704641023650765,
-0.03709358349442482,
-0.03843836486339569,
0.009833721444010735,
0.010552806779742241,
-0.07497162371873856,
-0.03636515885591507,
0.04762771353125572,
-0.04049289599061012,
-0.006144908722490072,
0.02493450790643692,
-0.0021420796401798725,
-0.006948042660951614,
0.046880610287189484,
0.004926199559122324,
0.038288943469524384,
-0.015026076696813107,
0.022879978641867638,
0.004926199559122324,
0.0051643382757902145,
0.012177752330899239,
-0.0031214829068630934,
-0.03530053794384003,
-0.013027580454945564,
-0.000018859931515180506,
-0.06847184151411057,
-0.039110757410526276,
-0.041949741542339325,
-0.04026876389980316,
0.03686945140361786,
0.06462427228689194,
-0.039372242987155914,
-0.004944877233356237,
-0.025494834408164024,
-0.02469170093536377,
0.04325716942548752,
-0.05401542782783508,
-0.047963909804821014,
-0.012607336044311523,
-0.13671955466270447,
0.01178552396595478,
0.009861738421022892,
0.03277907148003578,
-0.032368168234825134,
0.0038569108583033085,
-0.06451220065355301,
0.02663416415452957,
0.05255858227610588,
0.06264445185661316,
0.031042061746120453,
-0.019368603825569153,
0.02700771391391754,
-0.01652027852833271,
-0.0012747417204082012,
-0.02579367533326149,
0.002888013841584325,
-0.028333820402622223,
-0.012812788598239422,
-0.025139961391687393,
0.030313638970255852,
0.11550187319517136,
0.02530805952847004,
-0.04792655259370804,
0.029024887830018997,
-0.03720564767718315,
-0.029809344559907913,
-0.03130354732275009,
-0.04064231365919113,
-0.01313964556902647,
0.03597293049097061,
0.021068258211016655,
-0.029323728755116463,
-0.02997744269669056,
0.0023813855368644,
0.05995488539338112,
0.014166910201311111,
-0.021796682849526405,
-0.010898341424763203,
0.017155315726995468,
-0.028520595282316208,
-0.0027572710532695055,
0.03354485332965851,
-0.04251006618142128,
-0.01964876614511013,
-0.03571144491434097,
0.011449328623712063,
-0.018135886639356613,
-0.02052661031484604,
-0.005234378855675459,
0.008306832984089851,
0.03541260585188866,
0.027549363672733307,
0.07396303862333298,
0.0859166607260704,
-0.053866010159254074,
0.0022506429813802242,
0.06570756435394287,
0.004272486083209515,
-0.06002959609031677,
0.033358074724674225,
0.008993232622742653,
0.0013622926780954003,
-0.02937976084649563,
-0.0015607414534315467,
0.03158371150493622,
0.022936012595891953,
0.006892010103911161,
0.007685805205255747,
-0.05958133563399315,
-0.06376510113477707,
0.02138577587902546,
-0.048449523746967316,
0.024523602798581123,
-0.004216453526169062,
-0.05323097109794617,
0.036047641187906265,
-0.013485179282724857,
0.04557318240404129,
-0.048075973987579346,
0.03914811089634895,
0.0020475247874855995,
-0.06522195041179657,
0.030537769198417664,
0.05181147903203964,
0.02876340225338936,
-0.01979818567633629,
0.005836729425936937,
0.015698468312621117,
0.012429898604750633,
0.00007485605601686984,
-0.05793771147727966,
-0.02368311397731304,
0.008801788091659546,
0.01898571290075779,
0.020358512178063393,
0.01534359436482191,
0.028670014813542366,
-0.01492334995418787,
0.025999126955866814,
-0.04542376473546028,
0.03296584635972977,
-0.030631156638264656,
0.07650317996740341,
0.03509508818387985,
-0.018070515245199203,
-0.0609634704887867,
0.0013681293930858374,
-0.07541988044977188,
0.026746228337287903,
-0.007825886830687523,
0.015521030873060226,
0.05244651436805725,
-0.007004075217992067,
0.0034880295861512423,
-0.04904720559716225,
0.03214403614401817,
-0.0510643795132637,
0.06137437745928764,
0.017043249681591988,
-0.001571247586980462,
0.05905836448073387,
-0.04381749406456947,
0.04045553877949715,
-0.02799762412905693,
0.02788555808365345,
0.0312101598829031,
0.03141561150550842,
-0.016921846196055412,
0.029529182240366936,
-0.04467666149139404,
-0.017762335017323494,
-0.09398534893989563,
0.024598313495516777,
-0.08375006169080734,
0.03649590164422989,
-0.012271139770746231,
0.04792655259370804,
0.0533430390059948,
0.03135957941412926,
0.03475889191031456
] |
18,043 | imodels.algebraic.tree_gam | _calc_mse | null | def _calc_mse(self, X, y, sample_weight=None):
return np.average(
np.square(y - self.predict_proba(X)[:, 1]),
weights=sample_weight,
)
| (self, X, y, sample_weight=None) | [
0.033923931419849396,
0.011138557456433773,
0.10013503581285477,
0.020450839772820473,
0.04286578670144081,
-0.051066797226667404,
0.003786075860261917,
0.016169430688023567,
0.033338144421577454,
0.058578647673130035,
-0.017659740522503853,
-0.016772445291280746,
0.02007180266082287,
0.015092616900801659,
-0.019399870187044144,
0.061507582664489746,
-0.019434329122304916,
-0.08841930329799652,
0.007852123118937016,
-0.009200293570756912,
-0.022087596356868744,
-0.03087439388036728,
-0.006068920250982046,
-0.0038011514116078615,
-0.02813498117029667,
-0.010001443326473236,
-0.03969565033912659,
-0.058475274592638016,
0.05871647968888283,
-0.07277535647153854,
-0.0170222669839859,
-0.03549176827073097,
-0.029651133343577385,
0.014127791859209538,
0.04810340702533722,
-0.021725786849856377,
0.0070208231918513775,
0.007563537452369928,
-0.05609767138957977,
-0.07821972668170929,
-0.06819243729114532,
-0.014911712147295475,
0.04965401813387871,
0.08428433537483215,
-0.012551337480545044,
0.004643219523131847,
-0.03480260819196701,
0.03700792416930199,
-0.0226561538875103,
-0.017849259078502655,
0.003079686313867569,
0.020692046731710434,
0.006611634511500597,
0.020295778289437294,
0.040246978402137756,
0.01643647998571396,
0.025223277509212494,
0.006211059633642435,
0.020381923764944077,
-0.0144637580960989,
0.049964141100645065,
0.00010821974865393713,
0.003366118762642145,
0.0030603036284446716,
-0.0017692043911665678,
-0.019606618210673332,
-0.033786095678806305,
0.05530513823032379,
0.009165835566818714,
0.04327928274869919,
0.016582926735281944,
-0.02350037544965744,
0.005280693061649799,
0.020950481295585632,
0.02908257581293583,
0.0197099931538105,
-0.038317326456308365,
-0.029685592278838158,
-0.012051695957779884,
0.015394124202430248,
-0.006826996803283691,
0.025619544088840485,
0.022673383355140686,
-0.020450839772820473,
-0.03230440244078636,
-0.029444385319948196,
0.020106259733438492,
0.030839936807751656,
0.01752190850675106,
0.01683274656534195,
0.021674100309610367,
0.06009480357170105,
0.048827026039361954,
0.04048818349838257,
0.002054559998214245,
0.020450839772820473,
-0.04600146785378456,
0.019486015662550926,
0.057682741433382034,
-0.0006326278671622276,
-0.022225428372621536,
0.03573297709226608,
0.04755207896232605,
0.023259170353412628,
-0.01575593464076519,
0.0471041239798069,
0.05396127328276634,
-0.010147889144718647,
-0.0031033761333674192,
0.046518340706825256,
0.010845664888620377,
-0.03593972325325012,
-0.05272078514099121,
-0.03125343099236488,
-0.06247240677475929,
-0.04576026275753975,
-0.022018680348992348,
0.024361826479434967,
-0.020692046731710434,
0.049068234860897064,
-0.002552047837525606,
0.02908257581293583,
-0.04272795468568802,
0.0030043094884604216,
-0.01601436920464039,
-0.02060590125620365,
0.01902083121240139,
-0.026567140594124794,
0.041797589510679245,
0.02503375895321369,
-0.011586512438952923,
-0.001594760688021779,
0.04214216768741608,
-0.020847108215093613,
-0.04586363583803177,
0.0094070415943861,
0.02729075960814953,
-0.04241783544421196,
0.10109985619783401,
-0.04362386465072632,
0.06340277194976807,
0.06367843598127365,
0.0007435396546497941,
0.0001722901506582275,
0.02244940586388111,
0.012430734001100063,
0.028565706685185432,
0.07305102050304413,
0.03952335938811302,
-0.005440061446279287,
-0.01688443496823311,
0.010544156655669212,
0.04052264243364334,
-0.05372006818652153,
0.021725786849856377,
-0.0007666911697015166,
0.009114149026572704,
-0.009251981042325497,
-0.0026963406708091497,
-0.06033600866794586,
-0.03614647313952446,
-0.010190961882472038,
0.043933987617492676,
0.000014124763765721582,
0.04386506974697113,
0.04903377592563629,
0.008648965507745743,
0.07511850446462631,
-0.009389813058078289,
-0.04968847706913948,
-0.024861468002200127,
-0.05385790020227432,
-0.06526350975036621,
-0.0033510432112962008,
0.033941157162189484,
0.02405170351266861,
0.02160518430173397,
0.00023030347074382007,
-0.02474086545407772,
0.007042359560728073,
0.06367843598127365,
0.026498224586248398,
-0.03171861544251442,
-0.0028944744262844324,
0.011465908959507942,
-0.045829176902770996,
0.03593972325325012,
-0.014325925149023533,
-0.02723907120525837,
-0.017375461757183075,
-0.015945453196763992,
-0.06250686198472977,
0.010027286596596241,
-0.00956210307776928,
-0.015394124202430248,
0.04138409346342087,
0.018641794100403786,
0.0074558560736477375,
0.03566405922174454,
-0.019985657185316086,
-0.04097059741616249,
-0.05440922826528549,
-0.045484598726034164,
0.02379326894879341,
-0.010802592150866985,
-0.0348198376595974,
-0.048620279878377914,
0.013378329575061798,
-0.0497918501496315,
-0.03275235742330551,
-0.019503245130181313,
0.010259877890348434,
0.020829878747463226,
0.0034414955880492926,
0.11812212318181992,
0.019399870187044144,
0.09537982195615768,
-0.01648816652595997,
-0.03092608042061329,
0.006021540611982346,
-0.04689737781882286,
-0.038317326456308365,
-0.029995713382959366,
0.024706406518816948,
0.08263035118579865,
-0.07491175830364227,
0.030012942850589752,
0.01791817508637905,
0.03749033436179161,
0.008485289290547371,
0.015411353670060635,
0.025154361501336098,
0.02947884425520897,
-0.05044655501842499,
-0.026722202077507973,
0.007352482061833143,
-0.03869636729359627,
-0.053995732218027115,
-0.011414222419261932,
0.03111560083925724,
-0.005164396949112415,
-0.03886865824460983,
0.004251259379088879,
0.016660457476973534,
-0.006516874767839909,
0.05144583806395531,
0.06385073065757751,
0.021794702857732773,
0.0014483140548691154,
0.049757394939661026,
0.023414229974150658,
0.032545607537031174,
0.0049964142963290215,
0.017134254798293114,
-0.0027351060416549444,
-0.01329218503087759,
0.06671074777841568,
0.09682705998420715,
0.0008436833159066737,
-0.021536268293857574,
-0.02489592507481575,
-0.02405170351266861,
-0.01480833813548088,
-0.04186650365591049,
-0.06974305212497711,
0.04720750078558922,
0.029892340302467346,
0.016169430688023567,
-0.0040983520448207855,
0.051962707191705704,
0.03359657898545265,
-0.0025606623385101557,
0.0017584363231435418,
-0.029685592278838158,
-0.025533398613333702,
0.00943288579583168,
0.04724195599555969,
-0.013231882825493813,
0.05430585518479347,
0.029909569770097733,
0.000004345110482972814,
-0.02518881857395172,
0.03307970613241196,
0.03704237937927246,
-0.002375450450927019,
-0.008829870261251926,
0.03361380845308304,
-0.06926064193248749,
0.050308723002672195,
0.04500218480825424,
-0.0006633170414716005,
-0.024137848988175392,
0.02194976434111595,
0.004845660179853439,
-0.005095480941236019,
-0.01833167113363743,
0.02389664389193058,
-0.011353920213878155,
-0.026446538046002388,
0.04965401813387871,
-0.028255583718419075,
0.07222402840852737,
-0.025309422984719276,
0.021484581753611565,
0.008545591495931149,
0.01846950314939022,
0.09000436961650848,
-0.04607038572430611,
-0.008881556801497936,
-0.024275681003928185,
0.007292180322110653,
0.04634604975581169,
-0.010552771389484406,
-0.01267194002866745,
-0.09703380614519119,
0.048172324895858765,
0.04293470457196236,
0.0336654931306839,
0.023121338337659836,
0.026101956143975258,
0.02281121537089348,
-0.04820678383111954,
0.07656574249267578,
-0.0275836531072855,
0.04696629196405411,
0.019244808703660965,
-0.04724195599555969,
0.002709262538701296,
0.0071371193043887615,
-0.03556068614125252,
-0.043692782521247864,
-0.07925346493721008,
-0.02136397734284401,
0.015600872226059437,
0.01846950314939022,
-0.02837618626654148,
-0.029409928247332573,
-0.0022871517576277256,
-0.004315868020057678,
0.005918166600167751,
-0.04589809477329254,
-0.011371149681508541,
-0.01967553421854973,
0.004505387507379055,
-0.004210340324789286,
-0.027859317138791084,
-0.020898794755339622,
0.002567123156040907,
-0.001753052230924368,
0.004330943338572979,
-0.013946887105703354,
0.06584929674863815,
0.05506392940878868,
0.03559514507651329,
-0.015876537188887596,
0.02966836281120777,
-0.04221108555793762,
0.009846381843090057,
0.015928223729133606,
-0.005035179667174816,
-0.0705355852842331,
0.018590107560157776,
-0.039109863340854645,
-0.008847098797559738,
-0.044933270663022995,
0.008730802685022354,
-0.016117742285132408,
0.007382632698863745,
0.021088313311338425,
-0.04810340702533722,
-0.055890921503305435,
-0.034027304500341415,
-0.08607615530490875,
0.036318764090538025,
-0.004884425550699234,
0.026446538046002388,
-0.017582209780812263,
-0.01967553421854973,
0.033183082938194275,
0.004785358905792236,
-0.0010272799991071224,
-0.021777475252747536,
-0.05172150209546089,
-0.025998583063483238,
0.05037763714790344,
0.027101239189505577,
-0.023931100964546204,
-0.03838624432682991,
-0.03171861544251442,
-0.05037763714790344,
0.036525510251522064,
-0.010742290876805782,
-0.04410627856850624,
-0.03979902341961861,
-0.0034005767665803432,
0.006512567400932312,
-0.019089747220277786,
0.02782485820353031,
-0.07580766081809998,
0.05368560925126076,
-0.04455422982573509,
0.01907251961529255,
-0.012827001512050629,
-0.031150057911872864,
-0.10564831644296646,
-0.05651116743683815,
-0.06167987361550331,
0.06385073065757751,
0.012938990257680416,
0.04744870588183403,
-0.027411362156271935,
0.01451544463634491,
-0.013300798833370209,
-0.01573009043931961,
-0.022432176396250725,
0.017633896321058273,
-0.019399870187044144,
-0.003992823883891106,
-0.004018667619675398,
-0.02294904738664627,
0.025412796065211296,
-0.0013244805159047246,
0.0039842096157372,
-0.01926203817129135,
0.025378338992595673,
-0.027721485123038292,
-0.0986877977848053,
-0.06836473196744919,
0.03848961740732193,
-0.024275681003928185,
-0.008084715344011784,
-0.011353920213878155,
-0.04159083962440491,
-0.007012208923697472,
0.002659729216247797,
-0.026308706030249596,
-0.026549911126494408,
-0.01886577159166336,
-0.006650399416685104,
-0.032786816358566284,
0.005297922063618898,
0.015144303441047668,
0.017220400273799896,
0.061955537647008896,
-0.022793985903263092,
-0.05496055632829666,
-0.012827001512050629,
-0.028893057256937027,
-0.0076582967303693295,
-0.02853124774992466,
0.022880131378769875,
-0.008791104890406132,
0.03171861544251442,
0.018503962084650993,
-0.01846950314939022,
-0.006137836258858442,
0.0022419255692511797,
-0.0633683130145073,
0.03948890045285225,
-0.001383705181069672,
-0.03454417362809181,
-0.00327997375279665,
-0.010501083917915821,
-0.002452980959787965,
-0.0072964876890182495,
0.02315579541027546,
0.024017246440052986,
0.014868639409542084,
0.05609767138957977,
0.04072938859462738,
0.003643936477601528,
-0.009458729065954685,
-0.03783491626381874,
-0.015264906920492649,
0.0004845660296268761,
0.003665472846478224,
-0.012396275997161865,
-0.04331374168395996,
0.04576026275753975,
0.002375450450927019,
0.016961965709924698,
0.029203180223703384,
0.014282853342592716,
0.014231165871024132,
0.020933251827955246,
-0.0014224705519154668,
-0.016798289492726326,
-0.07801298052072525,
0.0453123077750206,
-0.022638924419879913,
0.013007906265556812,
0.06474663317203522,
0.06615941226482391,
0.01683274656534195,
-0.10537265241146088,
-0.058130696415901184,
0.01451544463634491,
-0.0014084719587117434,
0.03997131437063217,
0.00679684616625309,
0.02574014849960804,
0.01284423004835844,
-0.017091182991862297,
-0.050515469163656235,
-0.05954347550868988,
0.04744870588183403,
-0.06836473196744919,
-0.007132811937481165,
-0.016961965709924698,
0.060267094522714615,
0.016737988218665123,
0.05189379304647446,
0.007895195856690407,
0.019985657185316086,
0.012740856036543846,
-0.010837050154805183,
0.031632471829652786,
0.09103811532258987,
0.07070787250995636,
0.017039494588971138,
0.008007184602320194,
-0.03421682119369507,
-0.027893774211406708,
-0.0055865077301859856,
0.024120619520545006,
0.021346749737858772,
-0.0462082177400589,
-0.01418809313327074,
0.002709262538701296,
0.008950472809374332,
0.013852127827703953,
-0.03526779264211655,
-0.009786080569028854,
0.0002775486500468105,
-0.06615941226482391,
-0.049068234860897064,
0.02091602422297001,
-0.06343723088502884,
-0.019141435623168945,
0.008058871142566204,
0.00040003619506023824,
-0.059267811477184296,
0.02110554277896881,
0.04138409346342087,
-0.004957648925483227,
0.032545607537031174,
-0.04810340702533722,
0.00575018348172307,
-0.08221685886383057,
0.00025157054187729955,
0.037765998393297195,
0.0005039486568421125,
0.028410645201802254,
0.043933987617492676,
0.1228773295879364,
0.008838484063744545,
-0.012663325294852257,
0.02961667627096176,
-0.021846391260623932,
0.021036626771092415,
-0.05461597442626953,
-0.08083853870630264,
0.03790383040904999,
-0.039902396500110626,
0.00024214840959757566,
0.0444163978099823,
-0.025119902566075325,
0.038661908358335495,
-0.08662748336791992,
-0.010061744600534439,
-0.05430585518479347,
0.03483706712722778,
0.03986794129014015,
0.03997131437063217,
-0.020175175741314888,
0.058268528431653976,
0.04875811189413071,
-0.062265656888484955,
-0.026670513674616814,
0.04017806053161621,
-0.012766699306666851,
-0.0438995286822319,
0.020502528175711632,
-0.0028320192359387875,
-0.02305242232978344,
0.009992828592658043,
-0.0654013380408287,
-0.034475259482860565,
-0.027170155197381973,
0.05702803656458855,
-0.013929658569395542,
-0.02170855738222599,
-0.03924769535660744,
-0.04820678383111954,
-0.004944727290421724,
0.014825566671788692,
0.004582917783409357,
-0.01683274656534195,
0.019244808703660965,
0.021691329777240753,
0.008489596657454967,
0.044381942600011826,
0.07773731648921967,
-0.03738696128129959,
0.0435204915702343,
0.028462331742048264,
-0.009751622565090656,
-0.06509121507406235,
-0.02613641507923603,
-0.020588671788573265,
-0.03621538728475571,
-0.017297931015491486,
-0.037421420216560364,
-0.008330228738486767,
0.01665184274315834,
0.030254149809479713,
0.005125632043927908,
0.013188811019062996,
-0.006904527544975281,
0.002612349344417453,
0.03714575618505478,
0.034785378724336624,
0.023569291457533836,
0.027566423639655113,
0.0040229749865829945,
-0.021226145327091217,
0.0009217523038387299,
-0.014412070624530315,
-0.024482429027557373,
-0.03793828934431076,
-0.03738696128129959,
0.03197705000638962,
0.05282415822148323,
-0.07057004421949387,
0.08903954923152924,
-0.0021590108517557383,
0.026515454053878784,
-0.0011801874497905374,
-0.04107397049665451,
-0.008485289290547371,
-0.005384067073464394,
0.01354200579226017,
0.048172324895858765,
0.038007207214832306,
-0.06777894496917725,
0.06991533935070038,
-0.03385501354932785,
0.04955064505338669,
0.03156355395913124,
0.00275664241053164,
0.030357522889971733,
-0.07187944650650024,
0.008291463367640972,
0.027721485123038292,
0.03016800433397293,
-0.03645659610629082,
-0.03466477617621422,
0.03655996918678284,
-0.008480982854962349,
-0.03780045732855797,
-0.045140016824007034,
0.013412787578999996,
-0.059577930718660355,
0.04162529855966568,
0.05292753130197525,
0.025619544088840485,
-0.053444404155015945,
-0.035629600286483765,
-0.0018230450805276632,
-0.020778192207217216,
0.024964842945337296,
0.040901679545640945,
-0.012043081223964691,
0.0146877346560359,
-0.017935404554009438,
-0.04355495050549507,
0.002629578346386552,
-0.01796986162662506,
-0.00513855367898941,
0.020933251827955246,
0.04562243074178696,
0.045036643743515015,
0.01946878619492054,
-0.02329362742602825,
0.03879974037408829,
-0.014997856691479683,
-0.022518321871757507,
-0.00018601951887831092,
-0.012913146056234837,
-0.027842087671160698,
-0.03177030384540558,
-0.07677248865365982,
-0.02782485820353031,
0.00973439309746027,
-0.005168704316020012,
0.004505387507379055,
0.005595122464001179,
0.033837784081697464,
0.00490596191957593,
0.02608472853899002,
-0.04410627856850624,
0.03287295997142792,
-0.044933270663022995,
0.008765260688960552,
0.01518737617880106,
0.05440922826528549,
-0.03704237937927246,
0.012913146056234837,
0.03645659610629082,
-0.07463609427213669,
-0.00495334155857563,
-0.0186245646327734,
-0.00239052576944232,
-0.009475957602262497,
0.04317590966820717,
0.04576026275753975,
-0.009114149026572704,
-0.012258443981409073,
0.006771002896130085,
-0.007576459087431431,
-0.019382640719413757,
-0.008433602750301361,
-0.034130677580833435,
-0.012689169496297836,
-0.07925346493721008,
-0.003626707475632429,
0.05850973352789879,
-0.06836473196744919,
0.04434748366475105,
-0.0011252700351178646,
-0.008993545547127724,
-0.013774597086012363,
0.016669072210788727,
0.06402301788330078,
0.009286439046263695,
0.03752479329705238,
-0.09517307579517365,
-0.03559514507651329,
0.06023263558745384,
-0.022931817919015884,
-0.0039519052952528,
0.03526779264211655,
0.05447814241051674,
-0.005814792588353157,
-0.03042643889784813,
0.02096771076321602,
-0.012060309760272503,
0.01267194002866745,
0.037111297249794006,
-0.03116728737950325,
-0.014868639409542084,
0.006852840539067984,
0.0068011535331606865,
0.054547060281038284,
0.005599429830908775,
0.0007796129211783409,
0.01786648854613304,
-0.05637333542108536,
-0.0017853566678240895,
0.022587237879633904,
-0.014472371898591518,
0.004068200942128897,
0.02176024578511715,
0.010613072663545609,
-0.03690454736351967,
0.03490598499774933,
-0.005633887834846973,
0.03807612136006355
] |
18,046 | imodels.algebraic.tree_gam | _cyclic_boost | Apply cyclic boosting, storing trees in self.estimators_ | def _cyclic_boost(
self, X_train, y_train, sample_weight_train, X_val, y_val, sample_weight_val
):
"""Apply cyclic boosting, storing trees in self.estimators_"""
residuals_train = y_train - self.predict_proba(X_train)[:, 1]
mse_val = self._calc_mse(X_val, y_val, sample_weight_val)
self.decay_coef_towards_marginal_ = []
for _ in range(self.n_boosting_rounds):
boosting_round_ests = []
boosting_round_mses = []
feature_nums = np.arange(X_train.shape[1])
if self.select_linear_marginal:
assert (
self.fit_linear_marginal == "NNLS"
and self.n_boosting_rounds_marginal > 0
), "select_linear_marginal requires fit_linear_marginal to be NNLS and for n_boosting_rounds_marginal > 0"
feature_nums = np.where(self.marginal_coef_ > 0)[0]
for feature_num in feature_nums:
X_ = np.zeros_like(X_train)
X_[:, feature_num] = X_train[:, feature_num]
est = DecisionTreeRegressor(
max_leaf_nodes=self.max_leaf_nodes,
random_state=self.random_state,
)
est.fit(X_, residuals_train, sample_weight=sample_weight_train)
succesfully_split_on_feature = np.all(
(est.tree_.feature[0] == feature_num) | (
est.tree_.feature[0] == -2)
)
if not succesfully_split_on_feature:
continue
if self.reg_param > 0:
est = imodels.HSTreeRegressor(
est, reg_param=self.reg_param)
self.estimators_.append(est)
residuals_train_new = (
residuals_train - self.learning_rate * est.predict(X_train)
)
if self.boosting_strategy == "cyclic":
residuals_train = residuals_train_new
elif self.boosting_strategy == "greedy":
mse_train_new = self._calc_mse(
X_train, y_train, sample_weight_train
)
# don't add each estimator for greedy
boosting_round_ests.append(
deepcopy(self.estimators_.pop()))
boosting_round_mses.append(mse_train_new)
if self.boosting_strategy == "greedy":
best_est = boosting_round_ests[np.argmin(boosting_round_mses)]
self.estimators_.append(best_est)
residuals_train = (
residuals_train - self.learning_rate *
best_est.predict(X_train)
)
# decay marginal effects
if self.decay_rate_towards_marginal < 1.0:
new_decay_coefs = [self.decay_rate_towards_marginal] * (
len(self.estimators_) -
len(self.decay_coef_towards_marginal_)
)
# print(self.decay_coef_towards_marginal_)
# print('new_decay_coefs', new_decay_coefs)
self.decay_coef_towards_marginal_ = [
x * self.decay_rate_towards_marginal
for x in self.decay_coef_towards_marginal_
] + new_decay_coefs
# print(self.decay_coef_towards_marginal_)
# early stopping if validation error does not decrease
mse_val_new = self._calc_mse(X_val, y_val, sample_weight_val)
if mse_val_new >= mse_val:
# print("early stop!")
return
else:
mse_val = mse_val_new
| (self, X_train, y_train, sample_weight_train, X_val, y_val, sample_weight_val) | [
0.02839156799018383,
-0.004868905059993267,
-0.052957747131586075,
0.005110482219606638,
-0.023350819945335388,
-0.02598077617585659,
-0.08069182932376862,
-0.037456948310136795,
0.005977172404527664,
-0.001886544981971383,
-0.009055416099727154,
0.0011313044233247638,
0.03227673098444939,
0.02639917843043804,
-0.022713255137205124,
0.01940588653087616,
-0.0077703241258859634,
0.013189626857638359,
-0.002739537274464965,
-0.00349166477099061,
-0.013877001591026783,
-0.04291609674692154,
-0.04674148932099342,
0.05232018232345581,
-0.016696235164999962,
0.0320376455783844,
-0.049212053418159485,
0.03602242469787598,
-0.007541199214756489,
0.034109730273485184,
-0.039568882435560226,
-0.06734281033277512,
-0.01054970920085907,
-0.023490287363529205,
0.017413495108485222,
-0.04570544511079788,
0.029407687485218048,
0.021338505670428276,
-0.04307548701763153,
-0.03861253336071968,
0.03199779614806175,
-0.057779330760240555,
-0.007795229088515043,
-0.021577592939138412,
-0.030583199113607407,
-0.017144523561000824,
-0.0262397862970829,
0.11468201130628586,
-0.0015366313746199012,
-0.032316576689481735,
-0.01943577267229557,
-0.06802022457122803,
0.011695333756506443,
0.02464587427675724,
0.0021654798183590174,
0.030025329440832138,
0.03430896997451782,
0.01563030481338501,
0.07714536786079407,
-0.029128752648830414,
0.039150480180978775,
-0.015839505940675735,
0.008293326944112778,
0.008273403160274029,
0.004584989510476589,
-0.032515816390514374,
-0.08152863383293152,
-0.0061913542449474335,
0.020003603771328926,
0.043354421854019165,
0.015710001811385155,
-0.015082398429512978,
0.010186097584664822,
0.02315158024430275,
-0.06144533306360245,
-0.012860882095992565,
-0.0015416123205795884,
-0.06188365817070007,
-0.013488485477864742,
-0.01594908908009529,
0.006246144883334637,
0.02438686229288578,
0.029547154903411865,
-0.06347756832838058,
0.00640553655102849,
-0.046223465353250504,
-0.024526329711079597,
0.00594230554997921,
0.046542249619960785,
-0.02725590579211712,
-0.003277482930570841,
0.013299208134412766,
0.05893491953611374,
0.043513815850019455,
0.04148157685995102,
0.023470362648367882,
-0.01581958308815956,
-0.022753102704882622,
-0.002682256046682596,
-0.01660657674074173,
-0.02819233015179634,
0.06248137354850769,
-0.053117137402296066,
0.053316377103328705,
-0.017772125080227852,
0.000015215327948681079,
-0.050447333604097366,
0.00935925543308258,
-0.03018471971154213,
-0.07144713401794434,
-0.08391950279474258,
-0.016297755762934685,
0.027913395315408707,
0.02207569032907486,
-0.07112835347652435,
0.010838605463504791,
-0.03476721793413162,
0.033551860600709915,
0.04000720754265785,
0.022514015436172485,
0.0307027418166399,
-0.013239436782896519,
-0.02542290650308132,
0.02402823232114315,
-0.015769772231578827,
0.004348393063992262,
0.03903093561530113,
0.06981337070465088,
0.02125881053507328,
-0.004126739222556353,
-0.01582954451441765,
-0.008876101113855839,
-0.02058139629662037,
-0.028411492705345154,
0.03964857757091522,
-0.028829894959926605,
-0.06180396303534508,
0.025741688907146454,
-0.00023177108960226178,
-0.050088703632354736,
0.06280015408992767,
-0.0316590890288353,
0.03050350211560726,
-0.002443169243633747,
0.014574338681995869,
0.017662543803453445,
-0.009842410683631897,
0.024267319589853287,
-0.008646976202726364,
0.014185822568833828,
0.014185822568833828,
0.03253574296832085,
0.013498447835445404,
-0.009249674156308174,
-0.0005553789087571204,
0.020441928878426552,
-0.057420700788497925,
-0.013687724247574806,
-0.011844763532280922,
-0.027375448495149612,
-0.04949098825454712,
-0.026996895670890808,
0.014693882316350937,
-0.03851291537284851,
0.057221464812755585,
0.06196335330605507,
-0.03923017531633377,
0.013229474425315857,
-0.021497895941138268,
0.008801386691629887,
0.0016487033572047949,
-0.019126951694488525,
-0.06136563420295715,
-0.008034315891563892,
-0.018748397007584572,
0.030662894248962402,
0.014155936427414417,
-0.020372195169329643,
-0.0016399866435676813,
0.04686103016138077,
0.02243432030081749,
-0.02761453576385975,
0.001874092617072165,
-0.07678674161434174,
-0.033492088317871094,
-0.0059273624792695045,
0.024267319589853287,
-0.01049989927560091,
-0.00362615124322474,
0.06467300653457642,
-0.00219412031583488,
-0.024107929319143295,
0.0463031604886055,
0.0045351795852184296,
0.021218961104750633,
-0.004293601959943771,
0.046223465353250504,
0.04148157685995102,
0.04554605484008789,
0.03315338119864464,
0.03163916617631912,
-0.014395023696124554,
0.031698938459157944,
-0.021079493686556816,
0.010689176619052887,
-0.010818681679666042,
-0.03145984932780266,
0.000520512112416327,
0.000011703350537572987,
-0.012223317287862301,
-0.0631587877869606,
0.026219863444566727,
0.05662374570965767,
0.036580294370651245,
0.05140368267893791,
-0.011326741427183151,
0.03291429579257965,
-0.024247394874691963,
-0.011137464083731174,
-0.04112294688820839,
0.0032251826487481594,
-0.04674148932099342,
-0.04873387888073921,
0.0030533389654010534,
0.018838055431842804,
-0.030921904370188713,
0.030204644426703453,
0.005558770149946213,
0.04395214095711708,
0.0008405398693867028,
0.03825390338897705,
-0.028072785586118698,
0.032575588673353195,
-0.05626511573791504,
-0.006096715573221445,
-0.03679945692420006,
-0.003344726050272584,
-0.011187274008989334,
-0.002475545508787036,
0.003932481165975332,
-0.007820134051144123,
-0.008651956915855408,
-0.00121286790817976,
0.01057959534227848,
0.023729374632239342,
0.04857448861002922,
0.06969382613897324,
0.019256457686424255,
0.017015017569065094,
0.019196685403585434,
-0.008178764022886753,
-0.03243612125515938,
-0.031021524220705032,
0.02048177644610405,
-0.020013565197587013,
-0.05849659442901611,
0.014972817152738571,
0.035544250160455704,
0.016487034037709236,
-0.0010734004899859428,
-0.013299208134412766,
0.06192350387573242,
-0.08439767360687256,
0.037297554314136505,
-0.04825570434331894,
0.0026747845113277435,
0.02988586202263832,
-0.002444414421916008,
0.021497895941138268,
0.054711051285266876,
0.061843808740377426,
0.006978348828852177,
-0.0307027418166399,
0.01581958308815956,
-0.054193031042814255,
0.0012371501652523875,
-0.000848633935675025,
-0.025940928608179092,
0.00730211241170764,
-0.018549157306551933,
0.005404360126703978,
-0.046900879591703415,
-0.004637289326637983,
0.02366960234940052,
-0.038951240479946136,
-0.00023877558123786002,
-0.012542099691927433,
-0.01943577267229557,
0.0445498563349247,
0.027554765343666077,
-0.023908689618110657,
-0.038233980536460876,
0.0738380029797554,
0.04945113882422447,
0.08344132453203201,
-0.027096515521407127,
0.04184020683169365,
-0.021856527775526047,
0.017622696235775948,
0.011237083934247494,
0.031021524220705032,
-0.014903083443641663,
-0.02155766822397709,
0.009578418917953968,
0.04893311858177185,
-0.01525175105780363,
0.04945113882422447,
-0.005309721454977989,
-0.005210102070122957,
0.043155185878276825,
-0.023968461900949478,
0.013239436782896519,
0.040066979825496674,
-0.012303013354539871,
-0.003392045386135578,
-0.08200680464506149,
-0.0009588380344212055,
-0.006081772968173027,
0.04092370718717575,
0.048694029450416565,
-0.02675780840218067,
0.019784441217780113,
0.0026996894739568233,
0.006908615119755268,
-0.006410517264157534,
-0.018080946058034897,
0.05997096374630928,
0.0392102487385273,
-0.057022225111722946,
-0.017244141548871994,
-0.02295234240591526,
-0.040066979825496674,
0.014564376324415207,
0.008293326944112778,
0.004415635950863361,
0.004273678176105022,
0.00012001041613984853,
-0.017562923952937126,
0.03090198151767254,
-0.029029132798314095,
0.029049057513475418,
0.023848917335271835,
-0.019854174926877022,
-0.007934696041047573,
-0.010260812938213348,
-0.005568732041865587,
0.04825570434331894,
0.07965578138828278,
-0.02351021207869053,
0.037138164043426514,
0.004931167233735323,
0.004811623599380255,
0.02490488439798355,
0.1068718433380127,
-0.03112114407122135,
-0.010181116871535778,
-0.008228573948144913,
0.010838605463504791,
0.06339787691831589,
-0.022992189973592758,
-0.04311533644795418,
0.0034044976346194744,
-0.011137464083731174,
0.06678494065999985,
0.05654405057430267,
-0.011376551352441311,
-0.07710552215576172,
0.02321135252714157,
0.02422747202217579,
-0.07818141579627991,
0.005429265089333057,
-0.04375290125608444,
-0.013319131918251514,
0.025642069056630135,
-0.00730211241170764,
0.022414395585656166,
-0.06686463207006454,
-0.006061848718672991,
0.0996195375919342,
0.02930806763470173,
0.043713055551052094,
-0.019903983920812607,
0.0029138715472072363,
0.0022812874522060156,
0.053675007075071335,
-0.04542651027441025,
0.05602603033185005,
-0.05642450600862503,
0.10017740726470947,
-0.05459150671958923,
0.056703440845012665,
-0.013926811516284943,
-0.025681916624307632,
0.005842686165124178,
-0.077504001557827,
0.02458610199391842,
0.08037304133176804,
0.01569007709622383,
-0.032774828374385834,
0.008183744736015797,
-0.02773408032953739,
0.055069681257009506,
-0.06443391740322113,
0.004071948584169149,
-0.012651681900024414,
-0.010509861633181572,
0.016397375613451004,
0.0659879818558693,
-0.023350819945335388,
0.08073167502880096,
-0.08734641224145889,
0.010001801885664463,
0.017184371128678322,
-0.026917198672890663,
-0.004385750275105238,
-0.035604022443294525,
-0.011665447615087032,
0.044270921498537064,
0.054392267018556595,
-0.012801110744476318,
0.03727763146162033,
-0.010858530178666115,
0.02331097237765789,
0.014434871263802052,
0.011047806590795517,
-0.020959950983524323,
-0.04769783467054367,
-0.017772125080227852,
-0.04451001062989235,
-0.017134560272097588,
0.013438675552606583,
-0.04686103016138077,
-0.08128954470157623,
-0.027275830507278442,
0.010539746843278408,
-0.052240487188100815,
-0.04893311858177185,
0.04574529081583023,
0.026419101282954216,
-0.043195031583309174,
-0.008607127703726292,
-0.017622696235775948,
0.03112114407122135,
-0.031539544463157654,
0.003180353669449687,
-0.022713255137205124,
0.028730275109410286,
-0.013358980417251587,
-0.06535042077302933,
-0.022992189973592758,
-0.004268697462975979,
-0.009169979020953178,
0.04682118445634842,
0.07710552215576172,
-0.04578514024615288,
0.005489036440849304,
0.0010086478432640433,
-0.02035227231681347,
0.06284000724554062,
-0.0035489459987729788,
0.015670154243707657,
-0.016138365492224693,
-0.01054970920085907,
0.08152863383293152,
-0.03173878416419029,
0.0641549825668335,
0.03779565170407295,
0.022255005314946175,
0.012392670847475529,
0.01365783903747797,
0.004868905059993267,
-0.03397026285529137,
0.019525429233908653,
-0.07224409282207489,
-0.06511133164167404,
0.039568882435560226,
-0.02992570959031582,
-0.04686103016138077,
0.04646255448460579,
-0.021477973088622093,
0.011157388798892498,
-0.023709449917078018,
-0.00009409376798430458,
0.021697135642170906,
-0.02191629819571972,
-0.036480676382780075,
-0.019485581666231155,
0.021218961104750633,
0.006216259207576513,
-0.011247046291828156,
-0.08471645414829254,
-0.045147575438022614,
0.022713255137205124,
0.07045093923807144,
-0.04307548701763153,
-0.02025265246629715,
0.0031081296037882566,
0.001228433451615274,
0.0676615908741951,
-0.029029132798314095,
0.014893121086061,
0.02392861247062683,
-0.04857448861002922,
-0.012821034528315067,
0.00826842151582241,
-0.006400555372238159,
-0.06742250174283981,
0.012382708489894867,
-0.047259509563446045,
0.005474093835800886,
0.022812874987721443,
-0.05642450600862503,
0.03140007704496384,
0.03466759994626045,
-0.011506056413054466,
-0.03540478274226189,
0.016516920179128647,
0.038473065942525864,
0.039349716156721115,
-0.0069235581904649734,
0.038233980536460876,
0.00973282940685749,
0.0006036321283318102,
-0.0633181780576706,
0.06335802376270294,
0.02171706035733223,
-0.0018840545089915395,
-0.0039673480205237865,
0.02578153647482395,
0.014225670136511326,
0.004301073495298624,
-0.026717960834503174,
0.02659841626882553,
0.03835352137684822,
-0.013946735300123692,
-0.04542651027441025,
0.05913415923714638,
-0.06475269794464111,
-0.02653864584863186,
-0.030224567279219627,
-0.0007353167166002095,
-0.0382937490940094,
0.046701639890670776,
0.004126739222556353,
-0.04976992309093475,
0.039150480180978775,
-0.012900730594992638,
-0.013239436782896519,
-0.05750039964914322,
-0.001781944534741342,
0.022015918046236038,
0.041242487728595734,
-0.002525355201214552,
0.03193802386522293,
0.037974968552589417,
-0.03618181496858597,
-0.02875019982457161,
0.04857448861002922,
0.06762174516916275,
0.026558568701148033,
-0.05076611787080765,
0.002756970701739192,
0.03566379472613335,
-0.07057048380374908,
0.049212053418159485,
0.03327292576432228,
-0.03044373169541359,
0.031957946717739105,
-0.03371125087141991,
0.023968461900949478,
0.029288144782185555,
-0.016228022053837776,
0.006684470921754837,
0.011077692732214928,
-0.045665595680475235,
0.0587356798350811,
-0.01608855463564396,
-0.05395394191145897,
-0.05642450600862503,
-0.0289494376629591,
0.033193230628967285,
-0.017104674130678177,
0.027494993060827255,
-0.08224589377641678,
0.033551860600709915,
0.005185197107493877,
-0.06383620202541351,
0.03851291537284851,
0.0036809418816119432,
0.004786718636751175,
-0.039568882435560226,
0.06750220060348511,
-0.039190325886011124,
-0.09890227764844894,
-0.021637363359332085,
0.04347396641969681,
-0.05228033289313316,
0.01884801685810089,
-0.013109931722283363,
0.022354625165462494,
0.014634110033512115,
0.028411492705345154,
0.041362032294273376,
0.04682118445634842,
-0.01813075691461563,
0.03018471971154213,
0.009782638400793076,
-0.041880052536726,
0.04076431691646576,
0.00009565032087266445,
-0.05092550814151764,
-0.006659565959125757,
0.02422747202217579,
-0.017084751278162003,
-0.04343412071466446,
0.0009930822998285294,
-0.032934218645095825,
0.014663996174931526,
0.055428311228752136,
-0.004814114421606064,
0.011844763532280922,
-0.031340308487415314,
-0.010609480552375317,
0.045824989676475525,
-0.0631587877869606,
-0.03468752279877663,
0.00795960146933794,
-0.08957789093255997,
0.016905436292290688,
0.014663996174931526,
0.027455145493149757,
-0.028431415557861328,
0.025940928608179092,
-0.06945474445819855,
0.017005056142807007,
0.06554965674877167,
0.05487044155597687,
0.02341059222817421,
-0.014733729884028435,
-0.007068006321787834,
-0.011555866338312626,
0.006450365297496319,
-0.0019189213635399938,
0.011047806590795517,
-0.06351742148399353,
-0.024267319589853287,
-0.004746871069073677,
0.04570544511079788,
0.07104865461587906,
0.05546816065907478,
-0.039250098168849945,
-0.014145974069833755,
-0.039867740124464035,
-0.038831695914268494,
-0.014076241292059422,
-0.028531035408377647,
0.03223688155412674,
0.04092370718717575,
0.021059570834040642,
-0.04976992309093475,
-0.005230025853961706,
0.018997445702552795,
0.046343009918928146,
-0.0218166783452034,
-0.024207547307014465,
0.009334350936114788,
0.025642069056630135,
-0.011177312582731247,
-0.009673057124018669,
0.007815152406692505,
-0.022673407569527626,
-0.04841509461402893,
-0.0765078067779541,
0.012950540520250797,
-0.025861231610178947,
-0.04347396641969681,
-0.03897116333246231,
0.013299208134412766,
0.0024780360981822014,
0.011356627568602562,
0.07395754754543304,
0.06383620202541351,
-0.05646435543894768,
-0.010808720253407955,
0.07304104417562485,
0.0024095475673675537,
-0.041242487728595734,
0.03526531532406807,
-0.004687099251896143,
-0.031001601368188858,
-0.010609480552375317,
-0.015769772231578827,
0.005215082783252001,
0.010878453962504864,
-0.03018471971154213,
0.0031529583502560854,
-0.02285272255539894,
-0.026020623743534088,
0.02663826383650303,
-0.039867740124464035,
0.03638105466961861,
-0.021398276090621948,
-0.029547154903411865,
0.023470362648367882,
0.0024282261729240417,
0.060608528554439545,
-0.06869763135910034,
0.01147617120295763,
0.00638063158839941,
-0.06833900511264801,
0.026199938729405403,
0.03197787329554558,
-0.018638815730810165,
-0.018110832199454308,
-0.004736909177154303,
-0.01271145325154066,
-0.0569026805460453,
-0.041362032294273376,
-0.03151962161064148,
0.018638815730810165,
0.010196059942245483,
0.042278531938791275,
0.008298307657241821,
-0.005543827544897795,
-0.0014980288688093424,
-0.017802011221647263,
0.05216079205274582,
-0.017991289496421814,
0.040644772350788116,
-0.009344312362372875,
0.06969382613897324,
0.014893121086061,
-0.01307008322328329,
-0.011406437493860722,
0.02484511211514473,
-0.054033637046813965,
-0.028351720422506332,
-0.027036743238568306,
0.050805963575839996,
0.04574529081583023,
-0.017931517213582993,
-0.036281436681747437,
-0.038233980536460876,
0.025024428963661194,
-0.060967158526182175,
0.05586663633584976,
0.02679765596985817,
0.007944658398628235,
0.0604889839887619,
-0.04845494404435158,
0.02422747202217579,
-0.03285452350974083,
0.025343211367726326,
0.03151962161064148,
0.022015918046236038,
0.01621806062757969,
0.014245593920350075,
-0.055428311228752136,
-0.028411492705345154,
-0.04769783467054367,
0.07212454825639725,
-0.02900920994579792,
0.03474729508161545,
0.005827743094414473,
0.03147977590560913,
0.025642069056630135,
0.04570544511079788,
0.04343412071466446
] |
18,047 | imodels.algebraic.tree_gam | _fit_posthoc_tree_coefs | null | def _fit_posthoc_tree_coefs(self, X, y, sample_weight=None):
# extract predictions from each tree
X_pred_tree = np.array([est.predict(X) for est in self.estimators_]).T
print('shapes', X.shape, X_pred_tree.shape,
y.shape, len(self.estimators_))
coef_prior = np.ones(len(self.estimators_)) * self.learning_rate
y = y - self.bias_ - X_pred_tree @ coef_prior
if self.fit_posthoc_tree_coefs.lower() == "ridge":
m = RidgeCV(fit_intercept=False)
elif self.fit_posthoc_tree_coefs.lower() == "nnls":
m = LinearRegression(fit_intercept=False, positive=True)
elif self.fit_posthoc_tree_coefs.lower() == "elasticnet":
m = ElasticNetCV(fit_intercept=False, positive=True)
m.fit(X_pred_tree, y, sample_weight=sample_weight)
self.cyclic_coef_ = m.coef_ + coef_prior
| (self, X, y, sample_weight=None) | [
0.005497174337506294,
-0.030001848936080933,
0.05859854817390442,
0.0021551961544901133,
-0.03679973632097244,
-0.011241198517382145,
-0.037084564566612244,
-0.014127452857792377,
0.03366662934422493,
0.021286120638251305,
0.050737302750349045,
-0.021039271727204323,
-0.024172374978661537,
0.001552310772240162,
-0.030666446313261986,
-0.02922331914305687,
-0.000674092152621597,
-0.020773431286215782,
-0.002055506454780698,
0.0017350752605125308,
-0.02510281279683113,
-0.03697063401341438,
-0.023146996274590492,
0.039382174611091614,
-0.04264819622039795,
-0.012010233476758003,
-0.04523063451051712,
-0.0009517991566099226,
0.01013037096709013,
-0.028710629791021347,
-0.000021417705283965915,
-0.012560900300741196,
-0.07162466645240784,
-0.025862352922558784,
-0.02039366215467453,
-0.022045662626624107,
0.03440718352794647,
0.06752314418554306,
0.0027604547794908285,
-0.031122170388698578,
-0.03904037922620773,
-0.07253611087799072,
-0.037616241723299026,
-0.017573866993188858,
-0.011649452149868011,
0.03423628583550453,
0.0023616962134838104,
0.10208223760128021,
0.02943219244480133,
-0.05787698179483414,
-0.0250458475202322,
-0.07466282695531845,
-0.003966225311160088,
0.007932450622320175,
0.02470405399799347,
-0.0053025418892502785,
0.03387550637125969,
0.048876430839300156,
0.06676360964775085,
-0.023735638707876205,
0.02903343364596367,
0.03907835856080055,
-0.032451365143060684,
0.00791346188634634,
-0.06042144447565079,
-0.053205810487270355,
-0.021286120638251305,
-0.0013517446350306273,
-0.010804463177919388,
0.041508886963129044,
-0.02529269829392433,
-0.07333362847566605,
-0.0022691271733492613,
0.015399683266878128,
0.015019912272691727,
-0.008554324507713318,
0.0019961672369390726,
-0.0408632755279541,
-0.01354830339550972,
0.06418117135763168,
-0.10048720240592957,
-0.016225682571530342,
-0.007324818521738052,
0.009014795534312725,
-0.013168532401323318,
-0.012295061722397804,
0.05795293673872948,
0.016216188669204712,
0.03212856128811836,
0.03372359648346901,
-0.007956186309456825,
0.002006848342716694,
0.05263615399599075,
0.02958410046994686,
0.055294547230005264,
0.05411725863814354,
0.013178027234971523,
0.055788248777389526,
0.0038807771634310484,
-0.00911923311650753,
-0.032926078885793686,
0.025938306003808975,
0.003534236690029502,
0.06794089823961258,
-0.014393291436135769,
0.02069747820496559,
-0.00798466894775629,
0.021627914160490036,
-0.020792420953512192,
-0.02952713519334793,
-0.06444700807332993,
-0.039648011326789856,
0.06551036238670349,
0.0046355705708265305,
0.006465588230639696,
-0.0489523820579052,
-0.03161587193608284,
0.010842439718544483,
-0.010358233004808426,
-0.037483323365449905,
-0.0006729053566232324,
0.032698217779397964,
-0.016216188669204712,
-0.014440762810409069,
-0.1052723079919815,
-0.004706777166575193,
0.07489068806171417,
0.03790106996893883,
-0.053205810487270355,
-0.04245831072330475,
0.0032755183055996895,
0.07082714885473251,
0.03241338953375816,
-0.0017730522667989135,
-0.023355869576334953,
-0.005022461526095867,
-0.03919228911399841,
-0.017099155113101006,
0.016795339062809944,
-0.06995368003845215,
0.05157279595732689,
-0.07572618126869202,
0.013966049998998642,
-0.0012235721806064248,
0.051003143191337585,
0.046483878046274185,
-0.00333960447460413,
0.00798466894775629,
-0.03438819572329521,
-0.0032802654895931482,
-0.013842624612152576,
0.004777984227985144,
0.05161077529191971,
-0.028197940438985825,
0.04530658945441246,
-0.0006016984698362648,
-0.01790616661310196,
-0.025463594123721123,
-0.023868558928370476,
-0.009807566180825233,
0.014943958260118961,
-0.018950534984469414,
-0.011127267964184284,
0.026488972827792168,
0.0200518686324358,
0.04788902774453163,
-0.0049654957838356495,
-0.0401037372648716,
-0.015333223156630993,
-0.0005506668239831924,
0.03313495218753815,
-0.012266578152775764,
-0.04473693296313286,
0.030476560816168785,
0.010880417190492153,
-0.005810484755784273,
0.046218037605285645,
-0.009076508693397045,
-0.023697663098573685,
0.04944608360528946,
0.02060253545641899,
0.034559089690446854,
0.023109018802642822,
0.0101208770647645,
-0.0014870378654450178,
-0.013282463885843754,
0.03467302396893501,
0.004894288722425699,
-0.057649120688438416,
0.030837342143058777,
-0.046521853655576706,
0.03391348198056221,
0.046218037605285645,
0.05130695924162865,
0.05939606577157974,
0.006850105710327625,
0.041508886963129044,
-0.025919318199157715,
0.006479829549789429,
0.0638393759727478,
-0.011469061486423016,
-0.062054455280303955,
0.05882640928030014,
0.006019358057528734,
-0.01121271587908268,
0.02045062743127346,
-0.028216928243637085,
0.08430898934602737,
-0.011753888800740242,
-0.039685990661382675,
0.001145837944932282,
0.02284318022429943,
0.006043093744665384,
0.019092949107289314,
-0.0145451994612813,
0.02253936417400837,
-0.003740736749023199,
-0.02223554626107216,
-0.06053537502884865,
-0.06490273028612137,
-0.042002588510513306,
0.039534080773591995,
-0.02738143317401409,
0.003415558487176895,
0.027647273615002632,
-0.04340773820877075,
0.01609276421368122,
0.0038902712985873222,
0.018561270087957382,
-0.05901629477739334,
0.026014260947704315,
-0.025691457092761993,
0.016747867688536644,
-0.05145886540412903,
-0.020754443481564522,
-0.0685485303401947,
-0.010633566416800022,
-0.027666261419653893,
0.009949980303645134,
0.050471462309360504,
0.0022798082791268826,
-0.05043348670005798,
0.015057889744639397,
-0.06858650594949722,
0.029811963438987732,
0.0534716472029686,
0.08544830232858658,
-0.03585030883550644,
0.08195441961288452,
-0.004008949734270573,
-0.003854667767882347,
-0.06026953458786011,
-0.03414134308695793,
-0.03843274712562561,
-0.017364993691444397,
-0.0662699043750763,
0.07002963125705719,
0.06680158525705338,
0.015466142445802689,
0.02707761712372303,
-0.062320295721292496,
0.05601610988378525,
-0.02010883390903473,
0.07101703435182571,
-0.053281765431165695,
-0.03425527364015579,
0.03395145758986473,
-0.037540286779403687,
-0.00898631289601326,
0.00504619674757123,
-0.07158669084310532,
0.032603275030851364,
-0.00567756500095129,
0.012560900300741196,
0.008122336119413376,
0.023982489481568336,
-0.02487494982779026,
0.013016624376177788,
0.011089290492236614,
-0.017336511984467506,
0.010975359939038754,
-0.060117628425359726,
0.04314189776778221,
0.02008984610438347,
-0.039230264723300934,
0.010956371203064919,
-0.0064086224883794785,
0.012997636571526527,
0.02717255987226963,
-0.03457808122038841,
-0.03856566548347473,
0.02236846648156643,
0.03338180482387543,
0.05381344258785248,
0.03998980671167374,
-0.04553445056080818,
-0.026071226224303246,
-0.057687100023031235,
0.00920942798256874,
0.017421958968043327,
-0.03581233322620392,
0.02291913330554962,
0.05149684473872185,
-0.016282647848129272,
0.05419321358203888,
0.03638198971748352,
0.07139680534601212,
-0.017175108194351196,
-0.044015370309352875,
-0.02041264995932579,
0.00258243759162724,
0.06315579265356064,
0.00458809919655323,
-0.01462115440517664,
-0.024267317727208138,
-0.09486660361289978,
0.05195256695151329,
-0.021589938551187515,
0.04272415116429329,
0.03822387382388115,
-0.064029261469841,
0.016482027247548103,
-0.018523292616009712,
0.0009197560139000416,
0.02698267437517643,
0.0366288386285305,
0.05928213521838188,
0.013092578388750553,
-0.0268307663500309,
-0.010443681851029396,
-0.007424508221447468,
-0.01580793596804142,
0.034767962992191315,
0.0029740757308900356,
-0.030229710042476654,
0.0010930262506008148,
0.0224064439535141,
-0.02027972973883152,
-0.06034548953175545,
0.025957295671105385,
-0.019861983135342598,
0.021343087777495384,
0.006698197685182095,
0.0003652321465779096,
-0.0247610192745924,
-0.00780902523547411,
0.02962207794189453,
0.043749529868364334,
-0.008241013623774052,
0.052674129605293274,
-0.016633937135338783,
0.02954612486064434,
0.04796497896313667,
0.07515653222799301,
-0.009484761394560337,
0.0001124475893448107,
0.00050734932301566,
0.04458502680063248,
0.014412280172109604,
-0.009147715754806995,
0.04226842522621155,
-0.007324818521738052,
-0.016472533345222473,
0.041964609175920486,
0.028539732098579407,
-0.021589938551187515,
-0.009290128946304321,
0.06634586304426193,
0.037122540175914764,
-0.08400517702102661,
0.018988512456417084,
-0.03174879029393196,
-0.046597808599472046,
0.06118098273873329,
0.0062044961377978325,
0.03814791887998581,
-0.08544830232858658,
-0.009290128946304321,
0.07291588187217712,
0.028729617595672607,
0.01823846623301506,
0.011070302687585354,
0.04530658945441246,
-0.037407368421554565,
-0.007039990741759539,
-0.07656168192625046,
0.04253426566720009,
0.021779822185635567,
0.040483508259058,
-0.04298999160528183,
-0.013472349382936954,
0.0021718109492212534,
-0.030210722237825394,
-0.0015665522078052163,
-0.043939415365457535,
-0.016681406646966934,
0.024286305531859398,
0.019377775490283966,
-0.06080121546983719,
-0.008497359231114388,
0.0016140234656631947,
-0.00557312835007906,
0.000012006896213279106,
-0.025520559400320053,
0.024419225752353668,
0.007172910496592522,
-0.01477306243032217,
0.037046585232019424,
0.012000739574432373,
0.019539179280400276,
-0.04317987710237503,
0.06596609205007553,
0.09517042338848114,
0.028463779017329216,
-0.03535660728812218,
-0.048344749957323074,
0.059623926877975464,
0.06983974575996399,
0.07162466645240784,
-0.039382174611091614,
0.01817200519144535,
-0.01574147678911686,
-0.008354945108294487,
0.016595959663391113,
0.07439699023962021,
0.019842995330691338,
0.010358233004808426,
-0.04040755331516266,
-0.007946692407131195,
0.0245711337774992,
-0.030666446313261986,
-0.032717205584049225,
-0.06870043277740479,
-0.006721932906657457,
0.0005417659995146096,
-0.011269682087004185,
0.00342742633074522,
0.004419575911015272,
-0.02007085643708706,
0.013776165433228016,
-0.04329380765557289,
0.01359577476978302,
0.016785845160484314,
-0.059965718537569046,
0.009180945344269276,
-0.010984853841364384,
0.03641996532678604,
-0.0247610192745924,
-0.06391532719135284,
-0.04800295829772949,
0.04507872834801674,
-0.021248145028948784,
0.05210447683930397,
0.06710539758205414,
-0.035090770572423935,
0.006375392898917198,
0.05411725863814354,
-0.014801545068621635,
-0.021893754601478577,
0.017640328034758568,
0.009086002595722675,
-0.025482581928372383,
0.0357743576169014,
0.035299643874168396,
-0.016814326867461205,
0.006579519249498844,
0.028881525620818138,
0.0032399147748947144,
0.01833340711891651,
-0.02020377665758133,
0.059927742928266525,
-0.02453315630555153,
-0.032945066690444946,
0.00039608849328942597,
-0.0534716472029686,
0.02278621308505535,
-0.003821437945589423,
-0.05248424783349037,
-0.020735453814268112,
-0.04435716196894646,
-0.013140049763023853,
0.01149754412472248,
0.0457623116672039,
-0.022121615707874298,
-0.019501201808452606,
-0.04686364531517029,
-0.0037620989605784416,
-0.017032694071531296,
0.023336879909038544,
-0.03911633417010307,
-0.04720544070005417,
0.014943958260118961,
0.048420704901218414,
0.013481843285262585,
-0.026697847992181778,
0.01612124592065811,
-0.0027557078283280134,
0.00017312182171735913,
0.03410336747765541,
-0.032508332282304764,
0.004519265610724688,
-0.01119372807443142,
0.009750600904226303,
-0.021476006135344505,
0.008815416134893894,
0.013253981247544289,
0.01822897046804428,
0.032546307891607285,
-0.04568636044859886,
0.051193028688430786,
0.024248329922556877,
-0.05373748764395714,
0.03334382548928261,
0.002392552560195327,
0.009560715407133102,
0.07040940225124359,
0.06095312163233757,
0.05237031355500221,
0.024134397506713867,
0.030932284891605377,
0.039648011326789856,
-0.010605083778500557,
0.03385651484131813,
-0.06668765097856522,
0.07367542386054993,
0.05187661200761795,
-0.0099784629419446,
0.027951089665293694,
0.027932099997997284,
0.012712808325886726,
0.05145886540412903,
-0.0502815805375576,
0.011393106542527676,
0.030001848936080933,
-0.042078543454408646,
-0.06410521268844604,
0.046483878046274185,
-0.021115224808454514,
0.02007085643708706,
-0.037578266113996506,
-0.021627914160490036,
-0.03773017227649689,
0.0035437310580164194,
0.0101208770647645,
0.019035983830690384,
0.004951254464685917,
0.037331413477659225,
-0.04234438017010689,
-0.03436920791864395,
0.016520004719495773,
0.048686545342206955,
-0.0199569258838892,
-0.0026488974690437317,
0.06904222816228867,
0.045952197164297104,
0.016681406646966934,
-0.0030310412403196096,
0.03554649278521538,
0.01467811968177557,
0.005668070632964373,
-0.037445344030857086,
-0.009855037555098534,
0.03427426517009735,
-0.07295386493206024,
0.0802074745297432,
-0.00998795684427023,
-0.0813467875123024,
0.059623926877975464,
-0.06444700807332993,
-0.019558167085051537,
0.02705862931907177,
0.025900330394506454,
0.007623887620866299,
-0.007101703435182571,
-0.04561040550470352,
0.032983046025037766,
-0.014943958260118961,
-0.04295201227068901,
-0.08704333752393723,
0.0069023240357637405,
0.0068833352997899055,
-0.030381618067622185,
-0.005198105238378048,
-0.02929927408695221,
0.0007399585447274148,
-0.037540286779403687,
0.013804648071527481,
0.02935623936355114,
-0.04511670395731926,
-0.039572060108184814,
-0.048648566007614136,
-0.00885814055800438,
0.017013706266880035,
-0.021627914160490036,
0.01563704013824463,
-0.008682496845722198,
-0.10177842527627945,
0.005003472790122032,
0.03588828817009926,
-0.03127408027648926,
0.01822897046804428,
0.04359762370586395,
0.009874026291072369,
0.015542096458375454,
0.02487494982779026,
-0.025748422369360924,
0.00810334738343954,
-0.039344195276498795,
-0.018969522789120674,
-0.044091325253248215,
0.026356054469943047,
0.01612124592065811,
0.08066319674253464,
0.007861243560910225,
-0.048344749957323074,
0.008559071458876133,
-0.021817799657583237,
-0.03343876823782921,
0.000015687774066464044,
-0.0053025418892502785,
-0.005179116502404213,
-0.03600221872329712,
0.021589938551187515,
0.006570024881511927,
-0.07352351397275925,
-0.013253981247544289,
0.013244486413896084,
-0.0805872455239296,
-0.0021670639980584383,
0.04937012866139412,
0.03976194187998772,
-0.0100734056904912,
-0.0008497359231114388,
-0.03165384754538536,
0.026337064802646637,
-0.01574147678911686,
0.030761389061808586,
-0.016178211197257042,
-0.00616651913151145,
-0.03843274712562561,
-0.07128287106752396,
-0.01565602794289589,
-0.01119372807443142,
-0.019159408286213875,
-0.011573498137295246,
0.019016994163393974,
-0.053015924990177155,
0.008241013623774052,
0.021874764934182167,
0.03376157209277153,
-0.02508382312953472,
-0.03330584987998009,
-0.028786582872271538,
-0.01262736041098833,
-0.00994048546999693,
0.016937753185629845,
0.01472559105604887,
0.025786397978663445,
0.0542311891913414,
-0.009703129529953003,
-0.018665706738829613,
-0.013282463885843754,
0.07352351397275925,
0.021229155361652374,
-0.021438030526041985,
0.04120507091283798,
0.002660765079781413,
-0.05859854817390442,
0.004255800042301416,
-0.005672818049788475,
-0.0313500314950943,
-0.018523292616009712,
-0.03448313847184181,
-0.012152647599577904,
0.005107909440994263,
-0.04033159837126732,
-0.017336511984467506,
-0.008027393370866776,
-0.008426152169704437,
-0.0034915124997496605,
0.0685485303401947,
0.06467486917972565,
0.00398046663030982,
0.0009411181090399623,
0.04944608360528946,
0.021836789324879646,
-0.0037668459117412567,
0.02233048900961876,
0.03983789682388306,
-0.04033159837126732,
0.004016070161014795,
-0.00574877206236124,
0.03212856128811836,
0.01796313188970089,
-0.048458680510520935,
0.0272105373442173,
-0.02263430505990982,
-0.06156075373291969,
0.02257733978331089,
-0.049711924046278,
0.026109203696250916,
-0.02502685785293579,
-0.050471462309360504,
-0.02715357206761837,
0.021874764934182167,
0.03450212627649307,
-0.03835679218173027,
0.044091325253248215,
0.026109203696250916,
-0.061674684286117554,
-0.03440718352794647,
0.013928073458373547,
-0.021362075582146645,
-0.04071136936545372,
-0.0021587563678622246,
0.023830581456422806,
-0.05195256695151329,
0.0010016439482569695,
0.02931826189160347,
-0.021684879437088966,
0.032793160527944565,
-0.019558167085051537,
0.0069023240357637405,
0.030476560816168785,
0.01780172996222973,
0.00258243759162724,
0.06444700807332993,
-0.06995368003845215,
0.048306774348020554,
-0.034976840019226074,
0.03995182737708092,
0.00811758916825056,
-0.0012615491868928075,
-0.048724520951509476,
-0.0489523820579052,
-0.052864015102386475,
0.019482212141156197,
-0.014659130945801735,
0.03359067812561989,
0.04291403666138649,
-0.03467302396893501,
0.005649082362651825,
-0.01145007275044918,
0.04496479406952858,
0.0408632755279541,
-0.005255070514976978,
0.02291913330554962,
0.02046961523592472,
0.06015560403466225,
-0.04724341630935669,
-0.018751155585050583,
-0.0014051498146727681,
0.0319196879863739,
0.021381063386797905,
0.014203406870365143,
0.05210447683930397,
-0.01602630317211151,
-0.026602905243635178,
-0.00896257720887661,
-0.03431224077939987,
0.017440948635339737,
-0.07705537974834442,
-0.025843365117907524,
0.004998725838959217,
0.024248329922556877,
0.01599782146513462,
0.059699881821870804,
0.06763707846403122
] |
18,051 | imodels.algebraic.tree_gam | _marginal_fit | Fit a gbdt estimator for each feature independently.
Store in self.estimators_marginal | def _marginal_fit(
self,
X_train,
y_train,
sample_weight_train,
):
"""Fit a gbdt estimator for each feature independently.
Store in self.estimators_marginal"""
residuals_train = y_train - self.predict_proba(X_train)[:, 1]
p = X_train.shape[1]
for feature_num in range(p):
X_ = np.zeros_like(X_train)
X_[:, feature_num] = X_train[:, feature_num]
est = GradientBoostingRegressor(
max_leaf_nodes=self.max_leaf_nodes_marginal,
random_state=self.random_state,
n_estimators=self.n_boosting_rounds_marginal,
)
est.fit(X_, residuals_train, sample_weight=sample_weight_train)
if self.reg_param_marginal > 0:
est = imodels.HSTreeRegressor(
est, reg_param=self.reg_param_marginal)
self.estimators_marginal.append(est)
if (
self.fit_linear_marginal is not None
and not self.fit_linear_marginal == "None"
):
if self.fit_linear_marginal.lower() == "ridge":
linear_marginal = RidgeCV(fit_intercept=False)
elif self.fit_linear_marginal == "NNLS":
linear_marginal = LinearRegression(
fit_intercept=False, positive=True)
linear_marginal.fit(
np.array([est.predict(X_train)
for est in self.estimators_marginal]).T,
residuals_train,
sample_weight_train,
)
self.marginal_coef_ = linear_marginal.coef_
self.lin = linear_marginal
else:
self.marginal_coef_ = np.ones(p) / p
| (self, X_train, y_train, sample_weight_train) | [
0.03802436962723732,
-0.014378654770553112,
-0.002049004193395376,
-0.009533673524856567,
-0.023038944229483604,
-0.04982884228229523,
-0.02610957808792591,
-0.052072059363126755,
-0.04159145429730415,
0.04924045875668526,
-0.002948819426819682,
-0.015298006124794483,
0.0371050201356411,
0.023719264194369316,
-0.05023335665464401,
0.021384112536907196,
-0.0158220361918211,
-0.007106585893779993,
-0.016713807359337807,
0.01102302223443985,
-0.004116395488381386,
-0.007046828046441078,
-0.07075327634811401,
0.04685014486312866,
-0.019435087218880653,
0.00535981822758913,
-0.05049077421426773,
0.004684095270931721,
0.025705063715577126,
0.019177669659256935,
-0.02416055276989937,
-0.08921385556459427,
-0.0221563670784235,
-0.026881832629442215,
-0.03289439156651497,
-0.026091191917657852,
0.0615597665309906,
0.0007366302888840437,
-0.0650532990694046,
-0.007069811690598726,
0.018102027475833893,
-0.041922420263290405,
-0.0004369791713543236,
-0.021733466535806656,
-0.023645715788006783,
-0.025043129920959473,
-0.021549595519900322,
0.10730668902397156,
-0.046482402831315994,
-0.02143927291035652,
-0.0026936994399875402,
-0.04898304119706154,
0.02507990412414074,
0.009901413694024086,
-0.005699978210031986,
0.05483011528849602,
0.06380297988653183,
0.026863446459174156,
0.08811063319444656,
-0.023461846634745598,
0.024050230160355568,
-0.033041488379240036,
-0.00827416218817234,
-0.01718267612159252,
0.009101578034460545,
-0.026881832629442215,
-0.06740684062242508,
-0.02331474982202053,
-0.02800344116985798,
0.054646242409944534,
0.0016594291664659977,
-0.01573929563164711,
0.012457210570573807,
0.045526277273893356,
-0.05096883699297905,
0.005410382524132729,
-0.003449865849688649,
-0.05994170904159546,
0.0060585252940654755,
0.009152142331004143,
-0.00023041243548505008,
0.028297634795308113,
-0.012751403264701366,
-0.059426870197057724,
-0.009317626245319843,
-0.0637294352054596,
0.005543688777834177,
-0.01923283003270626,
0.04986561834812164,
-0.017210256308317184,
-0.02169669233262539,
0.04464370012283325,
0.09053771942853928,
0.029713435098528862,
0.03763824328780174,
0.020097021013498306,
-0.023241201415657997,
0.041701775044202805,
-0.01277898345142603,
0.029198598116636276,
-0.02577861212193966,
0.028646986931562424,
0.024234101176261902,
0.09061127156019211,
-0.030743109062314034,
-0.0004108351422473788,
-0.029878918081521988,
0.0028293037321418524,
-0.017127515748143196,
-0.04629853367805481,
-0.09370028972625732,
-0.0222666896879673,
0.040267590433359146,
0.013165111653506756,
-0.0064722332172095776,
-0.010388670489192009,
-0.04909336194396019,
0.014875104650855064,
-0.02051992155611515,
-0.010370283387601376,
0.01569332741200924,
0.002277693012729287,
-0.018276704475283623,
-0.02730473503470421,
-0.023241201415657997,
-0.03125794604420662,
0.05832364782691002,
0.02482248656451702,
0.008444242179393768,
-0.03184632956981659,
-0.0325266495347023,
-0.006191831082105637,
-0.03590986505150795,
-0.007267472334206104,
0.03129471838474274,
-0.06711264699697495,
-0.004509418271481991,
-0.03647986054420471,
0.018809927627444267,
-0.01925121620297432,
0.03887017443776131,
0.016713807359337807,
0.00962560810148716,
0.026918606832623482,
0.02695538103580475,
0.02647731825709343,
0.016033487394452095,
0.034218255430459976,
-0.004063533153384924,
-0.0508585162460804,
-0.01095866784453392,
-0.01659429259598255,
-0.004309459589421749,
-0.014516557566821575,
-0.010747217573225498,
0.030485689640045166,
-0.048100460320711136,
-0.017026387155056,
0.01737574115395546,
-0.04791659116744995,
-0.03054085187613964,
-0.00626537948846817,
-0.02307571843266487,
0.02178862690925598,
0.02390313521027565,
0.032361168414354324,
-0.009257867932319641,
0.03193826600909233,
-0.01709074154496193,
0.021990884095430374,
0.020207341760396957,
-0.03618566691875458,
-0.05074819549918175,
-0.006026348099112511,
0.01106899045407772,
0.06310427933931351,
0.023517007008194923,
-0.05269721895456314,
0.027672475203871727,
0.068105548620224,
0.06659781187772751,
-0.017476869747042656,
0.008012146688997746,
-0.04795336723327637,
-0.057551395148038864,
-0.008559160865843296,
-0.0028201101813465357,
0.005097803194075823,
-0.03787727653980255,
0.047401756048202515,
0.015969133004546165,
-0.02962150052189827,
0.018102027475833893,
0.006660700310021639,
0.010618507862091064,
0.027562152594327927,
0.0045186118222773075,
0.009358996525406837,
0.046114664524793625,
-0.001002092962153256,
0.052770767360925674,
-0.0188834760338068,
0.004203733988106251,
-0.0023397491313517094,
-0.00871085375547409,
0.030136337503790855,
-0.035523734986782074,
0.02763570100069046,
-0.025631515309214592,
-0.029345694929361343,
-0.023829586803913116,
0.022174755111336708,
0.02519022673368454,
0.04221661388874054,
0.025723449885845184,
-0.03285761550068855,
0.0071525536477565765,
-0.032471489161252975,
-0.04596756771206856,
-0.052182383835315704,
0.05177786573767662,
-0.04354047775268555,
-0.0508585162460804,
0.03157052397727966,
0.05516108125448227,
-0.039936620742082596,
0.03464115783572197,
-0.008117872290313244,
0.017817029729485512,
-0.015132523141801357,
0.03381374105811119,
-0.024105392396450043,
0.06347201764583588,
-0.05203528702259064,
-0.0010055404854938388,
-0.017366547137498856,
-0.00314648007042706,
0.0005550583591684699,
-0.01639203354716301,
0.014305107295513153,
-0.020336052402853966,
-0.005952800158411264,
-0.017982512712478638,
0.053579796105623245,
0.0035854701418429613,
0.0440920889377594,
0.0027350701857358217,
0.03465954586863518,
0.003192447591573,
0.019398313015699387,
-0.0273966696113348,
-0.012972047552466393,
-0.034218255430459976,
0.003631437895819545,
-0.028187312185764313,
-0.07751970738172531,
0.025594741106033325,
0.05931654945015907,
0.03592824935913086,
0.005405785981565714,
-0.002971803303807974,
0.025484418496489525,
-0.06531071662902832,
0.06097137928009033,
-0.025815386325120926,
0.01106899045407772,
0.042731449007987976,
-0.004247403237968683,
0.009358996525406837,
0.03868630528450012,
0.02925376035273075,
0.07869647443294525,
0.02621990069746971,
-0.009023433551192284,
-0.022781526669859886,
0.003215431235730648,
0.00769956735894084,
-0.05188819020986557,
0.021880561485886574,
-0.002277693012729287,
0.009046416729688644,
-0.09620092064142227,
0.014075268991291523,
0.058838486671447754,
-0.03390567749738693,
-0.0034291804768145084,
-0.0002587112248875201,
0.0007205416331999004,
0.01709074154496193,
0.04045145958662033,
-0.0030637383460998535,
0.0136431735008955,
0.06501653045415878,
0.04993916302919388,
0.046923693269491196,
-0.0015272723976522684,
0.03894372284412384,
0.0327472947537899,
-0.015684133395552635,
0.014599299058318138,
0.026275061070919037,
0.002546603325754404,
0.006789409555494785,
-0.0189937986433506,
0.03114762343466282,
0.01102302223443985,
0.0713784396648407,
-0.01678735576570034,
-0.026753123849630356,
0.031993426382541656,
-0.002278842031955719,
0.0692087709903717,
0.042400483042001724,
0.021954109892249107,
-0.02962150052189827,
-0.0654945895075798,
0.02576022408902645,
0.007547874469310045,
0.038318563252687454,
0.020133795216679573,
-0.004964497406035662,
0.04339338466525078,
0.04445983096957207,
-0.018975412473082542,
0.010002542287111282,
-0.026771511882543564,
0.06895135343074799,
0.02496958151459694,
-0.04795336723327637,
-0.01218140497803688,
-0.011979147791862488,
-0.041701775044202805,
0.027966666966676712,
0.030614400282502174,
-0.01610703580081463,
0.05232947692275047,
0.000010755692528618965,
-0.016778161749243736,
0.03219568356871605,
-0.01610703580081463,
-0.0008176480769179761,
0.017991704866290092,
-0.029216986149549484,
0.013790270313620567,
0.01440623588860035,
-0.03616728261113167,
0.0440920889377594,
0.05869138985872269,
-0.021402498707175255,
0.026642801240086555,
-0.024896034970879555,
0.026569252833724022,
0.07108424603939056,
0.07803454250097275,
-0.005442559719085693,
-0.010563346557319164,
0.015592198818922043,
0.026091191917657852,
0.021954109892249107,
0.04501144215464592,
-0.026275061070919037,
0.046114664524793625,
-0.04394499585032463,
0.01785380393266678,
0.05071141943335533,
-0.02890440635383129,
-0.059426870197057724,
0.022193141281604767,
0.0405985563993454,
-0.0576249435544014,
0.02925376035273075,
-0.03147859126329422,
-0.05328560248017311,
0.04662949964404106,
-0.001511183800175786,
0.013440916314721107,
-0.073768749833107,
-0.009607221931219101,
0.030356980860233307,
0.03289439156651497,
0.007180133834481239,
-0.019287990406155586,
0.05725720152258873,
0.004486434627324343,
0.022799912840127945,
-0.033170197159051895,
0.061964280903339386,
-0.05699978396296501,
0.0412604883313179,
-0.06902489811182022,
0.051483675837516785,
-0.02449152059853077,
-0.03986307233572006,
0.06255266815423965,
-0.06895135343074799,
-0.025282161310315132,
0.05045400187373161,
-0.009152142331004143,
-0.04662949964404106,
0.0013859221944585443,
-0.0029672065284103155,
0.01497623324394226,
-0.08288871496915817,
0.019784441217780113,
-0.017872190102934837,
-0.024050230160355568,
-0.02263442985713482,
0.05968428775668144,
-0.019637344405055046,
0.07972614467144012,
-0.03355632349848747,
0.04118693992495537,
0.013183497823774815,
-0.009432544931769371,
0.015665747225284576,
-0.007299649529159069,
0.01875476725399494,
0.05442560091614723,
0.04012049362063408,
0.011574633419513702,
0.04986561834812164,
-0.024748938158154488,
0.009009643457829952,
0.011675762012600899,
-0.0002456391812302172,
-0.03478825464844704,
-0.055455271154642105,
-0.03565244376659393,
-0.009460125118494034,
-0.037380825728178024,
-0.01829509250819683,
-0.006021751090884209,
-0.06714942306280136,
0.0037164778914302588,
0.022799912840127945,
-0.06019912660121918,
-0.05387398973107338,
0.04593079164624214,
-0.01393736619502306,
0.0037555501330643892,
0.0126043064519763,
-0.03418148308992386,
0.07126811891794205,
-0.04666627570986748,
-0.06019912660121918,
0.0014996918616816401,
-0.002320213010534644,
-0.01584961637854576,
-0.04806368798017502,
-0.04850497841835022,
0.04640885442495346,
0.015886390581727028,
0.05133657902479172,
0.07546035945415497,
-0.03390567749738693,
-0.027929894626140594,
0.03495373949408531,
-0.05769849196076393,
0.05332237854599953,
0.02868376113474369,
-0.011979147791862488,
0.017541224136948586,
-0.0004783500044140965,
0.055896561592817307,
-0.025594741106033325,
0.0181204155087471,
0.050306905061006546,
-0.0015433611115440726,
0.02112669311463833,
0.022174755111336708,
0.03545018658041954,
-0.0011560843558982015,
0.039605654776096344,
-0.07950550317764282,
-0.022248301655054092,
0.03357471153140068,
-0.015491070225834846,
-0.013385755941271782,
0.029915692284703255,
-0.008821176365017891,
0.044386282563209534,
-0.005139173939824104,
0.05652172118425369,
0.030743109062314034,
-0.026514092460274696,
0.00223517301492393,
-0.0307798832654953,
0.028775697574019432,
0.005732155404984951,
-0.006853764411062002,
-0.05519785359501839,
0.010287541896104813,
0.0034176886547356844,
0.025539580732584,
-0.0401572659611702,
-0.003229221561923623,
0.0482475571334362,
-0.01247559767216444,
0.04765917360782623,
-0.03197503834962845,
0.0038222032599151134,
0.012273340485990047,
-0.023645715788006783,
-0.030614400282502174,
-0.02973182313144207,
0.0069043287076056,
-0.006531991064548492,
0.05111593380570412,
-0.04806368798017502,
0.003167165443301201,
0.0032820843625813723,
-0.055344950407743454,
-0.03532147780060768,
0.04335660859942436,
-0.008922304958105087,
0.007396181579679251,
-0.0015916270203888416,
0.04607788845896721,
0.035174380987882614,
0.002128298394382,
0.036902762949466705,
0.03112923726439476,
0.02730473503470421,
-0.09237642586231232,
0.03191987797617912,
0.02835279516875744,
0.00852238666266203,
-0.018938638269901276,
0.01154705323278904,
0.016759775578975677,
0.006490620318800211,
-0.00513457739725709,
0.03133149445056915,
0.005502317566424608,
-0.02927214652299881,
-0.05817655101418495,
0.03813469409942627,
-0.09244997054338455,
-0.037619855254888535,
-0.02693699486553669,
-0.01071963645517826,
-0.0831829085946083,
0.0329679399728775,
0.024877646937966347,
-0.022487333044409752,
0.011648181825876236,
-0.02621990069746971,
-0.015141716226935387,
-0.00288676330819726,
-0.00621021818369627,
-0.005856268107891083,
0.005162157583981752,
-0.06821586936712265,
0.034567609429359436,
0.002099568722769618,
0.032342780381441116,
-0.04276822507381439,
0.022229915484786034,
0.05453592166304588,
0.01417639758437872,
-0.0401572659611702,
-0.011648181825876236,
0.06361911445856094,
-0.03857598081231117,
0.03986307233572006,
0.015141716226935387,
-0.06016235053539276,
0.05703655630350113,
-0.07123134285211563,
0.0035532929468899965,
0.011482697911560535,
0.03508244827389717,
-0.048468202352523804,
0.017191870138049126,
-0.05096883699297905,
0.038759853690862656,
-0.012438823468983173,
-0.03465954586863518,
-0.050306905061006546,
-0.016888484358787537,
-0.02134733833372593,
-0.019674118608236313,
0.06586232781410217,
-0.04894626513123512,
-0.010122057981789112,
0.03326212987303734,
-0.07108424603939056,
0.022781526669859886,
0.0029396258760243654,
-0.006021751090884209,
-0.054388824850320816,
0.046114664524793625,
-0.007469729520380497,
-0.0964951142668724,
0.01615300215780735,
0.05736752226948738,
-0.038539208471775055,
0.00985544640570879,
-0.012264146469533443,
-0.00791101809591055,
-0.0027902312576770782,
0.05258689820766449,
0.024914421141147614,
0.037840500473976135,
0.01994992420077324,
-0.0026730140671133995,
0.019802827388048172,
0.0015674940077587962,
0.020115407183766365,
-0.023590555414557457,
-0.04008371755480766,
0.016290904954075813,
0.039936620742082596,
0.024417972192168236,
-0.040414683520793915,
-0.01610703580081463,
-0.040745653212070465,
0.005456350278109312,
0.07343778759241104,
-0.0060861059464514256,
-0.005198931787163019,
-0.055896561592817307,
-0.022487333044409752,
0.04313596338033676,
-0.05699978396296501,
-0.055933333933353424,
-0.014433816075325012,
-0.11760342121124268,
0.033059872686862946,
0.04445983096957207,
0.017237838357686996,
-0.008278759196400642,
0.010563346557319164,
-0.0506378710269928,
0.05111593380570412,
0.02905150316655636,
0.031166009604930878,
0.004543893970549107,
-0.029676660895347595,
-0.014029301702976227,
-0.036443088203668594,
0.011556246317923069,
-0.00046455973642878234,
-0.012622693553566933,
-0.017283804714679718,
-0.008264968171715736,
-0.04916691035032272,
0.022910235449671745,
0.09377383440732956,
-0.01149189192801714,
0.0006130924448370934,
-0.04806368798017502,
-0.023958295583724976,
-0.03635115176439285,
0.009423350915312767,
-0.054646242409944534,
-0.029658274725079536,
0.0414811335504055,
0.02436280995607376,
-0.033390842378139496,
0.008959079161286354,
-0.03708663210272789,
0.07538680732250214,
-0.012769790366292,
-0.003976194653660059,
0.0073226336389780045,
-0.0325266495347023,
-0.04710756242275238,
-0.03704985976219177,
-0.03276568278670311,
-0.01971089281141758,
0.03739921376109123,
-0.04916691035032272,
-0.0068399738520383835,
-0.03138665482401848,
-0.04177532345056534,
-0.019379926845431328,
0.008085695095360279,
0.014305107295513153,
0.04504821449518204,
0.1028202548623085,
0.06839974224567413,
-0.01270543597638607,
-0.019545409828424454,
0.030154723674058914,
-0.0329679399728775,
-0.04832110553979874,
0.006095299497246742,
-0.01095866784453392,
-0.006191831082105637,
-0.024896034970879555,
-0.07240810990333557,
0.036424700170755386,
0.0049920775927603245,
-0.018607670441269875,
0.019527021795511246,
-0.023167653009295464,
-0.02998924069106579,
0.0012181404745206237,
-0.021200241521000862,
0.0006946848588995636,
0.005235705990344286,
-0.05769849196076393,
0.05968428775668144,
-0.028371183201670647,
0.020464761182665825,
-0.05163077265024185,
0.027727635577321053,
-0.030228272080421448,
-0.05571269243955612,
0.029474403709173203,
0.02940085530281067,
-0.022064432501792908,
-0.021954109892249107,
0.062332019209861755,
0.011399956420063972,
-0.05832364782691002,
-0.046592727303504944,
0.008531580679118633,
-0.01972927898168564,
0.04394499585032463,
0.01597832702100277,
0.031202783808112144,
0.016051873564720154,
-0.0027971265371888876,
-0.015252038836479187,
0.044717248529195786,
-0.032140523195266724,
0.05045400187373161,
-0.046923693269491196,
0.08869902044534683,
0.019435087218880653,
-0.03261858597397804,
-0.03920114040374756,
0.0023443459067493677,
-0.02147604711353779,
-0.03953210636973381,
-0.004504821728914976,
0.04236371070146561,
0.02064863033592701,
-0.07899066805839539,
0.015307200141251087,
0.017412513494491577,
0.020850887522101402,
-0.03283923119306564,
0.03020988591015339,
-0.0030131740495562553,
0.003447567578405142,
0.06240556761622429,
-0.0003030986408703029,
0.04699724167585373,
-0.052513349801301956,
0.009404963813722134,
0.03894372284412384,
0.09083191305398941,
0.012742209248244762,
0.03802436962723732,
-0.05574946478009224,
-0.008232790976762772,
-0.0543520525097847,
0.01573929563164711,
-0.05552881956100464,
0.011390763334929943,
-0.024546680971980095,
0.004422079771757126,
0.030816657468676567,
0.023958295583724976,
0.043797899037599564
] |
18,057 | imodels.algebraic.tree_gam | fit | null | def fit(self, X, y, sample_weight=None):
X, y = check_X_y(X, y, accept_sparse=False, multi_output=False)
if isinstance(self, ClassifierMixin):
check_classification_targets(y)
self.classes_, y = np.unique(y, return_inverse=True)
sample_weight = _check_sample_weight(sample_weight, X, dtype=None)
# split into train and validation for early stopping
(
X_train,
X_val,
y_train,
y_val,
sample_weight_train,
sample_weight_val,
) = train_test_split(
X,
y,
sample_weight,
test_size=self.validation_frac,
random_state=self.random_state,
stratify=y if isinstance(self, ClassifierMixin) else None,
)
self.estimators_marginal = []
self.estimators_ = []
self.bias_ = np.mean(y)
if self.n_boosting_rounds_marginal > 0:
self._marginal_fit(
X_train,
y_train,
sample_weight_train,
)
if self.n_boosting_rounds > 0:
self._cyclic_boost(
X_train,
y_train,
sample_weight_train,
X_val,
y_val,
sample_weight_val,
)
if self.fit_posthoc_tree_coefs is not None:
self._fit_posthoc_tree_coefs(X_train, y_train, sample_weight_train)
self.mse_val_ = self._calc_mse(X_val, y_val, sample_weight_val)
return self
| (self, X, y, sample_weight=None) | [
0.02972906082868576,
-0.006843238603323698,
0.04122225195169449,
-0.023675978183746338,
-0.014567622914910316,
-0.020955922082066536,
-0.0036945827305316925,
0.002104690996930003,
0.020323796197772026,
0.02752619795501232,
-0.00013513481826521456,
-0.004135155119001865,
0.01461551059037447,
0.0207069031894207,
-0.016837527975440025,
0.03388576582074165,
-0.014107895083725452,
-0.03277475759387016,
-0.03886614739894867,
0.01976829208433628,
-0.02591715008020401,
-0.04581953212618828,
-0.030571894720196724,
0.08888069540262222,
-0.01626286841928959,
0.022660745307803154,
-0.023446114733815193,
0.00505700521171093,
0.03855966404080391,
-0.034996774047613144,
0.012010387144982815,
-0.0004516465705819428,
-0.02415486052632332,
0.010861068032681942,
-0.008313409984111786,
-0.03147219493985176,
0.020342951640486717,
0.02323540486395359,
-0.008572006598114967,
-0.011905033141374588,
-0.010094854980707169,
-0.06282945722341537,
0.021549737080931664,
0.0009703367832116783,
-0.02101338841021061,
0.053175173699855804,
-0.008797082118690014,
0.08865083009004593,
0.0004974397597834468,
-0.06424695253372192,
-0.023810066282749176,
-0.041950155049562454,
-0.010171475820243359,
0.018705172464251518,
0.018686017021536827,
-0.006766617763787508,
0.021415650844573975,
0.005483211018145084,
0.06049250811338425,
-0.010391762480139732,
-0.0021861011628061533,
0.001100832363590598,
-0.0060866037383675575,
0.0048510851338505745,
-0.017144013196229935,
-0.059841226786375046,
-0.06470667570829391,
0.013916341587901115,
-0.0028110435232520103,
0.057619210332632065,
0.039766449481248856,
-0.03915347903966904,
0.02275652252137661,
0.039268411695957184,
-0.021070854738354683,
0.01336083747446537,
-0.06976368278265,
0.029192710295319557,
-0.02072605863213539,
-0.01769951730966568,
-0.009093989618122578,
0.07623818516731262,
-0.022660745307803154,
-0.059496428817510605,
-0.03426887094974518,
-0.01682795025408268,
0.012776600196957588,
0.021243251860141754,
0.031204020604491234,
-0.00034539439366199076,
-0.001840108074247837,
0.04126056283712387,
0.08344057947397232,
0.027411265298724174,
0.05677637457847595,
0.03999631106853485,
-0.03380914404988289,
0.01145488303154707,
-0.03053358383476734,
0.021147476509213448,
-0.07922641187906265,
0.004858268424868584,
0.04160536080598831,
0.06282945722341537,
-0.03702723607420921,
0.016483154147863388,
-0.00846665259450674,
-0.019480962306261063,
-0.030112165957689285,
-0.009520195424556732,
-0.027775216847658157,
-0.042294953018426895,
-0.006895916070789099,
0.04658574238419533,
-0.019413918256759644,
-0.014998617582023144,
-0.026759985834360123,
0.014155782759189606,
-0.031069932505488396,
-0.021568892523646355,
0.0010403734631836414,
0.047160401940345764,
-0.041490428149700165,
-0.03811909258365631,
-0.006723518017679453,
-0.029499195516109467,
0.02040041796863079,
0.009764425456523895,
0.009223287925124168,
-0.04834803193807602,
-0.046087704598903656,
0.005808851215988398,
-0.004853479564189911,
0.003977123647928238,
-0.029499195516109467,
0.0061728027649223804,
-0.04585784301161766,
-0.004161493852734566,
0.006857605185359716,
-0.018887147307395935,
0.0828276127576828,
0.0003950785321649164,
0.048462964594364166,
-0.0022663141135126352,
0.07010848075151443,
0.028809605166316032,
0.011129242368042469,
0.027085624635219574,
-0.016291601583361626,
-0.0058567398227751255,
-0.01590849459171295,
-0.0005177923012524843,
0.0717175230383873,
-0.04551304504275322,
-0.018293332308530807,
-0.003610778134316206,
-0.05466929078102112,
-0.029345953837037086,
0.03095499984920025,
-0.018609395250678062,
0.0070252143777906895,
-0.05279206857085228,
0.031376417726278305,
0.03434549272060394,
0.02403992973268032,
0.0882677212357521,
-0.009453151375055313,
0.03147219493985176,
-0.02388668619096279,
-0.006713940296322107,
0.012843643315136433,
-0.05926656723022461,
-0.024767830967903137,
-0.01287237647920847,
-0.0049181291833519936,
0.0015408062608912587,
0.021741291508078575,
-0.03164459392428398,
0.01974913664162159,
0.05861528590321541,
0.022220173850655556,
0.011339950375258923,
-0.03633764758706093,
-0.040685903280973434,
-0.04784999415278435,
0.009098777547478676,
-0.007097046822309494,
-0.0018305304693058133,
-0.05417124927043915,
0.036912307143211365,
0.004080083686858416,
0.019126588478684425,
0.0050426386296749115,
0.00284217088483274,
-0.008083545602858067,
0.03886614739894867,
0.003668244229629636,
-0.007413109764456749,
-0.006067448295652866,
0.04421048238873482,
0.03095499984920025,
-0.07826864719390869,
0.06336580216884613,
-0.002803860232234001,
-0.017450498417019844,
0.045589666813611984,
-0.048769451677799225,
0.05244727060198784,
-0.02101338841021061,
-0.054630979895591736,
-0.018494462594389915,
-0.0017898253863677382,
-0.027736905962228775,
0.03949827328324318,
0.045781221240758896,
0.027296334505081177,
0.050340186804533005,
-0.01789107173681259,
-0.01937560923397541,
-0.013810987584292889,
0.03363674506545067,
-0.011991231702268124,
-0.0675799772143364,
0.015879761427640915,
0.050531741231679916,
-0.050991468131542206,
0.04911424592137337,
-0.04830972105264664,
-0.002681744983419776,
-0.04777337238192558,
0.03968982771039009,
-0.056201715022325516,
0.0462026372551918,
-0.01390676386654377,
-0.03407731652259827,
-0.016531042754650116,
-0.0012774205533787608,
-0.019691670313477516,
-0.005708286073058844,
0.0525238923728466,
-0.012125318869948387,
-0.01343745831400156,
0.00537785654887557,
-0.042754679918289185,
-0.014088739641010761,
0.06631572544574738,
0.04539811238646507,
-0.007743538822978735,
0.04788830503821373,
-0.02336949296295643,
-0.03227671608328819,
0.04850127547979355,
-0.04099239036440849,
-0.03066767007112503,
-0.029441729187965393,
-0.0016377799911424518,
0.03239164873957634,
-0.020572815090417862,
-0.023829219862818718,
-0.009070045314729214,
-0.04218002036213875,
0.02718140184879303,
-0.04769675061106682,
0.06639234721660614,
-0.05991784855723381,
0.009893723763525486,
0.02990145795047283,
0.022526659071445465,
-0.0006578656029887497,
0.04463190212845802,
-0.0590750128030777,
0.043597511947155,
0.0041040279902517796,
0.05758089944720268,
-0.02116663008928299,
0.03288968652486801,
-0.0001720986037980765,
-0.04942072927951813,
0.03700808063149452,
0.00047738655121065676,
0.008998212404549122,
-0.014021695591509342,
0.08052897453308105,
0.003297109855338931,
0.01747923158109188,
0.014060006476938725,
-0.006512809544801712,
-0.00680013932287693,
0.025802219286561012,
0.005033060908317566,
-0.002573996316641569,
-0.02055366151034832,
0.03854050859808922,
0.026051238179206848,
-0.003567678853869438,
-0.023292871192097664,
-0.02942257560789585,
-0.0011594955576583743,
0.002219622954726219,
-0.02131987363100052,
-0.0664689689874649,
0.04329102858901024,
-0.019605472683906555,
0.036280181258916855,
0.060913924127817154,
-0.009582449682056904,
0.06589430570602417,
-0.01597553864121437,
-0.028522275388240814,
-0.010889800265431404,
0.04788830503821373,
0.08443666249513626,
0.02495938539505005,
-0.06597092747688293,
-0.015046505257487297,
-0.07485900074243546,
0.04218002036213875,
0.03434549272060394,
0.00735085504129529,
0.03252573683857918,
-0.01920321024954319,
0.0074849422089755535,
0.042141709476709366,
0.0036610609386116266,
-0.02101338841021061,
0.03712301328778267,
0.011952920816838741,
0.04463190212845802,
-0.07194738835096359,
-0.027583664283156395,
-0.017728250473737717,
-0.021434806287288666,
0.01889672502875328,
0.004020223394036293,
-0.040111243724823,
-0.002890059258788824,
-0.011972076259553432,
-0.026166170835494995,
0.0033402093686163425,
0.05627833679318428,
-0.023024696856737137,
0.017201479524374008,
-0.03084006905555725,
-0.013073507696390152,
0.01280533242970705,
-0.03317701816558838,
0.02515093795955181,
0.04739026725292206,
0.01990238018333912,
0.017814449965953827,
-0.019471384584903717,
0.04106901213526726,
0.058576975017786026,
0.02607039362192154,
-0.020840991288423538,
-0.012383915483951569,
-0.02925017662346363,
0.006096181459724903,
0.014155782759189606,
0.01974913664162159,
-0.020975077524781227,
-0.002154973801225424,
-0.05869190767407417,
0.04060928151011467,
0.01200080942362547,
0.007729172706604004,
-0.02752619795501232,
0.00013745440810453147,
0.03859797492623329,
-0.019107433035969734,
0.03447958081960678,
-0.04252481460571289,
-0.09439742565155029,
0.06282945722341537,
0.0053108129650354385,
0.04172028973698616,
-0.03490099683403969,
0.0056891306303441525,
0.07631480693817139,
0.013188439421355724,
0.043865688145160675,
0.00948188453912735,
0.0170003492385149,
-0.01669386401772499,
-0.005521521437913179,
-0.02894369140267372,
0.032161787152290344,
-0.04662405326962471,
0.010401340201497078,
-0.029939768835902214,
0.017776139080524445,
0.017910225316882133,
-0.058385420590639114,
-0.009477095678448677,
-0.0337899886071682,
0.011426149867475033,
0.02495938539505005,
0.05260051414370537,
-0.05486084148287773,
-0.02024717628955841,
-0.005555043462663889,
0.0015060872538015246,
-0.06455343216657639,
0.020802680402994156,
-0.015534966252744198,
0.040532663464546204,
-0.02844565361738205,
0.036414265632629395,
-0.003100767731666565,
0.016942882910370827,
-0.024710364639759064,
0.029958924278616905,
0.05371152237057686,
0.02591715008020401,
-0.026817450299859047,
0.004685870837420225,
0.01654062047600746,
0.05880684033036232,
0.05880684033036232,
0.005861528683453798,
0.04026448726654053,
-0.0045086839236319065,
0.0017503175185993314,
-0.017019502818584442,
0.026989849284291267,
-0.005306024104356766,
-0.04788830503821373,
-0.08221464604139328,
0.05118302255868912,
-0.0442487932741642,
-0.03972813859581947,
0.004499106202274561,
-0.0887274518609047,
0.013245904818177223,
-0.007489731069654226,
-0.054937463253736496,
-0.0010289999190717936,
0.032468270510435104,
-0.004549388773739338,
-0.010200208984315395,
-0.03336857259273529,
-0.07991600036621094,
0.027583664283156395,
0.017335565760731697,
-0.037046391516923904,
-0.03545650094747543,
-0.004693054128438234,
0.016789639368653297,
-0.07953289896249771,
-0.001967012183740735,
0.060607440769672394,
-0.04202677682042122,
0.041643671691417694,
0.06455343216657639,
-0.00754240807145834,
0.0011098114773631096,
0.053021930158138275,
-0.019040390849113464,
0.0492674894630909,
-0.013303371146321297,
0.0014079161919653416,
-0.015285947360098362,
-0.01617666892707348,
0.0032324607018381357,
-0.06754166632890701,
0.05742765590548515,
0.002023280831053853,
-0.009256809018552303,
0.0616801381111145,
0.017747405916452408,
0.025553200393915176,
-0.008093123324215412,
0.003194150049239397,
-0.010171475820243359,
-0.028886225074529648,
0.04601108282804489,
0.03495846316218376,
-0.009836258366703987,
-0.00750888604670763,
-0.03428802639245987,
0.03239164873957634,
-0.004867846146225929,
0.0619099996984005,
0.017076969146728516,
-0.0001550383894937113,
-0.04221833124756813,
-0.021607203409075737,
-0.02195199951529503,
0.03541819006204605,
0.022373415529727936,
-0.03430718183517456,
0.044172171503305435,
0.05784907191991806,
-0.024442190304398537,
-0.06788646429777145,
-0.031050777062773705,
-0.0035628899931907654,
-0.0008512146305292845,
0.03288968652486801,
-0.005205458961427212,
0.0420650877058506,
0.01439522486180067,
-0.022047774866223335,
-0.019691670313477516,
-0.010295985266566277,
0.046853918582201004,
-0.006163225043565035,
0.0033162650652229786,
-0.048462964594364166,
0.0216838251799345,
-0.03823402151465416,
0.0184178426861763,
-0.003929235506802797,
0.02892453595995903,
-0.03492015227675438,
-0.007322121877223253,
0.012623357586562634,
0.08941704034805298,
0.013897186145186424,
0.012479692697525024,
0.032180942595005035,
0.024576278403401375,
0.060300953686237335,
-0.02499769628047943,
0.04221833124756813,
0.06597092747688293,
0.007853682152926922,
-0.011282484978437424,
0.019500117748975754,
0.003965151496231556,
0.0020939160604029894,
-0.04593446105718613,
-0.023675978183746338,
0.016885416582226753,
-0.040379419922828674,
-0.05547381192445755,
0.034402959048748016,
-0.05007201060652733,
-0.02700900472700596,
-0.02672167494893074,
0.0024925863835960627,
-0.013494924642145634,
0.0003280348901171237,
0.008753982372581959,
0.004209381993860006,
0.014404802583158016,
-0.02024717628955841,
-0.0009667451377026737,
-0.059381499886512756,
0.000991886481642723,
-0.005727441515773535,
-0.05516732856631279,
0.000030248198527260683,
0.08750151097774506,
0.06371060013771057,
-0.02467205561697483,
-0.016492731869220734,
0.06761828809976578,
0.03428802639245987,
0.025859685614705086,
-0.04957397282123566,
0.007480153348296881,
0.02637687884271145,
-0.0843600407242775,
0.0688825398683548,
0.011895455420017242,
-0.06761828809976578,
0.019653361290693283,
-0.0780387818813324,
-0.014443112537264824,
-0.0018317276844754815,
0.0449000746011734,
-0.031663745641708374,
0.05068498104810715,
-0.05137457326054573,
0.09232865273952484,
-0.042294953018426895,
-0.04137549549341202,
-0.05432449281215668,
0.024288948625326157,
0.014644243754446507,
-0.023790910840034485,
0.053328417241573334,
-0.042294953018426895,
0.016272446140646935,
-0.05424787104129791,
-0.023292871192097664,
-0.048462964594364166,
-0.053634900599718094,
0.0026745619252324104,
0.008356509730219841,
0.009141877293586731,
0.01778571680188179,
-0.03177867829799652,
0.04018786549568176,
0.006426610518246889,
-0.05735103413462639,
-0.052562203258275986,
0.028215790167450905,
-0.026300257071852684,
0.008926380425691605,
0.06443850696086884,
0.04187353327870369,
0.005669975187629461,
0.02371428906917572,
0.028349876403808594,
-0.022335106506943703,
-0.011675168760120869,
0.006057870574295521,
-0.039306722581386566,
-0.034881841391325,
-0.01587018370628357,
0.05941981077194214,
-0.013379992917180061,
-0.03114655427634716,
0.013514080084860325,
-0.013801409862935543,
-0.00801171362400055,
0.039766449481248856,
-0.025093471631407738,
0.030725136399269104,
-0.0632125660777092,
-0.004898973740637302,
0.06267621368169785,
-0.05566536635160446,
-0.019806602969765663,
-0.05260051414370537,
-0.08704178035259247,
0.03854050859808922,
0.02040041796863079,
0.002631462411954999,
-0.017661206424236298,
0.04501500725746155,
-0.012853221036493778,
0.07416940480470657,
0.01131121814250946,
0.011656013317406178,
0.005976460408419371,
-0.004307553172111511,
-0.040685903280973434,
-0.041337184607982635,
-0.017709095031023026,
0.0693039521574974,
0.008662994019687176,
-0.037372034043073654,
-0.038329798728227615,
-0.022545814514160156,
0.04696885123848915,
0.019787447527050972,
0.032315026968717575,
-0.0004803795600309968,
-0.06551120430231094,
-0.019710825756192207,
-0.04436372593045235,
0.05991784855723381,
0.002700900426134467,
0.026817450299859047,
0.035628899931907654,
0.012450959533452988,
-0.014500578865408897,
-0.03267898038029671,
0.04585784301161766,
0.08144842833280563,
0.035475656390190125,
-0.005641242489218712,
0.07397785037755966,
-0.03350265696644783,
-0.015027349814772606,
-0.0026697730645537376,
-0.03560974448919296,
-0.052102476358413696,
0.03777429461479187,
-0.05233234167098999,
0.011895455420017242,
-0.04601108282804489,
-0.036126937717199326,
-0.027315489947795868,
-0.060454197227954865,
-0.02480614185333252,
-0.01207743026316166,
0.06348073482513428,
0.039881382137537,
-0.009687804616987705,
0.007513674907386303,
0.0640937089920044,
0.016598086804151535,
-0.04834803193807602,
-0.0035988062154501677,
-0.011406994424760342,
-0.039306722581386566,
0.01035345159471035,
-0.01684710569679737,
0.002746394369751215,
-0.02608954906463623,
-0.017249368131160736,
0.04091576859354973,
-0.013935497030615807,
-0.07784722745418549,
0.024901919066905975,
-0.018618972972035408,
-0.024059085175395012,
-0.0016868655802682042,
-0.05547381192445755,
-0.00537785654887557,
0.030935844406485558,
0.021568892523646355,
-0.07156428694725037,
0.08619894832372665,
0.020611125975847244,
-0.06577937304973602,
0.025093471631407738,
-0.0022387781646102667,
-0.07983938604593277,
-0.03212347626686096,
0.043712444603443146,
0.020649436861276627,
-0.028541430830955505,
-0.010832334868609905,
0.01628202386200428,
-0.0030289352871477604,
0.03551396727561951,
0.006110547576099634,
-0.03346434608101845,
-0.00995119009166956,
0.008907224982976913,
-0.012048698030412197,
0.05608678236603737,
-0.004460795782506466,
0.060607440769672394,
-0.04060928151011467,
0.06325087696313858,
-0.010851490311324596,
-0.03938334062695503,
0.0008536090608686209,
0.0006048891809768975,
-0.04727533459663391,
-0.04129887372255325,
-0.00418064882978797,
0.08987677097320557,
0.059841226786375046,
-0.008418763987720013,
-0.0022603280376642942,
0.02151142619550228,
0.056048471480607986,
-0.021894533187150955,
0.011847566813230515,
0.0004109415167476982,
-0.013265060260891914,
0.043252717703580856,
-0.008888069540262222,
-0.052562203258275986,
-0.03790838271379471,
0.009922456927597523,
0.05466929078102112,
0.06271452456712723,
-0.006910282652825117,
-0.05486084148287773,
-0.026913227513432503,
0.00924244336783886,
-0.0394599623978138,
0.0031678113155066967,
-0.09884145855903625,
0.05505239591002464,
0.01122501865029335,
-0.033426038920879364,
0.027736905962228775,
0.07861344516277313,
0.06332749128341675
] |
18,060 | imodels.algebraic.tree_gam | predict | null | def predict(self, X, marginal_only=False):
if isinstance(self, RegressorMixin):
return self.predict_proba(X, marginal_only=marginal_only)[:, 1]
elif isinstance(self, ClassifierMixin):
return np.argmax(self.predict_proba(X, marginal_only=marginal_only), axis=1)
| (self, X, marginal_only=False) | [
0.04447284713387489,
-0.006507789250463247,
-0.00407180143520236,
0.0018951497040688992,
0.01822890155017376,
-0.04844490438699722,
-0.007447605952620506,
-0.038550227880477905,
0.07901555299758911,
0.02493174746632576,
0.052239637821912766,
-0.011206873692572117,
0.04121008515357971,
0.010958620347082615,
-0.016783712431788445,
-0.032521214336156845,
0.033088650554418564,
-0.00930064171552658,
-0.04670712724328041,
0.03933045268058777,
0.04589143767952919,
0.01931057870388031,
-0.06213431432843208,
-0.013033310882747173,
0.000005121441063238308,
-0.007421007379889488,
-0.006525521632283926,
0.0019516717875376344,
0.06330464780330658,
0.024080593138933182,
-0.01308650802820921,
-0.008094838820397854,
-0.05968724191188812,
0.012988978996872902,
-0.004765581339597702,
0.01727135293185711,
-0.002491401508450508,
0.03236162289977074,
0.017342282459139824,
-0.049083270132541656,
-0.050608254969120026,
-0.07958298921585083,
-0.010949754156172276,
-0.005829524714499712,
-0.04436645284295082,
-0.02397419884800911,
0.0026731586549431086,
0.02918752282857895,
-0.01061283890157938,
0.00330265867523849,
-0.016083281487226486,
-0.01984255015850067,
0.04440191760659218,
-0.004712384194135666,
0.010923155583441257,
0.042096707969903946,
0.06355290114879608,
0.054580312222242355,
-0.050891973078250885,
-0.033762481063604355,
0.03576624020934105,
-0.0033536392729729414,
0.00868887361139059,
-0.012891450896859169,
0.035979028791189194,
-0.03420579060912132,
-0.003156366292387247,
0.006130975671112537,
-0.0022353900130838156,
0.002859348664060235,
-0.02890380471944809,
-0.04191938042640686,
-0.050076283514499664,
0.04748735576868057,
0.01192503608763218,
-0.02040998637676239,
0.035003747791051865,
-0.02110155113041401,
0.02792852185666561,
0.03894034028053284,
-0.02739655040204525,
-0.025782901793718338,
-0.03106715716421604,
-0.007474204525351524,
-0.020179465413093567,
-0.11213966459035873,
0.009637556970119476,
-0.03862115740776062,
0.0283540990203619,
0.019523367285728455,
-0.03269853815436363,
0.056105297058820724,
0.05050186067819595,
0.05426112934947014,
-0.0022531223949044943,
0.04656526818871498,
0.03823104500770569,
0.03943684697151184,
-0.01334362756460905,
0.04968617111444473,
-0.04770014435052872,
0.08454806357622147,
-0.024984944611787796,
0.006902334745973349,
-0.00027734573814086616,
0.08242017030715942,
-0.02509133890271187,
0.06351743638515472,
-0.04872862249612808,
-0.0421321727335453,
-0.0487995520234108,
0.0331418476998806,
-0.017368881031870842,
-0.014806549996137619,
-0.00883959885686636,
-0.007811120245605707,
-0.07461792230606079,
-0.014123852364718914,
-0.07426326721906662,
0.03236162289977074,
-0.0142391137778759,
0.04096183180809021,
-0.017865387722849846,
-0.055005889385938644,
-0.06951098889112473,
0.008467218838632107,
0.053906481713056564,
0.038018256425857544,
0.003273843554779887,
-0.0053418842144310474,
-0.019895747303962708,
-0.001630272134207189,
-0.04216763749718666,
-0.013441155664622784,
-0.015462648123502731,
0.0011880705133080482,
0.013166303746402264,
-0.02723695896565914,
-0.022821592167019844,
-0.02546371892094612,
0.08795268088579178,
0.015436049550771713,
0.06160233914852142,
0.05915527045726776,
0.02477215602993965,
-0.03236162289977074,
0.05110476166009903,
0.0468844510614872,
0.037982791662216187,
-0.04436645284295082,
0.01644679717719555,
-0.035393860191106796,
0.03844383358955383,
-0.051991380751132965,
0.007607197389006615,
0.03383341059088707,
-0.048125721514225006,
-0.03285812959074974,
0.002586713060736656,
-0.05606983229517937,
-0.05575064942240715,
-0.03741535544395447,
-0.02161579020321369,
-0.006357063539326191,
0.016668451949954033,
-0.020214930176734924,
0.01696103624999523,
0.0073766764253377914,
0.024612564593553543,
0.022927986457943916,
0.08986777812242508,
-0.037450820207595825,
0.012066895142197609,
-0.000917097320780158,
-0.033354636281728745,
0.027307888492941856,
0.004457480739802122,
-0.031989239156246185,
0.008768669329583645,
0.052097778767347336,
0.09000963717699051,
-0.020924225449562073,
0.021456198766827583,
-0.03151046484708786,
0.0013110889121890068,
-0.032148830592632294,
-0.012935781851410866,
0.018423957750201225,
-0.024470705538988113,
0.0703621432185173,
0.007647095248103142,
0.0017721311887726188,
-0.015453781932592392,
0.0008633459801785648,
-0.0176525991410017,
-0.006463457830250263,
0.020498648285865784,
0.01061283890157938,
-0.013804669491946697,
-0.01861901581287384,
0.0031652324832975864,
-0.02987908571958542,
-0.018131373450160027,
0.0383019745349884,
-0.07341211289167404,
0.05160126835107803,
-0.007700292393565178,
0.024736691266298294,
-0.0361386202275753,
-0.08610851317644119,
-0.00465918704867363,
-0.0012756241485476494,
0.007718024775385857,
-0.01987801492214203,
0.03645780310034752,
0.033336903899908066,
0.05564425513148308,
-0.03491508588194847,
-0.03042878955602646,
-0.017891986295580864,
0.013015578500926495,
-0.021562593057751656,
-0.014611493796110153,
0.06497149914503098,
0.037734538316726685,
-0.05791400372982025,
-0.0041227820329368114,
0.015187796205282211,
0.022112296894192696,
-0.01642906479537487,
0.035411592572927475,
0.020587310194969177,
0.021438466385006905,
-0.018707677721977234,
0.004510677885264158,
-0.01712949387729168,
0.0036462238058447838,
-0.023193972185254097,
-0.013317028991878033,
0.03599676117300987,
0.01232401467859745,
0.03381567820906639,
-0.01563997194170952,
0.03411712870001793,
0.008582479320466518,
0.03340783342719078,
0.008671141229569912,
0.03720256686210632,
-0.001319955219514668,
0.022218691185116768,
0.013405690900981426,
0.009797148406505585,
-0.016943303868174553,
-0.006454591639339924,
-0.00026169136981479824,
-0.006618616636842489,
0.033230509608983994,
0.06323371827602386,
0.0174043457955122,
0.07525628805160522,
-0.04720363765954971,
-0.0059226201847195625,
-0.01957656443119049,
-0.05082104355096817,
0.0023096443619579077,
0.012270817533135414,
0.010036535561084747,
0.015569043345749378,
-0.010506443679332733,
0.04248682036995888,
0.030978495255112648,
0.023655015975236893,
0.010160662233829498,
-0.053090792149305344,
0.002175543224439025,
0.00344451772980392,
-0.0034179191570729017,
-0.028691016137599945,
0.02042771875858307,
-0.028655551373958588,
0.00000942033511819318,
-0.07951205968856812,
-0.006733877118676901,
0.026811381801962852,
-0.0301450714468956,
-0.019399240612983704,
0.03688338026404381,
-0.02560557797551155,
0.047629214823246,
0.04660073295235634,
0.0399688184261322,
0.039365917444229126,
0.0168635081499815,
0.02698870562016964,
-0.005408380646258593,
-0.03096076287329197,
0.033496495336294174,
-0.003898910479620099,
0.03769907355308533,
-0.028868339955806732,
0.005133528262376785,
-0.022573338821530342,
-0.060219213366508484,
-0.05493495985865593,
0.004430882167071104,
0.02642126940190792,
0.05823318660259247,
0.02546371892094612,
-0.05489949509501457,
0.03495055064558983,
0.011073880828917027,
0.01574636623263359,
-0.015258725732564926,
0.049366988241672516,
-0.09816654026508331,
-0.024417508393526077,
0.08390969038009644,
0.03190057724714279,
0.052665214985609055,
0.010187260806560516,
-0.012146690860390663,
0.025375057011842728,
0.00543941231444478,
0.003213996533304453,
0.034578170627355576,
-0.030038677155971527,
-0.013175169937312603,
-0.0004275169631000608,
-0.04078450798988342,
0.04557225480675697,
0.02395646646618843,
0.006441292352974415,
-0.024630296975374222,
0.030517451465129852,
-0.046636197715997696,
0.07121329754590988,
-0.023389028385281563,
0.02149166353046894,
0.004450831096619368,
-0.003723802976310253,
-0.08156901597976685,
-0.04255774989724159,
-0.037592679262161255,
0.05234603211283684,
-0.026527663692831993,
-0.0029103292617946863,
-0.015941422432661057,
0.09171194583177567,
0.007975144311785698,
-0.006481190212070942,
-0.0435507632791996,
0.032255228608846664,
0.05188498646020889,
0.034329917281866074,
-0.04862222820520401,
-0.05794946849346161,
-0.020232662558555603,
0.005918187089264393,
-0.01000993698835373,
0.00793967954814434,
0.009965606033802032,
-0.02477215602993965,
0.0005890480242669582,
0.0006029014475643635,
-0.024984944611787796,
-0.004308972042053938,
-0.08681780844926834,
0.037592679262161255,
0.06482964009046555,
-0.017732394859194756,
0.009788282215595245,
0.017351148650050163,
-0.0842643454670906,
0.04585597291588783,
-0.027733465656638145,
0.06419126689434052,
0.004880841821432114,
0.0013731523649767041,
0.02491401508450508,
0.012297416105866432,
-0.02494947984814644,
-0.05174312740564346,
0.013680542819201946,
-0.005603436846286058,
0.0034644666593521833,
0.044189129024744034,
0.07972484827041626,
-0.06855344027280807,
0.036528732627630234,
-0.041174620389938354,
0.01178317703306675,
-0.03489735350012779,
-0.08844918757677078,
-0.0413874089717865,
-0.09256310015916824,
-0.018175704404711723,
0.021580325439572334,
0.046246085315942764,
-0.014265712350606918,
0.018042711541056633,
-0.018548084422945976,
0.038018256425857544,
0.024967212229967117,
-0.033780213445425034,
-0.014895211905241013,
-0.004920739680528641,
0.00959322601556778,
0.007647095248103142,
-0.004005304537713528,
0.06865983456373215,
-0.012421542778611183,
0.07788068056106567,
0.0076781269162893295,
-0.015134599059820175,
0.021668987348675728,
0.04699084535241127,
0.025570113211870193,
0.04174205660820007,
0.0049517713487148285,
-0.03670605644583702,
0.02340676076710224,
0.003987572155892849,
-0.02014400064945221,
-0.02450617030262947,
0.0025024842470884323,
0.011543788947165012,
-0.00958435982465744,
0.010231591761112213,
0.04287693277001381,
0.0029834755696356297,
-0.041635662317276,
-0.06011281907558441,
-0.060183748602867126,
-0.018831804394721985,
-0.0085558807477355,
0.019097790122032166,
-0.01205802895128727,
0.021846311166882515,
-0.03975602984428406,
0.005146827548742294,
-0.0069732642732560635,
0.023495422676205635,
0.0228570569306612,
-0.00014573812950402498,
-0.008595778606832027,
0.011995965614914894,
-0.022147761657834053,
-0.031599126756191254,
-0.015045937150716782,
-0.06656741350889206,
0.02615528367459774,
-0.00882629957050085,
0.06202792003750801,
0.057594820857048035,
0.0011747712269425392,
-0.03284039720892906,
-0.010204993188381195,
-0.07766789197921753,
0.0490478053689003,
0.008201233111321926,
-0.037308961153030396,
0.013733739964663982,
0.02134980447590351,
-0.02478988841176033,
0.025960225611925125,
-0.03383341059088707,
-0.03918859362602234,
0.0011747712269425392,
-0.027077367529273033,
-0.02042771875858307,
0.04585597291588783,
-0.013246099464595318,
0.010488711297512054,
-0.012527937069535255,
-0.010213859379291534,
0.03592583164572716,
0.06287907063961029,
-0.006822539027780294,
-0.010426647961139679,
0.006246236152946949,
0.02902793139219284,
-0.0005394527106545866,
-0.014567162841558456,
-0.019009128212928772,
0.0044929455034434795,
-0.036085423082113266,
-0.05589250847697258,
0.022786127403378487,
-0.02532185986638069,
0.03227296099066734,
0.0001860516204033047,
0.07100050896406174,
0.04078450798988342,
0.0490478053689003,
-0.05358729884028435,
-0.0098680779337883,
0.03195377439260483,
-0.048835016787052155,
0.03127994388341904,
0.002123454352840781,
0.023052113130688667,
-0.0017455326160416007,
-0.006241803057491779,
-0.02053411304950714,
-0.06277267634868622,
0.023903269320726395,
-0.025977957993745804,
0.05358729884028435,
-0.017218155786395073,
0.042522285133600235,
0.012829387560486794,
0.019523367285728455,
-0.03833743929862976,
0.01860128343105316,
0.009291775524616241,
0.04174205660820007,
0.05660180374979973,
0.04383448138833046,
0.00946023315191269,
-0.030216000974178314,
0.006756042595952749,
0.02478988841176033,
-0.03578397259116173,
-0.018796339631080627,
-0.030091874301433563,
0.0890166237950325,
0.04344436898827553,
-0.023193972185254097,
-0.010719233192503452,
0.00924744363874197,
-0.010018803179264069,
-0.024860817939043045,
0.01710289530456066,
0.06050293147563934,
-0.02945350855588913,
-0.00344008463434875,
0.0114285284653306,
0.020339056849479675,
0.005009401589632034,
0.014017458073794842,
-0.019523367285728455,
-0.07124876230955124,
-0.002369491383433342,
0.013432289473712444,
0.009655289351940155,
-0.03769907355308533,
-0.046636197715997696,
0.01273185946047306,
-0.055147748440504074,
0.04401180520653725,
-0.06904994696378708,
-0.020250394940376282,
-0.018849536776542664,
0.021456198766827583,
0.06514882296323776,
0.0667802020907402,
0.007443172857165337,
0.04337343946099281,
0.0044796462170779705,
0.04986349493265152,
-0.054580312222242355,
-0.06720577925443649,
0.08149808645248413,
-0.015285324305295944,
-0.0006921175518073142,
0.04269960895180702,
-0.05606983229517937,
0.0985921174287796,
-0.017918584868311882,
-0.023335831239819527,
0.02918752282857895,
0.049118734896183014,
-0.06504242867231369,
0.00448407931253314,
0.01821116916835308,
0.03285812959074974,
-0.012341747060418129,
-0.0350569449365139,
-0.04152926802635193,
0.042664144188165665,
-0.009522296488285065,
-0.005244355648756027,
0.049366988241672516,
-0.016907839104533195,
-0.020995154976844788,
0.0328935943543911,
-0.0588715523481369,
0.015852760523557663,
-0.001552692847326398,
-0.056637268513441086,
-0.06163780391216278,
0.0011780960485339165,
0.0017965133301913738,
-0.009362705051898956,
0.07355397194623947,
0.006263968534767628,
-0.006126542575657368,
0.007873183116316795,
-0.0008212315733544528,
-0.06607090681791306,
0.017501873895525932,
0.04337343946099281,
-0.001630272134207189,
0.00023675517877563834,
0.02672271989285946,
-0.018388492986559868,
-0.06649648398160934,
0.04844490438699722,
0.021420734003186226,
-0.03823104500770569,
-0.04220310226082802,
-0.010923155583441257,
-0.031563661992549896,
-0.01591482385993004,
0.004129431676119566,
-0.0074165742844343185,
-0.04621062055230141,
0.045146677643060684,
-0.012448141351342201,
0.05709831416606903,
0.04067811369895935,
-0.05195591598749161,
-0.019009128212928772,
0.04918966442346573,
-0.029950015246868134,
0.025162268429994583,
0.017723528668284416,
-0.07965391874313354,
0.06376568973064423,
0.041032761335372925,
0.0378054678440094,
0.02385007217526436,
0.03324824199080467,
-0.024470705538988113,
0.05114022642374039,
0.011623584665358067,
-0.008795267902314663,
0.051423944532871246,
0.0036617396399378777,
-0.04947338253259659,
-0.07209991663694382,
-0.011667915619909763,
0.02491401508450508,
-0.011393063701689243,
-0.006866869982331991,
-0.041458338499069214,
-0.014425303786993027,
0.018973663449287415,
0.06688659638166428,
-0.04887048155069351,
0.004038553219288588,
-0.06830518692731857,
-0.019416972994804382,
0.019948944449424744,
0.017209289595484734,
-0.046529803425073624,
-0.005027133971452713,
0.0605383962392807,
-0.04287693277001381,
-0.022431479766964912,
-0.036493267863988876,
-0.04028800129890442,
0.024435240775346756,
-0.0048409439623355865,
0.0660354420542717,
0.008742070756852627,
-0.09220845252275467,
-0.07238363474607468,
0.008999190293252468,
-0.03940138220787048,
-0.0025977957993745804,
0.04986349493265152,
-0.044295523315668106,
-0.044330988079309464,
0.06064479053020477,
-0.06096397340297699,
0.04894141107797623,
-0.018548084422945976,
0.018024979159235954,
0.012403810396790504,
0.05128208547830582,
-0.006521088536828756,
0.014753352850675583,
0.032929059118032455,
0.017705796286463737,
-0.06812786310911179,
-0.005927053280174732,
0.026385804638266563,
-0.0344717763364315,
0.0033004421275109053,
0.043621692806482315,
-0.04720363765954971,
0.04195484519004822,
-0.040890902280807495,
0.034312184900045395,
-0.000819015025626868,
-0.04298332706093788,
0.03452497348189354,
-0.02576516941189766,
0.006716144736856222,
-0.013113106600940228,
-0.03550025448203087,
-0.04784200340509415,
0.004730116575956345,
-0.05578611418604851,
0.054048340767621994,
-0.0572047084569931,
0.0004973382456228137,
0.009371571242809296,
-0.053764622658491135,
-0.002903679618611932,
0.03844383358955383,
-0.0017233671387657523,
-0.031847380101680756,
0.00973508507013321,
0.04000428318977356,
-0.02397419884800911,
0.018654480576515198,
-0.023761410266160965,
0.005763028282672167,
-0.019062325358390808,
-0.02697097323834896,
0.012368345633149147,
0.03571304306387901,
-0.023725945502519608,
-0.03656419739127159,
0.06968831270933151,
-0.08717245608568192,
0.012368345633149147,
0.03720256686210632,
0.024612564593553543,
0.0005497042438946664,
-0.032521214336156845,
-0.03303545340895653,
0.005731996614485979,
-0.017563937231898308,
-0.0638720840215683,
-0.047593750059604645,
0.019221916794776917,
0.0031652324832975864,
-0.035837169736623764,
-0.023087577894330025,
0.0205695778131485,
0.009637556970119476,
-0.0035952432081103325,
-0.00018425067537464201,
-0.07217084616422653,
-0.00015460432041436434,
0.03025146573781967,
-0.020037606358528137,
-0.009832613170146942,
0.03659966215491295,
0.006866869982331991,
-0.030056409537792206,
0.056105297058820724,
0.0234422255307436,
0.020498648285865784,
-0.05220417305827141,
0.0017499657114967704,
-0.023938734084367752,
0.011065014638006687,
-0.035553451627492905,
-0.045962367206811905,
-0.039259523153305054,
0.016393600031733513,
-0.019416972994804382,
0.027733465656638145,
0.03330143913626671
] |
18,061 | imodels.algebraic.tree_gam | predict_proba |
Params
------
marginal_only: bool
If True, only use the marginal effects.
| def predict_proba(self, X, marginal_only=False):
"""
Params
------
marginal_only: bool
If True, only use the marginal effects.
"""
X = check_array(X, accept_sparse=False, dtype=None)
check_is_fitted(self)
probs1 = np.ones(X.shape[0]) * self.bias_
# marginal prediction
for i, est in enumerate(self.estimators_marginal):
probs1 += est.predict(X) * self.marginal_coef_[i]
# cyclic coefs prediction
if not marginal_only:
if not hasattr(self, "cyclic_coef_"):
cyclic_coef_ = np.ones(
len(self.estimators_)) * self.learning_rate
else:
cyclic_coef_ = self.cyclic_coef_
# print('coef', cyclic_coef_)
if self.decay_rate_towards_marginal < 1.0:
for i, est in enumerate(self.estimators_):
if i < len(self.decay_coef_towards_marginal_):
probs1 += (
cyclic_coef_[i]
* self.decay_coef_towards_marginal_[i]
* est.predict(X)
)
else:
probs1 += cyclic_coef_[i] * est.predict(X)
else:
for i, est in enumerate(self.estimators_):
probs1 += cyclic_coef_[i] * est.predict(X)
probs1 = np.clip(probs1, a_min=0, a_max=1)
return np.array([1 - probs1, probs1]).T
| (self, X, marginal_only=False) | [
0.022640395909547806,
0.01956532895565033,
-0.03486872464418411,
-0.011365154758095741,
-0.00398095091804862,
-0.04617993161082268,
-0.047726456075906754,
-0.08013153076171875,
0.027046190574765205,
0.04819400981068611,
0.018917948007583618,
-0.006280506961047649,
0.038914863020181656,
0.03862714022397995,
-0.060170579701662064,
-0.01399064902216196,
0.04215177521109581,
0.0030773135367780924,
-0.0388069674372673,
0.032674819231033325,
0.04938087612390518,
0.002459153300151229,
-0.07261470705270767,
0.05535117909312248,
-0.03797975555062294,
-0.04671941697597504,
-0.05686173960566521,
-0.002816562307998538,
0.026093101128935814,
0.03855520859360695,
0.012048502452671528,
-0.0388069674372673,
-0.03134408965706825,
-0.018702153116464615,
0.02024867758154869,
0.0171106718480587,
0.037116579711437225,
0.01936751790344715,
-0.054955556988716125,
-0.05711349844932556,
0.001740963663905859,
-0.07013307511806488,
-0.022838206961750984,
-0.026326877996325493,
-0.015627088025212288,
-0.04794225096702576,
-0.017173612490296364,
0.08559831976890564,
-0.027279967442154884,
0.015321379527449608,
-0.003580832853913307,
-0.02848481759428978,
0.06998921185731888,
-0.017209578305482864,
0.01497071422636509,
0.06128551810979843,
0.0415043942630291,
0.011302215047180653,
0.0035381237976253033,
-0.04161228984594345,
0.04398602619767189,
-0.01676899753510952,
0.031146278604865074,
-0.015267430804669857,
0.04100087285041809,
-0.023953141644597054,
-0.01829754002392292,
-0.021759236231446266,
0.007026794366538525,
-0.007211118470877409,
0.0007670805207453668,
-0.03988593816757202,
-0.04118070378899574,
0.04175615310668945,
-0.02916816622018814,
-0.0178389772772789,
0.027190053835511208,
-0.04578430950641632,
0.018306531012058258,
0.028233058750629425,
-0.014790885150432587,
-0.02201099507510662,
-0.02852078340947628,
-0.060781996697187424,
-0.019079793244600296,
-0.0768946185708046,
-0.0069998204708099365,
-0.04941684380173683,
0.030678724870085716,
0.031218210235238075,
-0.014422236941754818,
0.035659972578287125,
0.07160766422748566,
0.05700560286641121,
0.01756923459470272,
0.041971947997808456,
0.026812413707375526,
0.01596876233816147,
0.0075572882778942585,
0.021453527733683586,
-0.03404151648283005,
0.05696963518857956,
-0.021885115653276443,
0.035246364772319794,
-0.0111044030636549,
0.047186970710754395,
-0.05596259608864784,
0.040749114006757736,
-0.001809523208066821,
-0.051323022693395615,
-0.060314442962408066,
0.0118327084928751,
-0.01096953172236681,
-0.035893749445676804,
-0.018504342064261436,
0.0006232177838683128,
-0.05524328351020813,
0.007782073691487312,
-0.010421055369079113,
0.02434876561164856,
0.03238709270954132,
0.02469043806195259,
-0.018162667751312256,
-0.03339413180947304,
-0.053804654628038406,
-0.02190309949219227,
0.05448800325393677,
0.052653755992650986,
0.004414787050336599,
0.005125109106302261,
-0.04743872955441475,
-0.007413425482809544,
-0.0237733144313097,
-0.02763962373137474,
0.030157221481204033,
-0.043662335723638535,
0.00036049974733032286,
-0.022388635203242302,
-0.016211530193686485,
-0.023071983829140663,
0.07408929616212845,
0.012983609922230244,
0.04736679792404175,
0.03146997094154358,
0.008897010236978531,
-0.016211530193686485,
0.06182500347495079,
0.015411293134093285,
0.021867133677005768,
-0.013235369697213173,
0.01399064902216196,
-0.022604430094361305,
-0.007997867651283741,
-0.03418537974357605,
0.0026524688582867384,
0.018171658739447594,
-0.030390998348593712,
-0.044849202036857605,
0.00691889738664031,
-0.04175615310668945,
-0.052042338997125626,
-0.016355393454432487,
-0.004430522210896015,
-0.003187458263710141,
0.028988337144255638,
0.018828032538294792,
-0.004913811106234789,
0.04269126057624817,
0.025553615763783455,
-0.005044186487793922,
0.04999229311943054,
-0.04862559959292412,
-0.01879206672310829,
0.0028345449827611446,
-0.008240636438131332,
0.0476904921233654,
0.003911267500370741,
-0.03670297563076019,
-0.013343267142772675,
0.03855520859360695,
0.06887427717447281,
-0.017218569293618202,
0.005714047234505415,
-0.04682731255888939,
-0.016301443800330162,
-0.0024276834446936846,
0.012012536637485027,
0.02499614655971527,
-0.018432410433888435,
0.0564301498234272,
-0.01622951216995716,
-0.0004734544490929693,
0.032746750861406326,
0.03747623786330223,
-0.0009171247947961092,
-0.004093343857675791,
0.02740584686398506,
0.00811475608497858,
0.020032882690429688,
-0.021993013098835945,
0.04114473611116409,
-0.03344808146357536,
-0.007912449538707733,
0.022136876359581947,
-0.033520013093948364,
0.023899193853139877,
-0.02278425730764866,
0.003299850970506668,
0.0007002068450674415,
-0.07847711443901062,
-0.011958587914705276,
0.010528952814638615,
0.0712120458483696,
-0.04582027345895767,
0.02515799179673195,
0.043662335723638535,
0.06973744928836823,
-0.034473102539777756,
-0.020967990159988403,
-0.021759236231446266,
0.02906026877462864,
-0.015519190579652786,
-0.014647022821009159,
0.04380619898438454,
0.04621589928865433,
-0.03024713695049286,
0.008699198253452778,
0.026506705209612846,
0.04409392178058624,
-0.009584853425621986,
0.014763911254703999,
0.02702820859849453,
-0.0024996146094053984,
-0.049596671015024185,
0.06110568717122078,
0.0008423836552537978,
-0.013666958548128605,
-0.03184760734438896,
-0.0443456806242466,
0.019745158031582832,
0.030534861609339714,
0.04315881431102753,
0.007431408390402794,
0.045352719724178314,
0.020050866529345512,
0.04822997748851776,
0.051323022693395615,
0.02143554389476776,
-0.006105173844844103,
0.00455640209838748,
0.008762138895690441,
-0.01661614328622818,
-0.03339413180947304,
0.008793608285486698,
0.005583671852946281,
-0.02916816622018814,
0.04096490889787674,
0.07502440363168716,
0.02580537460744381,
0.07631917297840118,
-0.027459796518087387,
-0.030193187296390533,
-0.05945126712322235,
-0.030714690685272217,
0.0177670456469059,
0.025697477161884308,
0.013370241038501263,
0.009998458437621593,
0.00888352282345295,
0.057868778705596924,
0.05916354060173035,
0.0085373530164361,
0.005282459314912558,
-0.021273698657751083,
-0.015078610740602016,
0.017928890883922577,
0.01581590808928013,
-0.03970611095428467,
0.02580537460744381,
-0.0025175975169986486,
-0.0021972781978547573,
-0.08689308166503906,
-0.0001799688907340169,
0.017542259767651558,
0.007687664125114679,
-0.03395160287618637,
0.02350357174873352,
0.0340774804353714,
0.062004830688238144,
0.041828084737062454,
0.038375381380319595,
0.027477778494358063,
0.04452551156282425,
0.005448800511658192,
0.035929713398218155,
-0.006725581828504801,
0.05215023458003998,
-0.014763911254703999,
-0.003504405962303281,
-0.021255716681480408,
0.0446334071457386,
0.007777578197419643,
-0.04276319220662117,
-0.03625340387225151,
0.004547410644590855,
0.03995786979794502,
0.0714278370141983,
0.036307353526353836,
-0.02909623458981514,
0.026398807764053345,
0.006855957675725222,
0.02139957994222641,
0.018153676763176918,
0.04988439753651619,
-0.0890510231256485,
-0.04815804585814476,
0.06520577520132065,
0.01761419139802456,
0.05520731583237648,
0.001293640467338264,
-0.024186918511986732,
0.048445768654346466,
0.02652468904852867,
-0.004783435259014368,
0.024708421900868416,
-0.027819452807307243,
0.04031752794981003,
0.023179879412055016,
-0.046000104397535324,
0.0013116233749315143,
0.001953386003151536,
-0.011374145746231079,
-0.029294045642018318,
0.0505317784845829,
-0.04711503908038139,
0.04617993161082268,
-0.01435929723083973,
-0.001900561386719346,
0.020608333870768547,
-0.01730848290026188,
-0.021453527733683586,
-0.0476904921233654,
-0.02526588924229145,
0.02461850829422474,
-0.020878076553344727,
-0.024870267137885094,
0.015312387607991695,
0.12149206548929214,
0.0007288669585250318,
0.02947387471795082,
-0.010654832236468792,
0.03195550665259361,
0.07459282130002975,
0.10314957052469254,
-0.03747623786330223,
-0.04031752794981003,
-0.004846375435590744,
-0.007274058647453785,
0.02319786325097084,
-0.00412706146016717,
-0.014808868058025837,
0.0035516107454895973,
-0.01453013438731432,
0.027477778494358063,
0.02082412876188755,
-0.0047474694438278675,
-0.09948106855154037,
0.03308842331171036,
0.04567641392350197,
-0.042439501732587814,
0.01123927440494299,
-0.01395468320697546,
-0.05754508823156357,
0.028880439698696136,
-0.0022838206496089697,
0.03700868412852287,
-0.03700868412852287,
-0.013073524460196495,
0.051430922001600266,
0.04038945958018303,
-0.011967579834163189,
-0.06470225751399994,
-0.020842110738158226,
0.019187690690159798,
0.02844885177910328,
0.023107949644327164,
0.08833170682191849,
-0.04671941697597504,
0.07444895803928375,
-0.048337873071432114,
0.03931048884987831,
-0.027621641755104065,
-0.0709962472319603,
-0.026290912181138992,
-0.08818784356117249,
-0.0019275356316938996,
0.03353799507021904,
0.04031752794981003,
-0.01741638034582138,
0.005866901483386755,
-0.003924754913896322,
0.023863228037953377,
-0.00020778609905391932,
-0.033555977046489716,
-0.037116579711437225,
-0.034329239279031754,
0.01202152855694294,
0.016903869807720184,
0.0005701121990568936,
0.1013512834906578,
-0.030373016372323036,
0.04617993161082268,
0.035048555582761765,
-0.03984997421503067,
0.0011868673609569669,
0.03700868412852287,
-0.024097004905343056,
-0.005988285411149263,
0.017713097855448723,
-0.03652314841747284,
0.0625443160533905,
-0.01596876233816147,
-0.02710013836622238,
-0.0056735859252512455,
0.015645070001482964,
-0.002165808342397213,
-0.01611262373626232,
0.028988337144255638,
0.019817089661955833,
-0.015465241856873035,
0.005480270367115736,
-0.06549350172281265,
-0.04819400981068611,
-0.06477418541908264,
-0.01451215147972107,
0.0028570236172527075,
-0.010322149842977524,
0.0341494120657444,
-0.013127473182976246,
0.007795561105012894,
-0.005412834696471691,
0.003232415532693267,
0.04707907512784004,
-0.007889971137046814,
0.000179828391992487,
0.01230925414711237,
0.007988876663148403,
-0.04556851461529732,
-0.028304990381002426,
-0.05862405523657799,
0.03637928515672684,
0.0017308483365923166,
0.04092894122004509,
0.04118070378899574,
-0.003452705219388008,
-0.011589939706027508,
0.011778759770095348,
-0.05945126712322235,
0.017020758241415024,
0.029347993433475494,
-0.011589939706027508,
-0.0010817801812663674,
0.01997893489897251,
0.020050866529345512,
0.015708010643720627,
-0.008087782189249992,
-0.005988285411149263,
0.03476082906126976,
-0.011976570822298527,
-0.0034099959302693605,
0.004365334287285805,
-0.017092689871788025,
0.021813184022903442,
-0.01933155208826065,
-0.030265118926763535,
0.03405949845910072,
0.018000822514295578,
-0.020158763974905014,
0.018971895799040794,
0.021687304601073265,
0.02102193981409073,
-0.011212300509214401,
0.01171582005918026,
0.007948415353894234,
-0.016562195494771004,
-0.0476904921233654,
-0.04028156027197838,
0.019853055477142334,
-0.035929713398218155,
0.013154447078704834,
-0.012066485360264778,
0.006019755732268095,
0.018387453630566597,
0.07617530971765518,
-0.0685146152973175,
-0.0031537404283881187,
0.05916354060173035,
-0.032099369913339615,
0.02710013836622238,
-0.029599754139780998,
0.007031290326267481,
-0.007575271185487509,
-0.020356575027108192,
-0.0416482575237751,
-0.07020500302314758,
0.018540307879447937,
-0.06650053709745407,
0.025967219844460487,
-0.03181164339184761,
0.03920258954167366,
0.006941376253962517,
-0.04233160614967346,
-0.03245902433991432,
0.022802241146564484,
-0.01399064902216196,
0.017137646675109863,
0.05937933549284935,
0.016013719141483307,
0.001915172440931201,
-0.03686482086777687,
0.04621589928865433,
0.013604017905890942,
-0.01826157420873642,
-0.06135744974017143,
-0.004396804142743349,
0.057329293340444565,
0.018666187301278114,
-0.05592663213610649,
-0.0000751626503188163,
-0.00473847845569253,
-0.012893696315586567,
-0.03499460592865944,
0.03387967124581337,
0.045460619032382965,
-0.015555156394839287,
-0.005727534182369709,
0.01230925414711237,
-0.039993833750486374,
0.012740842066705227,
0.003839336335659027,
0.0062265582382678986,
-0.060781996697187424,
0.020572368055582047,
0.02852078340947628,
0.034473102539777756,
-0.010376098565757275,
-0.04571237787604332,
0.002778348745778203,
-0.047798387706279755,
0.032980527728796005,
-0.053085342049598694,
-0.005183553323149681,
-0.01742537133395672,
0.03341211751103401,
0.048409804701805115,
0.03751220181584358,
0.021867133677005768,
0.007818039506673813,
0.030696706846356392,
0.04517289251089096,
-0.06973744928836823,
-0.052581824362277985,
0.0533730685710907,
-0.06624878197908401,
0.0016015965957194567,
0.05171864852309227,
-0.03461696580052376,
0.08761239796876907,
-0.0035133971832692623,
-0.006046729627996683,
0.05571083724498749,
0.018468376249074936,
-0.08228947222232819,
0.0111044030636549,
-0.02515799179673195,
0.012704876251518726,
0.010016441345214844,
-0.05826440081000328,
-0.037224479019641876,
0.0021062400192022324,
0.024672456085681915,
-0.012282279320061207,
0.009252171032130718,
-0.060781996697187424,
-0.01098751462996006,
0.017470328137278557,
-0.07588758319616318,
0.012471099384129047,
0.03916662558913231,
-0.06783127039670944,
-0.08768432587385178,
0.016049684956669807,
-0.03670297563076019,
-0.04808611422777176,
0.02017674595117569,
0.02438472956418991,
-0.018000822514295578,
0.021831167861819267,
-0.04049735516309738,
-0.03093048371374607,
0.00886104442179203,
0.04326671361923218,
0.0281431432813406,
0.03191953897476196,
0.012336228042840958,
-0.0015611352864652872,
-0.038303449749946594,
0.024402713403105736,
0.04502902925014496,
-0.0023669912479817867,
-0.02947387471795082,
-0.0025018625892698765,
-0.012704876251518726,
-0.03337614983320236,
-0.03670297563076019,
-0.009396033361554146,
-0.05272568389773369,
0.027621641755104065,
0.02940194308757782,
0.055495042353868484,
0.006473822053521872,
-0.05448800325393677,
-0.02339567430317402,
0.06711195409297943,
-0.07948414981365204,
-0.023036018013954163,
0.024132970720529556,
-0.11156553775072098,
0.06790320575237274,
0.002800827380269766,
0.05128705874085426,
0.049668602645397186,
0.025445718318223953,
-0.0473308339715004,
0.04815804585814476,
0.05010019242763519,
-0.0015487720957025886,
0.04341057315468788,
0.0017679379088804126,
-0.037224479019641876,
-0.05776087939739227,
0.0002596272388473153,
-0.01665210910141468,
-0.008847557008266449,
-0.015717001631855965,
-0.027459796518087387,
-0.0388069674372673,
0.009926527738571167,
0.10056003928184509,
-0.011607922613620758,
-0.011167343705892563,
-0.07854904234409332,
-0.029671685770154,
0.0021152314729988575,
-0.002807570854201913,
-0.055495042353868484,
-0.0061501311138272285,
0.08135436475276947,
-0.0355340912938118,
-0.01940348371863365,
-0.015240456908941269,
-0.050280019640922546,
0.010753737762570381,
-0.04826594144105911,
0.06236448884010315,
0.011967579834163189,
-0.058444228023290634,
-0.05103529989719391,
-0.016760006546974182,
-0.032602887600660324,
0.0018409931799396873,
0.052042338997125626,
-0.05696963518857956,
-0.021291682496666908,
0.06581719219684601,
-0.040101733058691025,
-0.013082515448331833,
0.001498195342719555,
0.014458202756941319,
0.010861635208129883,
0.0773262083530426,
0.005246493499726057,
0.006671633571386337,
-0.02564352937042713,
0.033052459359169006,
-0.06639264523983002,
0.020230693742632866,
0.014134512282907963,
-0.04819400981068611,
0.004012421239167452,
0.004311385564506054,
-0.04621589928865433,
0.025517649948596954,
-0.01125725731253624,
0.027387864887714386,
-0.002045548055320978,
-0.0356060229241848,
0.0238452460616827,
-0.013559061102569103,
-0.013298310339450836,
0.002391717629507184,
-0.031056363135576248,
-0.02278425730764866,
0.026506705209612846,
-0.06937779486179352,
0.09070543944835663,
-0.03902276232838631,
-0.026668550446629524,
-0.025517649948596954,
-0.04923701658844948,
-0.01142809446901083,
0.0687304139137268,
-0.0037201999220997095,
-0.05218620225787163,
0.0035268843639642,
0.03411344811320305,
-0.021309664472937584,
-0.005107126664370298,
-0.020014900714159012,
0.0076966555789113045,
-0.014152495190501213,
0.03632533550262451,
-0.00436308654025197,
0.03280070051550865,
-0.05333710089325905,
-0.03308842331171036,
0.02672250010073185,
-0.06311976909637451,
0.01848635822534561,
-0.0052734678611159325,
0.04517289251089096,
-0.007013307418674231,
-0.06283204257488251,
-0.03522838279604912,
0.006051225587725639,
-0.03031906671822071,
-0.037116579711437225,
-0.06768740713596344,
0.005943328607827425,
0.01439526304602623,
-0.05362482741475105,
-0.011059446260333061,
0.012713867239654064,
0.012381184846162796,
-0.040677182376384735,
0.02733391709625721,
-0.03869907185435295,
-0.016328418627381325,
0.06563736498355865,
-0.04571237787604332,
0.023827262222766876,
0.018846016377210617,
0.017245542258024216,
-0.009881570003926754,
0.06193289905786514,
-0.004621589556336403,
0.05157478526234627,
-0.03794379159808159,
-0.028125161305069923,
-0.040749114006757736,
-0.02350357174873352,
-0.009989467449486256,
-0.00743590435013175,
-0.018666187301278114,
0.05718543007969856,
-0.00608719140291214,
0.024600524455308914,
0.025211941450834274
] |
18,065 | sklearn.utils._metadata_requests | set_predict_proba_request | Request metadata passed to the ``predict_proba`` method.
Note that this method is only relevant if
``enable_metadata_routing=True`` (see :func:`sklearn.set_config`).
Please see :ref:`User Guide <metadata_routing>` on how the routing
mechanism works.
The options for each parameter are:
- ``True``: metadata is requested, and passed to ``predict_proba`` if provided. The request is ignored if metadata is not provided.
- ``False``: metadata is not requested and the meta-estimator will not pass it to ``predict_proba``.
- ``None``: metadata is not requested, and the meta-estimator will raise an error if the user provides it.
- ``str``: metadata should be passed to the meta-estimator with this given alias instead of the original name.
The default (``sklearn.utils.metadata_routing.UNCHANGED``) retains the
existing request. This allows you to change the request for some
parameters and not others.
.. versionadded:: 1.3
.. note::
This method is only relevant if this estimator is used as a
sub-estimator of a meta-estimator, e.g. used inside a
:class:`~sklearn.pipeline.Pipeline`. Otherwise it has no effect.
Parameters
----------
marginal_only : str, True, False, or None, default=sklearn.utils.metadata_routing.UNCHANGED
Metadata routing for ``marginal_only`` parameter in ``predict_proba``.
Returns
-------
self : object
The updated object.
| def __get__(self, instance, owner):
# we would want to have a method which accepts only the expected args
def func(**kw):
"""Updates the request for provided parameters
This docstring is overwritten below.
See REQUESTER_DOC for expected functionality
"""
if not _routing_enabled():
raise RuntimeError(
"This method is only available when metadata routing is enabled."
" You can enable it using"
" sklearn.set_config(enable_metadata_routing=True)."
)
if self.validate_keys and (set(kw) - set(self.keys)):
raise TypeError(
f"Unexpected args: {set(kw) - set(self.keys)}. Accepted arguments"
f" are: {set(self.keys)}"
)
requests = instance._get_metadata_request()
method_metadata_request = getattr(requests, self.name)
for prop, alias in kw.items():
if alias is not UNCHANGED:
method_metadata_request.add_request(param=prop, alias=alias)
instance._metadata_request = requests
return instance
# Now we set the relevant attributes of the function so that it seems
# like a normal method to the end user, with known expected arguments.
func.__name__ = f"set_{self.name}_request"
params = [
inspect.Parameter(
name="self",
kind=inspect.Parameter.POSITIONAL_OR_KEYWORD,
annotation=owner,
)
]
params.extend(
[
inspect.Parameter(
k,
inspect.Parameter.KEYWORD_ONLY,
default=UNCHANGED,
annotation=Optional[Union[bool, None, str]],
)
for k in self.keys
]
)
func.__signature__ = inspect.Signature(
params,
return_annotation=owner,
)
doc = REQUESTER_DOC.format(method=self.name)
for metadata in self.keys:
doc += REQUESTER_DOC_PARAM.format(metadata=metadata, method=self.name)
doc += REQUESTER_DOC_RETURN
func.__doc__ = doc
return func
| (self: imodels.algebraic.tree_gam.TreeGAMClassifier, *, marginal_only: Union[bool, NoneType, str] = '$UNCHANGED$') -> imodels.algebraic.tree_gam.TreeGAMClassifier | [
0.043795693665742874,
-0.05833084136247635,
-0.019072623923420906,
0.004722971469163895,
-0.002948884619399905,
-0.01722719334065914,
-0.011510162614285946,
0.010045233182609081,
0.05696103721857071,
0.010844285599887371,
-0.021384170278906822,
0.0065303524024784565,
0.05125351622700691,
-0.005341286305338144,
-0.019938265904784203,
0.03747937083244324,
0.02994544804096222,
0.02378132753074169,
0.03013569861650467,
-0.03367435932159424,
0.019196288660168648,
-0.042768340557813644,
-0.02876589447259903,
0.014991749078035355,
0.008485177531838417,
0.06559841334819794,
0.03795499727129936,
-0.045355748385190964,
0.08995049446821213,
-0.0065493774600327015,
-0.025132106617093086,
-0.01417367160320282,
0.014734910801053047,
0.06289685517549515,
0.02899419516324997,
-0.031600628048181534,
-0.010758672840893269,
0.022734949365258217,
-0.06266855448484421,
-0.015324687585234642,
-0.03723204508423805,
-0.026692161336541176,
0.04855195805430412,
-0.09664731472730637,
0.05943429470062256,
0.03188600391149521,
-0.005322261247783899,
0.10517054051160812,
-0.01916774921119213,
-0.01768379472196102,
0.013222417794167995,
-0.011243811808526516,
0.01508687436580658,
-0.005070179235190153,
-0.00585971912369132,
0.05734153836965561,
0.05559123307466507,
0.044062044471502304,
0.05947234481573105,
0.02804294228553772,
0.027224864810705185,
0.03473976254463196,
0.03241870552301407,
-0.008413833566009998,
-0.043529342859983444,
-0.038735028356313705,
-0.046421151608228683,
-0.013850245624780655,
0.00860884040594101,
0.03169575333595276,
0.02868979424238205,
-0.01797868311405182,
0.0054411678574979305,
0.02671118639409542,
0.021593445912003517,
-0.026387760415673256,
-0.040447283536195755,
-0.05247111991047859,
0.05292772129178047,
-0.041664887219667435,
0.01710353046655655,
-0.01721768081188202,
-0.027072664350271225,
-0.08104676753282547,
-0.009046416729688644,
-0.03211430460214615,
-0.008451883681118488,
-0.04927491024136543,
0.039419930428266525,
0.0029916909988969564,
-0.08546058088541031,
0.05148181691765785,
-0.016199840232729912,
-0.0030344973783940077,
0.009588631801307201,
-0.03059229999780655,
0.0018549435772001743,
-0.05844499170780182,
0.0024245064705610275,
-0.026616061106324196,
0.0006884694448672235,
0.03588126599788666,
0.06643551588058472,
0.07571974396705627,
0.03709886968135834,
-0.0505305640399456,
-0.01665644161403179,
-0.008675428107380867,
-0.011234299279749393,
-0.0038002561777830124,
0.011510162614285946,
-0.010901360772550106,
-0.0596625953912735,
0.01909164898097515,
0.0013055949239060283,
0.0011355583555996418,
-0.019728990271687508,
-0.043339092284440994,
-0.05083496496081352,
-0.014915648847818375,
-0.026844363659620285,
0.011025023646652699,
-0.02534138225018978,
-0.06361980736255646,
0.0007728931377641857,
0.004340092185884714,
0.009655219502747059,
0.013412668369710445,
0.044823046773672104,
-0.07240938395261765,
-0.031600628048181534,
-0.006825241260230541,
-0.039039429277181625,
0.09291840344667435,
0.043985944241285324,
0.016247402876615524,
0.04744850471615791,
0.020413892343640327,
-0.011995301581919193,
0.05901574343442917,
-0.0029774222057312727,
0.020166566595435143,
0.03673739358782768,
-0.021346120163798332,
-0.0013709935592487454,
-0.05075886473059654,
0.02693948894739151,
-0.00016260483243968338,
0.02568383328616619,
-0.03411193564534187,
0.02591213397681713,
-0.01832113415002823,
0.0028157092165201902,
-0.012642153538763523,
-0.002696802606806159,
0.001995253376662731,
0.022982275113463402,
-0.0048585254698991776,
0.011215274222195148,
-0.018264058977365494,
-0.004860903602093458,
-0.005717031192034483,
-0.01213798951357603,
-0.09147249907255173,
0.03525343909859657,
0.021422220394015312,
-0.006178388837724924,
-0.04855195805430412,
-0.03831647336483002,
0.03559589013457298,
-0.06088019907474518,
-0.02770049124956131,
-0.03367435932159424,
0.006863291375339031,
0.03529148921370506,
0.039305780082941055,
0.01711304299533367,
0.005469705443829298,
0.008547008968889713,
0.02804294228553772,
0.01383122056722641,
-0.05262332037091255,
-0.08553668111562729,
-0.03582419082522392,
0.0063591268844902515,
0.07119178026914597,
0.006344858091324568,
0.001872779568657279,
-0.043681543320417404,
0.045622099190950394,
0.02941274642944336,
-0.008332977071404457,
0.05372677743434906,
0.0343782864511013,
-0.03131525218486786,
-0.04801925644278526,
-0.05905379354953766,
0.04878025874495506,
0.013812195509672165,
0.07682320475578308,
0.05829279124736786,
0.009041660465300083,
0.01885383576154709,
0.04904660955071449,
0.006121313665062189,
0.04995981231331825,
0.03645201772451401,
-0.00013020276674069464,
-0.05239501968026161,
-0.013070217333734035,
0.01316534262150526,
-0.026539960876107216,
0.01810234598815441,
-0.008489933796226978,
0.0038620876148343086,
-0.010825260542333126,
0.017883557826280594,
-0.015486400574445724,
-0.012052376754581928,
-0.022887149825692177,
0.09276620298624039,
0.04817145690321922,
0.03363630920648575,
0.019728990271687508,
0.025931159034371376,
-0.031105976551771164,
0.05555318295955658,
-0.05186231806874275,
-0.03662324324250221,
-0.07906816154718399,
0.004680165089666843,
0.0007669478072784841,
0.01873968541622162,
0.043833743780851364,
-0.03468268737196922,
-0.019900215789675713,
0.03618566691875458,
0.03852575272321701,
-0.013441206887364388,
-0.0066635278053581715,
-0.005902525503188372,
0.04942711070179939,
0.05007396265864372,
0.03312263265252113,
-0.05502048134803772,
-0.017008405178785324,
-0.004606442991644144,
0.06780532002449036,
0.042882490903139114,
-0.0018180825281888247,
0.042768340557813644,
-0.02579798363149166,
-0.05190036818385124,
-0.002822843613103032,
-0.03104890137910843,
-0.03395973518490791,
-0.042083438485860825,
0.0003162916691508144,
0.042920541018247604,
-0.015286637470126152,
-0.030725475400686264,
0.012280677445232868,
0.0018799139652401209,
0.041436586529016495,
0.018121371045708656,
0.0118716387078166,
0.043148841708898544,
0.013821708038449287,
-0.05566733330488205,
0.004818097222596407,
-0.009583874605596066,
0.045051347464323044,
-0.0014589844504371285,
0.01771233230829239,
-0.01824503391981125,
-0.05235696956515312,
-0.00006257461791392416,
-0.024371104314923286,
-0.043339092284440994,
-0.01232824008911848,
0.05018811300396919,
-0.02370522730052471,
0.043339092284440994,
0.006107044871896505,
-0.014420997351408005,
-0.03070645034313202,
-0.004580283537507057,
0.05372677743434906,
0.012223602272570133,
-0.020889518782496452,
0.011082098819315434,
0.0077289314940571785,
-0.005816912744194269,
-0.042616140097379684,
0.03215235471725464,
-0.0034625614061951637,
-0.07317038625478745,
0.0013115402543917298,
0.0016967977862805128,
-0.011510162614285946,
0.020927568897604942,
-0.0011640959419310093,
-0.03302750736474991,
-0.01775038242340088,
0.05288967117667198,
-0.021555395796895027,
0.08104676753282547,
-0.008014307357370853,
-0.011728950776159763,
0.005740812513977289,
0.003940565977245569,
0.045279648154973984,
-0.03354118391871452,
-0.044594746083021164,
-0.001181931933388114,
-0.0026753994170576334,
-0.013888295739889145,
0.01816893368959427,
0.040180932730436325,
0.1041051372885704,
-0.01440197229385376,
0.04741045460104942,
-0.03435926139354706,
-0.007329405285418034,
-0.01398342102766037,
-0.012128476984798908,
-0.003498233389109373,
-0.004049960058182478,
-0.038392577320337296,
0.0008293737773783505,
-0.03131525218486786,
-0.0038739782758057117,
0.022563723847270012,
0.024675505235791206,
-0.08614548295736313,
0.03120110183954239,
-0.0041474634781479836,
-0.02351497672498226,
0.014573197811841965,
-0.012394827790558338,
0.03506318852305412,
-0.017474519088864326,
-0.006244976539164782,
-0.012737278826534748,
-0.03645201772451401,
-0.011234299279749393,
0.05197646841406822,
-0.0023020324297249317,
0.07914426177740097,
-0.023457901552319527,
0.021403195336461067,
-0.03816427290439606,
0.05216671898961067,
0.049008559435606,
0.08439517766237259,
-0.006725359708070755,
-0.01379317045211792,
-0.045926500111818314,
-0.007552949711680412,
-0.07092542946338654,
0.0284995436668396,
-0.04843780770897865,
-0.00360049307346344,
0.006178388837724924,
0.010891848243772984,
-0.0009215264581143856,
-0.025436507537961006,
0.0037289122119545937,
0.025817008689045906,
-0.05654248595237732,
0.0034625614061951637,
-0.0983976200222969,
-0.0543355792760849,
0.023952553048729897,
0.01915823668241501,
0.0021688570268452168,
-0.039990682154893875,
-0.01795014552772045,
-0.05075886473059654,
0.028784919530153275,
0.032171379774808884,
0.022126147523522377,
-0.005055910442024469,
0.011376987211406231,
0.010387684218585491,
-0.045774299651384354,
0.02572188340127468,
0.016066664829850197,
0.03848770260810852,
-0.017693307250738144,
0.021935896947979927,
-0.05277552083134651,
-0.014278309419751167,
0.010720622725784779,
-0.018987011164426804,
-0.06986002624034882,
0.02621653489768505,
-0.010321096517145634,
0.007220011204481125,
-0.042692240327596664,
0.05452582985162735,
-0.05646638572216034,
0.01305119227617979,
0.024523304775357246,
0.03449243679642677,
0.009726563468575478,
0.03833549842238426,
0.02705363929271698,
0.015600550919771194,
0.01928190141916275,
-0.04889440909028053,
-0.04893245920538902,
0.020128516480326653,
-0.02408572845160961,
-0.0016528022242709994,
0.01649472862482071,
0.02865174412727356,
-0.0047491309233009815,
0.029393721371889114,
0.006497058551758528,
0.05616198480129242,
0.00860884040594101,
0.019500689581036568,
0.03464463725686073,
0.05171011760830879,
0.006872803904116154,
-0.045051347464323044,
-0.042654190212488174,
-0.0025921647902578115,
0.041398536413908005,
0.008889460004866123,
0.029431771486997604,
-0.041398536413908005,
-0.008551765233278275,
-0.03626176714897156,
-0.015495913103222847,
-0.05650443583726883,
-0.025094056501984596,
0.013298518024384975,
0.05117741599678993,
-0.05646638572216034,
-0.044632796198129654,
-0.0176742821931839,
-0.022164197638630867,
-0.042616140097379684,
-0.05399312824010849,
0.010463784448802471,
0.03883015364408493,
0.05684688687324524,
-0.06639746576547623,
0.05315602198243141,
0.03070645034313202,
0.005398361478000879,
0.041664887219667435,
-0.02347692660987377,
-0.05220476910471916,
0.03525343909859657,
-0.05045446380972862,
-0.006130826193839312,
0.03879210352897644,
0.03422608599066734,
0.002708693267777562,
-0.06259245425462723,
-0.020851468667387962,
-0.027833666652441025,
0.03472073748707771,
0.01679912954568863,
0.010587447322905064,
-0.06654966622591019,
-0.032551880925893784,
0.03021179884672165,
-0.06970782577991486,
-0.02846149355173111,
-0.010302071459591389,
-0.02332472614943981,
0.021688571199774742,
-0.01331754308193922,
0.020623167976737022,
-0.07126788049936295,
-0.022031022235751152,
0.01695133000612259,
-0.02454232983291149,
0.040979985147714615,
0.05125351622700691,
-0.01717963069677353,
-0.06635941565036774,
-0.013289005495607853,
-0.001986929913982749,
-0.022792024537920952,
-0.007524412125349045,
-0.009541068226099014,
0.0649896115064621,
0.05406922847032547,
0.028176117688417435,
-0.01741744391620159,
0.0531940720975399,
0.045279648154973984,
0.015533963218331337,
-0.01889188587665558,
-0.014354409649968147,
-0.01873968541622162,
-0.03300848230719566,
0.020223641768097878,
0.041893187910318375,
0.015524450689554214,
-0.05003591254353523,
-0.04691580310463905,
-0.015724213793873787,
0.0018430529162287712,
-0.007044029422104359,
-0.02477063052356243,
-0.004221185576170683,
-0.004927491303533316,
0.0608040988445282,
-0.004461376927793026,
-0.01741744391620159,
-0.07739395648241043,
0.008099920116364956,
-0.05570538341999054,
-0.014088058844208717,
0.06845217198133469,
0.012813379056751728,
0.05361262336373329,
-0.0516720674932003,
0.011662363074719906,
-0.0009732508333399892,
0.012946554459631443,
-0.018758710473775864,
-0.012984604574739933,
0.02891809493303299,
-0.011148686520755291,
-0.00620217015966773,
-0.010140358470380306,
0.017274755984544754,
0.015790801495313644,
0.06145095080137253,
-0.02423792891204357,
-0.011491137556731701,
0.04657335206866264,
0.005260429810732603,
0.024751605466008186,
0.040295083075761795,
-0.06514181196689606,
0.031676728278398514,
-0.006040457170456648,
-0.044023994356393814,
0.02351497672498226,
-0.013469744473695755,
0.022772999480366707,
-0.09139639884233475,
-0.06274465471506119,
0.03844965249300003,
0.041702937334775925,
0.015629088506102562,
-0.012375802733004093,
0.010264021344482899,
0.05368872731924057,
-0.018197471275925636,
0.03032594919204712,
0.016437653452157974,
-0.020090466365218163,
-0.026882413774728775,
0.02549358271062374,
0.02895614504814148,
-0.03785987198352814,
0.07731785625219345,
0.05334627255797386,
0.015600550919771194,
-0.04661140218377113,
-0.09413600713014603,
-0.00860884040594101,
0.007567218504846096,
-0.0031866978388279676,
0.02758634090423584,
-0.03576711565256119,
0.05829279124736786,
0.01703694276511669,
-0.018083320930600166,
-0.03264700621366501,
-0.06008114665746689,
0.02682533673942089,
-0.04653530195355415,
0.021688571199774742,
-0.022164197638630867,
-0.06742481887340546,
0.0031105976086109877,
-0.014677835628390312,
0.042958591133356094,
-0.01688474230468273,
0.007367455400526524,
-0.0315435528755188,
-0.07012637704610825,
-0.03517733886837959,
-0.03645201772451401,
0.02454232983291149,
0.044937197118997574,
-0.05589563399553299,
-0.032209429889917374,
0.0342070609331131,
-0.027453165501356125,
-0.040295083075761795,
0.020014366135001183,
0.01190968882292509,
0.009921570308506489,
-0.007714662700891495,
0.0027681465726345778,
-0.046002600342035294,
0.022753974422812462,
0.016561316326260567,
-0.022259322926402092,
-0.0040784976445138454,
-0.020813418552279472,
0.011919201351702213,
-0.02446622960269451,
0.026920463889837265,
0.021098794415593147,
-0.03097280114889145,
0.05425947904586792,
0.04980761185288429,
-0.09816931933164597,
-0.020261691883206367,
-0.032323580235242844,
0.008604084141552448,
0.005873987916857004,
-0.05696103721857071,
0.014535147696733475,
0.009041660465300083,
-0.07016442716121674,
-0.010520859621465206,
-0.0524330697953701,
0.012147502042353153,
-0.02515113167464733,
0.042768340557813644,
0.0020202237647026777,
0.09230960160493851,
-0.016941817477345467,
0.0706971287727356,
0.02461843006312847,
-0.0657506138086319,
0.01672302931547165,
0.0021343741100281477,
0.009455455467104912,
-0.021117819473147392,
0.02827124297618866,
-0.0661311149597168,
0.03774572163820267,
-0.004014288075268269,
-0.042844440788030624,
0.08774358779191971,
-0.012337752617895603,
-0.03774572163820267,
0.07724175602197647,
-0.03719399496912956,
0.005022616591304541,
0.05882549285888672,
-0.01592397689819336,
-0.015105899423360825,
-0.003324629506096244,
0.03074450045824051,
-0.045507948845624924,
-0.0248847808688879,
-0.004791937302798033,
0.05848304182291031,
-0.031981129199266434,
-0.001998820574954152,
0.021631496027112007,
-0.03816427290439606,
-0.05452582985162735,
0.0741216391324997,
0.05604783445596695,
0.01580982655286789,
0.00860884040594101,
-0.0029203470330685377,
0.015676651149988174,
0.021193919703364372,
-0.018492359668016434,
0.03047814965248108,
-0.04741045460104942,
-0.027300965040922165,
0.03441633656620979,
-0.00701073557138443,
0.042121488600969315,
-0.04866610839962959,
0.05159596726298332,
0.00014766717504244298,
-0.0076147811487317085,
0.027186814695596695,
0.00021239698980934918,
-0.011491137556731701,
-0.05376482754945755,
0.00033501946018077433,
-0.08211217075586319,
0.057760089635849,
0.02461843006312847,
-0.00907019805163145,
0.00033858665847219527,
-0.08393857628107071,
-0.07678515464067459,
0.030421074479818344,
-0.007139154709875584,
-0.0025850303936749697,
0.01801673322916031,
0.00582166900858283,
-0.014420997351408005,
0.0077289314940571785,
0.007738444022834301,
0.007058298215270042,
-0.020090466365218163,
0.0046920557506382465,
-0.029698122292757034,
0.041018035262823105,
0.007562462240457535,
0.041360486298799515,
-0.043072741478681564,
0.08020966500043869,
0.009631438180804253,
-0.006535108666867018,
-0.007181961089372635,
0.010197433643043041,
0.02880394458770752,
0.01440197229385376,
-0.008156995289027691,
0.040333133190870285,
-0.038925278931856155,
-0.007015491835772991,
-0.00046165502863004804,
-0.022373473271727562,
-0.03283725678920746,
-0.0013032167917117476,
-0.019415076822042465,
0.08378637582063675,
0.0066445027478039265,
-0.012451902963221073,
-0.005179573316127062,
0.03690861910581589,
-0.08142726868391037,
0.006068994756788015,
-0.006016675848513842,
0.02492283098399639,
0.05007396265864372,
-0.042654190212488174,
0.05893964320421219,
-0.03751742094755173,
0.043871793895959854,
0.020813418552279472,
0.022202247753739357,
0.008218826726078987,
0.005683737341314554,
0.07419773936271667,
-0.013498282060027122,
0.02804294228553772,
0.015971539542078972,
0.0059358193539083,
0.0037312903441488743,
0.021612470969557762,
-0.05437362939119339,
0.0036409213207662106,
0.01493467390537262,
0.03380753472447395,
-0.026045309379696846,
-0.05125351622700691,
-0.020451942458748817,
0.002349595073610544,
-0.01504882425069809,
0.021250994876027107,
0.027110714465379715,
0.020109491422772408,
0.05627613514661789
] |
18,066 | sklearn.utils._metadata_requests | set_predict_request | Request metadata passed to the ``predict`` method.
Note that this method is only relevant if
``enable_metadata_routing=True`` (see :func:`sklearn.set_config`).
Please see :ref:`User Guide <metadata_routing>` on how the routing
mechanism works.
The options for each parameter are:
- ``True``: metadata is requested, and passed to ``predict`` if provided. The request is ignored if metadata is not provided.
- ``False``: metadata is not requested and the meta-estimator will not pass it to ``predict``.
- ``None``: metadata is not requested, and the meta-estimator will raise an error if the user provides it.
- ``str``: metadata should be passed to the meta-estimator with this given alias instead of the original name.
The default (``sklearn.utils.metadata_routing.UNCHANGED``) retains the
existing request. This allows you to change the request for some
parameters and not others.
.. versionadded:: 1.3
.. note::
This method is only relevant if this estimator is used as a
sub-estimator of a meta-estimator, e.g. used inside a
:class:`~sklearn.pipeline.Pipeline`. Otherwise it has no effect.
Parameters
----------
marginal_only : str, True, False, or None, default=sklearn.utils.metadata_routing.UNCHANGED
Metadata routing for ``marginal_only`` parameter in ``predict``.
Returns
-------
self : object
The updated object.
| def __get__(self, instance, owner):
# we would want to have a method which accepts only the expected args
def func(**kw):
"""Updates the request for provided parameters
This docstring is overwritten below.
See REQUESTER_DOC for expected functionality
"""
if not _routing_enabled():
raise RuntimeError(
"This method is only available when metadata routing is enabled."
" You can enable it using"
" sklearn.set_config(enable_metadata_routing=True)."
)
if self.validate_keys and (set(kw) - set(self.keys)):
raise TypeError(
f"Unexpected args: {set(kw) - set(self.keys)}. Accepted arguments"
f" are: {set(self.keys)}"
)
requests = instance._get_metadata_request()
method_metadata_request = getattr(requests, self.name)
for prop, alias in kw.items():
if alias is not UNCHANGED:
method_metadata_request.add_request(param=prop, alias=alias)
instance._metadata_request = requests
return instance
# Now we set the relevant attributes of the function so that it seems
# like a normal method to the end user, with known expected arguments.
func.__name__ = f"set_{self.name}_request"
params = [
inspect.Parameter(
name="self",
kind=inspect.Parameter.POSITIONAL_OR_KEYWORD,
annotation=owner,
)
]
params.extend(
[
inspect.Parameter(
k,
inspect.Parameter.KEYWORD_ONLY,
default=UNCHANGED,
annotation=Optional[Union[bool, None, str]],
)
for k in self.keys
]
)
func.__signature__ = inspect.Signature(
params,
return_annotation=owner,
)
doc = REQUESTER_DOC.format(method=self.name)
for metadata in self.keys:
doc += REQUESTER_DOC_PARAM.format(metadata=metadata, method=self.name)
doc += REQUESTER_DOC_RETURN
func.__doc__ = doc
return func
| (self: imodels.algebraic.tree_gam.TreeGAMClassifier, *, marginal_only: Union[bool, NoneType, str] = '$UNCHANGED$') -> imodels.algebraic.tree_gam.TreeGAMClassifier | [
0.04383363947272301,
-0.058330703526735306,
-0.01909160427749157,
0.00465875118970871,
-0.002939365105703473,
-0.017255689948797226,
-0.011567209847271442,
0.009969108738005161,
0.056998949497938156,
0.010929872281849384,
-0.02147924341261387,
0.006516068242490292,
0.05125339701771736,
-0.0053127361461520195,
-0.019900167360901833,
0.037517331540584564,
0.02990732714533806,
0.02383834682404995,
0.03013562597334385,
-0.03363623097538948,
0.019215267151594162,
-0.04280628636479378,
-0.028765825554728508,
0.014925125986337662,
0.008480401709675789,
0.06548410654067993,
0.03799295797944069,
-0.04543174058198929,
0.08995027840137482,
-0.006516068242490292,
-0.02513204701244831,
-0.014202174730598927,
0.0146873127669096,
0.06289670616388321,
0.028994126245379448,
-0.03158152848482132,
-0.010815721936523914,
0.022791970521211624,
-0.0625542551279068,
-0.0153531888499856,
-0.03721293434500694,
-0.026749173179268837,
0.04858989268541336,
-0.09664708375930786,
0.05947220325469971,
0.031981054693460464,
-0.005403104703873396,
0.10509419441223145,
-0.019158191978931427,
-0.01764570362865925,
0.013165311887860298,
-0.011253297328948975,
0.015096350573003292,
-0.005070167127996683,
-0.005907267797738314,
0.057379450649023056,
0.055591098964214325,
0.04409999027848244,
0.05947220325469971,
0.028061900287866592,
0.027186749503016472,
0.0347016304731369,
0.032361552119255066,
-0.008337713778018951,
-0.04345313832163811,
-0.038715910166502,
-0.04642103984951973,
-0.013831187039613724,
0.008623088710010052,
0.031752754002809525,
0.028727775439620018,
-0.01795961521565914,
0.005445911083370447,
0.026711123064160347,
0.02155534364283085,
-0.02634964883327484,
-0.040485236793756485,
-0.05247099697589874,
0.05304174870252609,
-0.041702836751937866,
0.016998853534460068,
-0.017217639833688736,
-0.027053574100136757,
-0.08104657381772995,
-0.009136764332652092,
-0.03211423009634018,
-0.008323444984853268,
-0.04931284487247467,
0.039457883685827255,
0.003029733896255493,
-0.08546037971973419,
0.05151974409818649,
-0.016199801117181778,
-0.0030392464250326157,
0.009517264552414417,
-0.0307063776999712,
0.0018680188804864883,
-0.058406803756952286,
0.002447092905640602,
-0.026596974581480026,
0.0007003584178164601,
0.03586215525865555,
0.06647340953350067,
0.07571956515312195,
0.03704170882701874,
-0.05049239471554756,
-0.01666591502726078,
-0.008661138825118542,
-0.011253297328948975,
-0.0038406753446906805,
0.011472085490822792,
-0.010825234465301037,
-0.0595102533698082,
0.019082091748714447,
0.0012187901884317398,
0.0010826423531398177,
-0.019709916785359383,
-0.04330093786120415,
-0.05087289586663246,
-0.01499171368777752,
-0.026844298467040062,
0.011129634454846382,
-0.025417422875761986,
-0.0636957585811615,
0.0007318686111830175,
0.0042402008548378944,
0.009569583460688591,
0.013450686819851398,
0.04482293874025345,
-0.07240921258926392,
-0.031638603657484055,
-0.006815712433308363,
-0.038963235914707184,
0.09291817992925644,
0.04402389004826546,
0.0162093136459589,
0.04744839295744896,
0.020451894029974937,
-0.011947710998356342,
0.05905365198850632,
-0.0030392464250326157,
0.020109442993998528,
0.03679438307881355,
-0.021327044814825058,
-0.001395960571244359,
-0.0507206954061985,
0.026939423754811287,
-0.00016542847151868045,
0.025607673451304436,
-0.0341499038040638,
0.02593109756708145,
-0.018311578780412674,
0.002765761921182275,
-0.012727736495435238,
-0.0026397211477160454,
0.0019072579452767968,
0.023020271211862564,
-0.004799060523509979,
0.011262809857726097,
-0.01826401613652706,
-0.004722960293292999,
-0.005602867342531681,
-0.01210942305624485,
-0.09139618277549744,
0.03521530702710152,
0.02147924341261387,
-0.0061593493446707726,
-0.04847574234008789,
-0.03825930878520012,
0.03548165783286095,
-0.06088005378842354,
-0.027700424194335938,
-0.033731356263160706,
0.006820468697696924,
0.0352914072573185,
0.039381783455610275,
0.017103489488363266,
0.00553152384236455,
0.008599307388067245,
0.028080925345420837,
0.013783624395728111,
-0.05266124755144119,
-0.08553647249937057,
-0.03582410514354706,
0.0063924058340489864,
0.07126771658658981,
0.006321061868220568,
0.0018977454164996743,
-0.04371948912739754,
0.04566004127264023,
0.029431700706481934,
-0.008418570272624493,
0.053726647049188614,
0.03435917943716049,
-0.031296152621507645,
-0.0480571910738945,
-0.0591297522187233,
0.04878014326095581,
0.013802649453282356,
0.07682301849126816,
0.058368753641843796,
0.009027370251715183,
0.018853791058063507,
0.04904649406671524,
0.006154593080282211,
0.04992164298892021,
0.03650900721549988,
-0.00012247354607097805,
-0.05243294686079025,
-0.013079699128866196,
0.01317482441663742,
-0.026558924466371536,
0.018130840733647346,
-0.008461376652121544,
0.003907262813299894,
-0.010920359753072262,
0.01780741661787033,
-0.015533925965428352,
-0.01203332282602787,
-0.022906120866537094,
0.09284207969903946,
0.04809524118900299,
0.03367428109049797,
0.019728941842913628,
0.02596914768218994,
-0.031105902045965195,
0.055553048849105835,
-0.05193829536437988,
-0.0366041325032711,
-0.07906796783208847,
0.004639726132154465,
0.0007247342146001756,
0.01867305487394333,
0.04379558935761452,
-0.0347016304731369,
-0.019919192418456078,
0.03614753112196922,
0.03852565959095955,
-0.013412636704742908,
-0.006706318352371454,
-0.005873973947018385,
0.04946504533290863,
0.05003579333424568,
0.0331796295940876,
-0.054982297122478485,
-0.01700836606323719,
-0.004580272827297449,
0.06784321367740631,
0.04284433647990227,
-0.001806187559850514,
0.04276823624968529,
-0.02585499733686447,
-0.05182414501905441,
-0.002765761921182275,
-0.03108687698841095,
-0.033959656953811646,
-0.042159438133239746,
0.0002612967218738049,
0.04288238659501076,
-0.015334163792431355,
-0.03078247793018818,
0.012166498228907585,
0.0018454266246408224,
0.041436485946178436,
0.018121328204870224,
0.011776485480368137,
0.04314873740077019,
0.013831187039613724,
-0.055591098964214325,
0.004863270092755556,
-0.009598121047019958,
0.0450131893157959,
-0.001512488815933466,
0.01764570362865925,
-0.01821645349264145,
-0.05228074640035629,
-0.00011883203842444345,
-0.02440909668803215,
-0.04326288774609566,
-0.01233772374689579,
0.05018799379467964,
-0.02361004613339901,
0.04333898797631264,
0.006083249114453793,
-0.014439987950026989,
-0.03063027746975422,
-0.004554113373160362,
0.053688596934080124,
0.012252110987901688,
-0.020889468491077423,
0.011139146983623505,
0.007790744304656982,
-0.0057883611880242825,
-0.042463839054107666,
0.032171305269002914,
-0.003398343687877059,
-0.07313216477632523,
0.001298457384109497,
0.0017360327765345573,
-0.011453060433268547,
0.020946543663740158,
-0.0012009541969746351,
-0.033046454191207886,
-0.01780741661787033,
0.05285149812698364,
-0.02159339375793934,
0.08097047358751297,
-0.007976238615810871,
-0.01174794789403677,
0.005778849124908447,
0.0039001284167170525,
0.04531759023666382,
-0.03363623097538948,
-0.04455658793449402,
-0.0012627855176106095,
-0.0026991742197424173,
-0.013926312327384949,
0.01825450360774994,
0.040142785757780075,
0.1041048914194107,
-0.014449500478804111,
0.04733424261212349,
-0.03430210426449776,
-0.00738170649856329,
-0.013945337384939194,
-0.012195035815238953,
-0.003514871932566166,
-0.004209285136312246,
-0.038278333842754364,
0.0008668273221701384,
-0.031258102506399155,
-0.0038597004022449255,
0.022601719945669174,
0.02471349760890007,
-0.0862213745713234,
0.03120102733373642,
-0.004099891055375338,
-0.02338174544274807,
0.014525600709021091,
-0.012347236275672913,
0.03492993116378784,
-0.017483990639448166,
-0.006249717902392149,
-0.012756274081766605,
-0.03641388192772865,
-0.01127232238650322,
0.05197634547948837,
-0.002287758281454444,
0.07914406806230545,
-0.02334369532763958,
0.021460218355059624,
-0.03818320855498314,
0.05216659605503082,
0.04912259429693222,
0.08439497649669647,
-0.006644487380981445,
-0.013774111866950989,
-0.04592639207839966,
-0.007491100579500198,
-0.07100136578083038,
0.028347276151180267,
-0.0484376922249794,
-0.0036028625909239054,
0.0061593493446707726,
0.010920359753072262,
-0.0009155789157375693,
-0.025493523105978966,
0.003733659628778696,
0.025797922164201736,
-0.056580401957035065,
0.003457796759903431,
-0.0983973890542984,
-0.054373499006032944,
0.024009570479393005,
0.019196242094039917,
0.002073726849630475,
-0.039952535182237625,
-0.01795010268688202,
-0.0507206954061985,
0.028746800497174263,
0.032171305269002914,
0.022107070311903954,
-0.005003579426556826,
0.011376960203051567,
0.010378146544098854,
-0.04573614150285721,
0.025759872049093246,
0.016123702749609947,
0.03848760947585106,
-0.017778879031538963,
0.021878769621253014,
-0.05273734778165817,
-0.014306812547147274,
0.010673034936189651,
-0.018986966460943222,
-0.0698218122124672,
0.026178423315286636,
-0.010378146544098854,
0.007243775296956301,
-0.042654089629650116,
0.054487649351358414,
-0.056390151381492615,
0.013051161542534828,
0.0245993472635746,
0.03445430472493172,
0.009688490070402622,
0.03825930878520012,
0.027015523985028267,
0.015648076310753822,
0.019253317266702652,
-0.04889429360628128,
-0.04893234372138977,
0.020090417936444283,
-0.02410469576716423,
-0.001667067059315741,
0.016523227095603943,
0.028651675209403038,
-0.004670641850680113,
0.0293746255338192,
0.006487530656158924,
0.056123800575733185,
0.008608819916844368,
0.01939600519835949,
0.03468260541558266,
0.05174804478883743,
0.0068252249620854855,
-0.04516538977622986,
-0.042577989399433136,
-0.0025755115784704685,
0.041360385715961456,
0.00884187687188387,
0.029393650591373444,
-0.041436485946178436,
-0.00854223221540451,
-0.03628070652484894,
-0.015552951022982597,
-0.056504301726818085,
-0.02513204701244831,
0.013260437175631523,
0.0511011965572834,
-0.056390151381492615,
-0.04459463804960251,
-0.017626678571105003,
-0.022259268909692764,
-0.042616039514541626,
-0.053992997854948044,
0.010501809418201447,
0.038811035454273224,
0.056922849267721176,
-0.06643535941839218,
0.053231995552778244,
0.030801502987742424,
0.005460179876536131,
0.041702836751937866,
-0.023476870730519295,
-0.0522426962852478,
0.0352914072573185,
-0.05053044483065605,
-0.006045198999345303,
0.03883006051182747,
0.03424502909183502,
0.002727711806073785,
-0.06266840547323227,
-0.020889468491077423,
-0.027833599597215652,
0.03473968058824539,
0.016770552843809128,
0.010615959763526917,
-0.06651145964860916,
-0.032551802694797516,
0.03021172620356083,
-0.06974571198225021,
-0.028518499806523323,
-0.010292533785104752,
-0.0232675950974226,
0.02170754410326481,
-0.013269949704408646,
0.020661167800426483,
-0.07115356624126434,
-0.02201194502413273,
0.016941778361797333,
-0.024618372321128845,
0.040941838175058365,
0.05125339701771736,
-0.017093976959586143,
-0.06624510884284973,
-0.013327023945748806,
-0.001995248720049858,
-0.022753920406103134,
-0.007472075521945953,
-0.009502995759248734,
0.06506555527448654,
0.054107148200273514,
0.028080925345420837,
-0.01741740293800831,
0.05315589904785156,
0.04531759023666382,
0.015495875850319862,
-0.01886330358684063,
-0.014392425306141376,
-0.018739642575383186,
-0.033008404076099396,
0.020185543224215508,
0.041893087327480316,
0.015514900907874107,
-0.05003579333424568,
-0.0469156913459301,
-0.015724176540970802,
0.0017586250323802233,
-0.0071248686872422695,
-0.024808622896671295,
-0.004268737975507975,
-0.004868026357144117,
0.06084200367331505,
-0.004420938435941935,
-0.017369840294122696,
-0.077431820333004,
0.008090388029813766,
-0.055667199194431305,
-0.014002412557601929,
0.06845200806856155,
0.012860911898314953,
0.053612496703863144,
-0.05174804478883743,
0.011576722376048565,
-0.0009363875724375248,
0.01298457384109497,
-0.018739642575383186,
-0.012917986139655113,
0.028956076130270958,
-0.01115817204117775,
-0.006225936580449343,
-0.010197409428656101,
0.01730325259268284,
0.015847839415073395,
0.06156495586037636,
-0.024313971400260925,
-0.011443547904491425,
0.0465351901948452,
0.005265173502266407,
0.02475154772400856,
0.040218885987997055,
-0.06510360538959503,
0.031638603657484055,
-0.006049955263733864,
-0.04390973970293999,
0.023438820615410805,
-0.013450686819851398,
0.022830020636320114,
-0.09139618277549744,
-0.06274450570344925,
0.03848760947585106,
0.041664786636829376,
0.015552951022982597,
-0.01237577386200428,
0.010302046313881874,
0.053574446588754654,
-0.018197428435087204,
0.03024977631866932,
0.016390051692724228,
-0.020128468051552773,
-0.026844298467040062,
0.025569623336195946,
0.028975101187825203,
-0.03780270740389824,
0.077431820333004,
0.053384196013212204,
0.015610026195645332,
-0.04668739065527916,
-0.09428798407316208,
-0.00857552606612444,
0.0075767128728330135,
-0.0031819341238588095,
0.027529198676347733,
-0.03578605502843857,
0.058368753641843796,
0.017065439373254776,
-0.01825450360774994,
-0.03272302821278572,
-0.06008100509643555,
0.026692098006606102,
-0.0465351901948452,
0.02170754410326481,
-0.022145120427012444,
-0.06742466241121292,
0.00301784323528409,
-0.014658775180578232,
0.04295848682522774,
-0.016903728246688843,
0.007329387590289116,
-0.031562503427267075,
-0.0701642632484436,
-0.03521530702710152,
-0.03641388192772865,
0.0245993472635746,
0.04486098885536194,
-0.055857449769973755,
-0.032209355384111404,
0.03416892886161804,
-0.027472125366330147,
-0.040256936103105545,
0.020052367821335793,
0.011881123296916485,
0.009959596209228039,
-0.007700375746935606,
0.002758627524599433,
-0.04600249230861664,
0.022753920406103134,
0.016599327325820923,
-0.022297319024801254,
-0.0040880003944039345,
-0.020851418375968933,
0.011928685940802097,
-0.024428121745586395,
0.027015523985028267,
0.021155819296836853,
-0.03089662827551365,
0.054221298545598984,
0.04976944252848625,
-0.09824518859386444,
-0.020242618396878242,
-0.03238057717680931,
0.00861833244562149,
0.00589299900457263,
-0.056922849267721176,
0.014516088180243969,
0.0090131014585495,
-0.0701642632484436,
-0.010492296889424324,
-0.05235684663057327,
0.012137960642576218,
-0.025189122185111046,
0.04288238659501076,
0.0019583876710385084,
0.0923093855381012,
-0.016884703189134598,
0.07069696485996246,
0.02467544749379158,
-0.06571240723133087,
0.016789577901363373,
0.0020451892632991076,
0.009569583460688591,
-0.021060694009065628,
0.028252150863409042,
-0.06613095849752426,
0.037745632231235504,
-0.00396671611815691,
-0.04284433647990227,
0.08781947940587997,
-0.012347236275672913,
-0.03776465728878975,
0.07716546952724457,
-0.03721293434500694,
0.005036873277276754,
0.05886340141296387,
-0.015952477231621742,
-0.01508683804422617,
-0.003360293572768569,
0.0307063776999712,
-0.04550784081220627,
-0.02490374632179737,
-0.004863270092755556,
0.05848290026187897,
-0.031943004578351974,
-0.0020523236598819494,
0.021612418815493584,
-0.03818320855498314,
-0.054487649351358414,
0.07412146776914597,
0.055971600115299225,
0.015838326886296272,
0.008680163882672787,
-0.0029298525769263506,
0.015648076310753822,
0.021212894469499588,
-0.018463779240846634,
0.030421001836657524,
-0.04741034284234047,
-0.027243824675679207,
0.03439722955226898,
-0.006906080991029739,
0.042159438133239746,
-0.04874209314584732,
0.05151974409818649,
0.0000866530099301599,
-0.007624275516718626,
0.027186749503016472,
0.00022265214647632092,
-0.011557698249816895,
-0.053764697164297104,
0.0004004171642009169,
-0.08211196959018707,
0.057645801454782486,
0.024542272090911865,
-0.009022613987326622,
0.00035969173768535256,
-0.08386227488517761,
-0.07678496837615967,
0.030421001836657524,
-0.007110599894076586,
-0.002653989940881729,
0.01806425303220749,
0.005835923831909895,
-0.014363887719810009,
0.007747937925159931,
0.007733669597655535,
0.007020231336355209,
-0.020090417936444283,
0.004592163488268852,
-0.029698051512241364,
0.040979888290166855,
0.007548175286501646,
0.041284285485744476,
-0.04307263717055321,
0.08028557151556015,
0.009636171162128448,
-0.006582655943930149,
-0.0072390190325677395,
0.010178384371101856,
0.028765825554728508,
0.014487550593912601,
-0.008214050903916359,
0.040409136563539505,
-0.03890616074204445,
-0.006929862312972546,
-0.0005246743094176054,
-0.022411469370126724,
-0.032818153500556946,
-0.0012187901884317398,
-0.019405517727136612,
0.08386227488517761,
0.006668268237262964,
-0.012385286390781403,
-0.005127241834998131,
0.03688950836658478,
-0.08142707496881485,
0.006078492850065231,
-0.00599763635545969,
0.024960821494460106,
0.05007384344935417,
-0.042577989399433136,
0.05897755175828934,
-0.03744123503565788,
0.04398583993315697,
0.020813368260860443,
0.022183170542120934,
0.008190269581973553,
0.005755067802965641,
0.07419756799936295,
-0.013545812107622623,
0.028023850172758102,
0.015961989760398865,
0.005978611763566732,
0.0037645751144737005,
0.021650468930602074,
-0.054373499006032944,
0.003721768967807293,
0.014896588400006294,
0.03378843143582344,
-0.026064272969961166,
-0.05121534690260887,
-0.020432868972420692,
0.002315106801688671,
-0.015058300457894802,
0.021231919527053833,
0.027129674330353737,
0.020147493109107018,
0.056352101266384125
] |
18,068 | imodels.algebraic.tree_gam | TreeGAMRegressor | null | class TreeGAMRegressor(TreeGAM, RegressorMixin):
...
| (n_boosting_rounds=100, max_leaf_nodes=3, reg_param=0.0, learning_rate: float = 0.01, n_boosting_rounds_marginal=0, max_leaf_nodes_marginal=2, reg_param_marginal=0.0, fit_linear_marginal=None, select_linear_marginal=False, decay_rate_towards_marginal=1.0, fit_posthoc_tree_coefs=None, boosting_strategy='cyclic', validation_frac=0.15, random_state=None) | [
0.008586450479924679,
-0.03854662552475929,
0.0176687054336071,
0.04940025880932808,
-0.059280309826135635,
-0.04363088682293892,
-0.12548387050628662,
-0.025241008028388023,
0.06090294569730759,
0.0033376726787537336,
0.0747855007648468,
0.002494803164154291,
0.03333615884184837,
0.063282810151577,
-0.03571602702140808,
-0.014874164946377277,
0.03456215187907219,
0.0028283451683819294,
-0.013711276464164257,
-0.03980867564678192,
-0.06995365023612976,
0.006395891308784485,
-0.02284311130642891,
0.03227243199944496,
-0.02552947588264942,
0.0759393721818924,
0.012917987070977688,
-0.01683935895562172,
0.020355070009827614,
-0.02349216677248478,
-0.059100016951560974,
-0.06789831072092056,
-0.019453605636954308,
0.023600341752171516,
0.02781919576227665,
-0.04143131151795387,
-0.034075360745191574,
0.06548238545656204,
-0.09404078125953674,
0.06339098513126373,
0.0025736812967807055,
-0.04608286917209625,
-0.018344804644584656,
-0.030956292524933815,
0.03789757192134857,
-0.011782142333686352,
0.0032813309226185083,
0.027224229648709297,
-0.021941646933555603,
-0.03409339115023613,
-0.02920745126903057,
-0.036960046738386154,
0.02111230045557022,
0.03586025908589363,
-0.0328313410282135,
0.09180515259504318,
0.05646774172782898,
0.085386723279953,
0.0197240449488163,
-0.039844732731580734,
0.01516263373196125,
-0.02349216677248478,
0.015198692679405212,
-0.039556264877319336,
-0.004940025974065065,
-0.013855510391294956,
-0.09411290287971497,
0.009997242130339146,
0.015802673995494843,
0.0301810335367918,
-0.028864895924925804,
-0.009997242130339146,
-0.012836855836212635,
0.03400324285030365,
0.03980867564678192,
0.034760475158691406,
-0.009807934984564781,
-0.06357128173112869,
0.01701965183019638,
-0.014720916748046875,
0.021833471953868866,
-0.030920235440135002,
-0.01242218166589737,
0.018480023369193077,
-0.027548756450414658,
-0.12065201997756958,
-0.002307749353349209,
-0.06569873541593552,
0.003155126003548503,
-0.025295095518231392,
-0.07637207955121994,
0.007297355681657791,
0.02688167430460453,
0.037428807467222214,
0.02832401730120182,
0.029045188799500465,
0.005341177806258202,
-0.027368463575839996,
-0.044496290385723114,
-0.08012217283248901,
-0.001438962877728045,
0.063282810151577,
-0.05628744885325432,
0.024808304384350777,
-0.0016857387963682413,
0.014477521181106567,
-0.02861248515546322,
-0.01416200865060091,
0.00876674335449934,
-0.0029770866967737675,
-0.054917220026254654,
0.08769447356462479,
-0.0017037680372595787,
0.0186963751912117,
-0.03483258932828903,
-0.04543381556868553,
-0.03883509337902069,
0.02311355248093605,
-0.03409339115023613,
0.005557529162615538,
0.004392385948449373,
0.06541027128696442,
-0.023780634626746178,
0.0933196097612381,
0.02352822571992874,
0.04027743637561798,
0.06984547525644302,
0.049472376704216,
-0.01295404601842165,
-0.08942528814077377,
-0.02275296486914158,
0.03187578544020653,
-0.03409339115023613,
0.0009459743741899729,
0.03474244475364685,
0.04568622261285782,
0.029279569163918495,
-0.01535194180905819,
0.014522594399750233,
0.014738945290446281,
0.0485709123313427,
0.020823830738663673,
0.028360076248645782,
-0.020409157499670982,
0.021761354058980942,
0.012079625390470028,
-0.022067852318286896,
0.0037433316465467215,
-0.04871514439582825,
-0.04024137929081917,
0.007874293252825737,
0.005165392067283392,
0.07673266530036926,
-0.008329533040523529,
0.004599723033607006,
0.024411659687757492,
-0.01674921251833439,
0.0023640908766537905,
-0.002832852303981781,
-0.0051698992028832436,
-0.034670326858758926,
0.009708773344755173,
-0.006499559618532658,
-0.03389506787061691,
0.01791210100054741,
-0.007504692766815424,
-0.0012406406458467245,
-0.07673266530036926,
-0.048534851521253586,
0.029333656653761864,
-0.000569894618820399,
-0.10074768215417862,
0.0014513579662889242,
0.015387999825179577,
0.00033889434416778386,
0.02552947588264942,
0.05405181646347046,
0.0718287006020546,
-0.012530357576906681,
0.0818529799580574,
0.0780307725071907,
-0.008496303111314774,
-0.04575834050774574,
0.018020275980234146,
0.01476598996669054,
-0.005706270691007376,
-0.001142606372013688,
0.0018930756486952305,
-0.012223859317600727,
0.020391128957271576,
0.017975203692913055,
0.013242514804005623,
-0.006035305093973875,
-0.06357128173112869,
0.033462364226579666,
-0.018218599259853363,
0.012368094176054,
-0.002515086205676198,
-0.014612740837037563,
0.08019428700208664,
-0.05185224115848541,
0.015397015027701855,
0.015171648934483528,
0.022392379119992256,
-0.03279528021812439,
0.02149091474711895,
-0.0059136077761650085,
0.014946282841265202,
-0.01800224743783474,
-0.035193175077438354,
0.0005222860490903258,
0.018290715292096138,
0.02581794559955597,
0.07276622205972672,
0.05852308124303818,
-0.01692950539290905,
0.020300982519984245,
0.0015786897856742144,
0.014820077456533909,
-0.006801550276577473,
0.01981419138610363,
-0.01930937170982361,
-0.017993232235312462,
-0.028251899406313896,
0.007522721774876118,
-0.025619622319936752,
0.023005375638604164,
-0.01139451190829277,
0.013765363954007626,
-0.038871150463819504,
0.02991059422492981,
-0.05581868439912796,
0.029225481674075127,
-0.0029996233060956,
-0.00883435271680355,
0.017731808125972748,
-0.008297981694340706,
-0.015487161464989185,
0.013476895168423653,
0.02307749353349209,
-0.017263047397136688,
-0.004482532385736704,
-0.05001325532793999,
-0.010601223446428776,
0.028774749487638474,
0.01535194180905819,
0.019381487742066383,
0.03349842503666878,
-0.004768747370690107,
-0.002602978842332959,
-0.02287917025387287,
-0.005435831379145384,
-0.04006108641624451,
0.04875120520591736,
-0.03138899803161621,
0.003853761125355959,
-0.0010209085885435343,
0.0010733063099905849,
0.037428807467222214,
-0.014576681889593601,
-0.021779384464025497,
0.004962562583386898,
-0.030577678233385086,
0.06879977881908417,
-0.018398892134428024,
0.01721797324717045,
0.03771727904677391,
-0.009907095693051815,
-0.00044678838457912207,
0.0006715910858474672,
0.09880051761865616,
0.0786077082157135,
-0.03829421475529671,
0.024537865072488785,
0.004633527714759111,
0.03221834450960159,
-0.026106413453817368,
0.02520494908094406,
-0.002064353786408901,
-0.03182169795036316,
0.02976636029779911,
-0.03959232568740845,
-0.011078999377787113,
-0.0009437207481823862,
-0.042080365121364594,
-0.006107422523200512,
-0.011872288770973682,
0.045938633382320404,
0.00900112371891737,
0.016713153570890427,
0.016532860696315765,
0.01995842531323433,
0.011475644074380398,
0.05971301347017288,
0.09093974530696869,
-0.05531386658549309,
-0.01476598996669054,
0.05971301347017288,
-0.005882056429982185,
0.0053907581605017185,
0.04990508034825325,
-0.013666203245520592,
0.0031844235491007566,
-0.024033045396208763,
-0.04521746188402176,
-0.002778764581307769,
0.07579514384269714,
0.008622508496046066,
-0.01828170195221901,
0.04752521216869354,
0.00892900675535202,
0.062020763754844666,
-0.035283323377370834,
0.03786151111125946,
-0.02219405770301819,
-0.04280153661966324,
0.05102289468050003,
-0.020409157499670982,
0.03851056471467018,
0.03926779702305794,
-0.05625138804316521,
0.008784771896898746,
0.027801167219877243,
-0.07197292894124985,
0.012521343305706978,
-0.008663074113428593,
0.012386123649775982,
0.023600341752171516,
-0.04280153661966324,
0.02982044778764248,
-0.06970123946666718,
0.00988005194813013,
0.06995365023612976,
-0.008645045571029186,
-0.07208110392093658,
0.006625764537602663,
0.05603503808379173,
0.022157998755574226,
-0.023708518594503403,
-0.023780634626746178,
0.012737694196403027,
0.007261297199875116,
-0.028215840458869934,
0.05567445233464241,
-0.04629921913146973,
-0.039700500667095184,
-0.03129884973168373,
0.0048949527554214,
0.05643168091773987,
0.025150861591100693,
-0.033282071352005005,
0.002232251688838005,
0.00934818759560585,
0.054917220026254654,
0.013963686302304268,
-0.0037365707103163004,
-0.02520494908094406,
0.02352822571992874,
0.02711605466902256,
-0.060542359948158264,
-0.030541619285941124,
0.016776256263256073,
-0.04777762293815613,
0.03854662552475929,
0.02069762721657753,
-0.0334082767367363,
-0.003984473180025816,
0.0028373596724122763,
0.07269410043954849,
-0.03782545402646065,
0.01679428480565548,
-0.012683606706559658,
-0.048066090792417526,
0.029189422726631165,
-0.0292975977063179,
0.016109172254800797,
0.009375231340527534,
-0.036347050219774246,
0.0076444195583462715,
0.0046695866622030735,
0.03023512102663517,
0.014017773792147636,
0.006612242665141821,
-0.028017519041895866,
0.03274119272828102,
-0.020571421831846237,
0.013152368366718292,
0.055241748690605164,
0.04658769071102142,
-0.023744577541947365,
-0.0028418670408427715,
-0.03966443985700607,
-0.01158381998538971,
-0.021328652277588844,
-0.12606079876422882,
-0.0092760706320405,
0.011664951220154762,
0.018263671547174454,
-0.08848775923252106,
-0.01721797324717045,
-0.02664729207754135,
-0.015937892720103264,
0.00719819450750947,
-0.007991483435034752,
0.05336670204997063,
-0.025691740214824677,
0.0328313410282135,
0.02381669357419014,
0.04204430803656578,
-0.006914233323186636,
-0.0077300588600337505,
0.02408713288605213,
-0.031082497909665108,
0.006017276085913181,
-0.029459862038493156,
-0.03854662552475929,
0.009501436725258827,
-0.007554273121058941,
0.027656933292746544,
0.011187175288796425,
0.017154870554804802,
0.08257415145635605,
-0.035193175077438354,
0.004696630407124758,
0.03577011451125145,
0.036347050219774246,
-0.025475388392806053,
-0.012908972799777985,
-0.043703000992536545,
0.021779384464025497,
-0.04698433354496956,
-0.01404481753706932,
-0.054448459297418594,
-0.01408989168703556,
0.023474138230085373,
-0.05192435905337334,
-0.04283759742975235,
0.0021849246695637703,
-0.027098024263978004,
0.005350192077457905,
0.033318132162094116,
0.0019020902691408992,
0.03389506787061691,
-0.04164766147732735,
0.03865480050444603,
-0.050301723182201385,
0.022861141711473465,
-0.01586577668786049,
-0.023798665031790733,
-0.07222533971071243,
0.020823830738663673,
0.018678346648812294,
0.028594456613063812,
0.06735743582248688,
0.022662818431854248,
-0.012945030815899372,
0.015937892720103264,
-0.053510937839746475,
0.023041434586048126,
-0.016613991931080818,
-0.04020531848073006,
0.016595963388681412,
-0.0044487277045845985,
0.031334906816482544,
0.00590910017490387,
0.009961183182895184,
0.04878726229071617,
-0.005503441207110882,
-0.007964439690113068,
-0.02251858450472355,
0.03252484276890755,
-0.011556776240468025,
-0.04687615856528282,
-0.09057915955781937,
-0.08408861607313156,
0.07464126497507095,
-0.012872913852334023,
0.0025398763827979565,
-0.0012395137455314398,
-0.02949592098593712,
0.03461623936891556,
-0.03367871791124344,
0.02688167430460453,
0.06515786051750183,
0.015667453408241272,
0.03245272487401962,
0.002688618144020438,
-0.020986095070838928,
-0.001983222085982561,
0.015036429278552532,
-0.04777762293815613,
-0.00034819068969227374,
-0.008739698678255081,
0.10557953268289566,
-0.0241412203758955,
0.04164766147732735,
-0.008784771896898746,
-0.004121946636587381,
0.0048002987168729305,
-0.014017773792147636,
0.01701965183019638,
0.014189052395522594,
-0.03456215187907219,
-0.01721797324717045,
0.03897932916879654,
-0.01295404601842165,
-0.008275444619357586,
0.038907211273908615,
-0.03786151111125946,
0.025241008028388023,
-0.026683351024985313,
0.011646922677755356,
0.0017578558763489127,
0.03474244475364685,
0.03261498734354973,
-0.02093200758099556,
-0.02740452252328396,
0.025403272360563278,
-0.0039055952802300453,
0.03261498734354973,
0.026629263535141945,
0.020210836082696915,
0.02493450976908207,
-0.037609100341796875,
0.036581430584192276,
0.03418353572487831,
0.01776786707341671,
0.0426933616399765,
0.04348665103316307,
0.05037384107708931,
0.04143131151795387,
-0.010601223446428776,
-0.0031370967626571655,
0.07586725801229477,
0.00023649359354749322,
0.021130328997969627,
0.0014344555092975497,
-0.04792185500264168,
-0.004309000447392464,
-0.023798665031790733,
-0.008144732564687729,
0.00048763598897494376,
0.05596292018890381,
0.005156377330422401,
-0.0054403385147452354,
0.00462902057915926,
0.012250903062522411,
-0.013828466646373272,
-0.0239969864487648,
0.005278075113892555,
-0.0326690748333931,
-0.01911104843020439,
-0.04893149808049202,
0.03952020779252052,
0.05931636691093445,
-0.0035089508164674044,
-0.049147848039865494,
0.040818314999341965,
0.012332035228610039,
0.015378985553979874,
-0.02470012940466404,
-0.013603100553154945,
0.03703216463327408,
0.01846199482679367,
-0.038726918399333954,
-0.002046324545517564,
-0.058631256222724915,
0.08170875161886215,
-0.050445958971977234,
0.005070738028734922,
-0.013098279945552349,
-0.031695492565631866,
0.009402275085449219,
0.01748841255903244,
-0.02497056871652603,
0.033101778477430344,
-0.00825290847569704,
-0.0034142970107495785,
-0.08069910854101181,
-0.046263162046670914,
0.0016891192644834518,
-0.011205204762518406,
-0.06144382432103157,
-0.03227243199944496,
0.0032993603963404894,
-0.03688792884349823,
-0.03854662552475929,
0.040529847145080566,
-0.031515199691057205,
-0.03668960928916931,
0.006891696713864803,
0.0668165534734726,
0.02967621386051178,
-0.038402389734983444,
0.0007352570537477732,
-0.022446468472480774,
-0.09389655292034149,
-0.026358824223279953,
-0.03212819620966911,
-0.00795542448759079,
-0.021292593330144882,
0.02432151325047016,
0.049977194517850876,
-0.027242260053753853,
0.0024632520508021116,
-0.025655681267380714,
-0.004250405356287956,
-0.009519466198980808,
-0.014171022921800613,
-0.05697255954146385,
-0.016641035676002502,
0.0036779753863811493,
0.005773880518972874,
0.008852382190525532,
0.006828594021499157,
-0.012503313831984997,
-0.09288690984249115,
0.02278902381658554,
0.020300982519984245,
0.016289465129375458,
-0.011737069115042686,
-0.028432192280888557,
-0.004281956702470779,
0.026106413453817368,
-0.013332661241292953,
0.02102215401828289,
0.05149165540933609,
-0.08690118789672852,
0.006810565013438463,
-0.04684009775519371,
-0.0019798416178673506,
-0.03212819620966911,
0.023564284667372704,
-0.0688718929886818,
0.025619622319936752,
-0.053691230714321136,
-0.008343054912984371,
0.0479939728975296,
-0.027981460094451904,
-0.05675620958209038,
-0.07099934667348862,
-0.006999872159212828,
-0.03721245750784874,
-0.021094270050525665,
-0.026593204587697983,
-0.05394364148378372,
-0.04182795435190201,
0.026899702847003937,
0.03818603977560997,
-0.011358453892171383,
-0.006021783221513033,
0.07615572959184647,
-0.032398637384176254,
0.026394883170723915,
0.001641792361624539,
0.012963060289621353,
0.019886309280991554,
-0.010168520733714104,
0.04009714350104332,
0.00505721615627408,
-0.02767496183514595,
0.004432952031493187,
0.05809037759900093,
0.06043418496847153,
0.029135335236787796,
-0.0014029042795300484,
-0.03218228369951248,
-0.012458240613341331,
0.019597839564085007,
-0.016271434724330902,
-0.06393186748027802,
0.0019967439584434032,
-0.030920235440135002,
-0.030631765723228455,
-0.02897307090461254,
0.020264923572540283,
0.02817978337407112,
-0.03194790333509445,
0.040529847145080566,
0.01753348670899868,
0.004405908286571503,
0.041142843663692474,
-0.001863777986727655,
0.014351315796375275,
0.04251306876540184,
0.010249651968479156,
-0.05643168091773987,
0.052104651927948,
0.01174608338624239,
0.004520844668149948,
-0.0003780517145060003,
-0.01467584352940321,
0.023095522075891495,
-0.00874420627951622,
0.0320921391248703,
0.036220844835042953,
-0.05048201605677605,
-0.04986901953816414,
-0.011737069115042686,
-0.05837884545326233,
0.022446468472480774,
-0.04071014001965523,
-0.045469872653484344,
0.04027743637561798,
0.009339173324406147,
0.03218228369951248,
-0.03185775876045227,
0.008554899133741856,
0.009199446067214012,
-0.060866888612508774,
0.022536614909768105,
0.011547761037945747,
0.04431599751114845,
-0.018344804644584656,
0.026755468919873238,
-0.0009093523840419948,
0.07637207955121994,
0.027512699365615845,
-0.028071606531739235,
-0.017686733976006508,
-0.024105163291096687,
-0.005260045640170574,
0.06851130723953247,
0.040025025606155396,
0.02219405770301819,
-0.020300982519984245,
0.014684857800602913,
-0.07673266530036926,
0.024177279323339462,
0.00043890054803341627,
0.035139087587594986,
0.019597839564085007,
-0.060722652822732925,
-0.0409264899790287,
-0.02976636029779911,
-0.01721797324717045,
-0.05949665978550911,
0.007788653951138258,
-0.009970198385417461,
0.06375157088041306,
0.009303114376962185,
-0.04745309427380562,
0.0008034302736632526,
-0.036256905645132065,
0.023690488189458847,
0.00011775380698964,
-0.0047326888889074326,
0.062020763754844666,
0.0045659178867936134,
-0.01167396642267704,
0.06692472845315933,
0.008099659346044064,
0.031280819326639175,
0.019543752074241638,
0.06357128173112869,
0.01837184838950634,
0.01776786707341671,
-0.05632350593805313,
-0.015171648934483528,
-0.03571602702140808,
-0.004777762107551098,
-0.062020763754844666,
-0.008645045571029186,
-0.04135919362306595,
0.01744334027171135,
0.004027293063700199,
0.022897200658917427,
-0.0007020155317150056
] |
18,101 | sklearn.utils.validation | check_X_y | Input validation for standard estimators.
Checks X and y for consistent length, enforces X to be 2D and y 1D. By
default, X is checked to be non-empty and containing only finite values.
Standard input checks are also applied to y, such as checking that y
does not have np.nan or np.inf targets. For multi-label y, set
multi_output=True to allow 2D and sparse y. If the dtype of X is
object, attempt converting to float, raising on failure.
Parameters
----------
X : {ndarray, list, sparse matrix}
Input data.
y : {ndarray, list, sparse matrix}
Labels.
accept_sparse : str, bool or list of str, default=False
String[s] representing allowed sparse matrix formats, such as 'csc',
'csr', etc. If the input is sparse but not in the allowed format,
it will be converted to the first listed format. True allows the input
to be any format. False means that a sparse matrix input will
raise an error.
accept_large_sparse : bool, default=True
If a CSR, CSC, COO or BSR sparse matrix is supplied and accepted by
accept_sparse, accept_large_sparse will cause it to be accepted only
if its indices are stored with a 32-bit dtype.
.. versionadded:: 0.20
dtype : 'numeric', type, list of type or None, default='numeric'
Data type of result. If None, the dtype of the input is preserved.
If "numeric", dtype is preserved unless array.dtype is object.
If dtype is a list of types, conversion on the first type is only
performed if the dtype of the input is not in the list.
order : {'F', 'C'}, default=None
Whether an array will be forced to be fortran or c-style. If
`None`, then the input data's order is preserved when possible.
copy : bool, default=False
Whether a forced copy will be triggered. If copy=False, a copy might
be triggered by a conversion.
force_all_finite : bool or 'allow-nan', default=True
Whether to raise an error on np.inf, np.nan, pd.NA in X. This parameter
does not influence whether y can have np.inf, np.nan, pd.NA values.
The possibilities are:
- True: Force all values of X to be finite.
- False: accepts np.inf, np.nan, pd.NA in X.
- 'allow-nan': accepts only np.nan or pd.NA values in X. Values cannot
be infinite.
.. versionadded:: 0.20
``force_all_finite`` accepts the string ``'allow-nan'``.
.. versionchanged:: 0.23
Accepts `pd.NA` and converts it into `np.nan`
ensure_2d : bool, default=True
Whether to raise a value error if X is not 2D.
allow_nd : bool, default=False
Whether to allow X.ndim > 2.
multi_output : bool, default=False
Whether to allow 2D y (array or sparse matrix). If false, y will be
validated as a vector. y cannot have np.nan or np.inf values if
multi_output=True.
ensure_min_samples : int, default=1
Make sure that X has a minimum number of samples in its first
axis (rows for a 2D array).
ensure_min_features : int, default=1
Make sure that the 2D array has some minimum number of features
(columns). The default value of 1 rejects empty datasets.
This check is only enforced when X has effectively 2 dimensions or
is originally 1D and ``ensure_2d`` is True. Setting to 0 disables
this check.
y_numeric : bool, default=False
Whether to ensure that y has a numeric type. If dtype of y is object,
it is converted to float64. Should only be used for regression
algorithms.
estimator : str or estimator instance, default=None
If passed, include the name of the estimator in warning messages.
Returns
-------
X_converted : object
The converted and validated X.
y_converted : object
The converted and validated y.
Examples
--------
>>> from sklearn.utils.validation import check_X_y
>>> X = [[1, 2], [3, 4], [5, 6]]
>>> y = [1, 2, 3]
>>> X, y = check_X_y(X, y)
>>> X
array([[1, 2],
[3, 4],
[5, 6]])
>>> y
array([1, 2, 3])
| def check_X_y(
X,
y,
accept_sparse=False,
*,
accept_large_sparse=True,
dtype="numeric",
order=None,
copy=False,
force_all_finite=True,
ensure_2d=True,
allow_nd=False,
multi_output=False,
ensure_min_samples=1,
ensure_min_features=1,
y_numeric=False,
estimator=None,
):
"""Input validation for standard estimators.
Checks X and y for consistent length, enforces X to be 2D and y 1D. By
default, X is checked to be non-empty and containing only finite values.
Standard input checks are also applied to y, such as checking that y
does not have np.nan or np.inf targets. For multi-label y, set
multi_output=True to allow 2D and sparse y. If the dtype of X is
object, attempt converting to float, raising on failure.
Parameters
----------
X : {ndarray, list, sparse matrix}
Input data.
y : {ndarray, list, sparse matrix}
Labels.
accept_sparse : str, bool or list of str, default=False
String[s] representing allowed sparse matrix formats, such as 'csc',
'csr', etc. If the input is sparse but not in the allowed format,
it will be converted to the first listed format. True allows the input
to be any format. False means that a sparse matrix input will
raise an error.
accept_large_sparse : bool, default=True
If a CSR, CSC, COO or BSR sparse matrix is supplied and accepted by
accept_sparse, accept_large_sparse will cause it to be accepted only
if its indices are stored with a 32-bit dtype.
.. versionadded:: 0.20
dtype : 'numeric', type, list of type or None, default='numeric'
Data type of result. If None, the dtype of the input is preserved.
If "numeric", dtype is preserved unless array.dtype is object.
If dtype is a list of types, conversion on the first type is only
performed if the dtype of the input is not in the list.
order : {'F', 'C'}, default=None
Whether an array will be forced to be fortran or c-style. If
`None`, then the input data's order is preserved when possible.
copy : bool, default=False
Whether a forced copy will be triggered. If copy=False, a copy might
be triggered by a conversion.
force_all_finite : bool or 'allow-nan', default=True
Whether to raise an error on np.inf, np.nan, pd.NA in X. This parameter
does not influence whether y can have np.inf, np.nan, pd.NA values.
The possibilities are:
- True: Force all values of X to be finite.
- False: accepts np.inf, np.nan, pd.NA in X.
- 'allow-nan': accepts only np.nan or pd.NA values in X. Values cannot
be infinite.
.. versionadded:: 0.20
``force_all_finite`` accepts the string ``'allow-nan'``.
.. versionchanged:: 0.23
Accepts `pd.NA` and converts it into `np.nan`
ensure_2d : bool, default=True
Whether to raise a value error if X is not 2D.
allow_nd : bool, default=False
Whether to allow X.ndim > 2.
multi_output : bool, default=False
Whether to allow 2D y (array or sparse matrix). If false, y will be
validated as a vector. y cannot have np.nan or np.inf values if
multi_output=True.
ensure_min_samples : int, default=1
Make sure that X has a minimum number of samples in its first
axis (rows for a 2D array).
ensure_min_features : int, default=1
Make sure that the 2D array has some minimum number of features
(columns). The default value of 1 rejects empty datasets.
This check is only enforced when X has effectively 2 dimensions or
is originally 1D and ``ensure_2d`` is True. Setting to 0 disables
this check.
y_numeric : bool, default=False
Whether to ensure that y has a numeric type. If dtype of y is object,
it is converted to float64. Should only be used for regression
algorithms.
estimator : str or estimator instance, default=None
If passed, include the name of the estimator in warning messages.
Returns
-------
X_converted : object
The converted and validated X.
y_converted : object
The converted and validated y.
Examples
--------
>>> from sklearn.utils.validation import check_X_y
>>> X = [[1, 2], [3, 4], [5, 6]]
>>> y = [1, 2, 3]
>>> X, y = check_X_y(X, y)
>>> X
array([[1, 2],
[3, 4],
[5, 6]])
>>> y
array([1, 2, 3])
"""
if y is None:
if estimator is None:
estimator_name = "estimator"
else:
estimator_name = _check_estimator_name(estimator)
raise ValueError(
f"{estimator_name} requires y to be passed, but the target y is None"
)
X = check_array(
X,
accept_sparse=accept_sparse,
accept_large_sparse=accept_large_sparse,
dtype=dtype,
order=order,
copy=copy,
force_all_finite=force_all_finite,
ensure_2d=ensure_2d,
allow_nd=allow_nd,
ensure_min_samples=ensure_min_samples,
ensure_min_features=ensure_min_features,
estimator=estimator,
input_name="X",
)
y = _check_y(y, multi_output=multi_output, y_numeric=y_numeric, estimator=estimator)
check_consistent_length(X, y)
return X, y
| (X, y, accept_sparse=False, *, accept_large_sparse=True, dtype='numeric', order=None, copy=False, force_all_finite=True, ensure_2d=True, allow_nd=False, multi_output=False, ensure_min_samples=1, ensure_min_features=1, y_numeric=False, estimator=None) | [
0.004553949926048517,
0.018454303964972496,
0.03979054093360901,
-0.01047433353960514,
0.02424798160791397,
-0.010335205122828484,
-0.030468981713056564,
0.05163627862930298,
0.035557083785533905,
-0.02287657931447029,
0.008690516464412212,
-0.060103196650743484,
0.015035736374557018,
-0.037942130118608475,
-0.002772617619484663,
0.036610476672649384,
-0.04436188191175461,
-0.028322437778115273,
-0.013087947852909565,
0.03388755023479462,
-0.026613153517246246,
-0.05437908321619034,
0.013266826048493385,
0.029316207394003868,
-0.021286549046635628,
-0.011199785396456718,
0.034642815589904785,
-0.008218475617468357,
-0.02418835647404194,
-0.01750028505921364,
-0.006643350701779127,
-0.01067308709025383,
-0.009843289852142334,
0.05414057523012161,
0.017997169867157936,
-0.033768296241760254,
-0.011716545559465885,
0.025142375379800797,
-0.020650535821914673,
-0.02277720347046852,
-0.05414057523012161,
-0.060460951179265976,
0.027964681386947632,
0.042573098093271255,
-0.01857355609536171,
0.046985432505607605,
-0.029852842912077904,
0.029872719198465347,
-0.05382256954908371,
-0.046627677977085114,
0.010533959604799747,
-0.08017734438180923,
0.05131826922297478,
0.05211328715085983,
-0.0006111683906055987,
0.028501316905021667,
0.025042997673153877,
0.04555440694093704,
0.0015117722796276212,
-0.03305278345942497,
-0.024168480187654495,
0.029137330129742622,
-0.021763557568192482,
0.008685547858476639,
-0.013386079110205173,
-0.01873256079852581,
-0.0701601430773735,
0.00006696300260955468,
0.01697358675301075,
0.0630050003528595,
-0.04845621436834335,
0.00580858439207077,
0.01090165413916111,
0.02026296593248844,
0.017470471560955048,
0.010007261298596859,
-0.04937048256397247,
0.0319795124232769,
-0.035298701375722885,
-0.03808125853538513,
-0.0303497277200222,
0.07477124035358429,
0.006802354007959366,
0.008347665891051292,
-0.020163588225841522,
-0.005202384665608406,
0.03824026137590408,
0.08673622459173203,
0.038200508803129196,
0.010434582829475403,
-0.011378663592040539,
0.015264303423464298,
0.018971065059304237,
0.011746358126401901,
0.00008866289863362908,
0.03857814148068428,
-0.03070748597383499,
0.03923403099179268,
0.001294385059736669,
-0.022578449919819832,
-0.01369414757937193,
0.008427167311310768,
0.001210535760037601,
0.10629361122846603,
-0.026772158220410347,
-0.005262010730803013,
0.011577418074011803,
-0.02043190598487854,
0.0007447061943821609,
0.008183694444596767,
-0.06034170091152191,
-0.06447578221559525,
0.017877917736768723,
-0.00964453537017107,
-0.05286855250597,
-0.06845086067914963,
-0.0269311610609293,
0.03700798749923706,
-0.07306195050477982,
-0.02947521023452282,
0.011915299110114574,
0.054100826382637024,
-0.031085118651390076,
-0.034126054495573044,
0.0269311610609293,
-0.027567172423005104,
0.02653365209698677,
0.015323929488658905,
0.046985432505607605,
-0.018851812928915024,
-0.015810877084732056,
0.004114206880331039,
0.00003728577576112002,
0.06654282659292221,
-0.015075487084686756,
-0.05199403315782547,
-0.021207047626376152,
0.003985016606748104,
0.028700070455670357,
-0.09166532009840012,
0.08284064382314682,
0.019557388499379158,
0.0223598200827837,
-0.009102931246161461,
0.0308466125279665,
0.02637464925646782,
0.025639260187745094,
0.009912853129208088,
-0.004422275349497795,
0.056247368454933167,
-0.04507739469408989,
-0.0022757328115403652,
0.05636662244796753,
-0.07429422438144684,
0.011110345833003521,
-0.03180063143372536,
-0.03531857579946518,
-0.062647245824337,
0.05926842987537384,
0.01743072085082531,
-0.041857581585645676,
-0.03440430760383606,
-0.005724113900214434,
0.02337346412241459,
0.018354928120970726,
0.035755835473537445,
-0.011577418074011803,
0.007721591275185347,
0.012750065885484219,
0.035139698535203934,
-0.008471887558698654,
-0.0391545295715332,
-0.03929365798830986,
-0.02897832542657852,
-0.008059472776949406,
-0.0021614492870867252,
0.020829414948821068,
-0.00852157548069954,
0.0072097997181117535,
0.06598631292581558,
0.013723960146307945,
0.02993234433233738,
-0.06022244691848755,
-0.04064518213272095,
-0.00028167161508463323,
0.05195428431034088,
-0.019954897463321686,
-0.01971639133989811,
-0.03573596104979515,
0.01504567451775074,
-0.014747543260455132,
0.01044452004134655,
-0.0025465351063758135,
0.031283870339393616,
0.019149944186210632,
-0.004198677372187376,
-0.023413214832544327,
0.036411724984645844,
0.03665022924542427,
0.012998508289456367,
0.016069257631897926,
-0.03609371930360794,
0.0923808366060257,
-0.027169665321707726,
-0.008074379526078701,
0.009813476353883743,
-0.0734197124838829,
0.018026983365416527,
-0.049688488245010376,
-0.026772158220410347,
0.023254211992025375,
0.006757634226232767,
-0.10048999637365341,
0.017867980524897575,
0.046627677977085114,
0.03847876563668251,
0.0998539850115776,
-0.049131978303194046,
-0.017907731235027313,
-0.009425906464457512,
0.08514619618654251,
-0.040684934705495834,
-0.03716699033975601,
-0.006971294991672039,
0.04845621436834335,
-0.023552343249320984,
0.0308466125279665,
0.02526162751019001,
0.05688337981700897,
-0.05036425217986107,
0.02170393243432045,
-0.05906967446208,
0.01661583036184311,
0.01827542670071125,
-0.0021341205574572086,
-0.014638228341937065,
0.03994954377412796,
0.01844436675310135,
-0.018484117463231087,
0.04416312649846077,
-0.04360661655664444,
-0.02196231111884117,
-0.011796046979725361,
-0.03670985624194145,
-0.0019577264320105314,
0.017599662765860558,
0.030767111107707024,
0.013743835501372814,
0.004496808163821697,
-0.0015540074091404676,
-0.03887627273797989,
0.01844436675310135,
0.021306423470377922,
-0.04157932847738266,
-0.0017937544034793973,
-0.065946564078331,
0.01158735528588295,
-0.05759889632463455,
0.024228107184171677,
-0.03517945110797882,
0.021167295053601265,
0.039214156568050385,
-0.027885179966688156,
0.07548674941062927,
-0.0858617052435875,
-0.016834460198879242,
0.02287657931447029,
-0.025321252644062042,
0.03643159940838814,
0.009286778047680855,
-0.0868157297372818,
0.008476856164634228,
-0.052073534578084946,
0.009957573376595974,
0.029256582260131836,
0.03416580334305763,
0.03547758236527443,
-0.036769479513168335,
0.07763329148292542,
0.03744524344801903,
-0.005182509310543537,
-0.01866299659013748,
0.007875625044107437,
-0.011169971898198128,
0.014568665064871311,
-0.007483086083084345,
-0.06002369523048401,
-0.05545235425233841,
-0.001499350182712078,
-0.031741004437208176,
0.01026564184576273,
-0.0021490270737558603,
0.044043876230716705,
-0.0006006095791235566,
-0.005058288108557463,
-0.011040781624615192,
-0.05779764801263809,
-0.025758512318134308,
0.03716699033975601,
-0.025698885321617126,
-0.03205901384353638,
0.10255704075098038,
0.0020198370330035686,
-0.015363680198788643,
0.027865303680300713,
-0.061176467686891556,
0.005947711877524853,
-0.047502193599939346,
-0.025281501933932304,
0.028680196031928062,
0.062289487570524216,
0.02353246882557869,
-0.02790505439043045,
-0.051715780049562454,
-0.024864118546247482,
-0.011726482771337032,
0.04483889043331146,
0.03961166366934776,
0.04217558726668358,
-0.001756488112732768,
0.007229675073176622,
-0.021167295053601265,
0.02881932258605957,
-0.030767111107707024,
-0.03038947843015194,
0.04181783273816109,
0.01612888276576996,
0.03170125558972359,
-0.008586171083152294,
0.014091655611991882,
0.046985432505607605,
-0.031442876905202866,
0.03802163153886795,
0.03678935766220093,
0.048972975462675095,
-0.007145204581320286,
-0.012819630093872547,
-0.026255397126078606,
0.041857581585645676,
-0.00953025184571743,
-0.09349385648965836,
0.016337575390934944,
-0.03714711219072342,
-0.03659060224890709,
-0.01448916271328926,
-0.05402132496237755,
-0.03690860792994499,
-0.04416312649846077,
0.06972288340330124,
0.056485872715711594,
-0.027606923133134842,
0.02836218848824501,
0.039313532412052155,
0.004519167821854353,
0.00046303460840135813,
0.03364904597401619,
-0.04153957590460777,
-0.008809768594801426,
0.04269234836101532,
-0.011627105996012688,
-0.016466764733195305,
-0.022995831444859505,
-0.015333867631852627,
-0.02943545952439308,
-0.02144555188715458,
0.00935137365013361,
0.004750219639390707,
-0.0017167372861877084,
0.014429536648094654,
-0.0014583570882678032,
0.0017080417601391673,
-0.028580818325281143,
-0.03339066356420517,
-0.021207047626376152,
-0.004434697795659304,
0.056843630969524384,
-0.03434468433260918,
0.025023123249411583,
-0.004511714912950993,
0.01271031517535448,
0.04630967229604721,
0.03176088258624077,
-0.05302755534648895,
-0.006310437805950642,
0.008089286275207996,
-0.016526391729712486,
-0.01021595299243927,
0.010921529494225979,
-0.029037952423095703,
-0.03293352946639061,
0.029495086520910263,
-0.012819630093872547,
0.03414592891931534,
-0.01713259145617485,
0.021823184564709663,
-0.021664181724190712,
0.03684898093342781,
0.09357336163520813,
-0.02689141035079956,
-0.024466611444950104,
-0.03259564936161041,
0.03253602236509323,
0.021107669919729233,
-0.023651720955967903,
-0.08077360689640045,
0.01230286993086338,
0.03176088258624077,
-0.013833275064826012,
-0.026414399966597557,
0.07322095334529877,
0.036053966730833054,
0.048774220049381256,
0.04583266004920006,
0.011597293429076672,
-0.05604861304163933,
0.10096700489521027,
-0.020769787952303886,
0.04126131907105446,
0.05767839774489403,
0.017848104238510132,
0.03776324912905693,
-0.025321252644062042,
-0.01448916271328926,
0.014151281677186489,
-0.0015254365280270576,
-0.02450636215507984,
-0.07254519313573837,
-0.02881932258605957,
0.020312653854489326,
-0.0030434199143201113,
-0.021226922050118446,
-0.016337575390934944,
-0.07393646985292435,
-0.03979054093360901,
-0.051874782890081406,
-0.02800443209707737,
-0.0000793851213529706,
0.014121468178927898,
-0.006370064336806536,
0.011855673044919968,
-0.025738636031746864,
-0.02516224980354309,
0.06892786920070648,
0.05068225786089897,
-0.05378282070159912,
-0.04865496605634689,
-0.028143560513854027,
0.04595191404223442,
-0.08625921607017517,
0.002708022715523839,
0.03414592891931534,
-0.03217826411128044,
0.02738829515874386,
-0.002983793616294861,
-0.02073003724217415,
-0.03414592891931534,
0.05493559315800667,
-0.0420960858464241,
0.011726482771337032,
-0.011666856706142426,
0.0023912584874778986,
-0.04690593108534813,
-0.008904176764190197,
-0.006519129499793053,
-0.057161636650562286,
0.014399724081158638,
-0.01013148296624422,
0.0013055650051683187,
0.034642815589904785,
0.03955203667283058,
-0.02450636215507984,
-0.04849596321582794,
-0.008347665891051292,
-0.000410551147069782,
0.011796046979725361,
0.06224973872303963,
0.031025491654872894,
0.026036767289042473,
-0.0046806554310023785,
-0.043169356882572174,
-0.011656919494271278,
-0.012064364738762379,
0.02144555188715458,
0.0008142701117321849,
0.028123684227466583,
-0.01951763778924942,
0.022021938115358353,
-0.052789051085710526,
-0.01598975621163845,
0.046627677977085114,
-0.02937583439052105,
0.016297824680805206,
0.04539540410041809,
-0.04050605371594429,
-0.03396705165505409,
-0.025639260187745094,
0.014290409162640572,
0.01072277594357729,
0.01225318107753992,
0.02291633002460003,
0.0339471735060215,
0.04583266004920006,
-0.06582731008529663,
-0.017162403091788292,
0.04344761371612549,
-0.001665806514210999,
-0.024466611444950104,
-0.03881664574146271,
-0.06340251117944717,
0.040744561702013016,
-0.08498719334602356,
0.037067610770463943,
0.04837671294808388,
0.01850399374961853,
0.007175017613917589,
0.03971103951334953,
0.01909031718969345,
0.02200206182897091,
0.010111607611179352,
0.018841873854398727,
-0.009669379331171513,
0.02408897876739502,
0.06475403904914856,
0.012362495996057987,
0.04189733415842056,
0.0639590248465538,
-0.04392462223768234,
0.0023018191568553448,
0.0482972115278244,
-0.017063027247786522,
-0.0023490232415497303,
-0.027229292318224907,
0.017798416316509247,
0.047144439071416855,
-0.06109696626663208,
-0.04305010661482811,
0.04925122857093811,
-0.014687917195260525,
-0.005714176222681999,
-0.03186025843024254,
-0.007150173652917147,
0.051517024636268616,
-0.017768602818250656,
0.025241751223802567,
0.009912853129208088,
-0.0042433966882526875,
-0.020372280851006508,
0.033728547394275665,
-0.02887894958257675,
-0.018881624564528465,
-0.05584986135363579,
-0.008755112066864967,
0.07218743860721588,
0.04428238049149513,
0.020551158115267754,
-0.045355651527643204,
-0.0042433966882526875,
0.09905897080898285,
0.0010974945034831762,
-0.008919083513319492,
-0.04599166288971901,
-0.04483889043331146,
-0.0075128995813429356,
-0.053345561027526855,
-0.012392308562994003,
0.0300317220389843,
-0.013058134354650974,
-0.002306787995621562,
-0.011875548399984837,
-0.009733974933624268,
-0.0015453119995072484,
-0.019984709098935127,
-0.02565913461148739,
-0.01344570517539978,
-0.011319037526845932,
0.04217558726668358,
-0.03593471646308899,
-0.042414095252752304,
-0.05378282070159912,
-0.008839582093060017,
0.03370866924524307,
-0.021843058988451958,
0.0046607800759375095,
-0.07401597499847412,
0.0033465197775512934,
-0.05211328715085983,
-0.04122157022356987,
-0.03126399591565132,
-0.03476206585764885,
0.025679010897874832,
0.03168138116598129,
0.035755835473537445,
0.002401196165010333,
-0.011110345833003521,
0.011855673044919968,
-0.0017875434132292867,
-0.02327408827841282,
-0.008765049278736115,
0.08546420186758041,
-0.0313236229121685,
-0.0007049554260447621,
0.03998929634690285,
-0.007423460017889738,
-0.05839391052722931,
0.0300317220389843,
-0.02689141035079956,
-0.04937048256397247,
-0.06868936866521835,
0.020054273307323456,
-0.061216216534376144,
-0.00772655988112092,
-0.004029736388474703,
-0.006280624773353338,
-0.06018269807100296,
-0.020312653854489326,
0.04265259951353073,
0.0036073841620236635,
0.010146389715373516,
-0.035139698535203934,
-0.016526391729712486,
0.022379694506525993,
-0.006166341248899698,
0.02627527341246605,
0.025301378220319748,
-0.021167295053601265,
0.01117991004139185,
-0.02333371341228485,
-0.007428429089486599,
-0.010692962445318699,
0.012968695722520351,
-0.025957265868782997,
-0.03726636618375778,
0.06240874156355858,
-0.0009689255384728312,
0.02953483723104,
-0.03146275132894516,
0.02404922805726528,
0.02800443209707737,
0.0078358743339777,
0.014270533807575703,
-0.060818709433078766,
0.032913655042648315,
0.05831440910696983,
0.03690860792994499,
-0.04070480912923813,
-0.05565110594034195,
0.00772655988112092,
0.02241944521665573,
0.07552649825811386,
-0.016238197684288025,
0.005788709037005901,
0.02846156619489193,
-0.058274660259485245,
-0.01390283927321434,
0.03649122640490532,
0.04086381196975708,
0.019626952707767487,
0.028799448162317276,
-0.013555019162595272,
0.0018285363912582397,
0.018971065059304237,
0.04746244475245476,
0.06403852254152298,
0.05509459599852562,
-0.009107899852097034,
0.057042382657527924,
-0.0046607800759375095,
0.019378511235117912,
-0.004024767316877842,
-0.004958911333233118,
-0.042573098093271255,
0.02020333893597126,
0.031144743785262108,
-0.0031452812254428864,
0.010981155559420586,
-0.050960514694452286,
-0.00933149829506874,
-0.030409354716539383,
-0.006479378789663315,
0.037226613610982895,
0.03414592891931534,
0.049887243658304214,
0.009053242392838001,
0.008059472776949406,
0.005813552998006344,
-0.03531857579946518,
0.003242173930630088,
0.010161295533180237,
0.007219737395644188,
-0.0372067391872406,
0.019736267626285553,
0.009251996874809265,
0.05000649392604828,
-0.07389672100543976,
-0.015542559325695038,
-0.002532870741561055,
-0.035298701375722885,
0.05127852037549019,
0.00786568783223629,
0.025122499093413353,
-0.030468981713056564,
0.00726942578330636,
-0.031283870339393616,
0.06709933280944824,
0.04122157022356987,
0.029355958104133606,
-0.08244314044713974,
0.02404922805726528,
0.030886365100741386,
-0.09102930873632431,
-0.0018446851754561067,
-0.020928790792822838,
-0.023651720955967903,
-0.016337575390934944,
0.005202384665608406,
0.025440506637096405,
0.013704084791243076,
0.0067526656202971935,
0.034384433180093765,
0.04436188191175461,
0.061573974788188934,
0.0024682756047695875,
-0.015910254791378975,
-0.002732866909354925,
-0.041340820491313934,
0.06622481346130371,
0.025341128930449486,
-0.05493559315800667,
0.08101210743188858,
-0.04738294333219528,
0.052987802773714066,
0.0463494211435318,
-0.003426021197810769,
0.09762793779373169,
-0.035855211317539215,
-0.05000649392604828,
-0.02937583439052105,
-0.010186140425503254,
0.049688488245010376,
0.043129608035087585,
-0.010812214575707912,
-0.025639260187745094,
0.053902070969343185,
-0.0021987156942486763,
-0.02943545952439308,
0.02748767100274563,
0.019249320030212402,
-0.01964682899415493,
-0.028700070455670357,
0.010643274523317814,
-0.06292550265789032,
-0.041658829897642136,
-0.00006991325790295377,
0.015940066426992416,
0.04189733415842056,
0.014260595664381981,
-0.057161636650562286,
-0.009212245233356953,
-0.008432136848568916,
-0.01163704413920641,
0.004635936114937067,
-0.004613575991243124,
0.02943545952439308,
0.0558101087808609,
-0.02343309111893177,
0.04619041830301285,
0.03593471646308899,
0.07795129716396332
] |
18,102 | sklearn.utils.validation | check_array | Input validation on an array, list, sparse matrix or similar.
By default, the input is checked to be a non-empty 2D array containing
only finite values. If the dtype of the array is object, attempt
converting to float, raising on failure.
Parameters
----------
array : object
Input object to check / convert.
accept_sparse : str, bool or list/tuple of str, default=False
String[s] representing allowed sparse matrix formats, such as 'csc',
'csr', etc. If the input is sparse but not in the allowed format,
it will be converted to the first listed format. True allows the input
to be any format. False means that a sparse matrix input will
raise an error.
accept_large_sparse : bool, default=True
If a CSR, CSC, COO or BSR sparse matrix is supplied and accepted by
accept_sparse, accept_large_sparse=False will cause it to be accepted
only if its indices are stored with a 32-bit dtype.
.. versionadded:: 0.20
dtype : 'numeric', type, list of type or None, default='numeric'
Data type of result. If None, the dtype of the input is preserved.
If "numeric", dtype is preserved unless array.dtype is object.
If dtype is a list of types, conversion on the first type is only
performed if the dtype of the input is not in the list.
order : {'F', 'C'} or None, default=None
Whether an array will be forced to be fortran or c-style.
When order is None (default), then if copy=False, nothing is ensured
about the memory layout of the output array; otherwise (copy=True)
the memory layout of the returned array is kept as close as possible
to the original array.
copy : bool, default=False
Whether a forced copy will be triggered. If copy=False, a copy might
be triggered by a conversion.
force_all_finite : bool or 'allow-nan', default=True
Whether to raise an error on np.inf, np.nan, pd.NA in array. The
possibilities are:
- True: Force all values of array to be finite.
- False: accepts np.inf, np.nan, pd.NA in array.
- 'allow-nan': accepts only np.nan and pd.NA values in array. Values
cannot be infinite.
.. versionadded:: 0.20
``force_all_finite`` accepts the string ``'allow-nan'``.
.. versionchanged:: 0.23
Accepts `pd.NA` and converts it into `np.nan`
ensure_2d : bool, default=True
Whether to raise a value error if array is not 2D.
allow_nd : bool, default=False
Whether to allow array.ndim > 2.
ensure_min_samples : int, default=1
Make sure that the array has a minimum number of samples in its first
axis (rows for a 2D array). Setting to 0 disables this check.
ensure_min_features : int, default=1
Make sure that the 2D array has some minimum number of features
(columns). The default value of 1 rejects empty datasets.
This check is only enforced when the input data has effectively 2
dimensions or is originally 1D and ``ensure_2d`` is True. Setting to 0
disables this check.
estimator : str or estimator instance, default=None
If passed, include the name of the estimator in warning messages.
input_name : str, default=""
The data name used to construct the error message. In particular
if `input_name` is "X" and the data has NaN values and
allow_nan is False, the error message will link to the imputer
documentation.
.. versionadded:: 1.1.0
Returns
-------
array_converted : object
The converted and validated array.
Examples
--------
>>> from sklearn.utils.validation import check_array
>>> X = [[1, 2, 3], [4, 5, 6]]
>>> X_checked = check_array(X)
>>> X_checked
array([[1, 2, 3], [4, 5, 6]])
| def check_array(
array,
accept_sparse=False,
*,
accept_large_sparse=True,
dtype="numeric",
order=None,
copy=False,
force_all_finite=True,
ensure_2d=True,
allow_nd=False,
ensure_min_samples=1,
ensure_min_features=1,
estimator=None,
input_name="",
):
"""Input validation on an array, list, sparse matrix or similar.
By default, the input is checked to be a non-empty 2D array containing
only finite values. If the dtype of the array is object, attempt
converting to float, raising on failure.
Parameters
----------
array : object
Input object to check / convert.
accept_sparse : str, bool or list/tuple of str, default=False
String[s] representing allowed sparse matrix formats, such as 'csc',
'csr', etc. If the input is sparse but not in the allowed format,
it will be converted to the first listed format. True allows the input
to be any format. False means that a sparse matrix input will
raise an error.
accept_large_sparse : bool, default=True
If a CSR, CSC, COO or BSR sparse matrix is supplied and accepted by
accept_sparse, accept_large_sparse=False will cause it to be accepted
only if its indices are stored with a 32-bit dtype.
.. versionadded:: 0.20
dtype : 'numeric', type, list of type or None, default='numeric'
Data type of result. If None, the dtype of the input is preserved.
If "numeric", dtype is preserved unless array.dtype is object.
If dtype is a list of types, conversion on the first type is only
performed if the dtype of the input is not in the list.
order : {'F', 'C'} or None, default=None
Whether an array will be forced to be fortran or c-style.
When order is None (default), then if copy=False, nothing is ensured
about the memory layout of the output array; otherwise (copy=True)
the memory layout of the returned array is kept as close as possible
to the original array.
copy : bool, default=False
Whether a forced copy will be triggered. If copy=False, a copy might
be triggered by a conversion.
force_all_finite : bool or 'allow-nan', default=True
Whether to raise an error on np.inf, np.nan, pd.NA in array. The
possibilities are:
- True: Force all values of array to be finite.
- False: accepts np.inf, np.nan, pd.NA in array.
- 'allow-nan': accepts only np.nan and pd.NA values in array. Values
cannot be infinite.
.. versionadded:: 0.20
``force_all_finite`` accepts the string ``'allow-nan'``.
.. versionchanged:: 0.23
Accepts `pd.NA` and converts it into `np.nan`
ensure_2d : bool, default=True
Whether to raise a value error if array is not 2D.
allow_nd : bool, default=False
Whether to allow array.ndim > 2.
ensure_min_samples : int, default=1
Make sure that the array has a minimum number of samples in its first
axis (rows for a 2D array). Setting to 0 disables this check.
ensure_min_features : int, default=1
Make sure that the 2D array has some minimum number of features
(columns). The default value of 1 rejects empty datasets.
This check is only enforced when the input data has effectively 2
dimensions or is originally 1D and ``ensure_2d`` is True. Setting to 0
disables this check.
estimator : str or estimator instance, default=None
If passed, include the name of the estimator in warning messages.
input_name : str, default=""
The data name used to construct the error message. In particular
if `input_name` is "X" and the data has NaN values and
allow_nan is False, the error message will link to the imputer
documentation.
.. versionadded:: 1.1.0
Returns
-------
array_converted : object
The converted and validated array.
Examples
--------
>>> from sklearn.utils.validation import check_array
>>> X = [[1, 2, 3], [4, 5, 6]]
>>> X_checked = check_array(X)
>>> X_checked
array([[1, 2, 3], [4, 5, 6]])
"""
if isinstance(array, np.matrix):
raise TypeError(
"np.matrix is not supported. Please convert to a numpy array with "
"np.asarray. For more information see: "
"https://numpy.org/doc/stable/reference/generated/numpy.matrix.html"
)
xp, is_array_api_compliant = get_namespace(array)
# store reference to original array to check if copy is needed when
# function returns
array_orig = array
# store whether originally we wanted numeric dtype
dtype_numeric = isinstance(dtype, str) and dtype == "numeric"
dtype_orig = getattr(array, "dtype", None)
if not is_array_api_compliant and not hasattr(dtype_orig, "kind"):
# not a data type (e.g. a column named dtype in a pandas DataFrame)
dtype_orig = None
# check if the object contains several dtypes (typically a pandas
# DataFrame), and store them. If not, store None.
dtypes_orig = None
pandas_requires_conversion = False
# track if we have a Series-like object to raise a better error message
type_if_series = None
if hasattr(array, "dtypes") and hasattr(array.dtypes, "__array__"):
# throw warning if columns are sparse. If all columns are sparse, then
# array.sparse exists and sparsity will be preserved (later).
with suppress(ImportError):
from pandas import SparseDtype
def is_sparse(dtype):
return isinstance(dtype, SparseDtype)
if not hasattr(array, "sparse") and array.dtypes.apply(is_sparse).any():
warnings.warn(
"pandas.DataFrame with sparse columns found."
"It will be converted to a dense numpy array."
)
dtypes_orig = list(array.dtypes)
pandas_requires_conversion = any(
_pandas_dtype_needs_early_conversion(i) for i in dtypes_orig
)
if all(isinstance(dtype_iter, np.dtype) for dtype_iter in dtypes_orig):
dtype_orig = np.result_type(*dtypes_orig)
elif pandas_requires_conversion and any(d == object for d in dtypes_orig):
# Force object if any of the dtypes is an object
dtype_orig = object
elif (_is_extension_array_dtype(array) or hasattr(array, "iloc")) and hasattr(
array, "dtype"
):
# array is a pandas series
type_if_series = type(array)
pandas_requires_conversion = _pandas_dtype_needs_early_conversion(array.dtype)
if isinstance(array.dtype, np.dtype):
dtype_orig = array.dtype
else:
# Set to None to let array.astype work out the best dtype
dtype_orig = None
if dtype_numeric:
if (
dtype_orig is not None
and hasattr(dtype_orig, "kind")
and dtype_orig.kind == "O"
):
# if input is object, convert to float.
dtype = xp.float64
else:
dtype = None
if isinstance(dtype, (list, tuple)):
if dtype_orig is not None and dtype_orig in dtype:
# no dtype conversion required
dtype = None
else:
# dtype conversion required. Let's select the first element of the
# list of accepted types.
dtype = dtype[0]
if pandas_requires_conversion:
# pandas dataframe requires conversion earlier to handle extension dtypes with
# nans
# Use the original dtype for conversion if dtype is None
new_dtype = dtype_orig if dtype is None else dtype
array = array.astype(new_dtype)
# Since we converted here, we do not need to convert again later
dtype = None
if force_all_finite not in (True, False, "allow-nan"):
raise ValueError(
'force_all_finite should be a bool or "allow-nan". Got {!r} instead'.format(
force_all_finite
)
)
if d | (array, accept_sparse=False, *, accept_large_sparse=True, dtype='numeric', order=None, copy=False, force_all_finite=True, ensure_2d=True, allow_nd=False, ensure_min_samples=1, ensure_min_features=1, estimator=None, input_name='') | [
-0.00282098725438118,
0.005547239910811186,
0.06909313797950745,
0.03349395841360092,
0.02027321420609951,
-0.012926016002893448,
-0.03846226632595062,
-0.025620458647608757,
0.03503076732158661,
-0.038209639489650726,
-0.031494006514549255,
-0.04900939017534256,
0.051998794078826904,
-0.06298801302909851,
-0.04943043366074562,
0.035620227456092834,
-0.019431129097938538,
0.05700920522212982,
0.007520878221839666,
0.07216674834489822,
-0.014199670404195786,
-0.0389254130423069,
-0.03250451013445854,
0.027409890666604042,
0.011094479821622372,
-0.004710417240858078,
0.052840881049633026,
0.0018289049621671438,
-0.024588903412222862,
-0.02559940703213215,
-0.0038288584910333157,
-0.00999450497329235,
-0.015915419906377792,
0.048293616622686386,
-0.0034499200992286205,
-0.06959838420152664,
-0.029978252947330475,
-0.02097846008837223,
-0.012231294997036457,
0.03730439767241478,
-0.060882799327373505,
-0.030630867928266525,
-0.00481304619461298,
0.011147109791636467,
-0.02061004750430584,
0.034651827067136765,
0.04681996628642082,
0.032357145100831985,
-0.10012399405241013,
0.011368157342076302,
0.029999304562807083,
-0.053304027765989304,
0.06905102729797363,
0.051998794078826904,
-0.03743071109056473,
0.06698791682720184,
0.022399481385946274,
0.015683846548199654,
-0.02332577481865883,
-0.060672275722026825,
0.002402575919404626,
0.03433604538440704,
0.018641673028469086,
-0.04324110224843025,
-0.0036209686659276485,
0.009005053900182247,
0.0013618104858323932,
0.0073893023654818535,
-0.0015157542657107115,
0.0034183417446911335,
-0.07081940770149231,
0.011357631534337997,
0.02580992691218853,
0.005673552863299847,
0.013841784559190273,
0.021273190155625343,
-0.018283786252141,
-0.005831443704664707,
-0.0511988140642643,
-0.007352461107075214,
0.010615543462336063,
0.08113496005535126,
0.015462798997759819,
0.04896728694438934,
-0.02126266434788704,
-0.007005100604146719,
-0.00680510513484478,
0.10340812802314758,
0.0376201793551445,
0.02753620408475399,
0.032020311802625656,
-0.011968143284320831,
0.009778720326721668,
0.0546092614531517,
-0.02387312985956669,
0.03113611973822117,
-0.0055735548958182335,
-0.025346780195832253,
-0.0036709674168378115,
-0.005441979039460421,
-0.004718311596661806,
0.026167813688516617,
0.053514547646045685,
0.04850413650274277,
-0.009594514034688473,
0.0024131019599735737,
0.03012561798095703,
0.0005289351101964712,
0.020736360922455788,
0.022357376292347908,
-0.03700966760516167,
-0.02006269246339798,
-0.020073218271136284,
-0.015641743317246437,
0.000703931029420346,
-0.05528292804956436,
-0.009320836514234543,
0.037999119609594345,
-0.07822976261377335,
-0.005920915398746729,
0.04237796366214752,
0.03894646465778351,
0.023009993135929108,
-0.03646231070160866,
0.053935591131448746,
-0.013589158654212952,
0.05288298428058624,
0.00858401134610176,
0.06319853663444519,
0.026525700464844704,
-0.032462406903505325,
-0.021978437900543213,
-0.0286098625510931,
0.036588624119758606,
-0.010652384720742702,
-0.017315387725830078,
0.0004019643529318273,
-0.03218872845172882,
-0.028820384293794632,
-0.06016702577471733,
0.056209221482276917,
0.010747118853032589,
0.03393605351448059,
-0.01236813422292471,
0.05006199702620506,
-0.008273492567241192,
0.011062901467084885,
0.008399805054068565,
-0.03991486504673958,
0.016315411776304245,
-0.06446166336536407,
-0.005852495785802603,
0.020841622725129128,
-0.029851939529180527,
0.0355360172688961,
-0.012652338482439518,
0.006752475164830685,
-0.08791375160217285,
-0.03164137154817581,
0.03966223821043968,
-0.052419837564229965,
0.0023433666210621595,
-0.030399294570088387,
0.022315271198749542,
-0.06989311426877975,
-0.003978854976594448,
-0.030399294570088387,
-0.03740965947508812,
-0.07279831171035767,
0.05692499503493309,
0.02635728381574154,
-0.02557835355401039,
-0.018431151285767555,
-0.006736685987561941,
-0.002857828512787819,
0.05212510749697685,
0.029241427779197693,
-0.016894344240427017,
0.0026749379467219114,
0.04888307675719261,
-0.000909847323782742,
0.04210428521037102,
-0.05894600227475166,
0.004026222508400679,
-0.009810298681259155,
0.03983065485954285,
-0.04098852351307869,
-0.0223363246768713,
0.01727328449487686,
0.0423148088157177,
0.02061004750430584,
0.03928329795598984,
0.014441770501434803,
0.03185189142823219,
0.029851939529180527,
-0.06446166336536407,
-0.0637458935379982,
0.024420486763119698,
0.012273399159312248,
0.06749317049980164,
-0.014399666339159012,
-0.03783070296049118,
0.09768194705247879,
-0.02884143590927124,
-0.04812519997358322,
-0.010936588048934937,
-0.01614699326455593,
-0.002570993034169078,
0.0015828580362722278,
-0.004839361645281315,
-0.005752498283982277,
-0.015431220643222332,
-0.0472831130027771,
0.009973453357815742,
0.0574723519384861,
0.01111553143709898,
0.10938693583011627,
-0.04522000253200531,
0.00421306025236845,
0.01969427987933159,
0.021852124482393265,
-0.00661037303507328,
-0.043535832315683365,
0.00010460283374413848,
0.038230691105127335,
-0.014999652281403542,
0.0033683429937809706,
0.03172558173537254,
0.07380881160497665,
0.0016131204320117831,
-0.006241960451006889,
-0.02526257187128067,
-0.05338823422789574,
-0.027136212214827538,
0.04909359663724899,
-0.009068210609257221,
0.05818812549114227,
0.007320882752537727,
0.029515104368329048,
0.011757622472941875,
-0.035072870552539825,
-0.034314993768930435,
-0.03446235880255699,
-0.006641951389610767,
-0.007852449081838131,
-0.04576735943555832,
0.018925877287983894,
0.045051585882902145,
-0.010183974169194698,
-0.05161985382437706,
-0.03675704076886177,
-0.02254684641957283,
0.028820384293794632,
-0.015178595669567585,
0.022946836426854134,
-0.055030301213264465,
0.031157171353697777,
0.01051554549485445,
0.011547100730240345,
-0.011936564929783344,
0.01539964322000742,
0.007241937331855297,
0.04183061048388481,
0.04305163398385048,
-0.06189330294728279,
-0.0018933771643787622,
0.009036632254719734,
-0.009610303677618504,
0.05397769436240196,
0.04698838293552399,
0.0051709325052797794,
0.028273029252886772,
-0.04282005876302719,
0.017462752759456635,
0.028230924159288406,
0.004615682642906904,
0.020831095054745674,
-0.012768125161528587,
0.012673390097916126,
0.04496737942099571,
-0.04736732318997383,
-0.03315712511539459,
-0.0026288863737136126,
0.005415664054453373,
-0.01852588541805744,
-0.0005989992641843855,
-0.04837782680988312,
-0.046441029757261276,
-0.02959931269288063,
0.0018446940230205655,
-0.019136399030685425,
0.004226217977702618,
0.0071893068961799145,
-0.003105191048234701,
-0.048756763339042664,
-0.01857851631939411,
-0.08172442018985748,
-0.059030208736658096,
0.03136769309639931,
-0.03458867222070694,
-0.01682066172361374,
0.048840973526239395,
0.0004950542934238911,
0.009778720326721668,
0.014441770501434803,
-0.038778048008680344,
-0.09094525873661041,
-0.006589320953935385,
-0.03566233068704605,
0.05456715449690819,
0.03250451013445854,
0.008368226699531078,
-0.03250451013445854,
0.0019170608138665557,
0.057640768587589264,
-0.01165236160159111,
0.050356727093458176,
0.003136769402772188,
0.043746352195739746,
0.012778650969266891,
0.006589320953935385,
-0.01977848820388317,
-0.037030719220638275,
-0.031915049999952316,
-0.07364039868116379,
-0.003218346508219838,
0.03686230257153511,
-0.037683337926864624,
0.001448650611564517,
0.013210220262408257,
0.038335952907800674,
0.016389094293117523,
0.05410400778055191,
0.023767869919538498,
0.03305186331272125,
0.025620458647608757,
-0.02688358724117279,
-0.07515615224838257,
0.0021025827154517174,
0.007910342887043953,
-0.04816730320453644,
0.055998701602220535,
-0.002194685861468315,
-0.008041919209063053,
-0.028904592618346214,
-0.02818881906569004,
-0.04500948265194893,
-0.058819688856601715,
0.04433581233024597,
0.0037946489173918962,
-0.00915768276900053,
-0.03677809610962868,
-0.04420950263738632,
0.06728264689445496,
-0.004615682642906904,
-0.00802086666226387,
0.008078760467469692,
0.009068210609257221,
0.023052096366882324,
-0.07254568487405777,
0.02983088791370392,
-0.011547100730240345,
0.01923113316297531,
-0.04220954701304436,
0.025957291945815086,
0.0036709674168378115,
-0.017799587920308113,
-0.02538888528943062,
0.016810135915875435,
-0.029557209461927414,
0.03884120285511017,
-0.04846203327178955,
0.002109161578118801,
-0.052630357444286346,
0.006741948891431093,
-0.022946836426854134,
-0.06100911274552345,
0.036588624119758606,
0.004302531946450472,
0.022610001266002655,
0.036272842437028885,
0.01539964322000742,
-0.05343034118413925,
-0.011547100730240345,
0.021852124482393265,
-0.031515058130025864,
-0.0028315132949501276,
0.037030719220638275,
-0.04096747189760208,
-0.03804122284054756,
-0.017494332045316696,
0.007720873691141605,
-0.0016407513758167624,
-0.05343034118413925,
-0.027473047375679016,
0.04328320547938347,
0.010831328108906746,
0.07700873911380768,
-0.03700966760516167,
-0.032041363418102264,
-0.0185469388961792,
-0.027957245707511902,
0.007184043992310762,
-0.014136514626443386,
-0.03903067484498024,
0.007652454078197479,
0.026483597233891487,
-0.03319922834634781,
0.005978808738291264,
0.07633507251739502,
0.0898505449295044,
0.0671563372015953,
0.03307291865348816,
-0.007768240757286549,
-0.005457768216729164,
0.06774579733610153,
-0.044630542397499084,
0.00003529934474499896,
0.01611541584134102,
-0.0071577285416424274,
0.0702720582485199,
-0.027283577248454094,
-0.06728264689445496,
0.03749386593699455,
-0.000784192350693047,
-0.039409611374139786,
-0.009999767877161503,
0.020410053431987762,
-0.0005318955518305302,
0.04698838293552399,
-0.002443364355713129,
-0.0321255698800087,
-0.03294660523533821,
-0.055788181722164154,
-0.052756670862436295,
-0.01974691078066826,
-0.0470304898917675,
0.01534701231867075,
-0.014852287247776985,
0.006947207264602184,
0.014662818051874638,
-0.020967934280633926,
0.05271456763148308,
-0.017210127785801888,
-0.019494283944368362,
-0.04627260938286781,
0.018567990511655807,
0.014010201208293438,
-0.11460787057876587,
-0.030967703089118004,
0.026946743950247765,
-0.037999119609594345,
0.04065169021487236,
-0.009368203580379486,
-0.028125664219260216,
0.0214205551892519,
0.06454586982727051,
-0.017483804374933243,
0.029978252947330475,
-0.014325983822345734,
-0.03515708073973656,
-0.008510328829288483,
-0.04328320547938347,
-0.06761948764324188,
0.0015789107419550419,
0.00174206483643502,
-0.03770438954234123,
-0.022588949650526047,
-0.002514415420591831,
0.008357700891792774,
0.05279877409338951,
-0.036693885922431946,
0.035936009138822556,
-0.010078713297843933,
0.01024186797440052,
0.06248276308178902,
-0.040925364941358566,
0.012610234320163727,
-0.042020078748464584,
0.019767962396144867,
-0.010141870006918907,
-0.02667306549847126,
0.012157612480223179,
0.0014999652048572898,
0.026167813688516617,
0.008005077950656414,
0.032020311802625656,
-0.01176814828068018,
-0.0041314829140901566,
-0.0021249507553875446,
-0.05060935392975807,
0.02145213447511196,
0.053177714347839355,
0.045051585882902145,
0.02332577481865883,
-0.014831234700977802,
0.022946836426854134,
0.04067274183034897,
0.03955697640776634,
-0.0022631054744124413,
0.03429394215345383,
0.033136073499917984,
-0.07726136595010757,
0.0077629778534173965,
0.030546659603714943,
-0.05300929769873619,
-0.009457675740122795,
0.0072156223468482494,
-0.03126243129372597,
0.007805082015693188,
-0.09768194705247879,
0.07212464511394501,
-0.008652430959045887,
0.013252324424684048,
0.022588949650526047,
0.010573439300060272,
-0.005984071642160416,
-0.030546659603714943,
-0.022399481385946274,
0.022294219583272934,
-0.017652222886681557,
-0.019452180713415146,
-0.004844624549150467,
0.038104377686977386,
0.00232494599185884,
0.04349372908473015,
-0.030188772827386856,
-0.007841923274099827,
0.03275713324546814,
-0.019104819744825363,
0.01676803268492222,
-0.0028788805939257145,
0.06597741693258286,
0.04770415648818016,
-0.0012690494768321514,
-0.0214205551892519,
0.0775981992483139,
0.01682066172361374,
0.02050478756427765,
0.02635728381574154,
0.0021223193034529686,
0.07439827173948288,
-0.011294474825263023,
0.03812543302774429,
0.028673019260168076,
-0.036357052624225616,
-0.0018999559106305242,
-0.018852194771170616,
-0.01888377219438553,
-0.014610187150537968,
-0.037683337926864624,
0.010583965107798576,
0.0969240665435791,
0.05561976134777069,
0.030546659603714943,
-0.04282005876302719,
0.01609436422586441,
0.06256697326898575,
0.006520901340991259,
-0.008826111443340778,
-0.06361957639455795,
-0.05945125222206116,
0.005415664054453373,
-0.04985147714614868,
-0.05410400778055191,
0.008041919209063053,
0.016262780874967575,
0.057640768587589264,
0.0008012971957214177,
-0.014157566241919994,
0.027999350801110268,
-0.02105214260518551,
-0.05932493880391121,
0.002905195811763406,
0.02656780555844307,
0.03286239504814148,
-0.04980937018990517,
-0.0036578099243342876,
-0.04681996628642082,
-0.0410095751285553,
0.012126034125685692,
-0.03488340228796005,
-0.04458843916654587,
-0.04056748002767563,
-0.01039975881576538,
-0.04117799177765846,
-0.001999953528866172,
0.013673366978764534,
-0.07401933521032333,
-0.02753620408475399,
0.01414704043418169,
-0.03513602912425995,
0.023262618109583855,
0.00423148088157177,
0.017125919461250305,
0.04770415648818016,
-0.047198906540870667,
-0.0025459935422986746,
0.08378753066062927,
-0.022357376292347908,
-0.04046221822500229,
0.01752590946853161,
-0.014578609727323055,
-0.06361957639455795,
0.012957594357430935,
0.013894414529204369,
-0.042862165719270706,
-0.03743071109056473,
0.07128255814313889,
-0.05305140092968941,
-0.015241751447319984,
0.01572595164179802,
-0.017378544434905052,
-0.03231504186987877,
0.023157358169555664,
0.05149354413151741,
-0.07465089857578278,
-0.006620899308472872,
-0.011799726635217667,
0.03288344666361809,
0.013462845236063004,
-0.011347105726599693,
0.012210243381559849,
-0.0024617849849164486,
-0.02460995502769947,
-0.01426282711327076,
-0.0006506427889689803,
-0.015968050807714462,
-0.03597811236977577,
-0.02150476537644863,
-0.017115391790866852,
-0.010094502940773964,
0.06547216325998306,
-0.022146854549646378,
-0.016473302617669106,
-0.05136723071336746,
-0.016810135915875435,
0.054693467915058136,
0.03357816860079765,
0.0397043414413929,
-0.02806250751018524,
0.013294428586959839,
0.0383991077542305,
0.011736569926142693,
0.0031736106611788273,
-0.08041919022798538,
0.012294451706111431,
-0.0394517183303833,
0.06096700578927994,
0.043872665613889694,
-0.022694211453199387,
0.05549345165491104,
-0.08631378412246704,
-0.002989404369145632,
0.050483040511608124,
0.037578076124191284,
0.003523602383211255,
0.02157844603061676,
-0.015578585676848888,
0.019031137228012085,
0.009426097385585308,
0.009036632254719734,
0.02549414522945881,
-0.021178456023335457,
0.08732429146766663,
0.04589367285370827,
0.01773643121123314,
0.0765455961227417,
0.040820106863975525,
0.03425183892250061,
-0.08732429146766663,
0.05010410025715828,
0.023220514878630638,
0.02589413709938526,
0.061093319207429886,
0.004010433331131935,
-0.005905126221477985,
-0.006794579327106476,
-0.03143085166811943,
-0.019336393103003502,
0.007784029934555292,
0.05890389531850815,
-0.007531404495239258,
0.041030626744031906,
0.0027946720365434885,
-0.0922083854675293,
0.0071945698000490665,
0.017599591985344887,
-0.011010270565748215,
-0.03675704076886177,
0.03620968759059906,
0.013862836174666882,
0.038420163094997406,
-0.052840881049633026,
-0.012999698519706726,
0.00802086666226387,
-0.0462305061519146,
0.07553508877754211,
-0.015578585676848888,
0.017641695216298103,
0.01755748689174652,
0.007115624379366636,
-0.021336346864700317,
0.0661037266254425,
0.05515661463141441,
0.025767823681235313,
-0.06492481380701065,
0.0092734694480896,
0.007247200235724449,
-0.05132512375712395,
-0.05018831044435501,
0.015420694835484028,
-0.0004690680652856827,
0.011378683149814606,
-0.0658511072397232,
-0.0057735503651201725,
-0.014599661342799664,
0.0006006439798511565,
0.012115508317947388,
0.037999119609594345,
0.03869383782148361,
0.022925784811377525,
0.006962996441870928,
0.054272424429655075,
-0.06538795679807663,
0.06972470134496689,
0.01084185391664505,
-0.01627330668270588,
0.036062322556972504,
-0.03825174272060394,
0.03966223821043968,
0.019010085612535477,
0.0038814889267086983,
0.08227177709341049,
-0.005044620018452406,
-0.007431406527757645,
0.0004677523102145642,
0.04269374534487724,
-0.0022486320231109858,
0.006415640469640493,
-0.010489230044186115,
-0.0410095751285553,
-0.017431175336241722,
-0.0306940246373415,
-0.008757691830396652,
-0.006299853790551424,
0.006389325484633446,
-0.010326076298952103,
-0.02842039428651333,
-0.008489277213811874,
-0.02753620408475399,
-0.057851288467645645,
-0.01539964322000742,
0.01593647338449955,
0.04345162212848663,
0.0032051887828856707,
-0.07330356538295746,
0.012389186769723892,
0.03383079543709755,
-0.02905195765197277,
-0.02223106287419796,
-0.019789014011621475,
0.027830934152007103,
0.039072778075933456,
-0.018346942961215973,
-0.007789292838424444,
0.00445515988394618,
-0.0001904561067931354
] |
18,103 | sklearn.utils.multiclass | check_classification_targets | Ensure that target y is of a non-regression type.
Only the following target types (as defined in type_of_target) are allowed:
'binary', 'multiclass', 'multiclass-multioutput',
'multilabel-indicator', 'multilabel-sequences'
Parameters
----------
y : array-like
Target values.
| def check_classification_targets(y):
"""Ensure that target y is of a non-regression type.
Only the following target types (as defined in type_of_target) are allowed:
'binary', 'multiclass', 'multiclass-multioutput',
'multilabel-indicator', 'multilabel-sequences'
Parameters
----------
y : array-like
Target values.
"""
y_type = type_of_target(y, input_name="y")
if y_type not in [
"binary",
"multiclass",
"multiclass-multioutput",
"multilabel-indicator",
"multilabel-sequences",
]:
raise ValueError(
f"Unknown label type: {y_type}. Maybe you are trying to fit a "
"classifier, which expects discrete classes on a "
"regression target with continuous values."
)
| (y) | [
0.0061453417874872684,
0.04127585142850876,
0.03450077399611473,
-0.006623071618378162,
-0.022427240386605263,
0.009241899475455284,
-0.020603181794285774,
0.023382699117064476,
0.0006932510295882821,
0.004356026649475098,
0.025137271732091904,
-0.011587117798626423,
0.035247769206762314,
-0.07490802556276321,
0.004264823626726866,
-0.028073137626051903,
-0.0005640468443743885,
-0.006514496635645628,
0.05395740270614624,
0.01691163331270218,
-0.01610383577644825,
0.04940594360232353,
0.028038393706083298,
0.02287891134619713,
0.0060541387647390366,
0.004864157643169165,
-0.03192972019314766,
0.007317951414734125,
-0.007252806331962347,
-0.02362590841948986,
-0.07928576320409775,
-0.009285328909754753,
-0.019717209041118622,
0.03198183700442314,
0.010501368902623653,
0.017641257494688034,
0.016720540821552277,
0.07178106904029846,
-0.003096557455137372,
-0.05833514407277107,
-0.08720739185810089,
-0.04005981236696243,
-0.04589679837226868,
0.03926070034503937,
-0.017510967329144478,
-0.004538432694971561,
-0.014019196853041649,
-0.008329869247972965,
-0.07393519580364227,
-0.06469329446554184,
-0.001562393386848271,
-0.03066156432032585,
0.036550670862197876,
0.03153016418218613,
-0.013159283436834812,
0.0682024359703064,
0.02489406242966652,
0.03759298846125603,
-0.028733273968100548,
0.025745291262865067,
-0.024772459641098976,
0.0803975760936737,
0.009224527515470982,
-0.052046485245227814,
0.019543489441275597,
-0.010944354347884655,
-0.07351826876401901,
0.03142593055963516,
-0.02027311362326145,
0.044993456453084946,
-0.041519057005643845,
-0.046383216977119446,
0.003928241319954395,
0.06240019202232361,
0.01668579690158367,
-0.02161075733602047,
-0.018084242939949036,
0.05121263116598129,
0.013541466556489468,
-0.006549240555614233,
-0.045410383492708206,
0.031686510890722275,
0.05135160684585571,
-0.03285043314099312,
-0.025502081960439682,
-0.03382326662540436,
-0.02022099681198597,
0.025293618440628052,
-0.0032811348792165518,
-0.03891326114535332,
-0.044020626693964005,
-0.00837764237076044,
0.014410066418349743,
-0.009094237349927425,
-0.019196050241589546,
0.0914461612701416,
0.0026144846342504025,
0.007708820980042219,
-0.05764026567339897,
-0.020342601463198662,
0.024511879310011864,
-0.005532979033887386,
0.02133280411362648,
0.030140403658151627,
-0.036828622221946716,
-0.027795186266303062,
-0.02998405694961548,
-0.018727006390690804,
-0.03253773972392082,
0.012038789689540863,
-0.051073651760816574,
-0.045271407812833786,
0.04120636358857155,
-0.02015150897204876,
-0.015539245679974556,
-0.05208122730255127,
-0.03149541839957237,
-0.016121206805109978,
-0.10777582973241806,
-0.031182723119854927,
0.0268397256731987,
0.032033950090408325,
-0.0268397256731987,
-0.017293816432356834,
0.055312421172857285,
-0.029949313029646873,
0.024425018578767776,
0.015165748074650764,
0.0038934973999857903,
-0.0347960963845253,
-0.043325744569301605,
-0.02760409377515316,
-0.05114314332604408,
0.050795700401067734,
0.01066640205681324,
0.024286042898893356,
-0.07803498208522797,
0.00045981488074176013,
0.04791194945573807,
-0.08477531373500824,
0.04662642255425453,
0.048120416700839996,
0.018292706459760666,
-0.00555903697386384,
0.04575782269239426,
0.045271407812833786,
-0.017945267260074615,
0.020655296742916107,
-0.003908697981387377,
0.045062944293022156,
-0.03596002236008644,
-0.0330936424434185,
0.04162329062819481,
-0.0422486811876297,
-0.03437916934490204,
0.015678221359848976,
-0.018292706459760666,
-0.0167987160384655,
0.007795680779963732,
-0.005181196145713329,
0.01589537225663662,
-0.023261096328496933,
-0.005259370431303978,
0.008364614099264145,
0.01936976984143257,
0.025536825880408287,
-0.012073533609509468,
0.020377345383167267,
0.005385317374020815,
0.05590306594967842,
-0.04930170997977257,
-0.05590306594967842,
-0.0036068595945835114,
0.0029315233696252108,
0.01278578583151102,
-0.023938603699207306,
0.015660850331187248,
-0.01118756178766489,
0.02378225512802601,
0.08435838669538498,
0.02663126215338707,
0.05982913821935654,
-0.051907509565353394,
-0.017571769654750824,
0.024720342829823494,
0.002618827624246478,
-0.04280458763241768,
-0.010761948302388191,
-0.07171157747507095,
0.0062104868702590466,
-0.008555705659091473,
0.01529603824019432,
0.034327052533626556,
0.03351056948304176,
0.06309507042169571,
-0.015426328405737877,
0.01663368195295334,
0.011587117798626423,
0.03291992470622063,
-0.004297396168112755,
0.04440280795097351,
-0.020742157474160194,
0.07063451409339905,
0.0080996910110116,
-0.023730140179395676,
0.026057986542582512,
-0.030366240069270134,
0.027795186266303062,
-0.011178876273334026,
-0.07084298133850098,
0.05030928552150726,
0.030227264389395714,
-0.06559664011001587,
0.08845818042755127,
0.03832261264324188,
0.03491770103573799,
-0.0021085254848003387,
-0.0341012179851532,
-0.04683488607406616,
-0.02921968884766102,
0.004903244320303202,
0.028003649786114693,
0.012698925100266933,
-0.0065666125155985355,
0.042630866169929504,
-0.03873953968286514,
0.023799628019332886,
0.03401435911655426,
0.05840463191270828,
-0.03066156432032585,
0.010301590897142887,
-0.07351826876401901,
0.01902233064174652,
0.030852656811475754,
0.041519057005643845,
0.004030301701277494,
0.045340895652770996,
-0.03901749104261398,
0.041588544845581055,
0.052254948765039444,
-0.0387742854654789,
0.0006367920432239771,
-0.043047793209552765,
-0.045340895652770996,
0.04634847119450569,
0.03298941254615784,
0.021732360124588013,
0.03066156432032585,
-0.03304152563214302,
-0.013385118916630745,
-0.01811898685991764,
-0.017658628523349762,
-0.004286538809537888,
-0.05948169529438019,
0.01578245311975479,
-0.06945321708917618,
0.023799628019332886,
-0.09394773095846176,
0.05388791486620903,
-0.02027311362326145,
-0.05840463191270828,
0.06278237700462341,
-0.032172925770282745,
0.09853393584489822,
-0.07872986048460007,
-0.015982231125235558,
0.02362590841948986,
0.008077975362539291,
-0.014618530869483948,
0.01506151631474495,
-0.0012779270764440298,
0.025606315582990646,
0.0006753361667506397,
0.02725665457546711,
0.00837764237076044,
0.02859429642558098,
-0.005802244879305363,
-0.03745401278138161,
0.055520884692668915,
0.0130724236369133,
0.02272256463766098,
-0.04273509606719017,
0.056424226611852646,
-0.03033149614930153,
0.011578432284295559,
-0.03724554926156998,
-0.044020626693964005,
-0.050934676080942154,
-0.012994249351322651,
0.009085550904273987,
-0.011656605638563633,
0.012533891946077347,
0.06114940717816353,
0.0011541516287252307,
-0.012777099385857582,
0.03156490623950958,
-0.011039900593459606,
-0.03298941254615784,
0.014905168674886227,
-0.017571769654750824,
-0.01084012258797884,
0.06483227014541626,
-0.045340895652770996,
-0.056076787412166595,
-0.024494506418704987,
-0.044576529413461685,
0.06552714854478836,
-0.025745291262865067,
-0.039295442402362823,
0.03146067634224892,
0.045479871332645416,
0.04620949551463127,
0.022357752546668053,
-0.026613891124725342,
-0.03561258316040039,
0.02991456910967827,
0.0682024359703064,
0.0003941270406357944,
-0.013055051676928997,
-0.00646238075569272,
-0.01380204688757658,
0.022392496466636658,
0.012777099385857582,
-0.03835735470056534,
0.020446833223104477,
0.035108793526887894,
0.017041923478245735,
-0.0010721775470301509,
-0.044090114533901215,
0.04322151467204094,
0.04179701209068298,
-0.034049101173877716,
0.04266560822725296,
-0.008755483664572239,
0.043603695929050446,
0.014688018709421158,
-0.011734779924154282,
0.0195782333612442,
0.054826002568006516,
0.00459923455491662,
-0.08338555693626404,
0.02022099681198597,
-0.01874437741935253,
-0.00352868577465415,
0.06462380290031433,
-0.0075872172601521015,
-0.03351056948304176,
0.041449569165706635,
0.0797026976943016,
0.056493714451789856,
-0.01571296527981758,
0.04092841222882271,
0.03849633038043976,
-0.00289243645966053,
-0.025189386680722237,
-0.004547118674963713,
0.027899418026208878,
-0.006953139323741198,
-0.008646908216178417,
0.03304152563214302,
0.02022099681198597,
-0.043047793209552765,
0.03311101347208023,
-0.010753262788057327,
0.003519999561831355,
0.01668579690158367,
0.03387538343667984,
-0.0207769013941288,
0.043464720249176025,
-0.01031896285712719,
-0.0068532503210008144,
-0.015608733519911766,
-0.04655693471431732,
0.02557157166302204,
-0.010640344582498074,
0.051004163920879364,
-0.01707666739821434,
-0.014192916452884674,
0.015209178440272808,
0.013906278647482395,
-0.0017024551052600145,
-0.014375322498381138,
-0.030713679268956184,
0.008082319051027298,
0.009007377550005913,
-0.01693769171833992,
0.004104132764041424,
0.017589140683412552,
-0.020811645314097404,
0.005815274082124233,
0.07601983100175858,
-0.06455431878566742,
-0.014444810338318348,
0.00040254159830510616,
0.024008091539144516,
-0.053088802844285965,
-0.028820132836699486,
0.04725181683897972,
-0.027030818164348602,
-0.019560862332582474,
-0.016555506736040115,
0.05360996350646019,
-0.0199256744235754,
-0.0030704995151609182,
-0.03752350062131882,
0.1184074878692627,
-0.0008181122248061001,
0.02362590841948986,
-0.022357752546668053,
0.019282909110188484,
0.052810851484537125,
0.003748007118701935,
0.003724120557308197,
-0.02508515492081642,
-0.03828786686062813,
0.03311101347208023,
-0.01698112115263939,
0.006353805772960186,
0.04600103199481964,
-0.021576013416051865,
0.06198326498270035,
-0.01943925768136978,
0.01897021383047104,
-0.0072006904520094395,
0.043395232409238815,
0.042144451290369034,
-0.03787093982100487,
-0.03463974967598915,
0.07449109852313995,
-0.020742157474160194,
-0.0727538987994194,
0.011335223913192749,
-0.0747690498828888,
-0.03592527657747269,
-0.012342799454927444,
-0.05256764590740204,
-0.042005475610494614,
0.04217919334769249,
-0.04784246161580086,
0.021298060193657875,
-0.06983540207147598,
-0.03561258316040039,
0.018344823271036148,
0.06354673951864243,
0.012707611545920372,
-0.03139118850231171,
-0.0028663785196840763,
0.0023669337388128042,
-0.05732756853103638,
0.015600048005580902,
-0.056285250931978226,
-0.005537322256714106,
0.021784476935863495,
0.01881386712193489,
0.04655693471431732,
-0.01728513091802597,
-0.003131301375105977,
-0.007365724071860313,
0.044646017253398895,
-0.03316313028335571,
0.026127474382519722,
-0.04770348593592644,
-0.01791052334010601,
0.02984508126974106,
-0.0063364338129758835,
-0.01994304545223713,
0.027882045134902,
-0.005611153319478035,
0.045201919972896576,
0.04176226630806923,
0.002529796212911606,
-0.0016069092089310288,
0.07845190912485123,
0.00542006129398942,
-0.030487844720482826,
0.07789600640535355,
0.06378994882106781,
0.04614000767469406,
0.019404513761401176,
-0.01876175031065941,
0.06483227014541626,
0.014766192063689232,
0.015634791925549507,
-0.005836988799273968,
-0.03316313028335571,
-0.014201602898538113,
-0.05194225162267685,
-0.04190124198794365,
0.01943925768136978,
0.01732856035232544,
-0.02774306945502758,
-0.04964914917945862,
0.014262404292821884,
-0.02621433511376381,
-0.013272200711071491,
-0.03302415460348129,
-0.006931424606591463,
0.015600048005580902,
-0.017085352912545204,
0.039503905922174454,
0.042352914810180664,
0.025675803422927856,
-0.041032642126083374,
-0.06861936300992966,
0.029532384127378464,
-0.01617332361638546,
0.0474255345761776,
0.01677265763282776,
-0.03748875483870506,
0.017719430848956108,
-0.025675803422927856,
0.07358775287866592,
-0.010345020331442356,
0.025345735251903534,
0.03319787606596947,
0.006818506401032209,
0.01799738220870495,
-0.0016796543495729566,
0.08950049430131912,
0.030696308240294456,
-0.009849919006228447,
0.021975569427013397,
0.0699743777513504,
-0.0067229606211185455,
0.03613374009728432,
0.03766247630119324,
-0.044298578053712845,
0.0004215422086417675,
0.006814163643866777,
0.008751140907406807,
0.04815515875816345,
-0.0271871667355299,
0.03142593055963516,
0.025345735251903534,
-0.07588085532188416,
-0.013515409082174301,
0.018414311110973358,
0.016972435638308525,
0.020481577143073082,
-0.023122120648622513,
-0.006601356435567141,
-0.03361480310559273,
0.00955459475517273,
0.042630866169929504,
-0.0013115853071212769,
0.015035457909107208,
-0.010588228702545166,
0.016720540821552277,
-0.0247550867497921,
0.03665490075945854,
-0.031009003520011902,
0.0065318685956299305,
-0.04999658837914467,
0.0005469463067129254,
0.03149541839957237,
-0.020481577143073082,
0.041727520525455475,
0.09172411262989044,
0.02084638923406601,
0.03630746155977249,
-0.048050928860902786,
-0.06354673951864243,
0.06160108000040054,
-0.09116820991039276,
0.01670316979289055,
-0.0007339666481129825,
-0.05242867022752762,
0.035317257046699524,
-0.023938603699207306,
-0.024425018578767776,
-0.01492254063487053,
-0.011587117798626423,
-0.020325228571891785,
0.0008354841847904027,
0.0093461312353611,
0.0356820710003376,
-0.005550350993871689,
0.028681157156825066,
-0.027795186266303062,
-0.014218974858522415,
-0.007426525931805372,
0.022114545106887817,
0.0006367920432239771,
-0.061879031360149384,
-0.0008235409623011947,
-0.054895490407943726,
-0.010188672691583633,
-0.05868258699774742,
-0.05857835337519646,
0.035317257046699524,
0.02809050865471363,
0.1073589026927948,
0.006814163643866777,
-0.0012366685550659895,
-0.0007084514945745468,
0.014653274789452553,
0.01813635788857937,
0.0008919431711547077,
0.056424226611852646,
0.02006465010344982,
0.025953754782676697,
0.0301230326294899,
-0.0033614803105592728,
-0.015104945749044418,
0.04377741739153862,
-0.026596518233418465,
-0.027413001284003258,
-0.03999032452702522,
-0.007183318492025137,
-0.07998064905405045,
-0.005063935182988644,
0.0292718056589365,
0.0032550767064094543,
-0.022983144968748093,
-0.031894974410533905,
0.018935469910502434,
-0.017554396763443947,
-0.008872744627296925,
-0.044020626693964005,
0.0011096359230577946,
-0.011387339793145657,
-0.04454178363084793,
0.02829897403717041,
-0.007443898357450962,
-0.043881651014089584,
-0.00024646511883474886,
-0.06761179119348526,
-0.02049895003437996,
-0.024841947481036186,
0.0029293519910424948,
0.001755656790919602,
-0.025484710931777954,
0.0065318685956299305,
-0.03919121250510216,
-0.03312838822603226,
-0.0218192208558321,
-0.009832547046244144,
0.0011237506987527013,
0.0349871888756752,
0.0059499070048332214,
-0.08790227770805359,
0.01122230663895607,
-0.021298060193657875,
0.015217863954603672,
-0.03714131563901901,
-0.10478784888982773,
-0.05156007036566734,
0.015070201829075813,
0.006479752715677023,
-0.04019878804683685,
0.005467833951115608,
0.045549359172582626,
-0.011726093478500843,
-0.03142593055963516,
-0.0006747932638972998,
0.06125364080071449,
-0.043047793209552765,
0.03040098398923874,
0.007070400286465883,
-0.041588544845581055,
-0.006792448461055756,
0.024702971801161766,
0.09519851207733154,
0.06517971307039261,
0.0398513488471508,
0.045479871332645416,
0.0027013446670025587,
-0.06462380290031433,
0.004495002795010805,
-0.03295466676354408,
-0.008872744627296925,
-0.0033202217891812325,
0.040685202926397324,
-0.0831076055765152,
-0.02020362578332424,
-0.023869115859270096,
-0.0016535964095965028,
0.004534089472144842,
0.04704335331916809,
-0.0031942748464643955,
0.022218776866793633,
0.013237456791102886,
-0.04586205631494522,
0.00002524367482692469,
-0.012777099385857582,
0.01916130632162094,
-0.02392123080790043,
-0.0035265141632407904,
0.006023738067597151,
-0.05659794807434082,
-0.008486217819154263,
0.056285250931978226,
0.017858406528830528,
0.03578630089759827,
-0.01335037499666214,
-0.00646238075569272,
-0.054478563368320465,
0.004911930300295353,
0.011022528633475304,
0.014644588343799114,
0.0006346205482259393,
-0.020377345383167267,
-0.05534716323018074,
0.035525720566511154,
0.005103022325783968,
0.021853964775800705,
-0.04204021766781807,
0.013584896922111511,
-0.006914052646607161,
-0.08199580013751984,
-0.003952127881348133,
0.021767104044556618,
-0.03773196414113045,
-0.03724554926156998,
-0.009919406846165657,
-0.029949313029646873,
-0.016416531056165695,
-0.025293618440628052,
-0.025502081960439682,
0.005237655248492956,
0.04565359279513359,
0.03507405146956444,
-0.016416531056165695,
0.032242413610219955,
-0.023052632808685303,
0.026196962222456932,
0.029949313029646873,
-0.04871106147766113,
0.08818022906780243,
-0.03212081268429756,
0.07289287447929382,
0.05875207483768463,
-0.05333201214671135,
0.026822354644536972,
-0.03863530978560448,
-0.005580752156674862,
-0.05277610942721367,
-0.02781255729496479,
0.02635331079363823,
0.01654682122170925,
-0.04169277846813202,
0.0005949906772002578,
0.05003133416175842,
0.014149487018585205,
-0.03873953968286514,
-0.0037740650586783886,
0.001788229332305491,
0.03870479762554169,
0.02461611106991768,
0.01066640205681324,
-0.0034266251605004072,
-0.05520818755030632,
-0.015078888274729252,
-0.018570657819509506,
0.06761179119348526,
-0.011317851953208447,
0.025363106280565262,
-0.043186768889427185,
-0.017476223409175873,
0.00927664339542389,
0.0056676119565963745,
-0.007187661249190569,
0.04885003715753555,
-0.01890072599053383,
0.005250684451311827,
0.0063407765701413155,
-0.004214879125356674,
0.02202768437564373
] |
18,104 | imodels.util.arguments | check_fit_arguments | Process arguments for fit and predict methods.
| def check_fit_arguments(model, X, y, feature_names):
"""Process arguments for fit and predict methods.
"""
if isinstance(model, ClassifierMixin):
model.classes_, y = np.unique(y, return_inverse=True) # deals with str inputs
check_classification_targets(y)
if feature_names is None:
if isinstance(X, pd.DataFrame):
model.feature_names_ = X.columns
elif isinstance(X, list):
model.feature_names_ = ['X' + str(i) for i in range(len(X[0]))]
else:
model.feature_names_ = ['X' + str(i) for i in range(X.shape[1])]
else:
model.feature_names_ = feature_names
if scipy.sparse.issparse(X):
X = X.toarray()
X, y = check_X_y(X, y)
_, model.n_features_in_ = X.shape
assert len(model.feature_names_) == model.n_features_in_, 'feature_names should be same size as X.shape[1]'
y = y.astype(float)
return X, y, model.feature_names_
| (model, X, y, feature_names) | [
-0.004756249953061342,
-0.024598728865385056,
0.013228319585323334,
-0.014017931185662746,
-0.008044750429689884,
-0.016619006171822548,
0.01141685713082552,
0.047190915793180466,
0.0545482411980629,
-0.013404821045696735,
-0.026233689859509468,
-0.029819456860423088,
0.03444565460085869,
-0.04310351237654686,
0.0019136474002152681,
0.012466576881706715,
0.03632214292883873,
-0.019136473536491394,
0.028240233659744263,
0.01921078935265541,
0.0017417906783521175,
-0.013265478424727917,
-0.046336278319358826,
0.010302111506462097,
0.021068699657917023,
0.02640090137720108,
0.051018211990594864,
0.015299889259040356,
0.0358576662838459,
0.005717718508094549,
-0.07297870516777039,
0.008499938994646072,
-0.0095217889174819,
0.06212851405143738,
-0.02324245497584343,
-0.049940623342990875,
0.04154286906123161,
0.04704228416085243,
0.046782176941633224,
-0.06487821787595749,
-0.0590815395116806,
-0.06302031129598618,
0.049940623342990875,
0.03126862645149231,
-0.04667070135474205,
-0.009976977482438087,
-0.06346620619297028,
0.03920190408825874,
-0.06889130920171738,
-0.04704228416085243,
0.002088987734168768,
-0.05826406180858612,
0.053322020918130875,
0.026122216135263443,
-0.005773455370217562,
0.03290358930826187,
0.06428369134664536,
0.061533983796834946,
-0.010274242609739304,
-0.006883556954562664,
0.012968212366104126,
0.06781371682882309,
0.021923338994383812,
-0.026438061147928238,
-0.02599216252565384,
-0.05870996043086052,
-0.02196049690246582,
-0.0022701339330524206,
-0.012104284018278122,
0.06034491956233978,
-0.03823579102754593,
-0.02978229895234108,
-0.02595500461757183,
0.06595581024885178,
0.05384223535656929,
-0.0185976792126894,
-0.013358373194932938,
0.03754836320877075,
0.010915221646428108,
-0.02071569673717022,
0.0007600013632327318,
-0.00490488251671195,
-0.03842157870531082,
-0.04525868967175484,
-0.06279736012220383,
-0.01098024845123291,
-0.013683508150279522,
0.05517993122339249,
0.07026615738868713,
0.005945312324911356,
-0.05833837762475014,
0.03466860204935074,
0.02387414500117302,
-0.0023537399247288704,
0.016349608078598976,
0.04392099380493164,
-0.010079162195324898,
0.016163818538188934,
-0.033479541540145874,
-0.005833837669342756,
-0.017780199646949768,
0.010079162195324898,
0.012057836167514324,
0.07524535804986954,
-0.03987075015902519,
-0.038347262889146805,
0.005954601801931858,
-0.033683910965919495,
-0.01699058711528778,
-0.0005245693027973175,
-0.036823779344558716,
-0.053136229515075684,
0.044849950820207596,
0.037083886563777924,
-0.022276341915130615,
-0.08576112985610962,
-0.02829597145318985,
-0.006934649311006069,
-0.11043417453765869,
-0.016414634883403778,
0.017817357555031776,
0.028351707383990288,
-0.02723696269094944,
-0.06651318073272705,
0.041914451867341995,
0.007975079119205475,
0.03316369652748108,
0.013850719667971134,
0.03648935258388519,
-0.044478368014097214,
0.016098791733384132,
-0.013284057378768921,
-0.029410716146230698,
0.03444565460085869,
0.003629891900345683,
-0.04923461750149727,
0.0032513425685465336,
-0.003309402382001281,
0.02682822197675705,
-0.03340522199869156,
0.07041478902101517,
0.0579296350479126,
0.015123387798666954,
0.007087926845997572,
0.012810289859771729,
0.022703660652041435,
0.030766991898417473,
-0.03546750172972679,
0.019173631444573402,
0.03949916735291481,
0.011872045695781708,
0.0030167815275490284,
-0.0026846800465136766,
-0.09363866597414017,
-0.03804999962449074,
-0.0338139645755291,
0.016999877989292145,
-0.07699179649353027,
0.021644651889801025,
-0.005401873495429754,
-0.01035784836858511,
-0.024004198610782623,
-0.01582939364016056,
0.02257360704243183,
0.04020517319440842,
0.04800839722156525,
-0.02536047250032425,
0.033238012343645096,
0.023576879873871803,
0.0313243642449379,
0.008667150512337685,
0.020437011495232582,
0.003850518725812435,
0.003067874116823077,
0.017148509621620178,
-0.011667675338685513,
-0.010645824484527111,
-0.044218260794878006,
0.03297790512442589,
0.04031664878129959,
0.03721394017338753,
-0.005620177835226059,
-0.049940623342990875,
-0.043214987963438034,
0.006702410522848368,
0.006307604722678661,
-0.056926365941762924,
0.02595500461757183,
-0.045927535742521286,
0.007789288181811571,
-0.027144066989421844,
-0.009781896136701107,
0.01784522645175457,
0.05413949862122536,
-0.06045639514923096,
0.014324487186968327,
-0.02320529706776142,
-0.003906256053596735,
0.036192089319229126,
-0.000703683472238481,
-0.009247747249901295,
-0.04366088658571243,
0.041505713015794754,
-0.004698189906775951,
-0.043177831918001175,
0.03294074535369873,
-0.014008642174303532,
0.007069347891956568,
-0.029057713225483894,
-0.04373520240187645,
0.056294675916433334,
-0.019303685054183006,
-0.07134374976158142,
0.04180297628045082,
0.054845504462718964,
0.07219838351011276,
0.06119955703616142,
-0.024227147921919823,
-0.029726561158895493,
-0.009405669756233692,
0.09564521163702011,
-0.012931054458022118,
0.0041686855256557465,
0.027125487104058266,
0.0771404281258583,
-0.03403691202402115,
0.059267330914735794,
0.0035369964316487312,
0.025044627487659454,
-0.017603697255253792,
-0.0008645087946206331,
-0.04436689242720604,
0.005847772117704153,
0.02619653195142746,
-0.04648490995168686,
-0.022016234695911407,
0.033869702368974686,
-0.0287418682128191,
-0.005434386897832155,
-0.024580150842666626,
-0.010887352749705315,
0.011899913661181927,
-0.029615087434649467,
-0.005406518466770649,
0.0511668436229229,
-0.05662909895181656,
0.025620579719543457,
0.011398278176784515,
-0.030451146885752678,
-0.04310351237654686,
-0.028834763914346695,
0.05094389617443085,
-0.002172593493014574,
-0.01605234295129776,
-0.04068823158740997,
-0.07104647904634476,
0.02065996080636978,
-0.0327921137213707,
0.02452441304922104,
-0.00806797482073307,
0.00085115508409217,
0.0312314685434103,
0.03446423262357712,
0.07164101302623749,
-0.057781003415584564,
-0.0009492759127169847,
0.03546750172972679,
0.02281513623893261,
-0.010813036933541298,
-0.005123186856508255,
0.023539720103144646,
0.015253441408276558,
-0.039796434342861176,
0.036433618515729904,
0.0297637190669775,
0.037715572863817215,
0.005987115204334259,
-0.05053515359759331,
0.028203075751662254,
0.043809518218040466,
0.049271777272224426,
-0.0599733367562294,
0.0032885009422898293,
0.03063693642616272,
0.0037158201448619366,
0.009479986503720284,
-0.016544688493013382,
-0.022852294147014618,
0.007649944629520178,
-0.015049071982502937,
-0.00791469682008028,
0.021217333152890205,
0.0771404281258583,
-0.023502562195062637,
-0.0527646467089653,
0.008783269673585892,
0.04302919656038284,
-0.03712104260921478,
0.050572313368320465,
-0.029522191733121872,
-0.026939695701003075,
0.05677773058414459,
0.0105436397716403,
-0.06056786701083183,
0.02980087697505951,
-0.057297948747873306,
0.0289648175239563,
-0.0426204577088356,
-0.03154731169342995,
0.006953228265047073,
0.011723412200808525,
0.057297948747873306,
0.03232763707637787,
-0.04707944020628929,
0.01192778255790472,
0.018077464774250984,
0.050572313368320465,
-0.012615209445357323,
0.013488426804542542,
0.01477038487792015,
0.013079687021672726,
-0.03589482232928276,
0.038941796869039536,
-0.043214987963438034,
-0.03491013124585152,
0.04722807556390762,
-0.0043962798081338406,
-0.008300213143229485,
-0.0036647275555878878,
0.0113889891654253,
-0.01856052130460739,
0.011156749911606312,
0.0570378378033638,
0.03210468590259552,
0.014807543717324734,
0.011286803521215916,
-0.017380747944116592,
0.0660301223397255,
0.05636899173259735,
0.05168705806136131,
-0.038793161511421204,
-0.008114422671496868,
-0.0455559566617012,
-0.006581646390259266,
0.026252269744873047,
-0.018198229372501373,
-0.01564360223710537,
0.031565893441438675,
0.07576557248830795,
0.007139019668102264,
-0.047005124390125275,
-0.0106551144272089,
0.03216042369604111,
-0.01574578881263733,
0.05172421783208847,
0.027924388647079468,
-0.0421745590865612,
0.014036511071026325,
0.05971322953701019,
-0.017993859946727753,
0.044218260794878006,
-0.06736782193183899,
-0.016758348792791367,
-0.005736297462135553,
-0.03334948420524597,
-0.01806817576289177,
0.02389272302389145,
0.017018456012010574,
0.02049274742603302,
-0.05068378895521164,
0.0183097030967474,
0.010395007207989693,
-0.024022776633501053,
0.00803546141833067,
-0.019972532987594604,
0.047190915793180466,
0.02238781563937664,
0.03424128144979477,
-0.014500988647341728,
-0.004554202314466238,
-0.04187729209661484,
-0.00809584278613329,
0.01639605686068535,
-0.011834886856377125,
0.0030446501914411783,
-0.032216161489486694,
-0.050163570791482925,
-0.018281836062669754,
0.019805321469902992,
0.02045558951795101,
0.022220604121685028,
-0.021012963727116585,
-0.01699058711528778,
0.012215758673846722,
0.009614684619009495,
-0.016219554468989372,
0.06521264463663101,
0.04956904053688049,
-0.07197543978691101,
-0.014222301542758942,
-0.02959650754928589,
-0.0098097650334239,
-0.036452196538448334,
-0.006511975079774857,
-0.05031220614910126,
0.09586816281080246,
-0.0367494598031044,
-0.0017313399584963918,
-0.004050244111567736,
0.05766952782869339,
0.022127708420157433,
0.01561573427170515,
0.02601074054837227,
-0.022926609963178635,
-0.05053515359759331,
0.0608651340007782,
-0.050163570791482925,
0.044069625437259674,
0.03294074535369873,
-0.002185366814956069,
0.05068378895521164,
-0.03398117423057556,
-0.01792883314192295,
0.03362817317247391,
0.008532452397048473,
0.047636814415454865,
-0.06796234846115112,
-0.011649096384644508,
0.08680155873298645,
-0.022536449134349823,
-0.10917079448699951,
-0.021198753267526627,
-0.07531967759132385,
-0.05220727249979973,
-0.02868613228201866,
-0.0017499190289527178,
-0.024803100153803825,
-0.0003962573828175664,
-0.027720019221305847,
0.025676317512989044,
-0.059230174869298935,
-0.0599733367562294,
0.04053959622979164,
0.056926365941762924,
-0.0570378378033638,
-0.07442788034677505,
-0.0021691101137548685,
0.009099114686250687,
-0.06595581024885178,
-0.021050121635198593,
0.04455268383026123,
0.028258811682462692,
-0.010822325944900513,
-0.05213295668363571,
0.029838036745786667,
-0.0473395474255085,
-0.005341491661965847,
0.02214628830552101,
0.02576921321451664,
0.009642553515732288,
0.0052160825580358505,
-0.018216809257864952,
-0.018077464774250984,
0.002605718793347478,
-0.03552323952317238,
0.023279612883925438,
0.01437093410640955,
-0.007747484836727381,
-0.010385717265307903,
0.03353527560830116,
0.01666545309126377,
-0.0333680659532547,
0.03130578622221947,
-0.0003199088969267905,
-0.060493551194667816,
0.04789692163467407,
0.050163570791482925,
0.0771404281258583,
0.018829919397830963,
-0.013135423883795738,
0.0498291477560997,
-0.04224887490272522,
0.03912758454680443,
0.03275495395064354,
0.021458862349390984,
0.01013489905744791,
-0.023335350677371025,
-0.03972211852669716,
-0.02491457387804985,
0.058189742267131805,
-0.03273637592792511,
-0.021254491060972214,
0.04644775390625,
-0.013367663137614727,
0.01075729914009571,
-0.03491013124585152,
0.04154286906123161,
0.029410716146230698,
-0.022703660652041435,
0.03225331753492355,
0.011277514509856701,
-0.001329566934145987,
0.021700389683246613,
-0.04436689242720604,
0.017204247415065765,
-0.029094871133565903,
0.02578779123723507,
-0.022647924721240997,
-0.04161718487739563,
-0.01941516064107418,
-0.09185507148504257,
-0.0056387572549283504,
0.03628498315811157,
0.037046726793050766,
0.05020073056221008,
0.02978229895234108,
0.017287854105234146,
0.01255947258323431,
-0.02069711871445179,
0.04094833880662918,
-0.006846398580819368,
-0.0012122862972319126,
0.062908835709095,
-0.06261157244443893,
-0.007543114945292473,
0.03964780271053314,
-0.005703784059733152,
0.004895593039691448,
0.04302919656038284,
-0.0022666503209620714,
0.004811987280845642,
-0.010859484784305096,
0.013386242091655731,
0.04336361959576607,
-0.03214184567332268,
0.00791469682008028,
0.00665596267208457,
-0.03909042850136757,
0.002747384598478675,
0.036024875938892365,
-0.009661132469773293,
0.029856614768505096,
-0.04250898212194443,
0.029503611847758293,
-0.0026498441584408283,
-0.03491013124585152,
0.007803222164511681,
0.0421745590865612,
-0.06647602468729019,
-0.03184457868337631,
-0.06510116904973984,
-0.026345165446400642,
0.013144713826477528,
0.02679106406867504,
0.01739932782948017,
-0.045927535742521286,
0.007269073277711868,
0.04607617110013962,
-0.002540691988542676,
0.010645824484527111,
-0.028388865292072296,
-0.05911869928240776,
0.06324326246976852,
-0.03994506597518921,
-0.05283896252512932,
-0.004129205364733934,
-0.03214184567332268,
0.001975190592929721,
-0.05833837762475014,
-0.04481279104948044,
0.012717394158244133,
0.006892846431583166,
-0.05885859206318855,
0.00017780780035536736,
-0.007231914903968573,
0.0019612563773989677,
0.01192778255790472,
-0.006818530149757862,
-0.06082797795534134,
0.03871884569525719,
0.030692674219608307,
0.017715172842144966,
-0.059861861169338226,
-0.04076254740357399,
0.016944140195846558,
-0.0032885009422898293,
-0.0183747299015522,
-0.03297790512442589,
-0.03606203570961952,
0.018541943281888962,
-0.007366613484919071,
0.021050121635198593,
0.017083482816815376,
-0.05618320032954216,
0.029076293110847473,
0.008592833764851093,
0.0007658072863705456,
-0.03699098899960518,
0.020567065104842186,
-0.06640170514583588,
0.0222020260989666,
-0.009791186079382896,
0.021477440372109413,
-0.02892765961587429,
0.01849549449980259,
-0.015058360993862152,
-0.10426591336727142,
0.02601074054837227,
-0.007919341325759888,
-0.02706974931061268,
-0.012290075421333313,
-0.03715820237994194,
0.03188173845410347,
-0.04050244018435478,
-0.020864330232143402,
0.05413949862122536,
-0.0060707214288413525,
0.011175328865647316,
0.016656164079904556,
0.012029968202114105,
0.03314511477947235,
-0.0590815395116806,
-0.004807342309504747,
0.030302513390779495,
-0.010487901978194714,
0.00019987048290204257,
-0.046187642961740494,
-0.03596913814544678,
-0.03725109621882439,
-0.032643478363752365,
0.010153478942811489,
-0.021496020257472992,
0.09103759378194809,
-0.024431517347693443,
0.03673088178038597,
0.00507209450006485,
-0.01310755591839552,
0.035170238465070724,
0.008309503085911274,
-0.014194432646036148,
-0.020399853587150574,
0.00006593403668375686,
0.009071245789527893,
0.016916271299123764,
-0.024227147921919823,
0.00843491218984127,
-0.015652893111109734,
-0.02283371426165104,
0.14677490293979645,
-0.007027545012533665,
0.012373681180179119,
0.009396379813551903,
-0.027812913060188293,
0.009108404628932476,
0.0536564439535141,
0.025248998776078224,
-0.04581606388092041,
0.006995031610131264,
0.019712425768375397,
-0.04031664878129959,
-0.025007469579577446,
0.03589482232928276,
0.09044305980205536,
0.01743648573756218,
-0.017900964245200157,
0.05361928418278694,
-0.04410678520798683,
-0.008690373972058296,
0.0054204524494707584,
0.019842479377985,
-0.06209135428071022,
0.035207394510507584,
0.028463182970881462,
0.002452441258355975,
-0.000014895938875270076,
-0.015606444329023361,
-0.006674542091786861,
-0.010302111506462097,
-0.026456639170646667,
0.01804959587752819,
0.02680964209139347,
0.00006905474583618343,
-0.012615209445357323,
0.01203925721347332,
0.007663879077881575,
-0.012057836167514324,
-0.026549534872174263,
0.03230905532836914,
-0.013869298622012138,
0.013674218207597733,
0.01203925721347332,
-0.02238781563937664,
0.07472514361143112,
-0.04124560207128525,
-0.03927621990442276,
-0.002457085996866226,
-0.07230985909700394,
-0.02324245497584343,
0.050795260816812515,
-0.006883556954562664,
-0.01619168557226658,
0.018876366317272186,
-0.06179409101605415,
0.05328486114740372,
-0.023576879873871803,
-0.004556524567306042,
-0.08561249822378159,
0.05046083778142929,
0.009558947756886482,
-0.05722362920641899,
-0.017371458932757378,
-0.030451146885752678,
-0.008876165375113487,
-0.050795260816812515,
-0.0021772384643554688,
-0.022016234695911407,
0.0186627060174942,
-0.010478612966835499,
0.03373964875936508,
0.012076415121555328,
0.04611332714557648,
0.01987963728606701,
0.042731933295726776,
-0.005336846690624952,
-0.05046083778142929,
-0.002536047250032425,
0.023353930562734604,
-0.052504539489746094,
0.06227714568376541,
-0.05662909895181656,
0.05406518280506134,
0.026716746389865875,
-0.01857910118997097,
0.11697401851415634,
-0.0057455869391560555,
-0.015160546638071537,
0.0022016235161572695,
-0.018430467694997787,
0.03171452507376671,
0.028834763914346695,
0.0295407697558403,
0.03543034568428993,
0.027812913060188293,
0.012615209445357323,
0.03164020925760269,
0.03334948420524597,
-0.001720889238640666,
0.0017034712946042418,
-0.01892281509935856,
-0.05856132507324219,
0.004099014215171337,
0.0001843395148171112,
0.015680762007832527,
-0.031380102038383484,
0.08041034638881683,
0.010831615887582302,
-0.04347509518265724,
-0.022443553432822227,
0.007306231185793877,
-0.009140918031334877,
-0.022740818560123444,
0.00993052963167429,
-0.022220604121685028,
0.005044226069003344,
-0.012624499388039112,
0.013386242091655731,
0.024208568036556244,
0.08048466593027115
] |
18,105 | sklearn.utils.validation | check_is_fitted | Perform is_fitted validation for estimator.
Checks if the estimator is fitted by verifying the presence of
fitted attributes (ending with a trailing underscore) and otherwise
raises a NotFittedError with the given message.
If an estimator does not set any attributes with a trailing underscore, it
can define a ``__sklearn_is_fitted__`` method returning a boolean to
specify if the estimator is fitted or not. See
:ref:`sphx_glr_auto_examples_developing_estimators_sklearn_is_fitted.py`
for an example on how to use the API.
Parameters
----------
estimator : estimator instance
Estimator instance for which the check is performed.
attributes : str, list or tuple of str, default=None
Attribute name(s) given as string or a list/tuple of strings
Eg.: ``["coef_", "estimator_", ...], "coef_"``
If `None`, `estimator` is considered fitted if there exist an
attribute that ends with a underscore and does not start with double
underscore.
msg : str, default=None
The default error message is, "This %(name)s instance is not fitted
yet. Call 'fit' with appropriate arguments before using this
estimator."
For custom messages if "%(name)s" is present in the message string,
it is substituted for the estimator name.
Eg. : "Estimator, %(name)s, must be fitted before sparsifying".
all_or_any : callable, {all, any}, default=all
Specify whether all or any of the given attributes must exist.
Raises
------
TypeError
If the estimator is a class or not an estimator instance
NotFittedError
If the attributes are not found.
Examples
--------
>>> from sklearn.linear_model import LogisticRegression
>>> from sklearn.utils.validation import check_is_fitted
>>> from sklearn.exceptions import NotFittedError
>>> lr = LogisticRegression()
>>> try:
... check_is_fitted(lr)
... except NotFittedError as exc:
... print(f"Model is not fitted yet.")
Model is not fitted yet.
>>> lr.fit([[1, 2], [1, 3]], [1, 0])
LogisticRegression()
>>> check_is_fitted(lr)
| def check_is_fitted(estimator, attributes=None, *, msg=None, all_or_any=all):
"""Perform is_fitted validation for estimator.
Checks if the estimator is fitted by verifying the presence of
fitted attributes (ending with a trailing underscore) and otherwise
raises a NotFittedError with the given message.
If an estimator does not set any attributes with a trailing underscore, it
can define a ``__sklearn_is_fitted__`` method returning a boolean to
specify if the estimator is fitted or not. See
:ref:`sphx_glr_auto_examples_developing_estimators_sklearn_is_fitted.py`
for an example on how to use the API.
Parameters
----------
estimator : estimator instance
Estimator instance for which the check is performed.
attributes : str, list or tuple of str, default=None
Attribute name(s) given as string or a list/tuple of strings
Eg.: ``["coef_", "estimator_", ...], "coef_"``
If `None`, `estimator` is considered fitted if there exist an
attribute that ends with a underscore and does not start with double
underscore.
msg : str, default=None
The default error message is, "This %(name)s instance is not fitted
yet. Call 'fit' with appropriate arguments before using this
estimator."
For custom messages if "%(name)s" is present in the message string,
it is substituted for the estimator name.
Eg. : "Estimator, %(name)s, must be fitted before sparsifying".
all_or_any : callable, {all, any}, default=all
Specify whether all or any of the given attributes must exist.
Raises
------
TypeError
If the estimator is a class or not an estimator instance
NotFittedError
If the attributes are not found.
Examples
--------
>>> from sklearn.linear_model import LogisticRegression
>>> from sklearn.utils.validation import check_is_fitted
>>> from sklearn.exceptions import NotFittedError
>>> lr = LogisticRegression()
>>> try:
... check_is_fitted(lr)
... except NotFittedError as exc:
... print(f"Model is not fitted yet.")
Model is not fitted yet.
>>> lr.fit([[1, 2], [1, 3]], [1, 0])
LogisticRegression()
>>> check_is_fitted(lr)
"""
if isclass(estimator):
raise TypeError("{} is a class, not an instance.".format(estimator))
if msg is None:
msg = (
"This %(name)s instance is not fitted yet. Call 'fit' with "
"appropriate arguments before using this estimator."
)
if not hasattr(estimator, "fit"):
raise TypeError("%s is not an estimator instance." % (estimator))
if not _is_fitted(estimator, attributes, all_or_any):
raise NotFittedError(msg % {"name": type(estimator).__name__})
| (estimator, attributes=None, *, msg=None, all_or_any=<built-in function all>) | [
0.04657771438360214,
0.008857769891619682,
0.00576365040615201,
-0.027329757809638977,
-0.018818490207195282,
-0.015870779752731323,
0.0308435820043087,
-0.01991168037056923,
-0.008281892165541649,
0.07379034161567688,
0.013215889222919941,
0.0069251651875674725,
0.062428973615169525,
-0.03096071071922779,
-0.050052497535943985,
-0.0068421997129917145,
0.024948162958025932,
-0.0028671843465417624,
-0.006720191799104214,
0.022429922595620155,
0.008828487247228622,
0.061023443937301636,
-0.0370708629488945,
0.015480355359613895,
0.056182172149419785,
0.039413414895534515,
0.053253982216119766,
-0.017920512706041336,
0.04946685954928398,
0.07191630452871323,
-0.033186133950948715,
-0.05360536649823189,
-0.002781778806820512,
0.027075979858636856,
-0.014055303297936916,
0.011898204684257507,
0.012493602931499481,
0.004814429674297571,
-0.006783636286854744,
-0.009379963390529156,
-0.004721703473478556,
0.005256097763776779,
0.031682997941970825,
-0.0167589969933033,
-0.0003150852571707219,
0.006881242152303457,
-0.0010535377077758312,
0.09003202617168427,
-0.08089607954025269,
-0.07195534557104111,
0.02645130082964897,
-0.05438621714711189,
0.06371737271547318,
0.01699325256049633,
-0.02908666990697384,
0.057587701827287674,
0.02469438686966896,
0.03260049596428871,
0.013313495554029942,
0.0007485180976800621,
0.008481984958052635,
0.028520554304122925,
0.022117581218481064,
-0.04634346067905426,
-0.018886813893914223,
-0.054893769323825836,
-0.050130583345890045,
0.011868922971189022,
-0.06566949933767319,
0.04458654671907425,
-0.04025282710790634,
-0.000534699356649071,
-0.030277466401457787,
0.008877290412783623,
-0.02608039602637291,
0.03839830681681633,
-0.015714609995484352,
0.02020449936389923,
0.019404128193855286,
-0.0015421791467815638,
0.019023463129997253,
0.03416219726204872,
-0.025026248767971992,
-0.04193165525794029,
-0.052590262144804,
-0.0025109213311225176,
-0.04950590431690216,
-0.022586092352867126,
0.05383962020277977,
0.0011572444345802069,
-0.05118472874164581,
0.03810548782348633,
0.06578662991523743,
-0.02469438686966896,
-0.016183121129870415,
0.014094346202909946,
0.022586092352867126,
0.010336504317820072,
-0.008262370713055134,
-0.024167314171791077,
-0.025826619938015938,
0.01824261248111725,
0.06602088361978531,
0.042595379054546356,
0.008291653357446194,
0.0022815465927124023,
-0.029672307893633842,
-0.03712942823767662,
0.04458654671907425,
0.001976527040824294,
-0.04673388600349426,
-0.003491864539682865,
-0.032834749668836594,
0.05262930318713188,
0.009092024527490139,
-0.06949567049741745,
-0.00658354302868247,
0.0021546585485339165,
-0.0873771384358406,
-0.0585247240960598,
0.03334230184555054,
0.04938877373933792,
-0.01850614883005619,
-0.07742130011320114,
0.03566533327102661,
-0.06297557055950165,
0.022527528926730156,
0.05563557520508766,
0.04005761444568634,
-0.07242385298013687,
-0.020907264202833176,
-0.02453821711242199,
-0.0170518159866333,
0.04474271461367607,
-0.008179405704140663,
0.00852590799331665,
0.01540227048099041,
0.00616383645683527,
-0.040721338242292404,
-0.017803383991122246,
0.028618160635232925,
0.03742224723100662,
0.03970623388886452,
-0.005651403218507767,
0.039179157465696335,
0.004821749869734049,
-0.019433408975601196,
0.003931092564016581,
0.02170763537287712,
0.002132697030901909,
0.003513825824484229,
-0.033186133950948715,
-0.007569366600364447,
-0.008481984958052635,
-0.022195667028427124,
-0.053293026983737946,
0.003001393051818013,
-0.024245398119091988,
0.002679292345419526,
-0.053253982216119766,
-0.006207759026437998,
0.0036114321555942297,
0.02754449099302292,
-0.0024120949674397707,
0.02635369449853897,
0.05052100867033005,
-0.09409245103597641,
0.03531394898891449,
0.01568532921373844,
0.031429219990968704,
-0.049974411725997925,
-0.02180524170398712,
-0.04634346067905426,
-0.037773627787828445,
-0.014396925456821918,
0.0232302937656641,
0.010102249681949615,
-0.01392841525375843,
0.03568485379219055,
0.014875195920467377,
-0.0023022880777716637,
-0.022508006542921066,
-0.02481151558458805,
-0.015285142697393894,
-0.06160908192396164,
0.033283740282058716,
-0.029828477650880814,
-0.00854054931551218,
-0.0713697075843811,
-0.016388094052672386,
-0.01676875725388527,
0.023601196706295013,
-0.02307412400841713,
0.024030664935708046,
-0.0009455608087591827,
0.022761782631278038,
-0.00032240571454167366,
-0.00026963732670992613,
0.07172109186649323,
0.017891230061650276,
0.045523565262556076,
-0.006256562191992998,
0.07765555381774902,
0.033010441809892654,
-0.0229374747723341,
0.02758353389799595,
-0.04966207221150398,
-0.012513124383985996,
-0.016124555841088295,
-0.01536322757601738,
0.028891457244753838,
-0.027154065668582916,
-0.04419612139463425,
0.08261395245790482,
0.053371112793684006,
0.015665806829929352,
0.05083334818482399,
-0.04622633010149002,
0.00042946761823259294,
-0.0027500567957758904,
0.08355097472667694,
-0.026919810101389885,
-0.006866601295769215,
0.0553622804582119,
0.028344862163066864,
0.026841726154088974,
0.037949319928884506,
0.00542690884321928,
0.003987216390669346,
-0.030277466401457787,
-0.009614218026399612,
-0.012415518052875996,
0.04169740155339241,
0.015743892639875412,
-0.045640695840120316,
0.022664176300168037,
0.01981407403945923,
0.019228436052799225,
-0.015948865562677383,
-0.0025768056511878967,
-0.004960838705301285,
0.027349278330802917,
-0.056455470621585846,
-0.008950495161116123,
0.029887041077017784,
-0.031487785279750824,
-0.03886681795120239,
0.031663473695516586,
-0.05848567932844162,
-0.05583078786730766,
0.014191952534019947,
0.048490796238183975,
-0.009663021191954613,
-0.01146873738616705,
-0.012259348295629025,
-0.037773627787828445,
-0.0022778864949941635,
-0.029887041077017784,
0.03845687210559845,
0.0035650692880153656,
0.05028675124049187,
0.005685565527528524,
-0.016153838485479355,
0.104009248316288,
-0.059110358357429504,
-0.018906336277723312,
0.028969543054699898,
0.03281522914767265,
-0.003865208476781845,
-0.027407841756939888,
-0.04642154276371002,
0.007964671589434147,
0.014963041990995407,
0.007510802708566189,
-0.0051584914326667786,
-0.012844985350966454,
0.000854054931551218,
-0.0290671493858099,
0.03656331077218056,
0.028227735310792923,
-0.0022071218118071556,
-0.01086357794702053,
-0.00030151187092997134,
0.011175918392837048,
-0.0032356479205191135,
-0.019648144021630287,
-0.019374845549464226,
-0.008247730322182178,
-0.020965827628970146,
-0.003001393051818013,
0.03125352784991264,
-0.029867520555853844,
0.02637321501970291,
-0.02772018127143383,
0.009121306240558624,
0.028579117730259895,
0.013342778198421001,
-0.02920379675924778,
0.04466463252902031,
-0.03853495791554451,
0.025240981951355934,
0.04958398640155792,
-0.019706707447767258,
-0.07074502855539322,
0.03388889878988266,
0.017725300043821335,
-0.008218448609113693,
-0.02799347974359989,
-0.037754107266664505,
0.008150123991072178,
0.0587199330329895,
0.05993025377392769,
-0.0017739940667524934,
-0.03422075882554054,
0.09011011570692062,
-0.004648498725146055,
0.046811968088150024,
-0.04950590431690216,
-0.013459905050694942,
0.005504993721842766,
-0.01081477478146553,
0.045367397367954254,
0.034806396812200546,
0.0019277238752692938,
-0.013489186763763428,
-0.04634346067905426,
0.037480808794498444,
-0.013684399425983429,
-0.03221007063984871,
0.00934580061584711,
-0.015519397333264351,
-0.05711919069290161,
0.06894907355308533,
-0.003052636282518506,
-0.02326933667063713,
0.11236434429883957,
0.0010840396862477064,
0.022781305015087128,
0.06219471991062164,
0.05415195971727371,
-0.00938484352082014,
0.020731572061777115,
0.01872088387608528,
0.0013823488261550665,
-0.028227735310792923,
-0.034572143107652664,
0.0021253766026347876,
0.07265811413526535,
0.05485472455620766,
-0.005910059902817011,
-0.07008130848407745,
-0.02139529585838318,
0.033166613429784775,
-0.002959910314530134,
0.021024391055107117,
0.02487007901072502,
0.002525562420487404,
0.03656331077218056,
0.025377631187438965,
-0.02475295215845108,
-0.019121069461107254,
-0.08948542922735214,
-0.025865662842988968,
-0.03392793983221054,
-0.026861246675252914,
-0.0025987671688199043,
0.013450144790112972,
-0.019521255046129227,
0.04880313575267792,
-0.020282583311200142,
0.03418171778321266,
-0.02773970365524292,
-0.0232302937656641,
-0.001708109863102436,
0.027075979858636856,
0.028325341641902924,
-0.005910059902817011,
0.019150350242853165,
-0.018037639558315277,
-0.0017459322698414326,
0.0072277444414794445,
-0.010014403611421585,
0.036153364926576614,
-0.01825237274169922,
0.053293026983737946,
-0.023581676185131073,
0.001245700055733323,
0.011888444423675537,
-0.005880778189748526,
-0.031722038984298706,
-0.001994828227907419,
-0.015431552194058895,
-0.04122889041900635,
-0.007032532244920731,
-0.04439133405685425,
-0.03888633847236633,
0.01569508947432041,
0.006490817293524742,
-0.05809525400400162,
-0.06707502901554108,
0.026431778445839882,
-0.0037968840915709734,
0.012112938798964024,
-0.03533347323536873,
-0.006154075730592012,
0.0988556370139122,
-0.042478252202272415,
-0.02457726001739502,
-0.01845734566450119,
-0.0338108129799366,
0.031741559505462646,
-0.00916522927582264,
-0.004023818764835596,
-0.012884028255939484,
-0.015333945862948895,
0.11228625476360321,
0.0019838474690914154,
0.062155675143003464,
0.028618160635232925,
-0.031077837571501732,
0.025123855099081993,
-0.04669484123587608,
-0.026978373527526855,
0.06320982426404953,
0.021941890940070152,
0.03744176775217056,
-0.07183821499347687,
-0.048373669385910034,
0.06418588757514954,
-0.01563652604818344,
-0.05192653834819794,
-0.04150218889117241,
-0.06727024167776108,
-0.00850150641053915,
-0.05048196390271187,
-0.04731952026486397,
-0.0614919513463974,
-0.005534275900572538,
-0.018008356913924217,
-0.03435740992426872,
-0.0291647557169199,
-0.04439133405685425,
0.025006728246808052,
-0.011556582525372505,
-0.026919810101389885,
-0.0017630133079364896,
0.01693468913435936,
0.044157080352306366,
-0.012464321218430996,
-0.02459678053855896,
0.04282963275909424,
0.003157563041895628,
-0.005661163944751024,
0.05708014965057373,
-0.00270125363022089,
-0.03574341908097267,
0.04778803139925003,
-0.060984399169683456,
-0.028461989015340805,
0.004424004349857569,
0.006285843905061483,
-0.005744129419326782,
-0.019443169236183167,
-0.003416219726204872,
-0.03828117996454239,
0.003555308561772108,
0.006305365357547998,
-0.003245408646762371,
0.02645130082964897,
0.03718798980116844,
0.04938877373933792,
-0.03066789172589779,
0.03062884882092476,
-0.016065992414951324,
0.03139017894864082,
0.0682072639465332,
0.07867065817117691,
0.028169170022010803,
-0.07179917395114899,
0.00368463690392673,
0.060906317085027695,
-0.022039497271180153,
0.029847998172044754,
-0.010268179699778557,
0.03347895294427872,
-0.05227791890501976,
-0.10315030813217163,
0.014348122291266918,
-0.007857304997742176,
0.022449443116784096,
-0.04747569188475609,
-0.03269810229539871,
0.0342988446354866,
0.028169170022010803,
0.006549381185323,
-0.011049030348658562,
0.057939086109399796,
-0.011888444423675537,
-0.02309364452958107,
-0.022820347920060158,
0.0005566607578657568,
-0.017403198406100273,
0.0335179939866066,
0.04525027051568031,
0.012679055333137512,
-0.03502112999558449,
-0.005026723258197308,
-0.013030437752604485,
-0.008569831028580666,
-0.001853299094364047,
-0.007891467772424221,
0.0015641405479982495,
0.006271203048527241,
0.017813144251704216,
0.031546346843242645,
-0.03673900291323662,
-0.0029916323255747557,
-0.0399404875934124,
0.015538918785750866,
0.01712013967335224,
0.04880313575267792,
0.032834749668836594,
0.08003714680671692,
-0.017295831814408302,
0.004336158744990826,
0.04021378606557846,
0.01988239772617817,
-0.004548452328890562,
0.025670450180768967,
0.004711942747235298,
0.048646967858076096,
0.011634668335318565,
0.044078994542360306,
0.043727610260248184,
-0.008545429445803165,
0.031624432653188705,
0.016095275059342384,
-0.04435229301452637,
-0.025201940909028053,
0.00012094027624698356,
0.02945757284760475,
-0.007164300419390202,
-0.03502112999558449,
-0.0033942582085728645,
0.05282451584935188,
-0.0056904456578195095,
-0.03131209313869476,
-0.04204878211021423,
0.046772927045822144,
-0.04919356107711792,
-0.005163372028619051,
0.009575175121426582,
-0.051653239876031876,
-0.011722513474524021,
-0.016505220904946327,
0.00032942116376943886,
0.0019496853929013014,
0.04282963275909424,
-0.004509409889578819,
-0.02459678053855896,
-0.020673008635640144,
-0.0009974141139537096,
0.03092166781425476,
-0.04478175938129425,
0.037929799407720566,
-0.03859351947903633,
0.011263764463365078,
0.022644655779004097,
-0.020360669121146202,
-0.06121865659952164,
-0.007339991629123688,
0.0810522511601448,
-0.04122889041900635,
-0.04599207639694214,
-0.008887051604688168,
0.02773970365524292,
-0.03277618810534477,
-0.012942591682076454,
-0.03394746407866478,
0.011283284984529018,
0.02904762700200081,
-0.03386937826871872,
-0.006895883474498987,
-0.01851591095328331,
-0.0024474773090332747,
0.0021546585485339165,
-0.042165908962488174,
0.0012493602698668838,
-0.07101832330226898,
0.01396745815873146,
-0.033361826092004776,
0.03334230184555054,
0.023913538083434105,
-0.03078501857817173,
0.062272801995277405,
0.05204366520047188,
0.049896325916051865,
-0.017930272966623306,
0.021941890940070152,
-0.05860280618071556,
-0.009980241768062115,
0.04876409471035004,
-0.031682997941970825,
-0.014055303297936916,
0.04458654671907425,
-0.019374845549464226,
-0.023562153801321983,
0.06539620459079742,
0.04345431178808212,
0.007100856397300959,
0.00028092306456528604,
-0.005578198470175266,
0.05981312692165375,
-0.029730871319770813,
0.033186133950948715,
-0.00031020495225675404,
-0.017207985743880272,
0.0032380882184952497,
0.01696396991610527,
-0.0047802673652768135,
0.02457726001739502,
-0.06016450747847557,
-0.019111309200525284,
0.0069251651875674725,
-0.03252241015434265,
-0.0464605875313282,
-0.06196046248078346,
-0.06625513732433319,
-0.07051077485084534,
-0.09916797280311584,
-0.0028745047748088837,
-0.013284213840961456,
0.037832193076610565,
-0.09651308506727219,
0.03101927414536476,
0.005436669569462538,
0.02781778760254383,
0.04599207639694214,
-0.009941198863089085,
-0.028852414339780807,
-0.05571366101503372,
0.03874969109892845,
-0.018945377320051193,
-0.012464321218430996,
0.00989727582782507,
-0.028149649500846863,
-0.010834296233952045,
0.007803621701896191,
0.10026116669178009,
-0.008237969130277634,
-0.0037676021456718445,
0.04478175938129425,
-0.042283039540052414,
-0.009038341231644154,
0.04755377769470215,
0.015128972940146923,
0.016290487721562386,
-0.02752496860921383,
0.011175918392837048,
0.013284213840961456,
-0.025084812194108963,
0.004909595474600792,
0.08042757213115692,
0.00268905283883214,
0.029730871319770813,
0.015031366609036922,
-0.028149649500846863,
-0.03226863592863083,
-0.011410173960030079,
0.005895419046282768,
-0.09979265183210373,
0.08292628824710846,
0.023991622030735016,
-0.051575154066085815,
0.002706133993342519,
0.04431324824690819,
-0.03828117996454239,
-0.040721338242292404,
-0.009765507653355598,
0.03057028539478779,
0.042400166392326355,
0.04974015802145004,
-0.0464605875313282,
-0.004082382656633854,
-0.029672307893633842,
-0.0031868447549641132,
0.022429922595620155,
0.015187536366283894,
-0.03876921162009239,
-0.02453821711242199,
-0.012727858498692513,
-0.052004624158144,
0.04361048340797424,
0.014133388176560402,
0.053332068026065826,
-0.054893769323825836,
-0.06555237621068954,
0.05801716819405556,
0.05598695948719978,
-0.03357655927538872,
0.008603992871940136,
0.031780604273080826,
-0.014728786423802376,
0.054893769323825836,
-0.033225174993276596,
0.024343004450201988,
-0.09862138330936432,
0.009423885494470596,
-0.010112009942531586,
-0.0703936442732811,
-0.010570759885013103,
-0.02939900942146778,
-0.02321077138185501,
-0.052590262144804,
0.006964207626879215,
-0.040877506136894226,
0.04181452840566635,
-0.01717870496213436,
0.029750391840934753,
-0.03416219726204872,
0.08487841486930847,
0.005978384520858526,
0.030140817165374756,
-0.045562610030174255,
-0.027115022763609886,
-0.0059442222118377686,
-0.005202414467930794,
-0.011293046176433563,
0.0984652116894722,
-0.04298580437898636,
0.08292628824710846,
-0.0014701945474371314,
-0.06848055869340897,
0.040916550904512405,
0.002823261544108391,
-0.024245398119091988,
-0.024011144414544106,
0.007598648313432932,
-0.0167101938277483,
0.012366714887320995,
0.02174667827785015,
0.007549845147877932,
0.04813941568136215,
-0.008511267602443695,
0.03394746407866478,
0.026392737403512,
-0.012903549708425999,
-0.0047729467041790485,
0.010190094821155071,
-0.006417612545192242,
-0.0044508459977805614,
-0.04427420720458031,
-0.007549845147877932,
0.023464549332857132,
0.0854250118136406,
0.024362526834011078,
-0.028637681156396866,
-0.002911107148975134,
0.019472451880574226,
-0.02000928670167923,
0.017491044476628304,
-0.020633965730667114,
0.05551844835281372,
-0.002969670807942748,
0.009170109406113625,
0.01536322757601738,
-0.002451137639582157,
0.0616871640086174
] |
18,106 | copy | deepcopy | Deep copy operation on arbitrary Python objects.
See the module's __doc__ string for more info.
| def deepcopy(x, memo=None, _nil=[]):
"""Deep copy operation on arbitrary Python objects.
See the module's __doc__ string for more info.
"""
if memo is None:
memo = {}
d = id(x)
y = memo.get(d, _nil)
if y is not _nil:
return y
cls = type(x)
copier = _deepcopy_dispatch.get(cls)
if copier is not None:
y = copier(x, memo)
else:
if issubclass(cls, type):
y = _deepcopy_atomic(x, memo)
else:
copier = getattr(x, "__deepcopy__", None)
if copier is not None:
y = copier(memo)
else:
reductor = dispatch_table.get(cls)
if reductor:
rv = reductor(x)
else:
reductor = getattr(x, "__reduce_ex__", None)
if reductor is not None:
rv = reductor(4)
else:
reductor = getattr(x, "__reduce__", None)
if reductor:
rv = reductor()
else:
raise Error(
"un(deep)copyable object of type %s" % cls)
if isinstance(rv, str):
y = x
else:
y = _reconstruct(x, memo, *rv)
# If is its own copy, don't memoize.
if y is not x:
memo[d] = y
_keep_alive(x, memo) # Make sure x lives at least as long as d
return y
| (x, memo=None, _nil=[]) | [
-0.02605607733130455,
-0.006137214135378599,
0.051584627479314804,
0.028448790311813354,
-0.04544270411133766,
0.011332415044307709,
-0.0012363919522613287,
0.04762817174196243,
0.026847368106245995,
-0.033686380833387375,
-0.017521440982818604,
0.030069053173065186,
-0.023625684902071953,
0.04996436461806297,
-0.022796712815761566,
0.032951612025499344,
0.006283226422965527,
0.044312287122011185,
-0.003558453870937228,
0.0334414578974247,
0.0465354397892952,
0.01675841026008129,
0.01689029112458229,
0.04254130274057388,
-0.03549504652619362,
-0.0310110654681921,
0.0701611191034317,
0.028015464544296265,
-0.04261666536331177,
0.03568344935774803,
-0.010296201333403587,
-0.035287804901599884,
-0.019461987540125847,
0.04144856706261635,
0.009212885983288288,
-0.018020708113908768,
-0.028580671176314354,
0.0890013799071312,
-0.03649358078837395,
-0.08779560774564743,
-0.02982412837445736,
-0.02590535581111908,
-0.017144635319709778,
-0.0004895523306913674,
0.01260413322597742,
-0.00425554346293211,
-0.030879182741045952,
0.044010844081640244,
-0.05328024923801422,
-0.0793551653623581,
0.015920018777251244,
0.010239680297672749,
0.0027365474961698055,
0.00192052882630378,
0.044048525393009186,
0.03362986072897911,
0.05301648750901222,
0.046045590192079544,
-0.03824572637677193,
0.04630935564637184,
-0.04465141147375107,
0.024661898612976074,
0.011690380051732063,
-0.06428296118974686,
-0.006711842026561499,
-0.05026581138372421,
-0.0538831390440464,
-0.03918773680925369,
0.014827283099293709,
-0.042692024260759354,
-0.03773703798651695,
0.03351682052016258,
0.024209732189774513,
0.009693313390016556,
0.005317662842571735,
-0.01432801689952612,
0.02826038748025894,
-0.003264074679464102,
0.031802356243133545,
-0.050002045929431915,
-0.050152767449617386,
-0.012745434418320656,
-0.11311691254377365,
-0.017851144075393677,
-0.0660916268825531,
0.018727216869592667,
0.012707754038274288,
0.02650824375450611,
0.023098157718777657,
0.020856166258454323,
0.02111992985010147,
0.02155325561761856,
-0.04698760434985161,
-0.0008130748756229877,
-0.0437094010412693,
-0.011247633956372738,
-0.045932549983263016,
0.030596580356359482,
-0.0012481671292334795,
0.06198444962501526,
-0.03408202901482582,
-0.003961164504289627,
-0.1006823405623436,
0.01186936255544424,
-0.006579960230737925,
0.019235903397202492,
0.025132905691862106,
-0.002425683196634054,
-0.002696512034162879,
-0.037925440818071365,
-0.037322551012039185,
-0.003019151510670781,
-0.05855552479624748,
0.0016402800101786852,
0.027619818225502968,
-0.002277316292747855,
-0.0360979363322258,
-0.059610579162836075,
-0.025302467867732048,
-0.02051704190671444,
-0.016277983784675598,
0.02111992985010147,
-0.03270668908953667,
-0.0013341257581487298,
-0.0028236836660653353,
0.012265007942914963,
0.06172068789601326,
0.007451322395354509,
-0.05328024923801422,
0.00753610348328948,
-0.0024822039995342493,
-0.04921075329184532,
-0.018096068874001503,
0.1027170866727829,
0.03462839499115944,
0.0011039214441552758,
-0.001376516418531537,
0.046912241727113724,
-0.032405246049165726,
-0.044199246913194656,
0.010041858069598675,
-0.06172068789601326,
0.0191982239484787,
0.08018413931131363,
0.04483981430530548,
-0.04864554852247238,
-0.0020265053026378155,
0.03596605360507965,
0.009627372026443481,
0.06190909072756767,
-0.02940964326262474,
0.04615863412618637,
0.035721130669116974,
0.022664830088615417,
-0.06872926652431488,
0.0346849150955677,
-0.03811384364962578,
-0.023908287286758423,
-0.04785425588488579,
0.01221790723502636,
-0.025095224380493164,
-0.00448162667453289,
0.018124328926205635,
-0.06160764396190643,
0.02257063053548336,
-0.016824351623654366,
0.045894868671894073,
-0.043294914066791534,
0.006749522406607866,
0.02387060783803463,
-0.048231061547994614,
-0.023682205006480217,
0.024944502860307693,
-0.009358898736536503,
-0.004177827388048172,
0.01235920935869217,
-0.06439600139856339,
-0.01585407741367817,
-0.017540279775857925,
-0.011737480759620667,
-0.010899089276790619,
-0.0401674322783947,
-0.03174583613872528,
0.005270562134683132,
0.005214041564613581,
-0.02518942579627037,
-0.027337215840816498,
-0.004978538490831852,
0.05271504446864128,
0.08116383105516434,
-0.022532949224114418,
0.008473406545817852,
0.02942848391830921,
-0.034703757613897324,
0.020479360595345497,
-0.029466163367033005,
-0.03464723378419876,
-0.004012974910438061,
0.03376174345612526,
0.07170602679252625,
0.004879626911133528,
-0.0014506998704746366,
0.08515796810388565,
0.003301755292341113,
-0.028486471623182297,
-0.04495285823941231,
-0.051886070519685745,
0.0358341708779335,
0.016080159693956375,
-0.014949745498597622,
0.01128531526774168,
0.00830855406820774,
-0.0025363697204738855,
0.02445465512573719,
-0.0025010444223880768,
0.0027106422930955887,
-0.017446080222725868,
-0.046497758477926254,
0.03146323189139366,
0.009627372026443481,
0.040544237941503525,
-0.02153441496193409,
-0.07860156148672104,
0.0620221309363842,
0.0009184625814668834,
-0.03541968762874603,
-0.012434570118784904,
0.00178393698297441,
0.04525430127978325,
-0.07178138196468353,
0.01657000742852688,
-0.014309176243841648,
0.05109478160738945,
-0.019914153963327408,
0.09683892875909805,
-0.032669007778167725,
0.007790446747094393,
-0.03967758268117905,
-0.005463675130158663,
0.0033676961902529,
-0.03800079971551895,
0.0063962675631046295,
0.0899810716509819,
0.02360684424638748,
0.036041416227817535,
-0.028015464544296265,
-0.028787914663553238,
0.05226287618279457,
-0.011445457115769386,
0.0001694151433184743,
0.004158987198024988,
0.009443679824471474,
-0.05836712196469307,
-0.04849482700228691,
0.034553032368421555,
0.014111354015767574,
0.011483137495815754,
-0.015270029194653034,
-0.043596357107162476,
0.01258529257029295,
0.04683688282966614,
-0.016946813091635704,
0.023361921310424805,
0.0014730726834386587,
-0.05448602885007858,
-0.03585301339626312,
-0.01631566323339939,
-0.03142555058002472,
-0.015439591370522976,
0.06575249880552292,
0.12947025895118713,
0.001224616775289178,
0.05817871913313866,
0.04619631543755531,
-0.031670473515987396,
-0.04612095281481743,
0.011341835372149944,
0.04129784554243088,
0.040393512696027756,
-0.013499044813215733,
0.001556676346808672,
0.01601422019302845,
0.019914153963327408,
-0.062210533767938614,
-0.04061959683895111,
-0.021308332681655884,
0.011454877443611622,
-0.05222519487142563,
-0.03135019168257713,
0.013621507212519646,
0.05241359770298004,
0.026715487241744995,
0.031218308955430984,
0.003711530938744545,
0.023230038583278656,
0.05505123361945152,
-0.06205981224775314,
-0.0010179626988247037,
0.01675841026008129,
0.0299936905503273,
-0.017210576683282852,
0.022589469328522682,
-0.008737170137465,
0.04254130274057388,
0.008864341303706169,
-0.03800079971551895,
0.004413330461829901,
-0.0034972229041159153,
-0.0052846926264464855,
0.0747581422328949,
0.06055258959531784,
-0.01258529257029295,
0.0025222396943718195,
0.0660916268825531,
0.01447873841971159,
-0.08568549901247025,
0.03315885365009308,
-0.03014441393315792,
0.020441681146621704,
0.031218308955430984,
-0.04672384262084961,
-0.011096912436187267,
-0.015797557309269905,
-0.04107176512479782,
0.01039982307702303,
-0.021214131265878677,
-0.0022737837862223387,
0.03447767347097397,
0.0015295934863388538,
0.04261666536331177,
0.008737170137465,
0.009947656653821468,
-0.004564052447676659,
0.0788276419043541,
0.0069803157821297646,
-0.01790766604244709,
-0.027412576600909233,
-0.020573562011122704,
-0.00925527699291706,
-0.017728682607412338,
0.010428083129227161,
0.03184003755450249,
0.00662235077470541,
-0.09427665174007416,
0.04992668330669403,
0.009297668002545834,
0.01149255782365799,
0.019838791340589523,
-0.013254121877253056,
-0.00745603209361434,
0.00031027549994178116,
0.016268562525510788,
-0.04178769141435623,
-0.05301648750901222,
0.010597645305097103,
0.00830384436994791,
0.02605607733130455,
-0.03745443373918533,
-0.031953077763319016,
-0.06368007510900497,
0.01536423061043024,
-0.009768674150109291,
-0.0020559432450681925,
-0.03564576804637909,
0.0465354397892952,
0.014431637711822987,
-0.08214353024959564,
-0.03391246497631073,
-0.039979029446840286,
-0.046083271503448486,
-0.04058191552758217,
-0.02068660408258438,
-0.038923975080251694,
-0.04178769141435623,
-0.004813686013221741,
-0.023964809253811836,
-0.02765749953687191,
-0.011605598963797092,
-0.002705932129174471,
0.02925892174243927,
0.04630935564637184,
-0.04480213299393654,
-0.027845902368426323,
0.0030709621496498585,
-0.024699578061699867,
0.0372471921145916,
0.03146323189139366,
0.0034807377960532904,
0.03289509192109108,
0.02241990715265274,
-0.002403310500085354,
-0.012839635834097862,
0.016513487324118614,
0.04291810840368271,
-0.03417623043060303,
-0.01993299275636673,
0.08259569108486176,
0.029353123158216476,
-0.07637840509414673,
-0.03525012359023094,
0.055088914930820465,
0.023908287286758423,
-0.021572096273303032,
-0.0181808490306139,
-0.04103408381342888,
0.03837760537862778,
0.03525012359023094,
-0.03304581344127655,
0.025377828627824783,
0.030747301876544952,
0.0151287280023098,
-0.036889225244522095,
-0.002125416649505496,
-0.034421153366565704,
0.05787727236747742,
-0.05154694616794586,
0.059309132397174835,
-0.026564763858914375,
0.034439992159605026,
0.01075778715312481,
0.03099222481250763,
-0.04698760434985161,
-0.05810335651040077,
-0.02083732560276985,
-0.03155743330717087,
-0.031632792204618454,
-0.019405465573072433,
0.05723670497536659,
0.041561610996723175,
-0.019330104812979698,
-0.005882870871573687,
-0.01456351950764656,
0.011624439619481564,
-0.00289433472789824,
0.023399600759148598,
-0.052338238805532455,
0.002559920074418187,
-0.024096690118312836,
0.013602666556835175,
0.09503026306629181,
-0.0020818484481424093,
-0.003702110843732953,
0.02650824375450611,
-0.02807198464870453,
-0.01657000742852688,
0.07912908494472504,
0.020290957763791084,
0.009113974869251251,
-0.06232357397675514,
0.01705043390393257,
0.044010844081640244,
0.020743124186992645,
0.06533801555633545,
-0.03430810943245888,
-0.04012975096702576,
-0.07102777808904648,
-0.08259569108486176,
-0.010249100625514984,
0.0015625639352947474,
0.017540279775857925,
0.0198199525475502,
-0.039074696600437164,
0.060929395258426666,
-0.045329660177230835,
-0.046648479998111725,
-0.015835236757993698,
0.012613552622497082,
0.020121395587921143,
0.032103799283504486,
-0.017351878806948662,
0.03585301339626312,
-0.023644523695111275,
0.017681581899523735,
-0.026263320818543434,
0.06311486661434174,
-0.0008519329130649567,
-0.013188180513679981,
-0.01993299275636673,
0.0034807377960532904,
-0.011680960655212402,
-0.002118351636454463,
-0.033554501831531525,
0.03289509192109108,
-0.027318375185132027,
-0.035212442278862,
0.025811154395341873,
0.01585407741367817,
0.050002045929431915,
0.03653126209974289,
0.0643206387758255,
-0.040242791175842285,
0.039074696600437164,
-0.11311691254377365,
-0.03330957517027855,
-0.00010833148553501815,
-0.003047411795705557,
-0.022363387048244476,
0.013696867972612381,
0.0668829157948494,
-0.05908305197954178,
-0.02068660408258438,
0.016334503889083862,
0.02008371613919735,
0.023757565766572952,
-0.013734548352658749,
0.051170140504837036,
-0.029183560982346535,
0.02724301442503929,
-0.028053143993020058,
-0.016343923285603523,
-0.019283004105091095,
0.011275894939899445,
-0.052903447300195694,
0.021798178553581238,
-0.005454254802316427,
-0.016400445252656937,
-0.01719173602759838,
-0.012886736541986465,
-0.0007541991071775556,
-0.1027170866727829,
0.020856166258454323,
0.06258733570575714,
0.019160542637109756,
-0.05294112488627434,
-0.027412576600909233,
0.009528460912406445,
-0.003716240869835019,
0.025829995051026344,
0.014629460871219635,
0.00003425835893722251,
0.0020123750437051058,
-0.03960222378373146,
-0.03568344935774803,
0.03304581344127655,
0.007474872749298811,
-0.01879315823316574,
-0.006071273237466812,
0.005454254802316427,
0.04453837126493454,
-0.012001244351267815,
0.03564576804637909,
0.016475806012749672,
0.04555574432015419,
0.012557032518088818,
-0.04363403841853142,
0.05279040336608887,
0.0021772272884845734,
0.02475610002875328,
-0.01922648400068283,
-0.011407776735723019,
-0.007583204191178083,
-0.038622528314590454,
0.020743124186992645,
0.012641813606023788,
-0.011247633956372738,
-0.033968985080718994,
-0.004498111549764872,
0.013046879321336746,
0.05384545773267746,
0.023663364350795746,
0.03391246497631073,
-0.00046246947022154927,
0.03351682052016258,
-0.06876694411039352,
-0.015543213114142418,
0.019094601273536682,
0.013970051892101765,
-0.01791708543896675,
0.031199468299746513,
-0.024360453709959984,
0.04717600718140602,
0.07065097242593765,
0.020121395587921143,
0.01310339942574501,
0.005454254802316427,
0.07185674458742142,
-0.03287624940276146,
0.015251189470291138,
-0.0199518334120512,
-0.01332948263734579,
0.005458964966237545,
0.004620573483407497,
0.019292425364255905,
-0.050868697464466095,
-0.0020630082581192255,
-0.010380982421338558,
0.006594090256839991,
-0.007639724761247635,
-0.01861417479813099,
-0.02908935956656933,
-0.0134707847610116,
0.09020715951919556,
-0.030069053173065186,
0.020761964842677116,
0.004213152918964624,
-0.006853144150227308,
-0.04152392968535423,
0.001959386980161071,
0.02360684424638748,
-0.019019240513443947,
-0.019311264157295227,
0.030389336869120598,
-0.006325616966933012,
0.022966274991631508,
-0.043181873857975006,
0.03903701528906822,
-0.056972943246364594,
-0.012349789030849934,
0.07472046464681625,
-0.028354588896036148,
-0.007253499701619148,
0.01032446138560772,
0.03541968762874603,
-0.036305177956819534,
-0.05282808467745781,
0.0016873806016519666,
-0.027412576600909233,
-0.0026729616802185774,
-0.06552641838788986,
0.013207021169364452,
-0.03447767347097397,
0.0004053599259350449,
-0.03967758268117905,
-0.01251935213804245,
-0.03347913920879364,
-0.011530238203704357,
-0.07762186229228973,
0.02415321208536625,
-0.009594401344656944,
0.0030898023396730423,
-0.04077031835913658,
-0.00688140420243144,
0.019725751131772995,
0.0399036668241024,
0.018227949738502502,
0.012500511482357979,
0.050868697464466095,
0.016070740297436714,
-0.01876489818096161,
0.1001548171043396,
0.03248060494661331,
-0.004750099964439869,
0.012048345059156418,
0.01584465801715851,
-0.08123919367790222,
-0.043445635586977005,
0.008134281262755394,
-0.010541124269366264,
0.02298511564731598,
0.004712419584393501,
-0.055088914930820465,
0.010201999917626381,
0.024850301444530487,
0.014714241959154606,
0.038660209625959396,
0.058027997612953186,
0.01791708543896675,
-0.020046034827828407,
0.007837547920644283,
0.014243235811591148,
0.008167251944541931,
-0.01918880268931389,
-0.04438764974474907,
-0.0157033558934927,
0.05324257165193558,
0.025132905691862106,
-0.014864963479340076,
-0.034892160445451736,
0.02956036478281021,
0.019235903397202492,
-0.033422619104385376,
-0.002840169006958604,
-0.03538200631737709,
0.004495756700634956,
-0.02635752223432064,
-0.09751717746257782,
0.017719263210892677,
0.04800497740507126,
-0.038038481026887894,
-0.008845501579344273,
0.04706296697258949,
0.03911237791180611,
0.0019146412378177047,
-0.030935704708099365,
-0.05286576598882675,
0.05075565725564957,
0.02707345224916935,
-0.007983559742569923,
-0.07754650712013245,
-0.016909131780266762,
0.0011698623420670629,
0.008412175811827183,
0.039828307926654816,
0.031086426228284836,
-0.027280693873763084,
-0.012491091154515743,
-0.056709177792072296,
-0.004764230456203222,
0.053355611860752106,
-0.01618378236889839,
-0.014064253307878971,
-0.01905692182481289,
0.026169119402766228,
0.04028047248721123,
0.0018310375744476914,
0.006631771102547646,
-0.04208913818001747,
0.012227327562868595,
0.04638471454381943,
-0.01433743629604578,
-0.0052846926264464855,
0.05979898199439049,
0.02590535581111908,
0.03347913920879364,
0.05734974518418312,
-0.03302697464823723,
-0.02053588256239891,
-0.005539035890251398,
-0.04834410175681114,
0.04337027668952942,
-0.006820173468440771,
-0.02650824375450611,
0.06273806095123291,
0.019254744052886963,
-0.0034666075371205807,
0.053770098835229874,
0.03153859078884125,
-0.029466163367033005,
0.024944502860307693,
0.01832215115427971,
0.04875858873128891,
0.07716970145702362,
0.038038481026887894,
0.01774752326309681,
0.020573562011122704,
-0.014544679783284664,
0.02183585986495018,
-0.005614397116005421,
-0.021214131265878677,
0.042692024260759354,
-0.058027997612953186,
-0.02577347308397293,
0.06982199847698212,
0.05678454041481018,
-0.041561610996723175,
-0.061796046793460846,
-0.006226705387234688,
0.017219996079802513,
0.0035349035169929266,
-0.018011286854743958,
0.04932379722595215,
-0.0401674322783947,
-0.01792650669813156,
0.0063680075109004974,
0.05316720902919769,
-0.025076383724808693,
-0.059761300683021545,
-0.028185026720166206,
0.02720533311367035,
-0.02486914023756981,
-0.04378475993871689,
-0.04544270411133766,
0.011322995647788048,
0.06126851961016655,
0.005506065674126148,
0.003447767347097397,
0.0299936905503273,
0.021063409745693207
] |
18,107 | imodels.util.convert | dict_to_rule |
Function to accept rule dict and convert to Rule object
Parameters:
rule: list of dict of schema
[
{
'feature': int,
'operator': str,
'value': float
},
]
| def dict_to_rule(rule, clf_feature_dict):
"""
Function to accept rule dict and convert to Rule object
Parameters:
rule: list of dict of schema
[
{
'feature': int,
'operator': str,
'value': float
},
]
"""
output = ''
for condition in rule:
output += '{} {} {} and '.format(
clf_feature_dict[int(condition['feature'])],
condition['operator'],
condition['pivot']
)
return output[:-5]
| (rule, clf_feature_dict) | [
-0.003688402473926544,
0.01668415404856205,
-0.017994798719882965,
-0.06422159820795059,
-0.01702067069709301,
-0.013141871429979801,
-0.008027699775993824,
-0.0037415367551147938,
0.005503822583705187,
-0.03698143735527992,
-0.006730338092893362,
0.057349566370248795,
0.035422831773757935,
0.014461372047662735,
-0.010874809697270393,
0.0047732265666127205,
-0.0023135538212955,
0.04342839494347572,
0.010467447340488434,
0.026602547615766525,
0.029843736439943314,
-0.051433954387903214,
0.024530312046408653,
0.014080576598644257,
0.06496547907590866,
-0.01762286014854908,
-0.002428678097203374,
0.005233723670244217,
-0.03271298483014107,
0.008306654170155525,
-0.04916689172387123,
-0.028037171810865402,
-0.004985763691365719,
0.005344419740140438,
-0.04608510434627533,
-0.05154022201895714,
0.016267936676740646,
-0.00677904486656189,
-0.059970855712890625,
0.017711415886878967,
0.0333683080971241,
0.00686317402869463,
-0.03712312877178192,
0.04661644995212555,
-0.034732088446617126,
0.005428549367934465,
-0.04250739887356758,
-0.005787205416709185,
0.015860574319958687,
-0.0804806798696518,
-0.059368669986724854,
-0.03147318586707115,
0.03558223694562912,
0.054728277027606964,
-0.03370482474565506,
-0.019624250009655952,
-0.03772531822323799,
0.003681760746985674,
0.022723747417330742,
0.001536465366370976,
-0.0018585918005555868,
0.022900860756635666,
-0.04743117466568947,
-0.026478568091988564,
0.013593512587249279,
-0.06135234609246254,
-0.07615908980369568,
0.02476056106388569,
0.013097592629492283,
-0.06354856491088867,
-0.07488387078046799,
-0.0007754279649816453,
0.07927630096673965,
-0.014744753949344158,
0.01944713480770588,
-0.03430701419711113,
0.023184243589639664,
-0.02986144833266735,
0.038717158138751984,
-0.017064949497580528,
0.011609833687543869,
0.013053313829004765,
0.023520762100815773,
-0.015001569874584675,
-0.015010425820946693,
-0.004950340837240219,
0.025238769128918648,
0.003365169046446681,
-0.017773406580090523,
-0.019748229533433914,
0.007075710687786341,
-0.04307416453957558,
-0.05107972398400307,
-0.035546813160181046,
0.016569029539823532,
0.05699533969163895,
-0.017197785899043083,
-0.0086918780580163,
-0.04399515688419342,
-0.014611918479204178,
0.015594902448356152,
-0.019943054765462875,
-0.05012330785393715,
0.057207874953746796,
-0.0003414982638787478,
-0.07339610904455185,
-0.0031858410220593214,
-0.01613510027527809,
0.012699085287749767,
0.013026746921241283,
-0.04736032709479332,
0.006092727184295654,
0.0056366585195064545,
-0.006526656914502382,
0.04488072916865349,
0.00938705075532198,
-0.022351806983351707,
-0.041940633207559586,
-0.010370034724473953,
-0.006455811206251383,
0.030162543058395386,
-0.03207537531852722,
0.00017171772196888924,
0.04410142824053764,
-0.020881760865449905,
0.0087273009121418,
0.028568515554070473,
0.0232728011906147,
0.047183211892843246,
-0.023520762100815773,
-0.010795108042657375,
-0.013575800694525242,
-0.04817505180835724,
-0.01882723532617092,
-0.009750135242938995,
-0.061706576496362686,
0.0011767022078856826,
0.009307349100708961,
0.04116133227944374,
-0.04155098274350166,
0.07722177356481552,
0.021147431805729866,
-0.03513944894075394,
-0.01184008177369833,
-0.02159021608531475,
-0.05008788779377937,
-0.05926239863038063,
0.10378889739513397,
0.0022670612670481205,
-0.011087346822023392,
-0.020970316603779793,
0.024193795397877693,
-0.01603768765926361,
-0.0329432338476181,
0.0800556018948555,
0.02017330378293991,
-0.0014390526339411736,
-0.08211012929677963,
0.05940409004688263,
-0.0285330917686224,
0.026283742859959602,
-0.007664615288376808,
-0.0503358468413353,
0.014372814446687698,
0.02865707129240036,
-0.02555757388472557,
0.03264214098453522,
-0.02474284917116165,
0.01221202127635479,
0.014080576598644257,
0.010068939998745918,
-0.0862191766500473,
-0.03186284005641937,
0.05770379677414894,
0.019801363348960876,
0.032394181936979294,
0.0037348950281739235,
0.04888350889086723,
-0.025238769128918648,
0.06354856491088867,
0.03691059350967407,
0.042613666504621506,
-0.00878929067403078,
0.008187102153897285,
-0.004266237374395132,
-0.04764370992779732,
-0.036095865070819855,
0.05834140628576279,
-0.003856661031022668,
0.015284952707588673,
0.012885055504739285,
-0.037902429699897766,
-0.026744239032268524,
-0.003431587014347315,
-0.019588826224207878,
-0.07353780418634415,
-0.01139729656279087,
0.04406600445508957,
0.024052103981375694,
0.014355103485286236,
-0.023060264065861702,
0.02226325124502182,
0.011450430378317833,
0.07771769911050797,
-0.044774461537599564,
-0.017304053530097008,
-0.016746144741773605,
0.03363398090004921,
-0.06386736780405045,
-0.032057665288448334,
0.049414850771427155,
0.010246054269373417,
-0.044561922550201416,
-0.00007817929872544482,
0.03482064604759216,
0.00992724858224392,
0.029755180701613426,
0.055117927491664886,
-0.07162497192621231,
-0.023892700672149658,
-0.048387590795755386,
-0.06485920399427414,
0.07559232413768768,
-0.007770883850753307,
0.038575466722249985,
-0.010883665643632412,
0.02072235755622387,
-0.007469790056347847,
-0.002155258087441325,
0.02206842415034771,
0.03242960199713707,
-0.0632297545671463,
0.05040669068694115,
0.0011185866314917803,
0.06425701826810837,
0.02180275321006775,
-0.010724262334406376,
-0.009714712388813496,
-0.005893473979085684,
0.053169671446084976,
0.02408752590417862,
-0.006380537990480661,
-0.025185633450746536,
0.005375415086746216,
0.013912317343056202,
0.06046677753329277,
0.07467133551836014,
-0.030994979664683342,
-0.046049684286117554,
-0.007425511255860329,
-0.0038832281716167927,
0.020686933770775795,
0.006867601536214352,
0.017180074006319046,
-0.05561384931206703,
-0.022316385060548782,
0.00682775117456913,
-0.039992377161979675,
0.022900860756635666,
-0.04027575999498367,
0.006185712292790413,
0.0021065515466034412,
0.04041745141148567,
-0.031242938712239265,
-0.029029011726379395,
-0.010033517144620419,
-0.03839835152029991,
0.037158552557229996,
0.022440364584326744,
-0.013301273807883263,
-0.017321765422821045,
-0.06528428196907043,
0.002873677294701338,
0.008209241554141045,
-0.014611918479204178,
0.041338447481393814,
0.02474284917116165,
0.0017667138017714024,
0.024583445861935616,
-0.008736155927181244,
0.04271993786096573,
-0.05302798002958298,
-0.08423549681901932,
0.019092906266450882,
-0.001949362806044519,
0.011353017762303352,
-0.01882723532617092,
0.041409291326999664,
0.030782442539930344,
-0.021643351763486862,
0.01577201671898365,
-0.0026766378432512283,
0.005937752313911915,
-0.0032323335763067007,
-0.00020423477690201253,
0.020899470895528793,
0.06152946129441261,
-0.09613756835460663,
0.06454040110111237,
0.0023689018562436104,
0.03241189196705818,
0.05589723214507103,
0.08012644946575165,
-0.018295893445611,
-0.11250291764736176,
-0.012096897698938847,
-0.011379584670066833,
-0.014904157258570194,
-0.008226953446865082,
-0.02906443364918232,
-0.005548101384192705,
0.020137879997491837,
-0.019128330051898956,
0.005300141405314207,
-0.015364653430879116,
0.0431804321706295,
-0.049414850771427155,
-0.010228343307971954,
0.04813963174819946,
-0.002453031251206994,
-0.011361873708665371,
-0.005880190525203943,
0.014638485386967659,
-0.006287552881985903,
0.018313605338335037,
-0.07835530489683151,
0.01627679169178009,
-0.05366559326648712,
0.06723253428936005,
-0.008435062132775784,
-0.012477693147957325,
0.03551138937473297,
0.07502555847167969,
0.009643866680562496,
0.005791633389890194,
0.002645642962306738,
0.025114787742495537,
0.050619229674339294,
-0.0870693251490593,
-0.01687897928059101,
-0.0030928561463952065,
0.03545825555920601,
0.026248319074511528,
0.03719397634267807,
0.0072749643586575985,
0.02112971991300583,
-0.10272621363401413,
0.028550803661346436,
0.03053448162972927,
-0.005145166534930468,
-0.008293370716273785,
-0.05805802345275879,
0.05830598250031471,
0.03914223238825798,
0.011459286324679852,
0.008629887364804745,
-0.04480988532304764,
-0.06613443046808243,
0.01221202127635479,
-0.04700610041618347,
0.10463904589414597,
-0.08480226248502731,
-0.041125908493995667,
0.04661644995212555,
0.033740248531103134,
0.019535692408680916,
0.014638485386967659,
-0.0009470073273405433,
0.05348847806453705,
0.009298494085669518,
-0.006066160276532173,
0.01632107049226761,
0.05260290578007698,
-0.0494856983423233,
-0.029099857434630394,
0.04431396350264549,
0.04512868821620941,
0.01204376295208931,
0.01221202127635479,
0.02637229859828949,
-0.015001569874584675,
0.032181642949581146,
0.0016017762245610356,
0.04438481107354164,
-0.000699047464877367,
-0.04930858314037323,
-0.05731414258480072,
0.014443660154938698,
0.024193795397877693,
-0.003907581325620413,
0.045376650989055634,
0.061033543199300766,
0.01570117101073265,
-0.06960586458444595,
-0.0018641265342012048,
-0.021005740389227867,
-0.030499059706926346,
0.0037193975877016783,
-0.006889740936458111,
0.006566507741808891,
-0.02771836705505848,
-0.03691059350967407,
-0.004985763691365719,
-0.0033275324385613203,
-0.04027575999498367,
0.012778786942362785,
-0.015258385799825191,
0.07034974545240402,
-0.009980383329093456,
0.007000437472015619,
0.06347771733999252,
-0.003455940168350935,
-0.051433954387903214,
-0.01150356512516737,
-0.034342437982559204,
0.027257870882749557,
0.061777420341968536,
0.03637924790382385,
-0.05738499015569687,
0.04661644995212555,
0.059368669986724854,
-0.030587615445256233,
-0.008855707943439484,
0.018508430570364,
-0.027594387531280518,
-0.026390010491013527,
0.021430814638733864,
0.01661330834031105,
-0.015284952707588673,
0.05334678664803505,
-0.028302842751145363,
-0.013637790456414223,
-0.016958681866526604,
-0.06025423854589462,
0.005472827702760696,
0.01553291268646717,
0.0057252151891589165,
0.05281544476747513,
0.041338447481393814,
-0.0022980563808232546,
0.0004643712018150836,
-0.013097592629492283,
0.04087794944643974,
0.013575800694525242,
-0.07105820626020432,
-0.006172428838908672,
-0.017684848979115486,
-0.04813963174819946,
-0.0626629889011383,
-0.008138395845890045,
0.037016861140728,
0.01443480420857668,
0.013407542370259762,
0.05175275728106499,
0.06400906294584274,
0.008474912494421005,
0.02683279663324356,
-0.016728432849049568,
0.04519953578710556,
0.036591786891222,
0.037016861140728,
0.006212279200553894,
0.041940633207559586,
0.043818045407533646,
-0.0699600949883461,
-0.03260671719908714,
0.028568515554070473,
0.03444870561361313,
-0.032057665288448334,
0.011857793666422367,
-0.014301968738436699,
-0.024601157754659653,
0.04849385842680931,
0.027860058471560478,
0.006389393471181393,
0.08395211398601532,
0.06273383647203445,
0.00020063713600393385,
0.005840339697897434,
0.039921533316373825,
0.02004932425916195,
-0.06202537938952446,
-0.049875348806381226,
0.010405457578599453,
-0.028373688459396362,
0.04296789690852165,
-0.02709846757352352,
-0.03549367934465408,
-0.052496638149023056,
0.05894359573721886,
-0.028603937476873398,
0.015081271529197693,
0.038646310567855835,
-0.01951798051595688,
0.05426777899265289,
-0.012690230272710323,
0.000003666816610348178,
0.034005921334028244,
-0.041869789361953735,
0.018047932535409927,
-0.01620594598352909,
-0.020297283306717873,
-0.1001049280166626,
0.0023489766754209995,
0.018384451046586037,
-0.01976594142615795,
-0.026549413800239563,
0.015754304826259613,
-0.036698054522275925,
0.0011263353517279029,
-0.0026655681431293488,
-0.02219240553677082,
-0.011848937720060349,
0.017977088689804077,
-0.029082145541906357,
-0.006987154018133879,
0.005995314568281174,
0.037441935390233994,
-0.05058380588889122,
0.02872791700065136,
0.0027496973052620888,
-0.03747735917568207,
-0.035812485963106155,
-0.04264909029006958,
-0.005734071135520935,
0.022156981751322746,
0.017490023747086525,
-0.0046846698969602585,
0.052780020982027054,
-0.06974755972623825,
-0.014992713928222656,
0.010343466885387897,
0.03861088678240776,
0.02993229404091835,
-0.036875169724226,
0.0673033818602562,
0.017268631607294083,
-0.03907138481736183,
-0.03398820757865906,
0.0017556442180648446,
0.021076586097478867,
0.052177831530570984,
-0.013779481872916222,
0.002953378716483712,
0.05965204909443855,
0.0629463717341423,
-0.004485416226089001,
0.0003265542327426374,
-0.024937674403190613,
-0.0034249452874064445,
-0.04821047559380531,
0.05823513865470886,
-0.03397049754858017,
0.03310263901948929,
0.013469532132148743,
0.02918841503560543,
0.05547215789556503,
-0.030994979664683342,
-0.008262375369668007,
-0.029755180701613426,
-0.03080015257000923,
-0.07006636261940002,
0.026939064264297485,
0.009750135242938995,
-0.005884618032723665,
-0.018756389617919922,
0.004830788820981979,
0.03120751678943634,
-0.05416151136159897,
0.00975899025797844,
0.006508945487439632,
-0.04767913371324539,
0.008293370716273785,
-0.01632107049226761,
-0.040665414184331894,
-0.046120528131723404,
0.004401287063956261,
-0.009732423350214958,
0.013133015483617783,
0.03956730291247368,
-0.06213165074586868,
0.0689682587981224,
-0.02461886964738369,
-0.027930904179811478,
0.05486996844410896,
0.023255089297890663,
0.02697448804974556,
0.05830598250031471,
-0.008988544344902039,
-0.034200746566057205,
-0.05830598250031471,
0.0353342741727829,
-0.018862659111618996,
-0.010485158301889896,
0.0035422833170741796,
-0.05756210535764694,
-0.0031194232869893312,
0.014797888696193695,
-0.011476998217403889,
0.03087099827826023,
-0.02979060262441635,
-0.018915792927145958,
0.008696305565536022,
0.03248273953795433,
0.024052103981375694,
-0.019394000992178917,
-0.0030087269842624664,
-0.01372634805738926,
-0.056534841656684875,
-0.041055064648389816,
-0.003055219305679202,
0.01930544339120388,
0.07130616158246994,
0.018118778243660927,
0.052496638149023056,
-0.0503358468413353,
-0.02871020697057247,
0.017180074006319046,
-0.007921431213617325,
-0.0281080175191164,
0.03618442267179489,
-0.021448524668812752,
-0.049804504960775375,
0.021306833252310753,
0.020686933770775795,
0.013203861191868782,
0.020598378032445908,
-0.05904986336827278,
-0.01957111619412899,
-0.07984306663274765,
-0.02474284917116165,
0.004100192803889513,
0.05515335127711296,
-0.05440947040915489,
-0.04211774840950966,
0.04750201851129532,
0.027470406144857407,
0.0563577264547348,
0.00031880548340268433,
-0.061848267912864685,
-0.04431396350264549,
0.015435499139130116,
0.02151937037706375,
-0.03747735917568207,
0.04034660756587982,
0.014186844229698181,
-0.004449993371963501,
-0.05759752541780472,
0.02630145289003849,
0.002453031251206994,
-0.0019095120951533318,
0.042897049337625504,
-0.08961977064609528,
0.08529818058013916,
0.05819971486926079,
0.04498699679970741,
-0.0037946710363030434,
-0.03450183942914009,
-0.011308739893138409,
-0.017507735639810562,
-0.031579457223415375,
0.0006044020992703736,
0.006570935714989901,
-0.03368711471557617,
-0.04863554984331131,
0.005339992232620716,
0.040134068578481674,
-0.0029777318704873323,
-0.023573895916342735,
-0.01856156438589096,
-0.008767151273787022,
0.011662967503070831,
-0.018349027261137962,
0.009475607424974442,
0.03896511718630791,
-0.010972222313284874,
0.04527037963271141,
0.028692495077848434,
0.01766713708639145,
-0.05107972398400307,
0.01224744413048029,
-0.01748116873204708,
-0.009006255306303501,
0.012548538856208324,
0.015400076285004616,
-0.045164112001657486,
-0.0014755823649466038,
0.0028758912812918425,
-0.04760828614234924,
0.008195958100259304,
-0.05557842552661896,
0.012849632650613785,
0.026478568091988564,
-0.05834140628576279,
0.009882970713078976,
-0.05228410288691521,
-0.04148013889789581,
0.043959736824035645,
0.034944623708724976,
0.03296094760298729,
-0.0092187924310565,
-0.02872791700065136,
0.0014091646298766136,
-0.005924468860030174,
0.023910412564873695,
-0.030020851641893387,
0.03896511718630791,
-0.027594387531280518,
0.052036140114068985,
-0.04569545388221741,
-0.012371424585580826,
0.06517801433801651,
-0.001982571789994836,
-0.021235987544059753,
0.016170524060726166,
0.005176161415874958,
-0.05107972398400307,
0.020084746181964874,
-0.05030042305588722,
-0.07913460582494736,
0.07615908980369568,
0.011530132032930851,
0.03517487272620201,
-0.009139090776443481,
0.006681631784886122,
-0.02171419747173786,
0.02084633708000183,
0.015807438641786575,
-0.03428930416703224,
-0.007890435867011547,
0.0021618998143821955,
0.025415882468223572,
-0.029241548851132393,
0.020704645663499832,
0.015524056740105152,
0.06287553161382675,
-0.017250919714570045,
-0.0563577264547348,
0.0035843478981405497,
0.05841225013136864,
0.05501165986061096,
0.049060624092817307,
0.04048829898238182,
-0.03536969795823097,
0.056074343621730804,
-0.015391221269965172,
0.037973277270793915,
0.01372634805738926,
-0.01372634805738926,
-0.041055064648389816,
0.011946350336074829,
0.0698184072971344,
0.003480293322354555,
-0.017702560871839523,
0.05717245116829872,
-0.036698054522275925,
0.05146937817335129,
0.012274011969566345,
-0.012238589115440845,
-0.014913012273609638,
-0.006349542643874884,
0.030109407380223274,
0.011928639374673367,
0.005180589389055967,
0.03903596103191376,
-0.033598557114601135,
0.05334678664803505,
-0.024530312046408653
] |
18,110 | imodels.util.explain_errors | explain_classification_errors | Explains the classification errors of a model by fitting an interpretable model to them.
Currently only supports binary classification.
Parameters
----------
X: array_like
(n, n_features)
predictions: array_like
(n, 1) predictions
y
(n, 1) targets with integer values representing class
feature_names
n_features
Returns
-------
model: BaseEstimator
| def explain_classification_errors(X, predictions, y,
feature_names: list = None,
target_name: str = None,
classifier: BaseEstimator = imodels.GreedyTreeClassifier(),
target_one_hot_encode: bool = False,
print_rules: bool = True):
"""Explains the classification errors of a model by fitting an interpretable model to them.
Currently only supports binary classification.
Parameters
----------
X: array_like
(n, n_features)
predictions: array_like
(n, 1) predictions
y
(n, 1) targets with integer values representing class
feature_names
n_features
Returns
-------
model: BaseEstimator
"""
# deal with names
if feature_names is None:
if isinstance(X, pd.DataFrame):
feature_names = X.columns.tolist()
else:
feature_names = [f'X{i + 1}' for i in range(X.shape[1])]
if target_name is None:
if isinstance(y, pd.DataFrame):
target_name = y.columns[0]
elif isinstance(y, pd.Series):
target_name = y.name
else:
target_name = 'target'
if isinstance(predictions, pd.Series) or isinstance(predictions, pd.DataFrame):
predictions = predictions.values
X, y = check_X_y(X, y) # converts to np
if len(y.shape) == 1:
y = y.reshape(-1, 1)
if len(predictions.shape) == 1:
predictions = predictions.reshape(-1, 1)
errors = np.array(predictions != y).astype(int)
features = pd.DataFrame(np.hstack((X, y)))
features.columns = [*feature_names, target_name]
classifier.fit(features, errors.flatten())
if print_rules:
print(classifier)
return classifier, features.columns
| (X, predictions, y, feature_names: Optional[list] = None, target_name: Optional[str] = None, classifier: sklearn.base.BaseEstimator = GreedyTreeClassifier(), target_one_hot_encode: bool = False, print_rules: bool = True) | [
-0.037226494401693344,
-0.04703456163406372,
0.04221333563327789,
-0.01806119829416275,
0.023314863443374634,
-0.035386331379413605,
-0.005005243234336376,
-0.0006624586530961096,
0.00428757956251502,
-0.02581748552620411,
-0.0029212585650384426,
-0.023186052218079567,
0.02020498923957348,
-0.01383802480995655,
0.020481012761592865,
-0.0064405701123178005,
0.050678085535764694,
-0.04666652902960777,
0.03752092272043228,
0.017104314640164375,
0.018005993217229843,
0.026314329355955124,
-0.010231305845081806,
0.019652940332889557,
0.0007527416455559433,
-0.003579116892069578,
0.00541927944868803,
0.00794950406998396,
0.003655023407191038,
-0.004195571411401033,
-0.053217511624097824,
0.0061599453911185265,
-0.04604087397456169,
0.022229166701436043,
-0.05233423039317131,
-0.03735530748963356,
0.04674013704061508,
0.038680221885442734,
0.045083992183208466,
-0.024768592789769173,
-0.10010486096143723,
-0.04504718631505966,
-0.013469992205500603,
-0.03483428433537483,
-0.04927956312894821,
0.010277309454977512,
-0.011620628647506237,
0.002971863141283393,
-0.030712317675352097,
-0.09237617999315262,
-0.02329646237194538,
-0.03211084380745888,
0.007333049084991217,
0.03273649886250496,
0.017012305557727814,
0.03174281120300293,
0.024768592789769173,
0.0005117952823638916,
-0.013101959601044655,
-0.04810185730457306,
-0.01253150962293148,
0.05579373985528946,
0.007613673806190491,
0.009624051861464977,
-0.0037309301551431417,
-0.024382157251238823,
-0.02281801961362362,
-0.0018367125885561109,
-0.03448465093970299,
0.01751835085451603,
-0.016791487112641335,
-0.051377348601818085,
0.008271532133221626,
0.021640315651893616,
0.0008574008825235069,
-0.008165722712874413,
-0.03260768577456474,
0.008717771619558334,
0.024308551102876663,
0.008400343358516693,
-0.04475276172161102,
-0.00410816352814436,
0.02673756703734398,
-0.0484330877661705,
-0.005414679180830717,
-0.05590415000915527,
-0.005971328355371952,
0.01532855723053217,
0.0292033851146698,
0.01928490772843361,
-0.03580956906080246,
0.011123784817755222,
0.004959239158779383,
-0.0012593615101650357,
-0.027841664850711823,
0.06930053234100342,
-0.024768592789769173,
0.014693700708448887,
0.02559666521847248,
-0.006054135970771313,
0.008657966740429401,
0.056750621646642685,
0.0028131490107625723,
0.06742356717586517,
-0.06389045715332031,
-0.02804408222436905,
-0.0322948582470417,
0.010341715067625046,
0.019174497574567795,
-0.04648251459002495,
-0.048617102205753326,
-0.030473098158836365,
0.026075107976794243,
-0.015650585293769836,
0.025872690603137016,
-0.04063079506158829,
-0.03501829877495766,
-0.03879063203930855,
-0.11666632443666458,
-0.04674013704061508,
0.007636676076799631,
-0.042912598699331284,
-0.024731788784265518,
-0.03875382989645004,
-0.014206057414412498,
0.010875362902879715,
0.04188210889697075,
-0.010580936446785927,
0.04858030006289482,
-0.09620371460914612,
0.005695303902029991,
-0.004317482002079487,
-0.020002570003271103,
0.025026215240359306,
0.042066123336553574,
0.003997753839939833,
-0.02044420875608921,
0.0038091372698545456,
0.050310052931308746,
-0.0491691529750824,
0.06977897882461548,
-0.03864341974258423,
-0.0029143579304218292,
0.017325133085250854,
0.010019687004387379,
-0.027547238394618034,
0.015438966453075409,
-0.0009177812607958913,
-0.0005894271889701486,
0.027400026097893715,
0.02359088882803917,
-0.014905319549143314,
0.03702407702803612,
-0.0868556872010231,
-0.0361407995223999,
0.035239119082689285,
0.010902965441346169,
-0.05969488248229027,
0.009780465625226498,
-0.018429230898618698,
0.026995189487934113,
-0.09274420887231827,
-0.01660747081041336,
0.023719700053334236,
0.012595915235579014,
0.008823581039905548,
-0.006123141851276159,
0.017619559541344643,
-0.004519899841398001,
0.039379484951496124,
0.031025145202875137,
-0.012163477018475533,
0.03205563873052597,
0.013092759065330029,
-0.03350936621427536,
0.01820841245353222,
0.007668878883123398,
0.0021058362908661366,
0.008694769814610481,
0.07964225113391876,
0.04828587546944618,
0.014610893093049526,
-0.04736579209566116,
-0.06742356717586517,
0.0035699158906936646,
-0.012825935147702694,
-0.029240187257528305,
0.03065711446106434,
-0.019781751558184624,
0.03956350311636925,
0.010231305845081806,
-0.05509447678923607,
0.05910603329539299,
0.07121430337429047,
0.020352201536297798,
-0.03413502126932144,
-0.011694234795868397,
0.007158233784139156,
0.10312272608280182,
0.005488285794854164,
-0.03586477413773537,
0.0437958762049675,
0.045525629073381424,
-0.000635431264527142,
0.005019044037908316,
0.06723955273628235,
-0.032920513302087784,
-0.008542955853044987,
-0.013792021200060844,
-0.0861196219921112,
0.01721472293138504,
0.007958704605698586,
-0.08847503364086151,
0.04902194067835808,
0.032773301005363464,
0.07883257418870926,
0.061130210757255554,
-0.019873758777976036,
-0.040373172610998154,
-0.029847441241145134,
0.025394247844815254,
-0.03864341974258423,
0.004135766066610813,
0.040851615369319916,
0.015227347612380981,
-0.018420031294226646,
0.015199745073914528,
0.009743662551045418,
0.04103563353419304,
-0.045083992183208466,
-0.006744197104126215,
-0.06330160051584244,
0.01937691494822502,
0.011132985353469849,
0.025394247844815254,
0.02896416373550892,
0.021640315651893616,
-0.014270463027060032,
0.019855357706546783,
0.04272858053445816,
-0.05792832747101784,
0.011280198581516743,
-0.02198994718492031,
-0.002631432842463255,
0.027179205790162086,
-0.039305880665779114,
0.016340646892786026,
0.014040443114936352,
-0.025707075372338295,
-0.02189793810248375,
-0.033858995884656906,
-0.018024396151304245,
0.0036619240418076515,
-0.03365657851099968,
0.005870119668543339,
-0.07809650897979736,
0.029092974960803986,
-0.03805456683039665,
0.053143903613090515,
0.009697658009827137,
-0.01391163095831871,
0.05354873836040497,
-0.00005664251511916518,
0.035386331379413605,
-0.03926907479763031,
-0.026001501828432083,
-0.03882743790745735,
0.01475810632109642,
0.03286530822515488,
-0.0009413583320565522,
0.057670705020427704,
0.04110923781991005,
-0.0522606261074543,
0.034705471247434616,
-0.03144838288426399,
0.01945052109658718,
-0.012319890782237053,
-0.029994655400514603,
-0.015650585293769836,
-0.02252359315752983,
-0.013175565749406815,
-0.09428994357585907,
-0.00428757956251502,
0.030178671702742577,
0.02068343013525009,
0.014206057414412498,
-0.00841414462774992,
-0.02528383769094944,
0.023333264514803886,
-0.015530974604189396,
0.028246499598026276,
0.020168185234069824,
0.06856446713209152,
-0.028264902532100677,
-0.03275489807128906,
-0.0073468503542244434,
-0.0038367395754903555,
-0.06885889172554016,
-0.010194502770900726,
0.0008878785884007812,
-0.04195571318268776,
0.029240187257528305,
0.04464235156774521,
-0.06797561794519424,
-0.03499989956617355,
-0.0752994641661644,
0.04725538194179535,
-0.01117898989468813,
-0.02912977896630764,
0.001240959856659174,
0.018475234508514404,
0.05546250939369202,
0.022762814536690712,
-0.009808068163692951,
-0.026019902899861336,
-0.024768592789769173,
0.012927143834531307,
-0.020499413833022118,
0.0560881644487381,
0.003247887594625354,
-0.014739704318344593,
0.012844337150454521,
-0.01253150962293148,
-0.013828824274241924,
-0.013230770826339722,
-0.029387401416897774,
0.0288169514387846,
0.015273352153599262,
-0.0008878785884007812,
-0.023314863443374634,
0.020389005541801453,
-0.06444250047206879,
0.046114481985569,
0.0009747112635523081,
-0.017803575843572617,
-0.013230770826339722,
0.003484808374196291,
0.05255505070090294,
0.014997327700257301,
0.05888521298766136,
-0.029957851395010948,
0.0315035879611969,
-0.029626622796058655,
0.012393496930599213,
0.043391041457653046,
0.0006026533665135503,
-0.002318605314940214,
0.02835690975189209,
0.005373275373131037,
0.016156630590558052,
-0.06046775355935097,
-0.004460094962269068,
0.027933672070503235,
-0.00869016908109188,
-0.009706859476864338,
-0.002286402275785804,
-0.01621183566749096,
0.03413502126932144,
0.03411661833524704,
-0.019708143547177315,
0.018493637442588806,
-0.06661389768123627,
-0.028798548504710197,
0.0028200496453791857,
-0.04166128858923912,
0.020628225058317184,
-0.015512572601437569,
0.02291002869606018,
0.010847760364413261,
-0.05965808033943176,
-0.0036228206008672714,
0.009440035559237003,
-0.02167711779475212,
0.03636161983013153,
-0.020628225058317184,
0.0883278176188469,
0.004669413436204195,
0.020499413833022118,
-0.005124853458255529,
0.048764314502477646,
-0.02097785659134388,
0.014068045653402805,
-0.016782285645604134,
-0.015190544538199902,
0.009835670702159405,
-0.012494705617427826,
-0.045525629073381424,
-0.013727614656090736,
0.0124855050817132,
0.023609289899468422,
0.03257088363170624,
-0.04950037971138954,
-0.032791703939437866,
0.016110625118017197,
-0.047844234853982925,
-0.02620391920208931,
0.02206355333328247,
0.049463577568531036,
-0.07393774390220642,
-0.0361039973795414,
-0.017766771838068962,
0.02982904016971588,
0.023388469591736794,
-0.012301488779485226,
-0.037373706698417664,
0.07342249900102615,
0.00505124730989337,
0.01467529870569706,
-0.036527231335639954,
0.03704247996211052,
0.03433743864297867,
0.03672965243458748,
-0.004025356378406286,
0.008653366006910801,
-0.07482102513313293,
0.07699241489171982,
0.031245965510606766,
0.00841414462774992,
0.04029956832528114,
0.003908046055585146,
0.033012520521879196,
-0.03871702775359154,
0.03757612779736519,
0.02244998700916767,
-0.01371841412037611,
0.04802824929356575,
-0.04674013704061508,
-0.023572485893964767,
0.06878528743982315,
-0.03317813575267792,
-0.07478421926498413,
-0.05748668685555458,
-0.07154553383588791,
-0.01552177406847477,
-0.029332196339964867,
-0.05203980579972267,
-0.013985238038003445,
0.018116403371095657,
-0.024805394932627678,
0.047917842864990234,
-0.03750251978635788,
-0.05001562833786011,
0.037318501621484756,
0.06584102660417557,
-0.060430947691202164,
-0.04258136823773384,
-0.009789666160941124,
-0.05446882173418999,
-0.08545716106891632,
0.030546704307198524,
0.021327488124370575,
-0.01952412724494934,
0.02044420875608921,
0.03179801627993584,
0.019634537398815155,
-0.012319890782237053,
0.05097251012921333,
0.01225548516958952,
0.012853537686169147,
0.022946830838918686,
0.02112507075071335,
0.024106133729219437,
0.0180519986897707,
0.0669083222746849,
-0.021419495344161987,
0.001367471064440906,
0.05671381950378418,
0.010783354751765728,
-0.029553016647696495,
-0.016119826585054398,
0.03794415667653084,
-0.03812817484140396,
0.03912186250090599,
0.05012603849172592,
-0.06981577724218369,
0.08045192062854767,
0.042691778391599655,
0.018475234508514404,
0.011234194040298462,
-0.013157164677977562,
0.04066760092973709,
-0.03963710740208626,
0.015420564450323582,
-0.03667444735765457,
0.05546250939369202,
0.015319355763494968,
0.005037446040660143,
-0.029792236164212227,
0.00737905316054821,
-0.001304215402342379,
-0.015549376606941223,
-0.024915805086493492,
0.00940783228725195,
-0.03575436398386955,
-0.0188340675085783,
-0.03726329654455185,
0.020039374008774757,
0.003040869254618883,
-0.025872690603137016,
-0.0353311263024807,
0.05424800142645836,
-0.02206355333328247,
-0.025927895680069923,
-0.040078748017549515,
0.037226494401693344,
-0.010341715067625046,
0.05373275652527809,
0.002948861103504896,
-0.052003003656864166,
0.01943212002515793,
-0.06234471872448921,
0.017877181991934776,
0.006008131895214319,
0.029700228944420815,
-0.03752092272043228,
0.03236846625804901,
0.04475276172161102,
0.01590820774435997,
0.027160804718732834,
0.023241257295012474,
0.00810591783374548,
-0.0005609621293842793,
0.0430598109960556,
-0.01643265411257744,
-0.008354339748620987,
0.05781791731715202,
0.05410078912973404,
0.025191830471158028,
0.017693165689706802,
0.006178346928209066,
-0.008634964004158974,
0.010590136982500553,
0.019947364926338196,
0.03442944586277008,
-0.05332792177796364,
0.011896653100848198,
0.02037060260772705,
-0.011749439872801304,
0.00647737318649888,
0.004055258817970753,
0.0399683378636837,
0.03617760166525841,
-0.03982112556695938,
-0.009541244246065617,
-0.0311171542853117,
-0.06153504550457001,
-0.022726012393832207,
0.03643522411584854,
-0.01584380306303501,
-0.01060853898525238,
-0.014555688016116619,
-0.00156068813521415,
0.01806119829416275,
0.03203723579645157,
0.025578264147043228,
0.048690710216760635,
0.03704247996211052,
0.07507864385843277,
0.028099287301301956,
0.02197154425084591,
-0.020996257662773132,
-0.06109340861439705,
0.08928470313549042,
-0.08059913665056229,
0.07036782801151276,
0.03590157628059387,
-0.04096202552318573,
0.040704403072595596,
-0.07927421480417252,
-0.06815963238477707,
-0.02528383769094944,
0.05877480283379555,
0.002419814234599471,
0.02197154425084591,
-0.07084627449512482,
0.022229166701436043,
0.020462611690163612,
0.0299762524664402,
-0.008326737210154533,
0.06672430783510208,
-0.00039822273538447917,
-0.019634537398815155,
-0.02596469782292843,
-0.030528301373124123,
0.040005140006542206,
-0.00540087791159749,
-0.019579332321882248,
-0.023314863443374634,
-0.031466785818338394,
-0.023075642064213753,
-0.026185518130660057,
-0.01736193709075451,
0.006877608597278595,
-0.014353270642459393,
0.029019368812441826,
0.03345416113734245,
-0.031393177807331085,
-0.01820841245353222,
0.03632481396198273,
-0.006914412137120962,
0.004586605820804834,
0.016110625118017197,
0.03130117058753967,
-0.04604087397456169,
0.052518248558044434,
-0.022560397163033485,
-0.012457902543246746,
0.010820157825946808,
-0.007866696454584599,
-0.037152890115976334,
-0.010387719608843327,
0.0005451482720673084,
0.01590820774435997,
-0.02951621264219284,
-0.05726587027311325,
0.031945228576660156,
0.04236054793000221,
0.03974751755595207,
-0.028798548504710197,
0.014693700708448887,
0.027252811938524246,
-0.0330677255988121,
-0.0038988450542092323,
0.029553016647696495,
-0.013313578441739082,
0.049610789865255356,
-0.06863807886838913,
-0.0207570381462574,
-0.02598310075700283,
0.012908742763102055,
-0.004720017779618502,
0.027694450691342354,
0.023719700053334236,
-0.004462394863367081,
0.008929390460252762,
-0.021934742107987404,
0.038238584995269775,
0.06547299772500992,
0.006762598641216755,
-0.04604087397456169,
-0.0960564985871315,
-0.02090425044298172,
-0.03465026617050171,
0.017003104090690613,
0.0008263481431640685,
-0.009890875779092312,
-0.03812817484140396,
-0.024768592789769173,
0.10253387689590454,
0.010166900232434273,
0.021106667816638947,
0.042544566094875336,
-0.033785391598939896,
0.017325133085250854,
0.02743682824075222,
0.07662437856197357,
-0.04957398772239685,
0.019763348624110222,
-0.00208513461984694,
-0.0011552772484719753,
-0.029626622796058655,
-0.04250776395201683,
0.06893250346183777,
0.03696887195110321,
0.030417893081903458,
0.08722372353076935,
-0.008538356050848961,
-0.03034428507089615,
-0.006896010600030422,
-0.029681827872991562,
-0.012025464326143265,
0.004381888080388308,
0.04810185730457306,
-0.036380019038915634,
-0.03034428507089615,
-0.010323313996195793,
0.005833316128700972,
-0.0035929179284721613,
0.007866696454584599,
-0.02460297755897045,
0.06433209776878357,
0.03387739881873131,
0.025835886597633362,
-0.04618808999657631,
0.0553152970969677,
0.0025187230203300714,
-0.030620310455560684,
0.036085594445466995,
-0.01187825109809637,
-0.04802824929356575,
-0.024271748960018158,
0.036527231335639954,
0.04110923781991005,
-0.001764256157912314,
-0.04258136823773384,
0.05932684987783432,
-0.060430947691202164,
-0.035551946610212326,
0.028301704674959183,
-0.01699390448629856,
-0.005929925013333559,
0.032239653170108795,
-0.06422168761491776,
-0.003378999186679721,
0.003496309509500861,
0.05248144641518593,
-0.04405349865555763,
0.010212903842329979,
-0.004271477926522493,
-0.08906388282775879,
-0.0004154742637183517,
0.05027325078845024,
-0.007687280420213938,
-0.01991056278347969,
-0.01807039976119995,
-0.037097685039043427,
0.015006528235971928,
-0.035625554621219635,
-0.007411255966871977,
0.05502086877822876,
0.03671124950051308,
0.006435969844460487,
0.03956350311636925,
0.015089335851371288,
-0.052849479019641876,
0.0048994338139891624,
0.028301704674959183,
-0.08979994803667068,
0.0653257817029953,
0.005005243234336376,
0.07625634968280792,
0.06142463535070419,
-0.047844234853982925,
0.043391041457653046,
-0.04802824929356575,
-0.02090425044298172,
-0.008639564737677574,
-0.0822920873761177,
0.10091453045606613,
0.03190842270851135,
0.013773619197309017,
-0.014123249799013138,
0.012963947840034962,
0.017021507024765015,
-0.01998416893184185,
0.007912700064480305,
-0.018309621140360832,
0.08427946269512177,
-0.012513107620179653,
0.03886424005031586,
-0.03317813575267792,
-0.05538890138268471,
0.0030960740987211466,
-0.003204183652997017,
0.08589880168437958,
0.008018509484827518,
-0.003270889399573207,
-0.04405349865555763,
0.006633786950260401,
-0.01797839067876339,
0.006491174455732107,
-0.003579116892069578,
-0.004319782368838787,
-0.006785600446164608,
-0.00948603916913271,
0.017463145777583122,
0.01935851387679577,
0.05424800142645836
] |
18,111 | imodels.util.data_util | get_clean_dataset | Fetch clean data (as numpy arrays) from various sources including imodels, pmlb, openml, and sklearn.
If data is not downloaded, will download and cache. Otherwise will load locally.
Cleans features so that they are type float and features names don't start with a digit.
Parameters
----------
dataset_name: str
Checks for unique identifier in imodels.util.data_util.DSET_KWARGS
Otherwise, unique dataset identifier (see https://github.com/csinva/imodels-data for unique identifiers)
data_source: str
options: 'imodels', 'pmlb', 'sklearn', 'openml', 'synthetic'
data_path: str
path to load/save data (default: 'data')
test_size: float, optional
if not None, will split data into train and test sets (with fraction test_size in test set)
& change the return signature to `X_train, X_test, y_train, y_test, feature_names`
random_state: int, optional
if test_size is not None, will use this random state to split data
Returns
-------
X: np.ndarray
features
y: np.ndarray
outcome
feature_names: list
Example
-------
```
# download compas dataset from imodels
X, y, feature_names = imodels.get_clean_dataset('compas_two_year_clean', data_source='imodels')
# download ionosphere dataset from pmlb
X, y, feature_names = imodels.get_clean_dataset('ionosphere', data_source='pmlb')
# download liver dataset from openml
X, y, feature_names = imodels.get_clean_dataset('8', data_source='openml')
# download ca housing from sklearn
X, y, feature_names = imodels.get_clean_dataset('california_housing', data_source='sklearn')
```
| def get_clean_dataset(
dataset_name: str,
data_source: str = "imodels",
data_path=os.path.expanduser("~/cache_imodels_data"),
convertna: bool = True,
test_size: float = None,
random_state: int = 42,
verbose=True,
) -> Tuple[np.ndarray, np.ndarray, list]:
"""Fetch clean data (as numpy arrays) from various sources including imodels, pmlb, openml, and sklearn.
If data is not downloaded, will download and cache. Otherwise will load locally.
Cleans features so that they are type float and features names don't start with a digit.
Parameters
----------
dataset_name: str
Checks for unique identifier in imodels.util.data_util.DSET_KWARGS
Otherwise, unique dataset identifier (see https://github.com/csinva/imodels-data for unique identifiers)
data_source: str
options: 'imodels', 'pmlb', 'sklearn', 'openml', 'synthetic'
data_path: str
path to load/save data (default: 'data')
test_size: float, optional
if not None, will split data into train and test sets (with fraction test_size in test set)
& change the return signature to `X_train, X_test, y_train, y_test, feature_names`
random_state: int, optional
if test_size is not None, will use this random state to split data
Returns
-------
X: np.ndarray
features
y: np.ndarray
outcome
feature_names: list
Example
-------
```
# download compas dataset from imodels
X, y, feature_names = imodels.get_clean_dataset('compas_two_year_clean', data_source='imodels')
# download ionosphere dataset from pmlb
X, y, feature_names = imodels.get_clean_dataset('ionosphere', data_source='pmlb')
# download liver dataset from openml
X, y, feature_names = imodels.get_clean_dataset('8', data_source='openml')
# download ca housing from sklearn
X, y, feature_names = imodels.get_clean_dataset('california_housing', data_source='sklearn')
```
"""
if dataset_name in DSET_KWARGS:
if verbose:
data_source = DSET_KWARGS[dataset_name]["data_source"]
dataset_name = DSET_KWARGS[dataset_name]["dataset_name"]
print(f"fetching {dataset_name} from {data_source}")
assert data_source in ["imodels", "pmlb", "imodels-multitask", "sklearn", "openml", "synthetic"], (
data_source + " not correct"
)
if test_size is not None:
def _split(X, y, feature_names):
X_train, X_test, y_train, y_test = train_test_split(
X, y, test_size=test_size, random_state=random_state
)
return X_train, X_test, y_train, y_test, feature_names
else:
def _split(X, y, feature_names):
return X, y, feature_names
if data_source == "imodels":
if not dataset_name.endswith("csv"):
dataset_name = dataset_name + ".csv"
if not os.path.isfile(dataset_name):
_download_imodels_dataset(dataset_name, data_path)
df = pd.read_csv(oj(data_path, "imodels_data", dataset_name))
X, y = df.iloc[:, :-1].values, df.iloc[:, -1].values
feature_names = df.columns.values[:-1]
if convertna:
X = np.nan_to_num(X.astype("float32"))
return _split(X, y, _clean_feat_names(feature_names))
elif data_source == 'imodels-multitask':
if not dataset_name.endswith("csv"):
dataset_name = dataset_name + ".csv"
if not os.path.isfile(dataset_name):
_download_imodels_multitask_dataset(dataset_name, data_path)
df = pd.read_csv(oj(data_path, "imodels_multitask_data", dataset_name))
target_cols = [col for col in df.columns if col.endswith('__target')]
feature_names = [col for col in df.columns if col not in target_cols]
X, y = df[feature_names].values, df[target_cols].values
if convertna:
X = np.nan_to_num(X.astype("float32"))
return _split(X, y, _clean_feat_names(feature_names))
elif data_source == "pmlb":
from pmlb import fetch_data
feature_names = list(
fetch_data(
dataset_name,
return_X_y=False,
local_cache_dir=oj(data_path, "pmlb_data"),
).columns
)
feature_names.remove("target")
X, y = fetch_data(
dataset_name, return_X_y=True, local_cache_dir=oj(data_path, "pmlb_data")
)
if (
np.unique(y).size == 2
): # if binary classification, ensure that the classes are 0 and 1
y -= np.min(y)
return _split(_clean_features(X), y, _clean_feat_names(feature_names))
elif data_source == "sklearn":
if dataset_name == "diabetes":
data = sklearn.datasets.load_diabetes()
elif dataset_name == "california_housing":
data = sklearn.datasets.fetch_california_housing(
data_home=oj(data_path, "sklearn_data")
)
elif dataset_name == "breast_cancer":
data = sklearn.datasets.load_breast_cancer()
return data["data"], data["target"], _clean_feat_names(data["feature_names"])
elif (
data_source == "openml"
): # note this api might change in newer sklearn - should give dataset-id not name
data = sklearn.datasets.fetch_openml(
data_id=dataset_name, data_home=oj(data_path, "openml_data"), parser="auto"
)
X, y, feature_names = (
data["data"],
data["target"],
_clean_feat_names(data["feature_names"]),
)
if isinstance(X, pd.DataFrame):
X = X.values
if isinstance(y, pd.Series):
y = y.values
y = _define_openml_outcomes(y, dataset_name)
return _split(_clean_features(X), y, _clean_feat_names(feature_names))
elif data_source == "synthetic":
if dataset_name == "friedman1":
X, y = sklearn.datasets.make_friedman1(
n_samples=200, n_features=10)
elif dataset_name == "friedman2":
X, y = sklearn.datasets.make_friedman2(n_samples=200)
elif dataset_name == "friedman3":
X, y = sklearn.datasets.make_friedman3(n_samples=200)
elif dataset_name == "radchenko_james":
X, y = make_rj()
elif dataset_name == "vo_pati":
X, y = make_vp()
return _split(X, y, ["X_" + str(i + 1) for i in range(X.shape[1])])
| (dataset_name: str, data_source: str = 'imodels', data_path='/root/cache_imodels_data', convertna: bool = True, test_size: Optional[float] = None, random_state: int = 42, verbose=True) -> Tuple[numpy.ndarray, numpy.ndarray, list] | [
0.005183025263249874,
-0.048916492611169815,
-0.01359393261373043,
-0.01777501404285431,
0.004059223923832178,
-0.0319971926510334,
-0.04295899346470833,
0.007484786678105593,
0.03381693735718727,
-0.009201630018651485,
-0.03230048343539238,
0.0023559206165373325,
-0.005795022938400507,
0.04107425734400749,
0.01772085577249527,
0.018186623230576515,
-0.013268977403640747,
0.022172732278704643,
0.0025346456095576286,
0.01865239068865776,
-0.02606135606765747,
0.013983877375721931,
-0.022400200366973877,
0.024414919316768646,
0.03143393620848656,
0.025303127244114876,
0.046360183507204056,
0.007712254766374826,
0.03156391903758049,
-0.012034150771796703,
-0.053335875272750854,
0.032625436782836914,
-0.04181081801652908,
0.020580455660820007,
-0.03279874473810196,
-0.008524641394615173,
0.04796329140663147,
0.015738632529973984,
0.02959252893924713,
-0.02965751849114895,
-0.032322145998477936,
-0.08080536872148514,
-0.01170919556170702,
0.023136764764785767,
-0.048569872975349426,
0.013290640898048878,
-0.03481346368789673,
-0.010306475684046745,
-0.01982222869992256,
-0.015792790800333023,
-0.003560960292816162,
-0.016096081584692,
0.01364809088408947,
0.09350025653839111,
0.013225650414824486,
0.029440883547067642,
-0.014157187193632126,
0.04869985580444336,
0.03765140101313591,
-0.020558791235089302,
0.024631556123495102,
0.019908882677555084,
0.003230589907616377,
0.009369523264467716,
-0.02636464685201645,
-0.005063875112682581,
-0.012792377732694149,
0.00927745271474123,
-0.02616967260837555,
0.0378030464053154,
-0.026126345619559288,
-0.006742807105183601,
0.059921618551015854,
0.062044657766819,
0.015554491430521011,
0.017840005457401276,
0.030805692076683044,
-0.03756474703550339,
-0.01952976919710636,
-0.047486692667007446,
0.0008259261376224458,
0.02027716487646103,
-0.02699289098381996,
-0.05654209107160568,
-0.04404217377305031,
-0.058491818606853485,
0.07053679972887039,
0.05359583720564842,
-0.008963329717516899,
-0.0473133847117424,
-0.01876070909202099,
0.05983496457338333,
0.03288540244102478,
0.05896842107176781,
0.018544074147939682,
-0.022465191781520844,
-0.04791996628046036,
0.016800150275230408,
0.01345311850309372,
-0.04250405728816986,
-0.009569911286234856,
-0.0019334795651957393,
-0.028985945507884026,
0.08344832807779312,
-0.022465191781520844,
-0.04040268436074257,
-0.010929305106401443,
-0.0027729454450309277,
-0.02095956914126873,
-0.09722640365362167,
-0.1500856727361679,
0.033015381544828415,
0.0023626904003322124,
0.01708177849650383,
-0.01997387409210205,
-0.040229372680187225,
-0.016421036794781685,
0.031238963827490807,
-0.1054585874080658,
-0.014200514182448387,
-0.02993914671242237,
0.0694102942943573,
-0.07811907678842545,
-0.05181942135095596,
0.029029274359345436,
-0.02450157329440117,
0.05398578196763992,
0.030177446082234383,
-0.002118974458426237,
-0.06247792765498161,
-0.03347031772136688,
-0.013734745793044567,
-0.040272701531648636,
0.03598330169916153,
-0.021977759897708893,
-0.05541558191180229,
0.034445181488990784,
0.011460063979029655,
0.026581281796097755,
-0.04373888298869133,
0.051862746477127075,
-0.02837936393916607,
0.00568128889426589,
-0.01620439998805523,
0.0240466371178627,
-0.021880272775888443,
0.05944501981139183,
-0.054852329194545746,
-0.061481401324272156,
0.004438337404280901,
0.014547131955623627,
-0.03494344651699066,
-0.0022841596510261297,
-0.13431455194950104,
0.003720729611814022,
-0.026083018630743027,
-0.01865239068865776,
-0.05732198432087898,
-0.00672655925154686,
-0.014395486563444138,
-0.0150237325578928,
-0.04882983863353729,
-0.005510687828063965,
0.03386026620864868,
-0.04475707560777664,
0.022746818140149117,
-0.007788077462464571,
-0.026386309415102005,
-0.011351745575666428,
0.03548503667116165,
0.028877628967165947,
0.015684472396969795,
-0.025021500885486603,
-0.004925769288092852,
-0.02993914671242237,
0.03734811022877693,
0.017005955800414085,
-0.04510369151830673,
0.030220773071050644,
0.07183662056922913,
0.00009164733637589961,
-0.008779188618063927,
-0.05051960051059723,
-0.01006275974214077,
-0.005849182140082121,
-0.003533880691975355,
-0.02154448628425598,
0.010420209728181362,
0.006829461548477411,
0.05948834866285324,
0.021771954372525215,
-0.01767752692103386,
-0.020428810268640518,
0.025303127244114876,
0.010100671090185642,
-0.04064098373055458,
-0.00836757943034172,
-0.014850422739982605,
0.05610882118344307,
-0.03405523672699928,
0.005226352252066135,
0.024523237720131874,
0.06135141849517822,
-0.014720441773533821,
-0.07257318496704102,
-0.002554955193772912,
-0.08050207793712616,
-0.0035095091443508863,
-0.012792377732694149,
0.010295643471181393,
0.026819583028554916,
-0.006618241313844919,
-0.022963454946875572,
0.05398578196763992,
0.07317976653575897,
-0.024956509470939636,
0.030610719695687294,
0.0064286841079592705,
0.018143296241760254,
-0.0022949916310608387,
0.009212461300194263,
-0.030545728281140327,
-0.01620439998805523,
0.038561273366212845,
0.010674756951630116,
-0.016312718391418457,
0.04066264629364014,
0.03700149059295654,
0.051862746477127075,
-0.08327502012252808,
0.017265919595956802,
-0.10242567211389542,
0.06330114603042603,
-0.023136764764785767,
0.03847461938858032,
-0.0005165423499420285,
0.013463950715959072,
0.024869855493307114,
-0.018684886395931244,
-0.012651563622057438,
-0.05636878311634064,
-0.06390772759914398,
0.016767654567956924,
-0.05199272930622101,
-0.011893336661159992,
0.016529355198144913,
0.04386886581778526,
-0.008584216237068176,
-0.014265504665672779,
-0.03795469179749489,
0.001414906233549118,
0.012651563622057438,
-0.014492972753942013,
-0.010988879948854446,
0.009196213446557522,
-0.11889003962278366,
0.04109591990709305,
-0.045623619109392166,
0.031932201236486435,
-0.045623619109392166,
-0.014362991787493229,
-0.050779566168785095,
-0.014785432256758213,
0.08002547174692154,
-0.054029110819101334,
-0.0066344887018203735,
0.010219820775091648,
0.002330194925889373,
0.02699289098381996,
-0.05896842107176781,
0.04813660308718681,
0.051082856953144073,
-0.03591831028461456,
0.008237597532570362,
-0.0035772081464529037,
0.015121218748390675,
-0.03734811022877693,
-0.08856094628572464,
0.03793302923440933,
0.016875972971320152,
0.029440883547067642,
-0.02783777378499508,
-0.01477460004389286,
-0.033253684639930725,
-0.010848065838217735,
-0.018381595611572266,
-0.06637738645076752,
-0.06984356790781021,
-0.019453946501016617,
0.008714198134839535,
-0.04471374675631523,
-0.004091719631105661,
-0.019518936052918434,
0.006184968166053295,
-0.0063961888663470745,
0.029830828309059143,
0.006472011562436819,
-0.01781834103167057,
0.031108982861042023,
-0.013810568489134312,
-0.031888872385025024,
0.02827104553580284,
0.0779457688331604,
-0.02125202864408493,
-0.01963808760046959,
-0.04952307417988777,
0.03667653724551201,
-0.05567554756999016,
-0.02263849973678589,
0.0005439603701233864,
0.07131669670343399,
0.005418617278337479,
0.042287420481443405,
-0.024133291095495224,
0.009716141037642956,
-0.0593150369822979,
0.022811809554696083,
0.046360183507204056,
0.05216603726148605,
0.017699191346764565,
-0.03695816546678543,
-0.028899291530251503,
0.022746818140149117,
0.0069269477389752865,
0.006287870462983847,
0.023158427327871323,
0.06343112885951996,
-0.01648602820932865,
-0.004413966089487076,
-0.013355632312595844,
0.04048933833837509,
-0.015944436192512512,
0.054029110819101334,
-0.0010527173290029168,
0.027512818574905396,
-0.004229824990034103,
0.00893625058233738,
-0.028834300115704536,
0.08817100524902344,
0.038452956825494766,
0.014449645765125751,
0.010967216454446316,
-0.018879858776926994,
0.0224868543446064,
0.03736977279186249,
-0.00400235690176487,
0.044453784823417664,
-0.0051667774096131325,
0.031390611082315445,
0.05207938328385353,
-0.016724327579140663,
0.012965686619281769,
-0.0012659687781706452,
0.0694102942943573,
0.03923284634947777,
-0.01413552276790142,
-0.04510369151830673,
-0.006991938687860966,
0.02866099216043949,
0.006152472924441099,
-0.014633786864578724,
-0.039341166615486145,
0.016962626948952675,
0.04540698230266571,
0.014644619077444077,
-0.07426294684410095,
0.0021690716966986656,
-0.0017249671509489417,
0.017146768048405647,
-0.046360183507204056,
-0.010181909427046776,
-0.02272515557706356,
-0.019627254456281662,
0.00241143349558115,
0.0031276876106858253,
-0.004213577602058649,
-0.018630728125572205,
-0.001691117649897933,
-0.006412436719983816,
0.09081396460533142,
-0.026321319863200188,
-0.0046089389361441135,
-0.00400235690176487,
0.014677113853394985,
0.024371592327952385,
-0.012207459658384323,
0.03734811022877693,
-0.03093567304313183,
-0.0033145365305244923,
-0.0469234362244606,
0.01310650072991848,
0.007273565977811813,
0.023310072720050812,
0.009959856979548931,
0.009272037073969841,
-0.01820828765630722,
-0.0076256003230810165,
0.02012551948428154,
-0.016605177894234657,
-0.01737423613667488,
-0.02547643706202507,
-0.01664850488305092,
0.02194526419043541,
0.011156773194670677,
-0.03723979368805885,
0.0259747002273798,
0.018869027495384216,
-0.02454490028321743,
-0.05398578196763992,
0.04369555413722992,
0.03357863798737526,
0.03093567304313183,
-0.01043104100972414,
0.0015421801945194602,
-0.01283570472151041,
0.08214851468801498,
0.011958328075706959,
0.06633405387401581,
0.09514669328927994,
0.05355251207947731,
0.05203605443239212,
0.0019091080175712705,
0.0018400552216917276,
-0.015792790800333023,
-0.04408550262451172,
0.04761667549610138,
-0.04285067319869995,
0.0037234376650303602,
-0.02311510033905506,
0.014038036577403545,
-0.05766860023140907,
-0.015478668734431267,
-0.08604796975851059,
-0.04584025591611862,
-0.01727675087749958,
-0.02071043662726879,
-0.03752141818404198,
0.010501448065042496,
-0.00025624019326642156,
0.0000392653419112321,
0.04475707560777664,
-0.03923284634947777,
0.06659401953220367,
0.0027201403863728046,
-0.009932777844369411,
-0.020894577726721764,
-0.05268596485257149,
0.02419828251004219,
-0.0473133847117424,
-0.005816686432808638,
0.025758065283298492,
0.03152059018611908,
0.03451017290353775,
0.004514160566031933,
0.0019889925606548786,
-0.0034661819227039814,
0.05567554756999016,
0.01023606862872839,
-0.0004603522829711437,
-0.019280636683106422,
-0.0014555256348103285,
0.01504539605230093,
0.021187037229537964,
0.041399210691452026,
0.03823632001876831,
0.01118926890194416,
0.022400200366973877,
-0.024176618084311485,
-0.012109973467886448,
0.008730445988476276,
0.016421036794781685,
-0.04064098373055458,
0.03726145625114441,
-0.018099969252943993,
-0.007593104615807533,
0.029050936922430992,
-0.02729618176817894,
0.03771639242768288,
0.04973971098661423,
-0.024631556123495102,
0.05948834866285324,
-0.02965751849114895,
0.01413552276790142,
0.031585581600666046,
-0.02959252893924713,
-0.036741528660058975,
0.01648602820932865,
-0.023201754316687584,
0.0063691092655062675,
-0.04839656502008438,
-0.04441045597195625,
0.004849946592003107,
0.055892184376716614,
-0.0368281826376915,
0.013810568489134312,
0.024068301543593407,
0.05246932804584503,
0.0319971926510334,
0.03637324646115303,
-0.029570864513516426,
0.02523813769221306,
0.010496032424271107,
-0.02606135606765747,
-0.024068301543593407,
0.025541428476572037,
0.027946092188358307,
0.02115454152226448,
-0.03308037295937538,
-0.0600949302315712,
-0.02772945538163185,
-0.08466149121522903,
-0.02764280140399933,
0.04610021784901619,
-0.0034336864482611418,
0.020937904715538025,
0.052599310874938965,
-0.004625186324119568,
0.07612602412700653,
-0.02896428294479847,
0.0379980206489563,
0.01072350051254034,
0.013409791514277458,
0.000004686030933953589,
-0.00802637729793787,
-0.029375892132520676,
0.04501703754067421,
-0.011232595890760422,
-0.008762940764427185,
0.03013411909341812,
0.02671126462519169,
-0.018663223832845688,
-0.03851794824004173,
0.044150494039058685,
0.07577940076589584,
0.02194526419043541,
-0.02283347398042679,
-0.0026849370915442705,
-0.045233674347400665,
0.034726809710264206,
-0.020093023777008057,
-0.0076526799239218235,
0.03563668206334114,
-0.041854146867990494,
-0.0035907479468733072,
-0.003856127383187413,
-0.004798495676368475,
0.01102137565612793,
0.11455731093883514,
-0.011221763677895069,
0.031390611082315445,
-0.012922359630465508,
-0.009678229689598083,
0.013052341528236866,
0.0012585219228640199,
0.10814487934112549,
-0.032668765634298325,
0.045580293983221054,
0.030914010480046272,
-0.0029354228172451258,
-0.008762940764427185,
-0.0558488555252552,
-0.03377360850572586,
0.030004138126969337,
-0.048873163759708405,
0.010154830291867256,
0.04142087325453758,
-0.041550856083631516,
0.020038863644003868,
-0.058881767094135284,
-0.0694102942943573,
0.03440185636281967,
0.016995122656226158,
0.02145783230662346,
0.027772782370448112,
-0.004917645826935768,
-0.0008374349563382566,
-0.021858610212802887,
-0.03979610279202461,
-0.007788077462464571,
0.03217050060629845,
0.021132877096533775,
0.0465334914624691,
0.026039691641926765,
-0.006287870462983847,
0.017601704224944115,
-0.022985119372606277,
-0.022356873378157616,
0.012066645547747612,
0.016681000590324402,
0.004790371749550104,
-0.007008186541497707,
0.029830828309059143,
0.0240466371178627,
-0.01376724150031805,
-0.01752588152885437,
-0.006899868603795767,
0.0003479721781332046,
-0.0453636571764946,
0.05909840017557144,
0.012629900127649307,
0.005556723102927208,
0.021717796102166176,
0.0004644142172764987,
0.006304118316620588,
0.017406731843948364,
-0.028682654723525047,
-0.07123003900051117,
-0.004140462726354599,
0.014655450358986855,
-0.0016897637397050858,
-0.006807798054069281,
-0.008226766251027584,
0.025996364653110504,
-0.06373441964387894,
-0.011806681752204895,
-0.008708782494068146,
0.015597818419337273,
0.014211345463991165,
0.017829174175858498,
-0.05836183950304985,
0.003977985121309757,
-0.05320589244365692,
0.04098759964108467,
0.013615596108138561,
-0.02508649230003357,
-0.003452642122283578,
-0.039839427918195724,
-0.02430660091340542,
-0.03152059018611908,
-0.017341742292046547,
-0.0230717733502388,
-0.05645543709397316,
0.03206218406558037,
-0.005832934286445379,
0.0662907287478447,
0.04280734807252884,
0.04168083891272545,
0.04172416403889656,
-0.0019700368866324425,
-0.010387714020907879,
0.012922359630465508,
0.030459074303507805,
0.028336036950349808,
0.0009349213214591146,
-0.032040517777204514,
-0.07868233323097229,
0.006044154521077871,
-0.00520198093727231,
0.09497338533401489,
0.022616837173700333,
-0.044540438801050186,
0.004040268249809742,
-0.03986109048128128,
-0.004925769288092852,
0.015142882242798805,
0.02091624215245247,
-0.03217050060629845,
0.02675459161400795,
0.0013431455008685589,
-0.06889036297798157,
-0.031152309849858284,
0.03048073686659336,
0.0879976898431778,
0.04412882775068283,
-0.033448655158281326,
-0.001681639812886715,
0.02523813769221306,
-0.008551720529794693,
0.015446173027157784,
0.0230717733502388,
-0.07270316779613495,
0.03591831028461456,
0.005367165897041559,
0.005321130622178316,
0.026841245591640472,
-0.04913312941789627,
-0.0030302011873573065,
-0.030004138126969337,
-0.023050108924508095,
0.040922611951828,
0.06156805530190468,
0.07634265720844269,
-0.00851380918174982,
-0.005789606831967831,
0.06451430916786194,
0.018099969252943993,
-0.04048933833837509,
-0.04090094566345215,
0.04001273587346077,
0.030805692076683044,
-0.00846506655216217,
0.05719200149178505,
0.03927617520093918,
-0.015543659217655659,
-0.023700019344687462,
0.007029850035905838,
-0.04761667549610138,
-0.01248908694833517,
-0.03903787210583687,
-0.007224822882562876,
-0.025194810703396797,
-0.00730064557865262,
-0.044800400733947754,
0.03825798258185387,
0.02081875503063202,
0.03273375704884529,
-0.1109178215265274,
0.0566287487745285,
-0.01968141458928585,
-0.06620407104492188,
0.05342252925038338,
-0.02400331012904644,
-0.026234664022922516,
-0.008920002728700638,
0.028725983574986458,
-0.029635855928063393,
-0.06416769325733185,
-0.0028623079415410757,
-0.009358691051602364,
0.029809163883328438,
0.06161138415336609,
0.016085250303149223,
0.06637738645076752,
0.0194864422082901,
-0.06845708936452866,
-0.006472011562436819,
0.019367290660738945,
-0.04939309135079384,
0.07954887300729752,
0.016139410436153412,
-0.0006123362109065056,
0.059921618551015854,
-0.03516008332371712,
0.013344800099730492,
-0.01841409131884575,
-0.08960080146789551,
0.031108982861042023,
-0.0036476149689406157,
0.0017520466353744268,
0.04701009392738342,
-0.008903754875063896,
-0.052209366112947464,
-0.022855136543512344,
0.0370231568813324,
-0.008085952140390873,
0.033362001180648804,
0.04843989387154579,
-0.015402846038341522,
-0.0385829359292984,
-0.04118257388472557,
-0.0018292233580723405,
-0.034336864948272705,
-0.018912354484200478,
0.005762527231127024,
0.016572682186961174,
0.013160659931600094,
0.019031506031751633,
-0.0024601768236607313,
-0.003994232974946499,
-0.04947974532842636,
-0.0017601705621927977,
0.020992064848542213,
0.040922611951828,
0.019854722544550896,
0.009320779703557491,
0.026039691641926765,
0.016561850905418396,
0.03671986609697342
] |
18,112 | imodels.util.rule | get_feature_dict | null | def get_feature_dict(num_features: int, feature_names: Iterable[str] = None) -> Dict[str, str]:
feature_dict = OrderedDict()
if feature_names is not None:
for i in range(num_features):
feature_dict[f'X_{i}'] = feature_names[i]
else:
for i in range(num_features):
feature_dict[f'X_{i}'] = f'X_{i}'
return feature_dict
| (num_features: int, feature_names: Optional[Iterable[str]] = None) -> Dict[str, str] | [
-0.001133539597503841,
-0.0506969653069973,
-0.039530232548713684,
-0.04206135869026184,
-0.0031871714163571596,
0.00352682638913393,
-0.015968427062034607,
0.05739700421690941,
0.004931973293423653,
-0.031750742346048355,
-0.004175892565399408,
0.037557441741228104,
-0.009328874759376049,
-0.04101913049817085,
0.045858047902584076,
-0.04768194630742073,
0.030801570042967796,
0.005755519960075617,
-0.06201258674263954,
-0.044294703751802444,
0.00643948232755065,
-0.024473754689097404,
-0.005118085537105799,
-0.040423572063446045,
0.00853789784014225,
0.019765116274356842,
-0.01991400681436062,
-0.015084394253790379,
-0.015037866309285164,
0.006579066626727581,
-0.06573483347892761,
-0.05546143651008606,
-0.06193814054131508,
0.04879862070083618,
-0.01343730092048645,
-0.030410734936594963,
0.003135990584269166,
0.04879862070083618,
0.05620588734745979,
-0.03065267950296402,
0.0023845627438277006,
-0.08985497057437897,
-0.06424593180418015,
0.005294892471283674,
-0.04075857251882553,
0.02017456293106079,
-0.023803751915693283,
-0.030894625931978226,
0.04749583452939987,
-0.007435182575136423,
0.02961045131087303,
-0.06968040764331818,
0.04198691248893738,
0.04623027145862579,
-0.01941150240600109,
-0.03078295849263668,
0.051701970398426056,
0.01372577529400587,
-0.00737004354596138,
0.0003800760314334184,
-0.03796688839793205,
0.03452381491661072,
-0.007323515135794878,
-0.025776540860533714,
-0.030057121068239212,
-0.03623604774475098,
0.009059011936187744,
-0.0007613152265548706,
-0.002610223600640893,
0.022314853966236115,
0.05482865497469902,
-0.01702926680445671,
-0.014563280157744884,
-0.016880376264452934,
0.04351303353905678,
0.05065974220633507,
-0.032699912786483765,
0.011362150311470032,
0.019076501950621605,
0.028996281325817108,
-0.0391952320933342,
-0.012888270430266857,
-0.07973046600818634,
0.025553205981850624,
0.025813762098550797,
-0.006960596423596144,
0.02004428394138813,
-0.007174625527113676,
0.02274291217327118,
-0.035975489765405655,
-0.07727378606796265,
0.04809139296412468,
-0.005988160148262978,
0.005211141891777515,
0.0268746018409729,
-0.02179373987019062,
0.005481004249304533,
0.001852979650720954,
0.01774579845368862,
-0.019523169845342636,
-0.022500965744256973,
-0.0484636165201664,
-0.03982801362872124,
0.028437944129109383,
-0.013837442733347416,
-0.03154601901769638,
0.011250482872128487,
-0.028977669775485992,
-0.05281864479184151,
-0.08218715339899063,
-0.05237197503447533,
-0.050845853984355927,
0.07868824154138565,
0.004959890153259039,
0.028437944129109383,
-0.04288025200366974,
0.017308434471488,
0.00023598446568939835,
-0.0004963961546309292,
-0.02773071825504303,
-0.03176935389637947,
0.03132268413901329,
0.005699686240404844,
0.014414390549063683,
-0.047570280730724335,
0.028065720573067665,
0.053451426327228546,
0.002682342194020748,
0.08389937877655029,
-0.009808112867176533,
0.050622519105672836,
0.026037096977233887,
-0.022929023951292038,
0.014721475541591644,
0.06904762983322144,
-0.05307920277118683,
-0.035566043108701706,
0.015205367468297482,
0.0859093964099884,
0.006946638226509094,
0.05438198521733284,
-0.022594021633267403,
-0.04395970329642296,
0.045188043266534805,
-0.015419396571815014,
0.018955528736114502,
0.03986523300409317,
0.006397607270628214,
-0.07187653332948685,
-0.05910923704504967,
0.04250802844762802,
0.04533693194389343,
-0.07697600871324539,
-0.09618278592824936,
-0.017773715779185295,
-0.018145939335227013,
0.008123797364532948,
-0.06685150414705276,
-0.005439129192382097,
0.0038850922137498856,
0.047570280730724335,
0.005936979316174984,
-0.038264669477939606,
-0.014386473223567009,
-0.008523939177393913,
0.03690604865550995,
0.04533693194389343,
-0.05635477602481842,
0.0468258298933506,
-0.004310823976993561,
0.012795214541256428,
0.05088307708501816,
0.05490310117602348,
0.01483314298093319,
0.008947344496846199,
0.033779364079236984,
0.00777483731508255,
-0.019746504724025726,
0.0013597822980955243,
0.0652509406208992,
0.09595945477485657,
-0.036868829280138016,
-0.08278270810842514,
-0.05289308726787567,
0.00517857214435935,
-0.04980362579226494,
0.033090751618146896,
0.03863689303398132,
0.04094468429684639,
0.05460532009601593,
0.04466693103313446,
-0.004443428944796324,
0.013018548488616943,
0.06815429031848907,
-0.019355669617652893,
-0.029852397739887238,
-0.040200237184762955,
-0.06338981539011002,
0.021775128319859505,
0.025850985199213028,
-0.017773715779185295,
0.03199268877506256,
-0.050845853984355927,
0.017243295907974243,
0.000874727382324636,
-0.020565398037433624,
0.005639199633151293,
-0.06223592162132263,
-0.006546496879309416,
-0.003282553981989622,
0.025404315441846848,
-0.04422026127576828,
-0.011269094422459602,
0.03941856697201729,
0.016647737473249435,
-0.037092164158821106,
0.03046656772494316,
0.06424593180418015,
-0.013474524021148682,
-0.058848679065704346,
0.03856245055794716,
0.045150820165872574,
0.06811706721782684,
0.01972789317369461,
0.04980362579226494,
-0.03312797099351883,
0.012478823773562908,
-0.026707101613283157,
-0.034672703593969345,
-0.005411212332546711,
0.023245414718985558,
-0.03752022236585617,
0.01130631659179926,
-0.018890388309955597,
0.028959060087800026,
-0.04008856788277626,
0.02108651213347912,
-0.046453606337308884,
0.029871009290218353,
-0.016331346705555916,
0.025832373648881912,
0.006955943536013365,
0.0009602226782590151,
-0.005248364061117172,
-0.04247080534696579,
-0.028065720573067665,
-0.0024729659780859947,
0.022147351875901222,
-0.009528945200145245,
-0.006886151619255543,
-0.007272334303706884,
0.026539601385593414,
-0.013837442733347416,
-0.000218681845581159,
-0.04872417449951172,
-0.011492428369820118,
0.009547555819153786,
0.001734333112835884,
-0.02112373523414135,
-0.03960467875003815,
0.01850885897874832,
-0.02521820366382599,
-0.03982801362872124,
0.019579004496335983,
0.01622898504137993,
-0.03335130587220192,
0.04116801917552948,
-0.005988160148262978,
-0.04206135869026184,
-0.04340136796236038,
0.07291876524686813,
0.012488128617405891,
0.008844982832670212,
-0.05802978575229645,
0.034226033836603165,
-0.017243295907974243,
0.05032474175095558,
-0.0700526311993599,
-0.03536131978034973,
0.056466441601514816,
0.008444841019809246,
-0.04742138832807541,
-0.03277435898780823,
0.04243358224630356,
0.0031429699156433344,
0.08136825263500214,
-0.03230907768011093,
0.004215441644191742,
0.030522402375936508,
-0.07660378515720367,
-0.005169266369193792,
0.04470415040850639,
0.00840296596288681,
-0.010105893015861511,
-0.04838917404413223,
-0.00011210352386115119,
0.002775398315861821,
-0.04969196021556854,
0.03591965511441231,
0.06986652314662933,
0.02988962084054947,
0.05393531545996666,
0.02534848265349865,
-0.01375369168817997,
-0.004424817860126495,
-0.0506969653069973,
0.046453606337308884,
0.006095174700021744,
-0.06941985338926315,
0.019188167527318,
0.012357850559055805,
0.03091323748230934,
0.0000811332865851,
0.011436594650149345,
0.005816006567329168,
0.00928234588354826,
0.008319215849041939,
-0.02912656031548977,
0.05244642123579979,
0.018936917185783386,
-0.011176037602126598,
-0.01793191023170948,
-0.050361961126327515,
-0.0576203390955925,
0.02633487619459629,
-0.03037351183593273,
0.007249070331454277,
-0.033016305416822433,
0.06521371752023697,
0.0012643998488783836,
-0.07195097953081131,
-0.0498780719935894,
0.022352075204253197,
0.07786934822797775,
-0.039344120770692825,
0.06487871706485748,
0.04838917404413223,
0.04883584380149841,
-0.030299067497253418,
0.03819022327661514,
-0.07161597907543182,
0.0015703217359259725,
-0.06223592162132263,
0.01783885434269905,
-0.05520087853074074,
-0.044964708387851715,
-0.00509947445243597,
-0.03024323284626007,
0.04340136796236038,
-0.07191375643014908,
-0.04578360170125961,
-0.007988866418600082,
0.021049290895462036,
0.06867540627717972,
0.01627551205456257,
0.016024261713027954,
0.0024194587022066116,
-0.018080800771713257,
0.037464387714862823,
-0.009291651658713818,
0.032737135887145996,
-0.031304072588682175,
0.022705689072608948,
0.00448297755792737,
-0.02506931498646736,
-0.0155496746301651,
0.04641638323664665,
0.043475810438394547,
-0.010329226963222027,
-0.05311642214655876,
0.026037096977233887,
0.048426397144794464,
-0.011846042238175869,
0.0498780719935894,
0.005513573996722698,
-0.005588018801063299,
0.01154826208949089,
-0.0007165319984778762,
-0.052781421691179276,
-0.053228091448545456,
-0.03430048003792763,
0.02709793671965599,
0.030522402375936508,
0.046304717659950256,
-0.05869979038834572,
-0.03158324211835861,
0.03210435435175896,
-0.06826595962047577,
0.020435120910406113,
-0.008835677057504654,
-0.05136696994304657,
0.036161601543426514,
-0.006220800336450338,
0.06882429122924805,
-0.005713644903153181,
-0.05873701348900795,
0.004222420509904623,
-0.043215252459049225,
-0.022091519087553024,
0.012730075046420097,
0.02624182030558586,
0.02261263318359852,
-0.026595434173941612,
-0.008142408914864063,
-0.01604287140071392,
0.007128097582608461,
-0.019485948607325554,
-0.01676870882511139,
0.01350244041532278,
0.03223463520407677,
-0.048649732023477554,
-0.0010067507391795516,
0.01861122064292431,
-0.05088307708501816,
-0.01739218644797802,
0.0638364851474762,
-0.002210082486271858,
0.032699912786483765,
0.0329790823161602,
-0.013362856581807137,
0.03199268877506256,
-0.009072969667613506,
-0.0091241504997015,
0.044071368873119354,
-0.007407265715301037,
0.03214157745242119,
-0.007960950024425983,
0.019969839602708817,
0.04805416986346245,
0.030634069815278053,
-0.10072392225265503,
-0.016387179493904114,
-0.004087489098310471,
-0.03666410595178604,
0.048426397144794464,
0.006690733600407839,
-0.014302723109722137,
-0.020732900127768517,
-0.026279043406248093,
0.007667822763323784,
-0.036105766892433167,
-0.02449236623942852,
0.036161601543426514,
0.07023874670267105,
0.0008863593684509397,
-0.05203697085380554,
-0.03204852342605591,
-0.008668175898492336,
0.05285586789250374,
-0.01740149036049843,
0.028698502108454704,
-0.04425748065114021,
0.01985817216336727,
-0.07645489275455475,
0.07079708576202393,
0.059704795479774475,
0.005736908875405788,
0.05248364061117172,
0.05594532936811447,
-0.00440387986600399,
-0.003003385616466403,
0.022091519087553024,
-0.004666763357818127,
0.017587604001164436,
-0.011064370162785053,
-0.002146106446161866,
0.021328458562493324,
-0.021291235461831093,
-0.0284007228910923,
0.031211016699671745,
0.05400976166129112,
0.03779938817024231,
0.044331926852464676,
-0.08084714412689209,
-0.06193814054131508,
0.012199655175209045,
0.02125401422381401,
0.060114242136478424,
0.054270319640636444,
-0.04920806735754013,
0.07772045582532883,
0.001572648179717362,
0.019802339375019073,
-0.04232191666960716,
0.012348544783890247,
0.06193814054131508,
-0.0016424402128905058,
0.004362004809081554,
0.0018762436229735613,
0.057099223136901855,
-0.011250482872128487,
-0.036868829280138016,
0.03139713034033775,
0.021644849330186844,
0.07541266828775406,
0.014395778998732567,
0.050622519105672836,
0.03752022236585617,
0.004624888300895691,
0.03967912122607231,
0.0037757514510303736,
-0.014181749895215034,
0.0021123734768480062,
0.04574637860059738,
-0.004064225126057863,
-0.016117317602038383,
-0.008714703842997551,
-0.02719099260866642,
-0.01231132261455059,
-0.014488834887742996,
-0.04809139296412468,
-0.026930436491966248,
0.02544153854250908,
0.029014892876148224,
0.049096398055553436,
0.015363562852144241,
-0.036105766892433167,
0.027879608795046806,
-0.034486591815948486,
0.020286230370402336,
0.008798454888164997,
0.05307920277118683,
0.0014877344947308302,
0.0015959121519699693,
-0.03982801362872124,
0.03249518945813179,
0.04556026682257652,
0.0006508111255243421,
0.051218077540397644,
0.03815300390124321,
-0.007919074036180973,
0.019244002178311348,
-0.007705045398324728,
0.039530232548713684,
-0.028475167229771614,
-0.04265691712498665,
0.0284565556794405,
-0.012478823773562908,
0.03100629337131977,
0.022500965744256973,
0.05549865961074829,
0.01154826208949089,
0.00016284818411804736,
-0.02395264059305191,
0.047570280730724335,
-0.024659866467118263,
0.020732900127768517,
-0.01850885897874832,
0.01262771338224411,
-0.04835195094347,
-0.02808433212339878,
-0.018220385536551476,
-0.04131690785288811,
-0.003168560331687331,
-0.035435762256383896,
-0.03668271750211716,
0.0009578962344676256,
-0.04254525154829025,
-0.006155661307275295,
0.01743871346116066,
0.016145233064889908,
-0.03459825739264488,
0.03437492251396179,
0.009789502248167992,
-0.04299192130565643,
0.024883201345801353,
-0.03091323748230934,
0.014237583614885807,
-0.06160314008593559,
-0.008198242634534836,
0.02197985164821148,
-0.05177641659975052,
-0.021589016541838646,
0.029368506744503975,
-0.04704916477203369,
-0.01788538321852684,
0.030131565406918526,
-0.013381467200815678,
-0.0012155453441664577,
0.05025029554963112,
-0.02678154595196247,
0.054754212498664856,
0.01192979235202074,
-0.024343475699424744,
0.04507637768983841,
0.05289308726787567,
-0.030857402831315994,
0.008170326240360737,
0.02099345624446869,
-0.03452381491661072,
-0.03923245146870613,
-0.04481581971049309,
0.07209987193346024,
-0.04939417913556099,
-0.007109486032277346,
-0.003001059405505657,
-0.0022403255570679903,
0.03941856697201729,
-0.007411918602883816,
-0.03949300944805145,
0.0035314790438860655,
-0.003312797285616398,
-0.0013667615130543709,
0.034989096224308014,
0.037464387714862823,
-0.008570467121899128,
0.007751573342829943,
-0.013139521703124046,
-0.030541012063622475,
-0.04217302426695824,
0.011715763248503208,
-0.054754212498664856,
0.030168788507580757,
-0.025087924674153328,
-0.011566873639822006,
0.002649772446602583,
0.037315499037504196,
-0.01192979235202074,
-0.03701771795749664,
-0.03915800899267197,
-0.0018599588656798005,
-0.07489155232906342,
-0.025292648002505302,
0.025367094203829765,
0.0037873834371566772,
-0.0514041893184185,
0.02966628596186638,
0.00026012089801952243,
-0.017243295907974243,
0.03431909158825874,
-0.020100118592381477,
-0.012832436710596085,
0.06294314563274384,
-0.03897189721465111,
0.011483123525977135,
0.05054807662963867,
0.01042228378355503,
0.03320241719484329,
-0.006886151619255543,
-0.013669941574335098,
0.0017145586898550391,
0.043215252459049225,
-0.017057184129953384,
-0.004527179524302483,
-0.02220318652689457,
-0.0029987329617142677,
0.034672703593969345,
-0.01897413842380047,
0.102808378636837,
-0.015586896799504757,
0.014879670925438404,
-0.056913111358881,
-0.008584425784647465,
0.017643436789512634,
-0.058178674429655075,
-0.001296969479881227,
-0.08404827117919922,
-0.012674241326749325,
0.0008520449628122151,
-0.008426230400800705,
-0.04574637860059738,
0.003966516349464655,
0.01931844651699066,
-0.010031447745859623,
-0.04049801453948021,
0.04991529509425163,
-0.047123610973358154,
-0.03149018436670303,
0.02331985905766487,
-0.02201707474887371,
0.017382880672812462,
0.030820181593298912,
0.07209987193346024,
-0.009603389538824558,
0.015335645526647568,
0.0529303103685379,
0.010394366458058357,
0.06499037891626358,
-0.016833849251270294,
-0.01743871346116066,
0.03281158208847046,
0.03163907676935196,
0.009696446359157562,
0.02184957265853882,
-0.00863095372915268,
-0.04853806272149086,
-0.07705045491456985,
0.03195546567440033,
-0.010962008498609066,
0.08375049382448196,
0.025236815214157104,
0.00007502648077206686,
0.02220318652689457,
-0.017019961029291153,
-0.05594532936811447,
0.06365037709474564,
-0.02166346088051796,
-0.044778596609830856,
0.03402131050825119,
-0.005941632203757763,
-0.011362150311470032,
-0.013586191460490227,
-0.012581185437738895,
0.012106599286198616,
-0.014395778998732567,
-0.026037096977233887,
-0.037147995084524155,
0.010999231599271297,
0.06633038818836212,
-0.019485948607325554,
-0.04221024736762047,
-0.0025683485437184572,
0.008868246339261532,
0.028642669320106506,
-0.03699910640716553,
0.04299192130565643,
0.018899694085121155,
0.001616849796846509,
0.018257606774568558,
-0.003578007221221924,
0.04101913049817085,
0.02728404849767685,
0.03547298535704613,
0.08486716449260712,
-0.06897318363189697,
-0.012385766953229904,
0.004210788756608963,
-0.04593249410390854,
-0.04273136332631111,
0.005778783932328224,
0.009235817939043045,
0.026707101613283157,
-0.0598536841571331,
0.04206135869026184,
-0.024957647547125816,
-0.03484020382165909,
0.05702478066086769,
-0.005853228736668825,
-0.0026032445020973682,
0.04470415040850639,
-0.00440387986600399,
0.004161934368312359,
-0.03502631559967995,
0.07221153378486633,
0.017243295907974243,
-0.0047388821840286255,
0.05791812017560005,
-0.016014955937862396,
-0.02274291217327118,
-0.002148432657122612,
-0.036477990448474884,
0.02220318652689457,
-0.027488771826028824,
-0.04261969402432442,
-0.01740149036049843,
-0.025869596749544144,
-0.018778720870614052,
0.015205367468297482,
0.001127723604440689,
-0.026390710845589638,
-0.017494548112154007,
0.009403319098055363,
-0.031173793599009514,
-0.023617638275027275,
-0.057992562651634216,
0.00690941559150815,
0.05802978575229645,
0.02512514777481556
] |
18,113 | sklearn.preprocessing._data | normalize | Scale input vectors individually to unit norm (vector length).
Read more in the :ref:`User Guide <preprocessing_normalization>`.
Parameters
----------
X : {array-like, sparse matrix} of shape (n_samples, n_features)
The data to normalize, element by element.
scipy.sparse matrices should be in CSR format to avoid an
un-necessary copy.
norm : {'l1', 'l2', 'max'}, default='l2'
The norm to use to normalize each non zero sample (or each non-zero
feature if axis is 0).
axis : {0, 1}, default=1
Define axis used to normalize the data along. If 1, independently
normalize each sample, otherwise (if 0) normalize each feature.
copy : bool, default=True
If False, try to avoid a copy and normalize in place.
This is not guaranteed to always work in place; e.g. if the data is
a numpy array with an int dtype, a copy will be returned even with
copy=False.
return_norm : bool, default=False
Whether to return the computed norms.
Returns
-------
X : {ndarray, sparse matrix} of shape (n_samples, n_features)
Normalized input X.
norms : ndarray of shape (n_samples, ) if axis=1 else (n_features, )
An array of norms along given axis for X.
When X is sparse, a NotImplementedError will be raised
for norm 'l1' or 'l2'.
See Also
--------
Normalizer : Performs normalization using the Transformer API
(e.g. as part of a preprocessing :class:`~sklearn.pipeline.Pipeline`).
Notes
-----
For a comparison of the different scalers, transformers, and normalizers,
see: :ref:`sphx_glr_auto_examples_preprocessing_plot_all_scaling.py`.
Examples
--------
>>> from sklearn.preprocessing import normalize
>>> X = [[-2, 1, 2], [-1, 0, 1]]
>>> normalize(X, norm="l1") # L1 normalization each row independently
array([[-0.4, 0.2, 0.4],
[-0.5, 0. , 0.5]])
>>> normalize(X, norm="l2") # L2 normalization each row independently
array([[-0.66..., 0.33..., 0.66...],
[-0.70..., 0. , 0.70...]])
| def scale(X, *, axis=0, with_mean=True, with_std=True, copy=True):
"""Standardize a dataset along any axis.
Center to the mean and component wise scale to unit variance.
Read more in the :ref:`User Guide <preprocessing_scaler>`.
Parameters
----------
X : {array-like, sparse matrix} of shape (n_samples, n_features)
The data to center and scale.
axis : {0, 1}, default=0
Axis used to compute the means and standard deviations along. If 0,
independently standardize each feature, otherwise (if 1) standardize
each sample.
with_mean : bool, default=True
If True, center the data before scaling.
with_std : bool, default=True
If True, scale the data to unit variance (or equivalently,
unit standard deviation).
copy : bool, default=True
If False, try to avoid a copy and scale in place.
This is not guaranteed to always work in place; e.g. if the data is
a numpy array with an int dtype, a copy will be returned even with
copy=False.
Returns
-------
X_tr : {ndarray, sparse matrix} of shape (n_samples, n_features)
The transformed data.
See Also
--------
StandardScaler : Performs scaling to unit variance using the Transformer
API (e.g. as part of a preprocessing
:class:`~sklearn.pipeline.Pipeline`).
Notes
-----
This implementation will refuse to center scipy.sparse matrices
since it would make them non-sparse and would potentially crash the
program with memory exhaustion problems.
Instead the caller is expected to either set explicitly
`with_mean=False` (in that case, only variance scaling will be
performed on the features of the CSC matrix) or to call `X.toarray()`
if he/she expects the materialized dense array to fit in memory.
To avoid memory copy the caller should pass a CSC matrix.
NaNs are treated as missing values: disregarded to compute the statistics,
and maintained during the data transformation.
We use a biased estimator for the standard deviation, equivalent to
`numpy.std(x, ddof=0)`. Note that the choice of `ddof` is unlikely to
affect model performance.
For a comparison of the different scalers, transformers, and normalizers,
see: :ref:`sphx_glr_auto_examples_preprocessing_plot_all_scaling.py`.
.. warning:: Risk of data leak
Do not use :func:`~sklearn.preprocessing.scale` unless you know
what you are doing. A common mistake is to apply it to the entire data
*before* splitting into training and test sets. This will bias the
model evaluation because information would have leaked from the test
set to the training set.
In general, we recommend using
:class:`~sklearn.preprocessing.StandardScaler` within a
:ref:`Pipeline <pipeline>` in order to prevent most risks of data
leaking: `pipe = make_pipeline(StandardScaler(), LogisticRegression())`.
Examples
--------
>>> from sklearn.preprocessing import scale
>>> X = [[-2, 1, 2], [-1, 0, 1]]
>>> scale(X, axis=0) # scaling each column independently
array([[-1., 1., 1.],
[ 1., -1., -1.]])
>>> scale(X, axis=1) # scaling each row independently
array([[-1.37..., 0.39..., 0.98...],
[-1.22..., 0. , 1.22...]])
"""
X = check_array(
X,
accept_sparse="csc",
copy=copy,
ensure_2d=False,
estimator="the scale function",
dtype=FLOAT_DTYPES,
force_all_finite="allow-nan",
)
if sparse.issparse(X):
if with_mean:
raise ValueError(
"Cannot center sparse matrices: pass `with_mean=False` instead"
" See docstring for motivation and alternatives."
)
if axis != 0:
raise ValueError(
"Can only scale sparse matrix on axis=0, got axis=%d" % axis
)
if with_std:
_, var = mean_variance_axis(X, axis=0)
var = _handle_zeros_in_scale(var, copy=False)
inplace_column_scale(X, 1 / np.sqrt(var))
else:
X = np.asarray(X)
if with_mean:
mean_ = np.nanmean(X, axis)
if with_std:
scale_ = np.nanstd(X, axis)
# Xr is a view on the original array that enables easy use of
# broadcasting on the axis in which we are interested in
Xr = np.rollaxis(X, axis)
if with_mean:
Xr -= mean_
mean_1 = np.nanmean(Xr, axis=0)
# Verify that mean_1 is 'close to zero'. If X contains very
# large values, mean_1 can also be very large, due to a lack of
# precision of mean_. In this case, a pre-scaling of the
# concerned feature is efficient, for instance by its mean or
# maximum.
if not np.allclose(mean_1, 0):
warnings.warn(
"Numerical issues were encountered "
"when centering the data "
"and might not be solved. Dataset may "
"contain too large values. You may need "
"to prescale your features."
)
Xr -= mean_1
if with_std:
scale_ = _handle_zeros_in_scale(scale_, copy=False)
Xr /= scale_
if with_mean:
mean_2 = np.nanmean(Xr, axis=0)
# If mean_2 is not 'close to zero', it comes from the fact that
# scale_ is very small so that mean_2 = mean_1/scale_ > 0, even
# if mean_1 was close to zero. The problem is thus essentially
# due to the lack of precision of mean_. A solution is then to
# subtract the mean again:
if not np.allclose(mean_2, 0):
warnings.warn(
"Numerical issues were encountered "
"when scaling the data "
"and might not be solved. The standard "
"deviation of the data is probably "
"very close to 0. "
)
Xr -= mean_2
return X
| (X, norm='l2', *, axis=1, copy=True, return_norm=False) | [
-0.006354193668812513,
0.00628325343132019,
0.0643729493021965,
0.0004645934095606208,
0.055657465010881424,
0.0029161390848457813,
0.0085837347432971,
-0.011907778680324554,
0.09015455842018127,
0.027200408279895782,
-0.03409171849489212,
-0.020521916449069977,
0.05999493598937988,
0.015059540048241615,
-0.0221738051623106,
0.08006080985069275,
-0.021748164668679237,
0.0027641248889267445,
0.009566760621964931,
0.027707122266292572,
-0.005442108493298292,
-0.0458880215883255,
0.010458577424287796,
0.015059540048241615,
-0.01314416155219078,
0.03844945877790451,
-0.00429186737164855,
-0.0486445426940918,
0.042969346046447754,
-0.03232835233211517,
-0.00900430791079998,
0.05059032514691353,
0.004575627390295267,
-0.00986065436154604,
0.040152017027139664,
-0.03127438947558403,
-0.010048138909041882,
-0.05472511053085327,
0.01648847386240959,
0.0029997469391673803,
0.002145933685824275,
-0.00825943797826767,
-0.017633646726608276,
-0.0012534837005659938,
0.03638206422328949,
0.07118318229913712,
0.018413987010717392,
0.08480365574359894,
-0.03879402205348015,
-0.0042868005111813545,
0.012677984312176704,
-0.026997722685337067,
0.017927540466189384,
-0.013559666462242603,
-0.0466582253575325,
0.005300228483974934,
0.028375983238220215,
0.03778059408068657,
0.0032455031760036945,
-0.09753230959177017,
0.07069673389196396,
0.0065163420513272285,
-0.06587281823158264,
-0.018241703510284424,
0.007610844448208809,
-0.03994933143258095,
0.007443628739565611,
-0.007377755828201771,
0.03944261744618416,
-0.00011440651724115014,
-0.05638713389635086,
-0.0110869025811553,
0.0001654737861827016,
0.0072966814041137695,
0.034416016191244125,
0.029409680515527725,
-0.020025337114930153,
-0.02460603229701519,
-0.043617941439151764,
-0.020136814564466476,
0.02537623792886734,
0.03595642372965813,
-0.024626299738883972,
0.03315936401486397,
0.022396758198738098,
-0.0264099333435297,
0.011573348194360733,
0.04305042326450348,
-0.03074740618467331,
0.000753103697206825,
0.04840132221579552,
0.015596657060086727,
0.08241196721792221,
0.046698763966560364,
0.018910566344857216,
0.023734483867883682,
-0.030706867575645447,
0.021342793479561806,
0.026450470089912415,
-0.04215860366821289,
0.01738028973340988,
0.08756017684936523,
0.035571321845054626,
0.03180136904120445,
-0.0023156830575317144,
0.06773752719163895,
0.03474031016230583,
0.006582214962691069,
-0.028477326035499573,
0.038895364850759506,
-0.014127186499536037,
0.006217380985617638,
-0.02651127614080906,
0.022376490756869316,
-0.06461616605520248,
-0.11236889660358429,
-0.04063846170902252,
0.049901194870471954,
-0.08950596302747726,
-0.009191791526973248,
-0.03437547758221626,
0.011107170954346657,
0.023511528968811035,
-0.06644033640623093,
-0.03165949136018753,
0.013630606234073639,
0.024626299738883972,
0.0283354464918375,
-0.002812262624502182,
0.01798834651708603,
-0.03871294856071472,
-0.020714469254016876,
-0.02588295191526413,
-0.008877629414200783,
0.022741325199604034,
-0.08062832802534103,
0.06875095516443253,
0.06818343698978424,
-0.005006334278732538,
-0.0013073221780359745,
0.08464150875806808,
0.02381555736064911,
-0.01031669694930315,
0.01319483295083046,
0.029125921428203583,
0.013782620429992676,
0.11528757214546204,
0.022498100996017456,
-0.0033747153356671333,
-0.019609831273555756,
-0.02884216047823429,
0.013823158107697964,
0.06660249084234238,
-0.05703572928905487,
0.023734483867883682,
-0.010372435674071312,
-0.01416772324591875,
-0.0843982845544815,
-0.030909553170204163,
-0.0022054726723581553,
-0.08739802986383438,
-0.014309603720903397,
-0.040820877999067307,
-0.003080821130424738,
-0.017714722082018852,
0.027220675721764565,
0.0004943628446199,
0.023673677816987038,
0.01165442168712616,
0.03378769010305405,
0.040942490100860596,
0.010590322315692902,
-0.025599190965294838,
0.055576391518116,
-0.007519635837525129,
0.04677983745932579,
0.012019256129860878,
-0.011188245378434658,
0.00003887446291628294,
0.008279706351459026,
0.02600456215441227,
-0.004051178228110075,
-0.010924753732979298,
-0.016721561551094055,
-0.07353433221578598,
0.00756017304956913,
0.0036888779141008854,
-0.011502407491207123,
-0.038104891777038574,
-0.019224729388952255,
0.018606537953019142,
-0.025072209537029266,
-0.02193058282136917,
-0.008335445076227188,
-0.012759058736264706,
0.02203192561864853,
-0.05014441907405853,
-0.029936663806438446,
0.06672409921884537,
-0.03419306129217148,
-0.013356980867683887,
0.001095135579816997,
0.07941221445798874,
0.0031669624149799347,
0.01069166511297226,
-0.04775272682309151,
-0.029936663806438446,
0.0052343555726110935,
-0.050306566059589386,
-0.010438308119773865,
-0.03159868344664574,
-0.009156322106719017,
-0.0023549532052129507,
0.02973397821187973,
0.03392956778407097,
0.018799088895320892,
0.060157086700201035,
-0.07661515474319458,
0.013914366252720356,
0.027605779469013214,
0.013407652266323566,
-0.03885482996702194,
-0.030686600133776665,
0.05890043452382088,
-0.010205219499766827,
-0.00048169499495998025,
0.09031670540571213,
-0.03719280660152435,
0.040942490100860596,
-0.008953636512160301,
0.05115784704685211,
-0.07706106454133987,
-0.02345072478055954,
-0.031477075070142746,
0.008401318453252316,
-0.06392703950405121,
0.0343349389731884,
0.0343349389731884,
0.03830757737159729,
0.005290094297379255,
-0.021484673023223877,
-0.04868508130311966,
-0.025822145864367485,
-0.0025703066494315863,
-0.02191031351685524,
0.023369649425148964,
0.011634153313934803,
0.04116544499993324,
0.006338992156088352,
-0.013630606234073639,
-0.026592351496219635,
0.020572587847709656,
-0.004709906410425901,
0.017208008095622063,
-0.009688371792435646,
-0.05176590383052826,
0.014948062598705292,
0.022214341908693314,
0.02525462582707405,
-0.012455030344426632,
-0.02920699492096901,
-0.015931088477373123,
-0.014390677213668823,
0.04629339277744293,
-0.006962250452488661,
-0.02614644169807434,
0.026592351496219635,
0.002324550412595272,
0.07069673389196396,
0.02294401079416275,
0.03508487716317177,
0.06599443405866623,
-0.03729414939880371,
-0.0009912592358887196,
0.010387636721134186,
0.0481986366212368,
-0.022335954010486603,
-0.04382062703371048,
0.06830504536628723,
0.02395743876695633,
0.0023448190186172724,
-0.018576135858893394,
-0.043374717235565186,
0.015333165414631367,
-0.0010191284818574786,
-0.04994173347949982,
-0.025538384914398193,
-0.0474284291267395,
-0.0012167469831183553,
0.0481986366212368,
-0.00538636976853013,
0.009546491317451,
-0.02077527344226837,
-0.03520648926496506,
-0.05525209382176399,
-0.04378008842468262,
-0.07089941948652267,
-0.012333419173955917,
-0.010250824503600597,
-0.042726125568151474,
-0.007306816056370735,
0.020167216658592224,
-0.015302762389183044,
0.02884216047823429,
0.05318470299243927,
-0.023470992222428322,
-0.03980745002627373,
-0.04288827255368233,
0.007823663763701916,
0.03727388009428978,
0.015464911237359047,
-0.004828984383493662,
-0.056062836199998856,
-0.03654421493411064,
-0.0018659742781892419,
-0.0006682290695607662,
0.0945325642824173,
-0.00046174312592484057,
0.028761086985468864,
0.06510261446237564,
-0.02578160911798477,
-0.030848748981952667,
-0.00841651950031519,
0.012009121477603912,
-0.009470484219491482,
0.04673929885029793,
-0.021484673023223877,
-0.006795034743845463,
0.0019027111120522022,
0.006546745076775551,
-0.021849507465958595,
-0.0063491263426840305,
0.007641247007995844,
0.021099571138620377,
-0.06494046747684479,
-0.08983025699853897,
0.008842159062623978,
0.0014846720732748508,
-0.008593869395554066,
-0.00742842722684145,
-0.02458576299250126,
0.03386876359581947,
-0.038003548979759216,
-0.05330631136894226,
-0.047833800315856934,
-0.012201673351228237,
-0.008659741841256618,
-0.029146188870072365,
-0.00499620009213686,
-0.013985306024551392,
0.008649608120322227,
-0.04252343997359276,
0.017785660922527313,
0.043658480048179626,
0.008203699253499508,
-0.030544720590114594,
0.008538130670785904,
-0.026470739394426346,
0.055414244532585144,
-0.08942488580942154,
0.055535852909088135,
-0.014147454872727394,
-0.040537118911743164,
-0.03508487716317177,
0.011988853104412556,
-0.02075500600039959,
-0.016387131065130234,
-0.025335699319839478,
0.019417280331254005,
0.00870534684509039,
0.06583227962255478,
-0.08423613756895065,
-0.060684069991111755,
-0.02383582666516304,
-0.015282494015991688,
-0.0063187237828969955,
-0.03194325044751167,
-0.015454776585102081,
0.006121105048805475,
0.036179378628730774,
0.06048138439655304,
0.006526476237922907,
-0.007332151755690575,
-0.021099571138620377,
0.019062580540776253,
-0.008132759481668472,
-0.020532051101326942,
-0.015637194737792015,
-0.007225741632282734,
-0.040699269622564316,
0.00609070248901844,
0.03575373813509941,
0.01549531426280737,
-0.04063846170902252,
-0.04921206459403038,
0.0535900741815567,
0.006359260529279709,
0.04718520864844322,
0.01127945352345705,
0.010134279727935791,
-0.0902356281876564,
0.036078035831451416,
0.008446922525763512,
0.0264099333435297,
-0.03573347255587578,
-0.02600456215441227,
-0.00044242467265576124,
-0.0033848495222628117,
-0.011340259574353695,
0.11001774668693542,
0.016184445470571518,
0.05415759235620499,
0.03838865086436272,
-0.022396758198738098,
0.026349127292633057,
0.0017380290664732456,
-0.028416521847248077,
0.045158352702856064,
-0.002944008447229862,
-0.006926780566573143,
-0.057846471667289734,
-0.01319483295083046,
-0.006009628064930439,
0.044144924730062485,
-0.0000274931935564382,
-0.09047885239124298,
-0.041834309697151184,
-0.07134532928466797,
-0.003724347800016403,
0.011755764484405518,
0.006830504629760981,
-0.004124652128666639,
-0.045158352702856064,
0.009323537349700928,
-0.01338738389313221,
-0.014076515100896358,
-0.04738789424300194,
0.08079048246145248,
-0.03855080157518387,
-0.015302762389183044,
0.01919432543218136,
-0.008826958015561104,
0.03573347255587578,
-0.01895110309123993,
0.032612111419439316,
0.039280470460653305,
-0.040942490100860596,
0.005898151081055403,
-0.05987332761287689,
-0.0027134534902870655,
0.0466582253575325,
-0.026450470089912415,
0.034294404089450836,
-0.017370155081152916,
-0.016893845051527023,
-0.028477326035499573,
-0.023349381983280182,
-0.05731948837637901,
0.030828479677438736,
0.04475298151373863,
-0.07398024201393127,
0.015687866136431694,
-0.06939955055713654,
-0.03692931681871414,
0.00924753025174141,
0.025153283029794693,
0.004233595449477434,
0.034395746886730194,
0.030544720590114594,
0.0009633899899199605,
0.03603750094771385,
-0.01815049536526203,
0.003577400930225849,
-0.0036027366295456886,
-0.011228782124817371,
0.021586015820503235,
-0.04369901493191719,
-0.03101089596748352,
0.008821890689432621,
0.045806944370269775,
0.029571829363703728,
-0.017370155081152916,
0.0435774028301239,
0.059143658727407455,
-0.0005165315815247595,
0.021363062784075737,
0.028882697224617004,
0.029774514958262444,
0.021950850263237953,
0.0293286070227623,
-0.0005953889340162277,
0.01996453106403351,
0.03232835233211517,
0.060805678367614746,
-0.06879149377346039,
-0.08224981278181076,
0.0013009882532060146,
0.0003819356788881123,
0.016691159456968307,
-0.003927033394575119,
0.022072462365031242,
-0.01952875778079033,
-0.039787184447050095,
0.01718773879110813,
0.026693694293498993,
0.0412667877972126,
-0.07248037308454514,
0.0775880441069603,
0.0148568544536829,
-0.008527996949851513,
-0.06137320026755333,
-0.03609830513596535,
0.029774514958262444,
-0.02628832310438156,
0.028740817680954933,
0.018748417496681213,
-0.03315936401486397,
0.06927793473005295,
0.004481885116547346,
0.007651381194591522,
-0.008801622316241264,
-0.004570560064166784,
-0.04856346920132637,
0.060521919280290604,
0.0041702562011778355,
0.038246773183345795,
-0.0033341781236231327,
-0.011806435883045197,
0.016751965507864952,
0.027524704113602638,
-0.02049151435494423,
-0.053103625774383545,
0.014056246727705002,
0.037415761500597,
0.007585508748888969,
0.0019584496039897203,
-0.009901191107928753,
-0.06254877895116806,
0.004633899312466383,
-0.028031418099999428,
-0.010387636721134186,
0.024139855057001114,
0.032470233738422394,
0.012607044540345669,
-0.01846465840935707,
-0.018616672605276108,
-0.04023309051990509,
-0.007950342260301113,
-0.016387131065130234,
-0.010195085778832436,
0.0003090955433435738,
-0.002301748376339674,
0.061697497963905334,
0.08241196721792221,
0.05525209382176399,
-0.02099822834134102,
-0.022335954010486603,
0.04422599822282791,
-0.03048391453921795,
-0.016123639419674873,
-0.035145681351423264,
-0.015454776585102081,
0.10118065029382706,
-0.006055232137441635,
-0.03506460785865784,
-0.0035698001738637686,
-0.06522422283887863,
-0.016306055709719658,
0.001472004223614931,
-0.005219154059886932,
0.0002368887944612652,
0.005751203745603561,
0.006389663554728031,
0.03652394562959671,
-0.01969090662896633,
0.0466582253575325,
0.025558654218912125,
-0.002710919827222824,
-0.053103625774383545,
0.0005871548200957477,
0.0051178112626075745,
-0.08918166160583496,
-0.0397263765335083,
-0.015221688896417618,
-0.00937927607446909,
-0.016822904348373413,
-0.06303521990776062,
0.013721815310418606,
-0.022477833554148674,
-0.037719789892435074,
-0.03289587423205376,
-0.009708640165627003,
0.01063085999339819,
-0.03790220618247986,
0.03486192226409912,
-0.019944263622164726,
0.007276413030922413,
-0.054400816559791565,
0.026450470089912415,
0.00951102189719677,
-0.012596909888088703,
0.024889791384339333,
0.03788193687796593,
0.02191031351685524,
0.008816823363304138,
-0.03011908009648323,
-0.011127439327538013,
-0.05022549256682396,
0.028294909745454788,
-0.026734231039881706,
-0.020694199949502945,
-0.003734482219442725,
-0.045563723891973495,
0.013883963227272034,
-0.00041423868970014155,
-0.0024233597796410322,
-0.009622498415410519,
-0.007352420128881931,
0.05379275977611542,
-0.047468967735767365,
0.023916900157928467,
-0.017268812283873558,
-0.010620725341141224,
0.00810235645622015,
-0.001982518471777439,
-0.0034583229571580887,
0.021342793479561806,
-0.004117051139473915,
-0.07426400482654572,
-0.036969851702451706,
-0.0003737015649676323,
-0.03500380367040634,
0.03180136904120445,
-0.03474031016230583,
0.030524451285600662,
0.014451483264565468,
0.0020813278388231993,
0.02563972771167755,
0.007762858644127846,
0.0018013683147728443,
0.05265771970152855,
-0.055900689214468,
0.08334431797266006,
0.01557638868689537,
0.0006967317312955856,
-0.0420369952917099,
0.0458880215883255,
0.01306308712810278,
0.031821638345718384,
0.05302255228161812,
0.0020977959502488375,
-0.028031418099999428,
-0.03358500450849533,
-0.012262478470802307,
0.08095262944698334,
0.010884216986596584,
0.011867241933941841,
0.03419306129217148,
-0.025173552334308624,
-0.028517864644527435,
-0.0028527998365461826,
-0.012475298717617989,
0.00035121614928357303,
0.04130732640624046,
0.03151760995388031,
-0.006688624620437622,
-0.015971625223755836,
0.029409680515527725,
-0.05841398984193802,
0.03151760995388031,
-0.04284773766994476,
0.04686091095209122,
-0.0543602779507637,
-0.01571826823055744,
0.026835573837161064,
-0.025315431877970695,
0.020207753404974937,
-0.08901951462030411,
-0.0760476365685463,
-0.021180644631385803,
-0.009531290270388126,
0.05225234851241112,
0.017005322501063347,
0.01613377407193184,
0.01015961542725563,
-0.07081834971904755,
0.007914872840046883,
-0.06879149377346039,
-0.028517864644527435,
-0.0032683052122592926,
0.02486952394247055,
0.0029338740278035402,
0.03129465505480766,
-0.030017737299203873,
-0.04625285416841507,
0.015789208933711052,
0.006379529368132353,
0.05123892053961754,
0.03765898570418358,
0.003286040388047695,
0.040922220796346664,
-0.01564732752740383,
-0.04909045249223709,
0.02677476778626442,
0.02855840139091015,
0.06315683573484421,
-0.07608817517757416,
0.017319483682513237,
0.0791284590959549,
0.03536863625049591,
0.03565239533782005,
0.005089941900223494,
0.045036740601062775,
-0.011208513751626015,
0.010610591620206833,
-0.049414750188589096,
-0.0401114784181118,
0.014866989105939865,
0.04345579445362091,
0.06108944118022919,
0.05918419361114502,
-0.032490503042936325,
0.0050671398639678955,
-0.02689637988805771,
-0.029490754008293152,
0.013600204139947891,
0.024808717891573906,
-0.011857107281684875,
0.04755004122853279,
0.0005304662045091391,
0.01875855214893818,
0.036848243325948715,
0.010995693504810333,
0.07487206161022186,
0.01172536239027977,
0.005406638607382774,
0.0013516596518456936,
-0.04317203164100647,
-0.003787687048316002,
-0.011765899136662483,
0.026572082191705704,
-0.03688877820968628,
0.057846471667289734,
-0.047347355633974075,
-0.014441348612308502,
0.020643528550863266,
-0.01863694004714489,
-0.027788195759058,
0.030038006603717804,
0.024828985333442688,
-0.01159361656755209,
-0.030443377792835236,
-0.06133266165852547,
0.022518370300531387,
0.05444135144352913,
-0.019559159874916077,
-0.02407904900610447,
0.007691918406635523,
0.010407906025648117,
-0.06226501613855362,
0.012151001952588558,
-0.08184444159269333,
-0.0038282242603600025,
0.061413735151290894,
0.03652394562959671,
0.006648087874054909,
0.0543602779507637,
0.041712697595357895
] |
18,116 | imodels.util.rule | replace_feature_name | null | def replace_feature_name(rule: Rule, replace_dict: Dict[str, str]) -> Rule:
def replace(match):
return replace_dict[match.group(0)]
rule_replaced = copy.copy(rule)
rule_replaced.rule = re.sub('|'.join(r'\b%s\b' % re.escape(s) for s in replace_dict), replace, rule.rule)
replaced_agg_dict = {}
for feature, symbol in rule_replaced.agg_dict:
replaced_agg_dict[(replace_dict[feature], symbol)] = rule_replaced.agg_dict[(feature, symbol)]
rule_replaced.agg_dict = replaced_agg_dict
return rule_replaced
| (rule: imodels.util.rule.Rule, replace_dict: Dict[str, str]) -> imodels.util.rule.Rule | [
0.03335932269692421,
-0.026715802028775215,
-0.00906175933778286,
0.008539135567843914,
-0.04471530765295029,
-0.05155370384454727,
-0.007064274977892637,
-0.0030626619700342417,
0.03624703735113144,
-0.03559154272079468,
-0.008614429272711277,
0.029178334400057793,
-0.03706197440624237,
0.010363888926804066,
-0.02088722214102745,
-0.03791234642267227,
-0.011107963509857655,
0.04184531047940254,
-0.020444320514798164,
-0.04475074261426926,
-0.0024027391336858273,
0.004557453561574221,
0.00608103396371007,
-0.08865111321210861,
0.03759345784783363,
0.005230663809925318,
-0.025422532111406326,
-0.005186373367905617,
0.019806543365120888,
-0.03254438191652298,
0.003981682006269693,
-0.061793580651283264,
-0.018761295825242996,
0.032597530633211136,
0.02280055545270443,
-0.09346988052129745,
-0.033111296594142914,
0.050915926694869995,
-0.009947561658918858,
-0.05470716208219528,
-0.0042762113735079765,
-0.032012902200222015,
-0.036459628492593765,
0.017530031502246857,
-0.0038532407488673925,
0.03851469233632088,
-0.03004642017185688,
0.0660099983215332,
0.03911703824996948,
0.007090848870575428,
-0.024891050532460213,
-0.0930446907877922,
0.013295895420014858,
0.05807321146130562,
-0.03631790354847908,
0.0071572838351130486,
-0.02969209849834442,
0.06037629768252373,
0.041987039148807526,
-0.02276512421667576,
0.014908055774867535,
-0.04475074261426926,
-0.046238888055086136,
-0.017432592809200287,
-0.013783087022602558,
-0.05375049635767937,
0.003875385969877243,
0.016130462288856506,
0.024731604382395744,
-0.0673564225435257,
-0.043971236795186996,
-0.0006831751670688391,
0.0556638278067112,
0.0036782948300242424,
-0.002090493915602565,
0.048577409237623215,
-0.053608767688274384,
-0.08021827042102814,
0.03149913623929024,
-0.01751231588423252,
0.018212098628282547,
-0.04793963208794594,
0.01652907393872738,
-0.024501295760273933,
-0.029125185683369637,
-0.039577655494213104,
0.04553024843335152,
-0.048187654465436935,
-0.014987777918577194,
-0.06753358244895935,
-0.007232577074319124,
0.005066790152341127,
-0.0032243209425359964,
-0.004632746800780296,
0.007507176138460636,
0.019540803506970406,
0.00569128105416894,
-0.013951389119029045,
0.00006020688670105301,
-0.030843641608953476,
0.0882967934012413,
-0.008242391981184483,
-0.038089506328105927,
0.026981543749570847,
0.05282926186919212,
-0.029178334400057793,
0.03360734507441521,
-0.016777098178863525,
-0.04595543444156647,
0.009176913648843765,
-0.041597284376621246,
-0.02377493865787983,
0.04205790162086487,
0.00859228428453207,
0.047833334654569626,
-0.007294583600014448,
-0.01582043245434761,
-0.04744357988238335,
0.0281330868601799,
0.047018397599458694,
0.010310741141438484,
0.011639444157481194,
-0.017432592809200287,
0.044219259172677994,
-0.0311802476644516,
0.000032958079827949405,
0.02264111116528511,
0.03908160701394081,
0.0684548169374466,
0.007883641868829727,
-0.020125431939959526,
0.010337314568459988,
-0.03553839400410652,
0.013180741108953953,
0.03893987834453583,
-0.008618857711553574,
-0.016006451100111008,
0.03755802661180496,
0.03979024663567543,
0.006931404583156109,
0.02793820947408676,
-0.018300678580999374,
-0.04691210016608238,
-0.008516990579664707,
-0.010514475405216217,
-0.026272902265191078,
-0.019593950361013412,
0.06207703799009323,
-0.024022962898015976,
-0.04528222233057022,
0.006484074052423239,
0.029780680313706398,
0.008437268435955048,
-0.0006178472540341318,
0.035485249012708664,
0.061864446848630905,
-0.030932223424315453,
-0.04843568056821823,
-0.04184531047940254,
0.006094321142882109,
0.08064346015453339,
0.03075506165623665,
-0.06197074055671692,
-0.0006704417755827308,
0.016511358320713043,
-0.038798149675130844,
0.07362790405750275,
-0.036884814500808716,
0.005771003197878599,
0.02731814794242382,
-0.008641003631055355,
-0.011001667007803917,
-0.011869753710925579,
0.10246963053941727,
0.06547851860523224,
0.09502889215946198,
-0.004632746800780296,
-0.026627222076058388,
-0.019416790455579758,
0.0727066695690155,
0.044679876416921616,
0.028363395482301712,
-0.03463487699627876,
0.018814444541931152,
-0.030223580077290535,
-0.020603766664862633,
-0.013313611038029194,
0.042376790195703506,
-0.0026729090604931116,
0.01357935182750225,
0.03904617205262184,
-0.012675833888351917,
0.0005934876389801502,
-0.02988697588443756,
-0.00389753095805645,
-0.048187654465436935,
-0.02432413585484028,
0.011621728539466858,
0.0073078703135252,
-0.012578395195305347,
-0.03589271754026413,
0.0417744442820549,
-0.01673280820250511,
0.0638132095336914,
-0.02724728360772133,
-0.03752259165048599,
0.04832938313484192,
0.0011199865257367492,
-0.04095950722694397,
-0.02237537130713463,
0.04244765639305115,
0.043475184589624405,
0.009407222270965576,
-0.017104845494031906,
0.03289870545268059,
-0.019611667841672897,
-0.00011300901678623632,
0.07547037303447723,
-0.05509691312909126,
-0.005190802738070488,
-0.054459135979413986,
-0.0243595689535141,
0.05973852053284645,
-0.010452468879520893,
0.024058395996689796,
-0.023898951709270477,
0.04645148292183876,
-0.025652840733528137,
-0.014208272099494934,
-0.028575988486409187,
0.008286681957542896,
-0.06987209618091583,
0.05034901201725006,
-0.03231407329440117,
0.08687950670719147,
-0.03660135716199875,
0.0067808181047439575,
-0.011657160706818104,
0.06115580350160599,
0.0311802476644516,
0.004231921397149563,
-0.00565141998231411,
-0.037274569272994995,
0.0026286188513040543,
-0.0573645681142807,
0.020763210952281952,
-0.0034967053215950727,
-0.03481203690171242,
0.0016830246895551682,
0.017946358770132065,
0.04241222143173218,
0.0042894985526800156,
-0.037699755281209946,
0.07398222386837006,
-0.039683952927589417,
0.0048054782673716545,
0.004539737943559885,
-0.0033040433190762997,
0.0018834375077858567,
-0.02653864212334156,
-0.029125185683369637,
0.00767547870054841,
-0.0024802470579743385,
-0.011293981224298477,
0.01740601845085621,
-0.015040925703942776,
0.02023172937333584,
0.00252896617166698,
0.024802468717098236,
-0.025830000638961792,
0.0685611143708229,
-0.02237537130713463,
0.030223580077290535,
0.022074198350310326,
-0.00242045521736145,
0.04085320979356766,
0.0048409104347229,
0.044219259172677994,
0.03463487699627876,
-0.022339938208460808,
0.057931482791900635,
-0.052085187286138535,
-0.04949864372611046,
0.047053828835487366,
0.0052572377026081085,
0.038089506328105927,
-0.017583178356289864,
0.06742728501558304,
0.019186481833457947,
-0.0094692287966609,
-0.023828087374567986,
-0.009805833920836449,
0.007989938370883465,
0.04375864192843437,
-0.06498246639966965,
0.048258520662784576,
0.023473765701055527,
-0.010107005946338177,
0.03943592682480812,
0.04305000230669975,
0.03114481456577778,
0.05973852053284645,
0.058356668800115585,
-0.016706235706806183,
-0.011090246960520744,
-0.013667932711541653,
0.016219044104218483,
-0.028469691053032875,
-0.04301456734538078,
0.04673494026064873,
-0.013171883299946785,
-0.02451901324093342,
-0.08447012305259705,
-0.027335865423083305,
0.005841867532581091,
0.04446728527545929,
-0.03406796231865883,
-0.003091450547799468,
0.03589271754026413,
-0.012348086573183537,
0.009894413873553276,
-0.029018890112638474,
-0.05098678916692734,
-0.025705987587571144,
0.04368777945637703,
-0.04634518548846245,
0.003144598798826337,
-0.03141055628657341,
0.04949864372611046,
-0.03070191480219364,
-0.027601605281233788,
-0.02326117269694805,
0.020338024944067,
-0.010992809198796749,
-0.04315629601478577,
0.03855012357234955,
0.020284876227378845,
0.0537150613963604,
-0.056762222200632095,
0.009336357936263084,
-0.018424691632390022,
0.05938419699668884,
-0.029745247215032578,
0.00712185213342309,
-0.024660741910338402,
-0.008720725774765015,
-0.09106049686670303,
0.016325339674949646,
0.011409135535359383,
-0.046238888055086136,
0.032012902200222015,
-0.0874464213848114,
0.03695568069815636,
-0.006891543511301279,
0.05027814954519272,
0.0029386498499661684,
0.011648302897810936,
0.0037425155751407146,
-0.02319030836224556,
-0.06250222027301788,
0.011949475854635239,
-0.07072246819734573,
-0.009920988231897354,
-0.0002125925966538489,
0.033111296594142914,
0.007170571014285088,
-0.02559969201683998,
0.011798889376223087,
-0.027070123702287674,
-0.0319066047668457,
0.04531765356659889,
0.038798149675130844,
0.03475888818502426,
-0.07554123550653458,
-0.053644198924303055,
-0.00875615794211626,
0.030843641608953476,
-0.0007053202134557068,
-0.034351419657468796,
-0.034121111035346985,
0.06037629768252373,
0.05467173084616661,
0.02595401182770729,
0.05732913687825203,
-0.04053432121872902,
-0.048258520662784576,
-0.06409666687250137,
0.006900401320308447,
0.07189173251390457,
-0.011657160706818104,
-0.01479290146380663,
-0.007896929048001766,
0.017335154116153717,
0.023491481319069862,
0.012844135984778404,
-0.0094692287966609,
-0.0621124692261219,
-0.05141197517514229,
-0.03125111013650894,
-0.006289197597652674,
-0.04638061672449112,
0.00012913339014630765,
-0.034705739468336105,
-0.021773025393486023,
0.009982993826270103,
0.03004642017185688,
0.036530494689941406,
0.10275308787822723,
0.00945151224732399,
0.03406796231865883,
-0.0179640743881464,
-0.0014947917079553008,
-0.04754987731575966,
-0.045069631189107895,
-0.04110123589634895,
0.012303796596825123,
0.05385679006576538,
0.0008376369951292872,
-0.02942635864019394,
0.02871771715581417,
0.012427808716893196,
-0.032154630869627,
-0.02326117269694805,
0.026946110650897026,
-0.028965741395950317,
-0.030542470514774323,
0.028274815529584885,
-0.013880524784326553,
0.02832796424627304,
0.0271587036550045,
-0.051766298711299896,
0.003667222335934639,
0.025776851922273636,
-0.011196543462574482,
0.061899878084659576,
-0.03219006210565567,
0.013411049731075764,
0.02926691435277462,
-0.018849877640604973,
0.008490417152643204,
0.01987740769982338,
-0.00751160504296422,
0.0350777767598629,
0.00298072537407279,
-0.07504518330097198,
0.025936296209692955,
-0.009832407347857952,
-0.017716050148010254,
-0.027194136753678322,
0.0024448148906230927,
0.020249444991350174,
0.008632144890725613,
-0.047833334654569626,
0.026450062170624733,
0.05428197607398033,
0.0036406482104212046,
-0.0059083024971187115,
-0.018637284636497498,
0.028363395482301712,
0.019009321928024292,
0.0039728241972625256,
0.012126635760068893,
0.012977005913853645,
0.04602629691362381,
-0.07167913764715195,
0.012232932262122631,
0.07568296045064926,
-0.03047160618007183,
-0.047372717410326004,
-0.009123765863478184,
0.053679630160331726,
-0.050171852111816406,
0.0649116039276123,
-0.03527265414595604,
-0.011976049281656742,
0.06611629575490952,
-0.028115371242165565,
0.05024271830916405,
0.019310494884848595,
0.06409666687250137,
0.037239138036966324,
-0.05137654393911362,
-0.022145062685012817,
0.01574956811964512,
0.03380222246050835,
0.028664568439126015,
0.0017084915889427066,
0.013774228282272816,
0.003069305559620261,
0.08305284380912781,
0.0029895834159106016,
0.01334904320538044,
0.0170516986399889,
0.03582185134291649,
0.05162457004189491,
-0.017175709828734398,
0.010992809198796749,
0.02065691351890564,
-0.04758530855178833,
0.005261666607111692,
-0.03346561640501022,
-0.05272296443581581,
-0.05686851963400841,
0.013171883299946785,
0.023119444027543068,
-0.06207703799009323,
-0.03128654509782791,
0.05654963105916977,
-0.006408780813217163,
0.025511112064123154,
-0.04283740743994713,
-0.020568333566188812,
0.04301456734538078,
-0.06558481603860855,
0.019239630550146103,
-0.007396450731903315,
0.006178472191095352,
0.021028950810432434,
-0.032367222011089325,
-0.004579599015414715,
-0.03148141875863075,
-0.05080962926149368,
-0.0070066978223621845,
-0.004902916960418224,
0.02225135825574398,
-0.038833580911159515,
0.05934876576066017,
0.01469546277076006,
0.05187259241938591,
-0.08248592913150787,
-0.03695568069815636,
0.0025333950761705637,
0.007033271715044975,
-0.00851256214082241,
0.01932821050286293,
0.03199518471956253,
0.02692839503288269,
-0.0735570415854454,
-0.07206889241933823,
0.015696419402956963,
-0.003000655910000205,
0.0487191379070282,
-0.012835278175771236,
0.005899444688111544,
0.011736882850527763,
0.03355419635772705,
0.01167487632483244,
-0.005363534204661846,
0.0034524151124060154,
-0.032951854169368744,
-0.07263580709695816,
0.05814407393336296,
-0.03040074184536934,
0.023208025842905045,
-0.07164370268583298,
0.000578539737034589,
-0.02926691435277462,
-0.017388302832841873,
-0.06593913584947586,
0.01494348794221878,
-0.02416469156742096,
-0.009398364461958408,
0.10813876986503601,
0.02731814794242382,
0.033961668610572815,
-0.009655247442424297,
-0.02443043328821659,
0.046593211591243744,
-0.03380222246050835,
0.041136667132377625,
0.03794777765870094,
-0.04829395189881325,
0.04219963029026985,
0.031003087759017944,
-0.10055629909038544,
-0.01730857975780964,
0.036069877445697784,
0.02283598855137825,
0.005217376630753279,
0.03557382896542549,
-0.06774617731571198,
0.059490494430065155,
-0.04960493743419647,
0.004995925817638636,
-0.010301883332431316,
0.018530987203121185,
-0.011355987749993801,
0.07787975668907166,
0.01897388882935047,
-0.04613259434700012,
-0.07164370268583298,
0.04684123396873474,
-0.023278888314962387,
-0.05888814851641655,
-0.0190624687820673,
0.006408780813217163,
0.018920740112662315,
0.00008837263885652646,
0.029940124601125717,
0.04166815057396889,
-0.014668889343738556,
-0.09028098732233047,
0.049711234867572784,
-0.03319987654685974,
0.0016199112869799137,
-0.0025001775939017534,
0.019965987652540207,
-0.0031733873765915632,
-0.0019177623325958848,
-0.04889629781246185,
-0.021365555003285408,
0.037699755281209946,
0.04553024843335152,
0.02520993910729885,
0.016130462288856506,
-0.02303086407482624,
-0.0018612925196066499,
-0.03174716234207153,
-0.033766791224479675,
-0.07773802429437637,
-0.029213765636086464,
-0.019771112129092216,
-0.04099493846297264,
-0.03858555480837822,
0.06441555917263031,
-0.017485741525888443,
0.020568333566188812,
-0.05927790328860283,
-0.07369876652956009,
-0.06165185198187828,
-0.06239592656493187,
0.005053502973169088,
-0.008933317847549915,
-0.03911703824996948,
-0.00865871924906969,
0.02848740853369236,
0.03734543174505234,
0.022942284122109413,
-0.037628889083862305,
-0.03752259165048599,
0.05743543431162834,
-0.003315115813165903,
0.03250895068049431,
-0.0053281020373106,
0.012046913616359234,
0.04375864192843437,
0.024696173146367073,
-0.03445771709084511,
0.002526751486584544,
0.006368919741362333,
0.015111790038645267,
0.057860616594552994,
-0.04708926007151604,
0.05251036956906319,
0.07334444671869278,
0.027265001088380814,
-0.03511321172118187,
-0.02852283976972103,
0.027229567989706993,
0.018690431490540504,
-0.008858025074005127,
0.009965278208255768,
-0.03079049475491047,
-0.006811820901930332,
-0.016378488391637802,
-0.016298765316605568,
0.07986395061016083,
-0.021755309775471687,
0.016396204009652138,
0.005771003197878599,
-0.0021857176907360554,
-0.030737346038222313,
-0.019416790455579758,
-0.02696382813155651,
0.02490876615047455,
-0.011152253486216068,
0.0224108025431633,
0.07667506486177444,
0.03656592592597008,
-0.01753888837993145,
0.019416790455579758,
-0.021808456629514694,
0.01945222169160843,
-0.0005638686707243323,
0.0292314812541008,
0.023739507421851158,
-0.051305681467056274,
-0.014810617081820965,
-0.005394537001848221,
0.024377284571528435,
-0.029320063069462776,
-0.03332388773560524,
-0.011710308492183685,
-0.033961668610572815,
-0.007560324389487505,
-0.05300642177462578,
-0.008366404101252556,
0.001035835244692862,
0.006240478716790676,
0.014101975597441196,
0.014332284219563007,
0.020940370857715607,
0.0013729938073083758,
-0.06349432468414307,
0.022304506972432137,
0.0165024995803833,
0.015040925703942776,
-0.02650321088731289,
0.04056975245475769,
-0.022694259881973267,
0.023296605795621872,
-0.00019224682182539254,
0.015971018001437187,
0.029638951644301414,
0.014562592841684818,
0.015740709379315376,
-0.06498246639966965,
-0.07299012690782547,
-0.003673865692690015,
-0.02049746923148632,
0.03332388773560524,
-0.0032841127831488848,
-0.006944691296666861,
0.057931482791900635,
0.005345818120986223,
-0.04032173007726669,
-0.0008880170062184334,
0.00834868848323822,
-0.017485741525888443,
0.0021990046370774508,
0.023048579692840576,
0.06583283841609955,
-0.03667222335934639,
-0.026326049119234085,
-0.013163024559617043,
0.03270382806658745,
-0.018725864589214325,
-0.027211852371692657,
-0.0011183256283402443,
0.034670308232307434,
0.006138611119240522,
0.04648691415786743,
0.02653864212334156,
0.022587962448596954,
0.07724197953939438,
0.01932821050286293,
-0.024377284571528435,
-0.011586296372115612,
-0.003924104850739241,
0.042660247534513474,
0.013845092616975307,
0.031127098947763443,
-0.007245864253491163,
0.0007695409003645182,
0.03541438281536102,
-0.03461715951561928,
0.008167099207639694,
0.045034199953079224,
-0.01320731546729803,
0.0024138118606060743,
0.015474969521164894,
0.02166672796010971,
0.003684938419610262,
-0.010594197548925877,
0.026822099462151527,
-0.04258938506245613,
0.03488290309906006,
-0.021347839385271072
] |
18,120 | sklearn.model_selection._split | train_test_split | Split arrays or matrices into random train and test subsets.
Quick utility that wraps input validation,
``next(ShuffleSplit().split(X, y))``, and application to input data
into a single call for splitting (and optionally subsampling) data into a
one-liner.
Read more in the :ref:`User Guide <cross_validation>`.
Parameters
----------
*arrays : sequence of indexables with same length / shape[0]
Allowed inputs are lists, numpy arrays, scipy-sparse
matrices or pandas dataframes.
test_size : float or int, default=None
If float, should be between 0.0 and 1.0 and represent the proportion
of the dataset to include in the test split. If int, represents the
absolute number of test samples. If None, the value is set to the
complement of the train size. If ``train_size`` is also None, it will
be set to 0.25.
train_size : float or int, default=None
If float, should be between 0.0 and 1.0 and represent the
proportion of the dataset to include in the train split. If
int, represents the absolute number of train samples. If None,
the value is automatically set to the complement of the test size.
random_state : int, RandomState instance or None, default=None
Controls the shuffling applied to the data before applying the split.
Pass an int for reproducible output across multiple function calls.
See :term:`Glossary <random_state>`.
shuffle : bool, default=True
Whether or not to shuffle the data before splitting. If shuffle=False
then stratify must be None.
stratify : array-like, default=None
If not None, data is split in a stratified fashion, using this as
the class labels.
Read more in the :ref:`User Guide <stratification>`.
Returns
-------
splitting : list, length=2 * len(arrays)
List containing train-test split of inputs.
.. versionadded:: 0.16
If the input is sparse, the output will be a
``scipy.sparse.csr_matrix``. Else, output type is the same as the
input type.
Examples
--------
>>> import numpy as np
>>> from sklearn.model_selection import train_test_split
>>> X, y = np.arange(10).reshape((5, 2)), range(5)
>>> X
array([[0, 1],
[2, 3],
[4, 5],
[6, 7],
[8, 9]])
>>> list(y)
[0, 1, 2, 3, 4]
>>> X_train, X_test, y_train, y_test = train_test_split(
... X, y, test_size=0.33, random_state=42)
...
>>> X_train
array([[4, 5],
[0, 1],
[6, 7]])
>>> y_train
[2, 0, 3]
>>> X_test
array([[2, 3],
[8, 9]])
>>> y_test
[1, 4]
>>> train_test_split(y, shuffle=False)
[[0, 1, 2], [3, 4]]
| def __repr__(self):
return _build_repr(self)
| (*arrays, test_size=None, train_size=None, random_state=None, shuffle=True, stratify=None) | [
0.014098386280238628,
-0.06989813596010208,
0.05490057170391083,
0.03174257650971413,
0.017169153317809105,
-0.04363543912768364,
-0.003891476895660162,
-0.006099121179431677,
0.06094031408429146,
-0.0188148133456707,
-0.02290351502597332,
0.004788530990481377,
0.0015152371488511562,
0.05839547887444496,
-0.030130846425890923,
0.03701886534690857,
0.022173995152115822,
-0.08530286699533463,
-0.011256653815507889,
0.020239921286702156,
0.0036475968081504107,
0.016812875866889954,
0.050489526242017746,
-0.004470426589250565,
0.002733576809987426,
0.02149537205696106,
-0.025482280179858208,
-0.0003923287149518728,
-0.017712051048874855,
-0.0151078375056386,
-0.06056707352399826,
-0.06904985755681992,
0.014802456833422184,
-0.004419530276209116,
0.010136925615370274,
0.016397221013903618,
-0.04563737288117409,
0.02996119111776352,
-0.018356742337346077,
-0.017559360712766647,
0.03230243921279907,
-0.019238952547311783,
-0.0055901543237268925,
-0.04675710201263428,
-0.01660929061472416,
-0.015786459669470787,
0.07335910946130753,
0.006417225580662489,
-0.03337126970291138,
-0.07505566626787186,
0.02507510781288147,
0.05076097697019577,
-0.022275788709521294,
0.007134020794183016,
-0.07322338223457336,
0.021393580362200737,
0.040038738399744034,
0.035695552825927734,
0.02670380100607872,
0.032658714801073074,
-0.08123113214969635,
0.03459278866648674,
0.03657776117324829,
-0.041226327419281006,
0.001697617000900209,
-0.015803424641489983,
-0.05507022887468338,
0.008440369740128517,
-0.001694435952231288,
0.01878088153898716,
0.005636809393763542,
0.003834218019619584,
-0.017338808625936508,
0.02510903775691986,
-0.011833482421934605,
-0.032149747014045715,
-0.010705272667109966,
0.017627224326133728,
0.0329301655292511,
-0.06287439167499542,
-0.009568579494953156,
0.02619483508169651,
-0.0014643404865637422,
0.0052211531437933445,
0.020867647603154182,
-0.07206972688436508,
-0.007392745465040207,
0.005115118343383074,
-0.03644203767180443,
0.036238450556993484,
-0.03362575173377991,
0.030266569927334785,
-0.03343913331627846,
0.025957316160202026,
-0.04577310010790825,
-0.018085293471813202,
0.006625053938478231,
-0.05405229702591896,
0.06049920991063118,
-0.016846807673573494,
0.013038038276135921,
0.027636907994747162,
-0.04689282551407814,
-0.014047489501535892,
-0.049335867166519165,
-0.005971879232674837,
-0.041769225150346756,
0.02782353013753891,
-0.03766355663537979,
0.009797614999115467,
-0.01805136352777481,
0.06385838985443115,
0.007668436039239168,
-0.018068328499794006,
0.021037302911281586,
-0.04373722895979881,
-0.033591821789741516,
-0.0008048040908761322,
0.06334942579269409,
-0.01856032945215702,
-0.024379519745707512,
-0.0024218347389250994,
-0.04892869293689728,
-0.0012162190396338701,
-0.029282568022608757,
0.04526413232088089,
-0.03932618349790573,
-0.0005524412845261395,
-0.005182980559766293,
-0.10552582144737244,
0.02348034456372261,
-0.0075751254335045815,
-0.0466892383992672,
0.013869350776076317,
0.059040170162916183,
0.0022627825383096933,
0.02395538054406643,
-0.016736531630158424,
0.006926192436367273,
0.13287432491779327,
0.009704303927719593,
-0.03208188712596893,
0.0329301655292511,
0.06158500537276268,
-0.0412602573633194,
-0.03423651307821274,
0.024837588891386986,
0.09100329875946045,
0.0048776003532111645,
-0.01928984932601452,
0.02293744683265686,
0.024413449689745903,
0.0755985677242279,
-0.013462177477777004,
0.008079851046204567,
0.026585042476654053,
0.0023157999385148287,
-0.01823798380792141,
0.04139598086476326,
-0.020969441160559654,
-0.034066855907440186,
-0.040547702461481094,
0.01830584555864334,
-0.030741605907678604,
0.001241667428985238,
0.037901077419519424,
0.022377582266926765,
-0.08238479495048523,
-0.006849847733974457,
0.02130875177681446,
-0.017491498962044716,
-0.10552582144737244,
-0.06674253940582275,
0.035254448652267456,
-0.04468730092048645,
0.056936442852020264,
0.006633536424487829,
0.12982051074504852,
-0.034355271607637405,
0.0061839488334953785,
0.039088666439056396,
-0.059752725064754486,
-0.08496356010437012,
-0.002092066453769803,
0.06759081780910492,
-0.04288895055651665,
0.036340244114398956,
-0.009220785461366177,
0.034389205276966095,
0.0075751254335045815,
0.007600573822855949,
0.0006181828211992979,
0.0026635939721018076,
0.006345122121274471,
-0.035220514982938766,
-0.0535433292388916,
-0.02264903113245964,
-0.0437711626291275,
0.001015813322737813,
0.03555982932448387,
-0.01788170635700226,
0.018679087981581688,
-0.013462177477777004,
0.016558393836021423,
0.018356742337346077,
0.003719700500369072,
-0.019205020740628242,
-0.03404989093542099,
0.06396018713712692,
-0.045433785766363144,
0.004158684518188238,
0.0018397036474198103,
0.01134148146957159,
0.006277259439229965,
0.030894296243786812,
-0.046621378511190414,
-0.05547740310430527,
-0.020799783989787102,
-0.0629422515630722,
0.019493436440825462,
0.035729482769966125,
-0.012673278339207172,
-0.012342449277639389,
-0.041667431592941284,
-0.06752295792102814,
-0.007799919229000807,
0.015913700684905052,
-0.009254716336727142,
-0.0023136790841817856,
-0.021868614479899406,
0.019205020740628242,
-0.06270473450422287,
-0.002648749155923724,
0.008648197166621685,
0.007392745465040207,
0.026975251734256744,
-0.038545768707990646,
0.024837588891386986,
-0.01616818457841873,
0.02880753204226494,
-0.02037564478814602,
0.021189993247389793,
0.035797346383333206,
-0.0029498878866434097,
0.038952939212322235,
-0.032794442027807236,
0.020053299143910408,
0.06904985755681992,
-0.019052330404520035,
-0.015574390068650246,
0.010450788773596287,
-0.06226363033056259,
-0.027127940207719803,
-0.009118991903960705,
0.05018414556980133,
-0.05944734439253807,
-0.03773142024874687,
-0.012461208738386631,
0.05072704330086708,
0.04190494865179062,
0.0013636074727401137,
0.016846807673573494,
0.014301972463726997,
0.05001449212431908,
0.03445706516504288,
0.023157998919487,
-0.0629761815071106,
0.019272884353995323,
0.004046287853270769,
0.0294861551374197,
0.11780889332294464,
0.012673278339207172,
-0.04913228005170822,
0.05510415881872177,
-0.036849211901426315,
-0.0242437943816185,
-0.007791436277329922,
-0.005539257545024157,
-0.06854088604450226,
-0.06609784811735153,
0.01715218834578991,
-0.030979124829173088,
0.000014844870747765526,
0.01801743172109127,
-0.0010152831673622131,
-0.0197139885276556,
0.003480061888694763,
0.029689742252230644,
0.016346324235200882,
0.0016636858927085996,
0.07430918514728546,
0.04634992778301239,
0.01485335361212492,
0.02855304814875126,
0.06955882161855698,
-0.024905452504754066,
0.0030431984923779964,
0.03650989755988121,
-0.0336596854031086,
0.021037302911281586,
0.007295193616300821,
-0.04808041453361511,
0.05238967016339302,
0.05310222506523132,
-0.033880237489938736,
0.0017304877983406186,
-0.005797982215881348,
0.05931162089109421,
0.016795910894870758,
-0.004078098107129335,
0.0044322544708848,
0.038952939212322235,
0.02500724606215954,
0.07919526845216751,
0.0034694583155214787,
-0.0065996055491268635,
-0.003827855922281742,
-0.03650989755988121,
0.05008235201239586,
0.07661649584770203,
-0.03756176307797432,
0.018475502729415894,
-0.020799783989787102,
0.030945193022489548,
0.02999512106180191,
-0.03827431797981262,
-0.01805136352777481,
0.03427044302225113,
0.02185164950788021,
0.03216671571135521,
-0.00928016472607851,
-0.05035380274057388,
0.020324748009443283,
0.03576341271400452,
-0.003908442333340645,
-0.01168927550315857,
0.029503120109438896,
-0.008045920170843601,
-0.04512840881943703,
-0.06745509058237076,
0.06175466254353523,
0.04526413232088089,
-0.037392109632492065,
-0.015565907582640648,
-0.016227563843131065,
0.027043113484978676,
-0.01498059555888176,
0.013428245671093464,
0.028094979003071785,
0.00246424856595695,
-0.038376111537218094,
-0.0075369528494775295,
0.021359648555517197,
0.008092575706541538,
-0.026110006496310234,
-0.008779680356383324,
-0.027077043429017067,
0.02731456235051155,
-0.04421226680278778,
0.030419260263442993,
0.06355301290750504,
0.002483334857970476,
-0.02258116938173771,
0.01856032945215702,
-0.035729482769966125,
-0.014157765544950962,
-0.015981564298272133,
-0.010026649571955204,
0.05059131979942322,
-0.005742844194173813,
-0.04085308313369751,
-0.010857963003218174,
-0.03576341271400452,
-0.03986908122897148,
-0.025634970515966415,
0.04092094674706459,
-0.023836620151996613,
0.026110006496310234,
-0.030894296243786812,
-0.0604313500225544,
0.054764848202466965,
0.01335190050303936,
0.0051617734134197235,
0.018729984760284424,
0.00962795875966549,
-0.023938413709402084,
0.03535624220967293,
0.050421662628650665,
0.01336886640638113,
-0.015947632491588593,
-0.05927769094705582,
-0.0134791424497962,
-0.009135957807302475,
0.01766115427017212,
-0.04295681416988373,
-0.06704791635274887,
0.06287439167499542,
-0.006926192436367273,
-0.07736298441886902,
-0.013954178430140018,
0.041701361536979675,
0.005738602951169014,
-0.004572220146656036,
-0.007638746406883001,
0.0021440235432237387,
0.0045425305142998695,
0.0336596854031086,
0.02887539379298687,
-0.006141535006463528,
-0.03712065890431404,
0.01089189387857914,
-0.012944727204740047,
-0.08435279875993729,
-0.06752295792102814,
0.04696068912744522,
-0.02571979910135269,
-0.02022295445203781,
0.0003448781499173492,
0.006557191256433725,
-0.013122865930199623,
-0.017135221511125565,
0.053746916353702545,
0.046315997838974,
0.041701361536979675,
-0.022055236622691154,
0.04916621372103691,
-0.027195803821086884,
0.029316499829292297,
0.045569512993097305,
0.01964612677693367,
-0.04723213613033295,
-0.011646861210465431,
0.017830809578299522,
-0.003051681211218238,
0.032658714801073074,
-0.08319913595914841,
-0.0002796667686197907,
-0.056461405009031296,
-0.02500724606215954,
0.07437704503536224,
0.030232639983296394,
-0.018170122057199478,
0.01856032945215702,
-0.013776039704680443,
0.024226829409599304,
-0.005395050160586834,
-0.0419728122651577,
-0.008207092992961407,
0.0437711626291275,
-0.020681025460362434,
0.03416864946484566,
0.05110028758645058,
0.03610272705554962,
-0.029146842658519745,
-0.02181771956384182,
-0.037935007363557816,
-0.027195803821086884,
-0.0492001436650753,
-0.010391409508883953,
0.015031492337584496,
-0.03126753866672516,
0.028451254591345787,
-0.025482280179858208,
0.009034164249897003,
-0.0051744976080954075,
-0.01269872672855854,
0.04682496562600136,
0.01939164288341999,
-0.08923888206481934,
-0.0030135088600218296,
0.05110028758645058,
0.0004254645900800824,
-0.026754697784781456,
-0.03644203767180443,
-0.03031746670603752,
0.05181283876299858,
-0.035118721425533295,
-0.0036539589054882526,
-0.041769225150346756,
-0.04981090500950813,
-0.07444490492343903,
-0.06535135954618454,
-0.02996119111776352,
-0.005055738613009453,
-0.035220514982938766,
0.031386297196149826,
0.02565193735063076,
0.03340519964694977,
0.021139096468687057,
0.0010847359662875533,
-0.009492234326899052,
0.07206972688436508,
-0.07722725719213486,
0.010824031196534634,
0.004614633973687887,
0.030402295291423798,
-0.012842933647334576,
-0.020239921286702156,
-0.03912259638309479,
-0.042855020612478256,
0.01101913582533598,
-0.021919511258602142,
0.024006277322769165,
0.006039741914719343,
0.03158988431096077,
-0.006510536186397076,
0.06202611327171326,
0.04584095999598503,
-0.005679223220795393,
-0.035186585038900375,
0.03752783313393593,
-0.044958751648664474,
0.03620452061295509,
-0.015362320467829704,
-0.005700430367141962,
-0.0408870168030262,
-0.014895767904818058,
0.019221987575292587,
-0.028722703456878662,
-0.0004930617869831622,
0.05408622696995735,
0.010145409032702446,
-0.04791076108813286,
-0.036781348288059235,
-0.044890888035297394,
0.06056707352399826,
-0.005390808917582035,
0.023005308583378792,
-0.029825465753674507,
0.05771685764193535,
0.01726246438920498,
-0.010832514613866806,
0.025889454409480095,
0.015345354564487934,
-0.04685889557003975,
0.07973816245794296,
-0.07213758677244186,
0.04804648458957672,
-0.02427772618830204,
0.03650989755988121,
0.025448350235819817,
-0.020782819017767906,
-0.023174963891506195,
-0.03773142024874687,
-0.0005784197710454464,
-0.016482047736644745,
0.019663091748952866,
-0.006247569806873798,
0.0065402258187532425,
-0.02507510781288147,
0.010900376364588737,
-0.024617036804556847,
0.017898673191666603,
0.0061585004441440105,
0.020647093653678894,
0.0698302686214447,
0.01463280152529478,
0.029825465753674507,
0.018407639116048813,
0.03296409547328949,
0.006989813409745693,
0.017644189298152924,
0.044856958091259,
-0.04512840881943703,
0.028094979003071785,
0.06918557733297348,
0.003038957016542554,
0.049369797110557556,
-0.02843428961932659,
-0.03118271194398403,
-0.002879904815927148,
-0.014997560530900955,
0.02829856425523758,
0.024481313303112984,
-0.016057908535003662,
0.03966549411416054,
0.0027505424804985523,
0.034609757363796234,
0.002557559171691537,
-0.03398203104734421,
-0.03445706516504288,
0.00014221917081158608,
-0.008037436753511429,
-0.03664562478661537,
-0.045501649379730225,
-0.011477205902338028,
-0.044992681592702866,
0.009704303927719593,
0.01957826316356659,
-0.054255880415439606,
-0.012596933171153069,
-0.011061549186706543,
-0.01052713394165039,
-0.011222722008824348,
0.05574885010719299,
-0.051609255373477936,
-0.016414185985922813,
-0.013071969151496887,
0.007422435563057661,
0.021257854998111725,
0.01903536543250084,
0.01750846393406391,
0.02456614002585411,
0.021987374871969223,
0.03430437669157982,
-0.019595229998230934,
0.044958751648664474,
0.024142000824213028,
-0.03230243921279907,
0.008839060552418232,
-0.024396484717726707,
0.0179156381636858,
0.004504357930272818,
-0.06036348640918732,
-0.022021304816007614,
-0.05456126108765602,
-0.020884612575173378,
0.03532230854034424,
-0.03600093349814415,
0.04967517778277397,
0.020833715796470642,
0.02597428299486637,
-0.055341679602861404,
0.03181043639779091,
-0.024667933583259583,
0.002990181092172861,
0.024956349283456802,
-0.03203098848462105,
0.05714002996683121,
0.008406437933444977,
0.05456126108765602,
0.03505086153745651,
0.00011796370381489396,
-0.06250114738941193,
-0.04746965691447258,
-0.02945222333073616,
0.019697023555636406,
0.033591821789741516,
-0.009789131581783295,
0.05540953949093819,
0.02069799043238163,
-0.0423460528254509,
-0.07736298441886902,
-0.014013557694852352,
-0.02348034456372261,
0.01646508276462555,
-0.03111484833061695,
-0.05564706027507782,
0.010510168969631195,
-0.03053802065551281,
-0.03664562478661537,
0.03325251117348671,
0.0012713571777567267,
0.006073672790080309,
-0.018763916566967964,
0.017211567610502243,
-0.014378317631781101,
0.03766355663537979,
-0.04516233876347542,
0.014174730516970158,
-0.02040957659482956,
-0.018034396693110466,
-0.011697757989168167,
-0.045060545206069946,
0.04248178005218506,
0.06616570800542831,
-0.023022273555397987,
0.010450788773596287,
0.006162742152810097,
-0.04027625545859337,
-0.005441705696284771,
0.01616818457841873,
-0.04624813422560692,
-0.02609304152429104,
-0.06877841055393219,
-0.0022500583436340094,
-0.002691162982955575,
0.020019369199872017,
0.02102033793926239,
-0.01722853258252144,
0.009398924186825752,
0.015684666112065315,
-0.05846334248781204,
-0.03379540890455246,
0.02370089665055275,
0.03427044302225113,
-0.01440376602113247,
0.02200433984398842,
-0.0001636912056710571,
-0.10138622671365738,
-0.05490057170391083,
-0.017033427953720093,
-0.006502053234726191,
0.015939150005578995,
0.04071735963225365,
0.005119359586387873,
0.002201282186433673,
-0.11346571147441864,
0.046078477054834366,
-0.013793005608022213,
0.040004804730415344,
0.02789139188826084,
0.014641284011304379,
0.004661289509385824,
0.04641779139637947,
0.043296124786138535,
0.027043113484978676,
0.006646260619163513,
0.01123120542615652,
-0.0033125269692391157,
0.029045049101114273,
0.12968479096889496,
0.00018463308515492827,
-0.05612209439277649,
-0.002500300295650959,
-0.028960222378373146,
0.0437711626291275,
0.02616090327501297,
-0.03610272705554962,
0.011044584214687347,
-0.01087492797523737,
0.02254723757505417,
0.06290832161903381,
0.0016647462034597993,
0.011621412821114063,
0.09772166609764099,
-0.06667467951774597,
-0.061279624700546265,
-0.024905452504754066,
-0.022767789661884308,
-0.004983635153621435,
0.03477941080927849,
-0.040106598287820816,
-0.015489562414586544,
0.0048776003532111645,
-0.029367396607995033,
0.014997560530900955,
-0.0045679789036512375,
0.015591355971992016,
0.022733859717845917,
0.0049284971319139,
0.0024536449927836657,
-0.00703646894544363,
0.027382424101233482,
0.012842933647334576,
0.016363289207220078,
0.02232668548822403,
0.05999024212360382,
-0.008889957331120968,
0.03072464093565941,
0.040004804730415344,
0.034423135221004486,
-0.01156203355640173,
0.027043113484978676,
0.05907410383224487,
-0.014921215362846851,
0.014675214886665344,
0.03152202442288399,
0.014581904746592045,
-0.04417833685874939,
-0.061313558369874954,
-0.036170586943626404,
0.011969206854701042,
0.019306814298033714,
-0.03613665699958801,
0.07654863595962524,
-0.005170256365090609,
0.01414928212761879
] |
18,122 | imodels.util.convert | tree_to_code | Prints a tree with a single split
| def tree_to_code(clf, feature_names):
'''Prints a tree with a single split
'''
n_nodes = clf.tree_.node_count
children_left = clf.tree_.children_left
children_right = clf.tree_.children_right
feature = clf.tree_.feature
threshold = clf.tree_.threshold
node_depth = np.zeros(shape=n_nodes, dtype=np.int64)
is_leaves = np.zeros(shape=n_nodes, dtype=bool)
stack = [(0, 0)] # start with the root node id (0) and its depth (0)
s = ''
while len(stack) > 0:
# `pop` ensures each node is only visited once
node_id, depth = stack.pop()
node_depth[node_id] = depth
# If the left and right child of a node is not the same we have a split
# node
is_split_node = children_left[node_id] != children_right[node_id]
# If a split node, append left and right children and depth to `stack`
# so we can loop through them
if is_split_node:
stack.append((children_left[node_id], depth + 1))
stack.append((children_right[node_id], depth + 1))
else:
is_leaves[node_id] = True
# print("The binary tree structure has {n} nodes and has "
# "the following tree structure:\n".format(n=n_nodes))
for i in range(n_nodes):
if is_leaves[i]:
pass
# print("{space}node={node} is a leaf node.".format(
# space=node_depth[i] * "\t", node=i))
else:
s += f"{feature_names[feature[i]]} <= {threshold[i]}"
return f"\033[96m{s}\033[00m\n"
| (clf, feature_names) | [
0.029834933578968048,
-0.01612524688243866,
0.03483200818300247,
-0.012096240185201168,
0.007412635255604982,
-0.02693995088338852,
-0.017720254138112068,
0.013045868836343288,
0.00477119255810976,
-0.037026297301054,
0.03263772279024124,
-0.004886438604444265,
0.008509778417646885,
-0.003544972976669669,
-0.04137799143791199,
-0.017203951254487038,
0.052183475345373154,
-0.03331997990608215,
-0.003342139534652233,
0.04521338641643524,
-0.012621763162314892,
0.017028776928782463,
0.03232425078749657,
0.0007577437208965421,
0.002705980557948351,
-0.00038636286626569927,
-0.015940852463245392,
-0.008754100650548935,
-0.023049239069223404,
-0.03682346269488335,
-0.0646853819489479,
-0.05163029581308365,
-0.06741441041231155,
-0.047684263437986374,
-0.04757362976670265,
0.008219358511269093,
0.031291645020246506,
0.05992801859974861,
-0.012216096743941307,
-0.04041914641857147,
-0.039718449115753174,
-0.07025407999753952,
-0.07313062250614166,
-0.01601461134850979,
-0.06239889934659004,
-0.019250724464654922,
0.0416361428797245,
-0.005098491441458464,
-0.030240600928664207,
-0.055060021579265594,
0.01699189841747284,
-0.05336359515786171,
0.013377778232097626,
0.05181468650698662,
0.0006615131278522313,
-0.024764101952314377,
0.07567525655031204,
-0.03387315943837166,
0.0753064751625061,
0.0015396891394630075,
0.01778479292988777,
0.07047535479068756,
0.01283381599932909,
0.035735540091991425,
-0.023694617673754692,
-0.011091293767094612,
-0.029060479253530502,
0.00706689665094018,
-0.03887023404240608,
0.010980657301843166,
-0.013792664743959904,
-0.019471997395157814,
0.052404750138521194,
0.0726511999964714,
0.02504069358110428,
0.006527544464915991,
-0.020043617114424706,
-0.032047662883996964,
0.04307441785931587,
0.029281752184033394,
-0.012566444464027882,
-0.01406925544142723,
0.04019787162542343,
0.009477847255766392,
0.006103438325226307,
-0.04705732688307762,
0.038095779716968536,
0.02693995088338852,
-0.0024063405580818653,
0.007301998790353537,
-0.028931403532624245,
0.027659086510539055,
0.03136540204286575,
0.04901190102100372,
-0.03191858530044556,
0.0065736426040530205,
0.03934966027736664,
0.0069424305111169815,
-0.0535111129283905,
-0.034002237021923065,
0.0456928089261055,
0.06686123460531235,
-0.037284448742866516,
0.020854951813817024,
-0.053658626973629,
0.03068314678966999,
-0.032858993858098984,
0.0627308040857315,
-0.000770420825574547,
-0.055686961859464645,
-0.06756192445755005,
-0.0025722950231283903,
0.048200566321611404,
-0.016051489859819412,
0.0363255999982357,
-0.07132356613874435,
-0.0004537818895187229,
-0.009662240743637085,
-0.05244162678718567,
-0.05081896111369133,
0.025888904929161072,
-0.02924487367272377,
-0.012289853766560555,
-0.013442316092550755,
-0.05539193004369736,
0.026276132091879845,
0.10392440855503082,
0.04908565804362297,
-0.048421841114759445,
-0.06936898827552795,
0.037745434790849686,
0.033891599625349045,
-0.05583447590470314,
0.038796477019786835,
0.044918354600667953,
-0.06914771348237991,
-0.05417492985725403,
-0.003252247581258416,
0.03184482827782631,
-0.03344905376434326,
0.02601798065006733,
-0.11181646585464478,
0.0027036757674068213,
0.0017863159300759435,
0.012787717394530773,
0.008343824185431004,
-0.0008470595348626375,
-0.00006659069185843691,
0.0034596906043589115,
-0.01862378418445587,
0.007366536650806665,
-0.024266237393021584,
-0.001986844465136528,
-0.05358486995100975,
0.06380029022693634,
0.027843480929732323,
0.021942874416708946,
-0.0642797127366066,
0.027585329487919807,
0.004729703534394503,
0.017277708277106285,
-0.01043669506907463,
0.008279286324977875,
0.005808407906442881,
0.02705058641731739,
0.03309870511293411,
-0.027069026604294777,
-0.020006738603115082,
-0.0795106515288353,
0.014631656929850578,
0.01637417823076248,
-0.008671123534440994,
-0.08400986343622208,
0.099203921854496,
0.007089945953339338,
0.02157408744096756,
0.012492687441408634,
0.06837326288223267,
0.012677080929279327,
0.04204181209206581,
0.029558343812823296,
0.019306041300296783,
-0.011377104558050632,
0.006859453395009041,
0.0004108526627533138,
-0.059669867157936096,
0.040124114602804184,
0.005024733953177929,
0.037874508649110794,
0.026792434975504875,
0.00008060030813794583,
-0.02140813320875168,
0.024081844836473465,
0.023860571905970573,
0.04469708353281021,
-0.03669438883662224,
-0.01165369525551796,
-0.016899701207876205,
0.0056931618601083755,
-0.03197390213608742,
0.05303168669342995,
0.039718449115753174,
0.04366447776556015,
0.006246343720704317,
-0.01645715720951557,
0.04477084055542946,
-0.03813266009092331,
0.05317920446395874,
-0.0034804351162165403,
-0.02157408744096756,
0.040529780089855194,
-0.034868888556957245,
0.020062057301402092,
0.053658626973629,
0.013617490418255329,
-0.016927361488342285,
-0.002701370744034648,
0.06003865599632263,
-0.03684190288186073,
-0.02981649525463581,
0.0046236771158874035,
0.017794013023376465,
0.00044196913950145245,
0.02352866344153881,
-0.013608270324766636,
-0.02821226790547371,
0.05542881041765213,
-0.014843709766864777,
0.05531817302107811,
-0.03726600855588913,
-0.011331005953252316,
-0.07372068613767624,
-0.03190014511346817,
-0.050966475158929825,
-0.028747010976076126,
-0.008468289859592915,
0.04296378046274185,
-0.05764153599739075,
-0.03894399479031563,
-0.03068314678966999,
0.0038330883253365755,
-0.016226664185523987,
-0.002586124464869499,
-0.0389808714389801,
0.035495828837156296,
0.002844276139512658,
0.042668748646974564,
-0.020891830325126648,
-0.03005620650947094,
0.017397565767169,
-0.06660307943820953,
-0.06346838176250458,
-0.009003032930195332,
-0.012354391627013683,
0.020062057301402092,
-0.04041914641857147,
-0.012308293022215366,
0.027271859347820282,
0.014382724650204182,
0.06542295962572098,
-0.014806831255555153,
-0.061292536556720734,
0.017545079812407494,
0.05590823292732239,
0.019859224557876587,
-0.03957093134522438,
-0.014806831255555153,
-0.015738019719719887,
0.06715626269578934,
-0.06265705078840256,
0.0011415135813876987,
0.009588482789695263,
-0.021758481860160828,
0.007048456929624081,
-0.028544176369905472,
-0.03791138902306557,
-0.04027162864804268,
-0.0064399573020637035,
-0.022459177300333977,
-0.016659989953041077,
0.016650769859552383,
-0.08991046994924545,
-0.0582684762775898,
0.04757362976670265,
-0.03820641711354256,
0.0061080483719706535,
-0.015258596278727055,
-0.030480312183499336,
0.01188418734818697,
-0.04808993265032768,
-0.0211684200912714,
0.04019787162542343,
0.030369676649570465,
0.03759791702032089,
0.049343809485435486,
-0.01954575441777706,
0.016106808558106422,
-0.037579476833343506,
-0.009570043534040451,
-0.007776813115924597,
-0.018310315907001495,
-0.014908247627317905,
0.0687420517206192,
-0.06523856520652771,
0.022016633301973343,
0.012289853766560555,
-0.011091293767094612,
-0.017572740092873573,
-0.050155144184827805,
-0.00010681881394702941,
-0.020670557394623756,
0.02900516241788864,
0.08378858864307404,
-0.025059131905436516,
0.0006834099185653031,
-0.0343710258603096,
0.0416361428797245,
-0.055170658975839615,
0.06324710696935654,
0.022920163348317146,
-0.016245102509856224,
-0.029152676463127136,
0.00558252539485693,
0.03483200818300247,
0.0350717231631279,
-0.052183475345373154,
0.05399053543806076,
-0.015931634232401848,
0.048200566321611404,
0.0029410829301923513,
-0.02428467757999897,
0.02225634455680847,
0.07147108018398285,
-0.01122036948800087,
0.024727223441004753,
0.009127498604357243,
-0.014087694697082043,
0.013027429580688477,
-0.0753064751625061,
-0.0350717231631279,
-0.0026483575347810984,
-0.006605911534279585,
-0.01764649711549282,
0.049933869391679764,
-0.005490328650921583,
0.04041914641857147,
-0.03466605395078659,
0.03905462846159935,
0.03121788799762726,
0.04827432334423065,
-0.009800536558032036,
-0.0065736426040530205,
-0.019932981580495834,
0.03466605395078659,
-0.0363255999982357,
-0.03249020501971245,
0.03667594864964485,
-0.008523608557879925,
-0.009394869208335876,
-0.0033859331160783768,
0.059669867157936096,
-0.043922629207372665,
0.00963458139449358,
0.025538556277751923,
0.012068580836057663,
-0.06634493172168732,
-0.011423202231526375,
0.04270562902092934,
0.06523856520652771,
-0.031070373952388763,
0.008998422883450985,
0.004554529674351215,
-0.022643571719527245,
-0.017056437209248543,
-0.06973777711391449,
0.07099165767431259,
-0.027327178046107292,
-0.02740093506872654,
-0.00897076353430748,
0.006356980185955763,
-0.0053243739530444145,
0.02317831479012966,
0.05472811311483383,
-0.018365632742643356,
0.005780749022960663,
-0.05487562716007233,
0.02734561637043953,
-0.015452209860086441,
0.0155444061383605,
-0.03748728334903717,
-0.05830535292625427,
0.04713108390569687,
-0.02393432892858982,
0.01829187572002411,
-0.061292536556720734,
-0.03051719255745411,
0.008629634976387024,
-0.009039911441504955,
-0.0255016777664423,
0.02284640446305275,
-0.009436358697712421,
0.019416678696870804,
-0.032619282603263855,
-0.05115086957812309,
0.014189111068844795,
0.036878783255815506,
0.003185404697433114,
0.02542792074382305,
-0.006135707255452871,
-0.013110406696796417,
0.022772647440433502,
0.04584032669663429,
-0.0016169040463864803,
-0.0019338311394676566,
0.007205191999673843,
-0.006338540464639664,
0.0462459921836853,
0.06892644613981247,
0.002565380185842514,
-0.041673023253679276,
-0.0052460068836808205,
0.007288169115781784,
-0.008325384929776192,
0.02048616297543049,
0.02531728334724903,
0.029964009299874306,
0.003584156511351466,
0.005697771906852722,
0.028415100648999214,
0.06029680743813515,
-0.046799175441265106,
-0.03201078251004219,
-0.04746299237012863,
-0.026718677952885628,
0.020228011533617973,
-0.011275687254965305,
-0.03230581432580948,
0.0291342381387949,
0.04211556911468506,
0.04702044650912285,
-0.0002734215813688934,
0.029318630695343018,
0.028747010976076126,
-0.05063456669449806,
0.021242178976535797,
0.011478520929813385,
-0.03816954046487808,
0.002225403906777501,
-0.04159926623106003,
-0.02474566176533699,
0.04602472111582756,
0.030369676649570465,
-0.0012515736743807793,
0.009371820837259293,
0.006306271534413099,
-0.00710838520899415,
0.031402282416820526,
0.04311129450798035,
0.05657204985618591,
0.051704052835702896,
-0.01254800520837307,
0.036417797207832336,
0.0609237477183342,
0.10901367664337158,
0.03938653692603111,
-0.08312477171421051,
0.06103438511490822,
0.004978635348379612,
-0.02907891944050789,
-0.03529299423098564,
0.0793631374835968,
-0.02658960223197937,
-0.008034964092075825,
-0.00021522225870285183,
0.05052392929792404,
0.06534919887781143,
-0.04949132353067398,
-0.0683363825082779,
-0.06177195906639099,
-0.025520116090774536,
-0.05852662771940231,
0.00015889569476712495,
-0.015479868277907372,
-0.013073528185486794,
-0.014023156836628914,
-0.0011386324185878038,
0.0009951508836820722,
0.0017275403952226043,
0.028120070695877075,
-0.053658626973629,
-0.07305686920881271,
-0.019250724464654922,
-0.03695254027843475,
-0.009496286511421204,
0.005508767906576395,
0.030369676649570465,
0.003969078883528709,
0.00025267727323807776,
-0.04982323572039604,
-0.04447581246495247,
-0.0030401945114135742,
0.01843017153441906,
-0.026442086324095726,
-0.05860038474202156,
0.01647559553384781,
0.041968055069446564,
0.07272496074438095,
0.030554071068763733,
-0.048827506601810455,
0.02583358623087406,
-0.012990551069378853,
-0.08349356055259705,
-0.01006790716201067,
0.01785854995250702,
-0.04388574883341789,
0.04650414362549782,
-0.002553855534642935,
0.06601301580667496,
0.006292442325502634,
0.03617808595299721,
-0.02092870883643627,
-0.05513377860188484,
-0.010298400186002254,
-0.017950747162103653,
0.0019119343487545848,
0.05266290158033371,
0.024874737486243248,
0.05144590139389038,
-0.004029006697237492,
0.011911846697330475,
-0.003934504929929972,
0.013682028278708458,
0.05376926437020302,
0.030369676649570465,
-0.02059680037200451,
0.031697314232587814,
0.04849559813737869,
0.0057392604649066925,
0.05244162678718567,
-0.005817627999931574,
0.03138384222984314,
-0.00963458139449358,
-0.044217657297849655,
0.03438946232199669,
-0.024303117766976357,
0.018798958510160446,
0.033375296741724014,
-0.0015903974417597055,
0.01653091423213482,
0.015894755721092224,
0.029742738232016563,
0.04344320297241211,
-0.006246343720704317,
-0.004425453953444958,
0.07088101655244827,
0.031586676836013794,
0.024782542139291763,
0.005130760371685028,
0.03743196278810501,
-0.006398468744009733,
-0.045545294880867004,
0.04377511516213417,
0.05008138716220856,
-0.05889541283249855,
0.017231611534953117,
0.025132888928055763,
-0.01321182306855917,
0.052921053022146225,
-0.03957093134522438,
-0.05255226418375969,
0.07268808037042618,
0.007573979906737804,
0.05151965841650963,
-0.016272762790322304,
-0.06372653692960739,
0.027898797765374184,
-0.02797255665063858,
0.01891881413757801,
-0.0333937369287014,
0.026276132091879845,
-0.03599369153380394,
0.0024063405580818653,
-0.03499796241521835,
-0.0010176239302381873,
-0.0000014270719930209452,
0.03005620650947094,
-0.04477084055542946,
-0.009505505673587322,
-0.0033790182787925005,
-0.007325048092752695,
-0.03392847999930382,
-0.037173811346292496,
0.04716796055436134,
-0.016890481114387512,
0.031863268464803696,
-0.01473307330161333,
-0.04170990362763405,
0.04584032669663429,
0.017406783998012543,
-0.030369676649570465,
-0.00968990009278059,
-0.023897450417280197,
-0.004766582511365414,
0.0423368401825428,
0.0396815687417984,
-0.036030568182468414,
0.03964468836784363,
-0.03547738865017891,
-0.04506587237119675,
0.024321556091308594,
0.00043534248834475875,
0.028599495068192482,
0.06505417078733444,
-0.03547738865017891,
-0.03540363162755966,
0.02705058641731739,
0.020449284464120865,
-0.030941298231482506,
0.02583358623087406,
-0.017876990139484406,
0.03501640260219574,
0.007278949487954378,
-0.0271059051156044,
-0.012704740278422832,
-0.010224642232060432,
-0.013045868836343288,
-0.00897076353430748,
-0.07128668576478958,
0.006089608650654554,
-0.017028776928782463,
-0.014207550324499607,
-0.0384276919066906,
0.013995497487485409,
-0.0940408930182457,
-0.013359338976442814,
0.011312566697597504,
0.007182142697274685,
0.01560894399881363,
-0.03566178306937218,
0.0002518129185773432,
-0.05590823292732239,
-0.061624445021152496,
-0.03816954046487808,
-0.043000660836696625,
0.018817398697137833,
-0.0887303501367569,
-0.018089042976498604,
0.01826421730220318,
0.062030110508203506,
-0.004411624278873205,
-0.026257691904902458,
0.04097232595086098,
-0.013875641860067844,
0.026921510696411133,
-0.01401393674314022,
0.013405436649918556,
-0.018706761300563812,
0.01500044483691454,
0.031512919813394547,
-0.015940852463245392,
-0.00797964632511139,
-0.03138384222984314,
0.035274554044008255,
0.04853247478604317,
0.00849594920873642,
0.013101187534630299,
0.036878783255815506,
0.01829187572002411,
0.01225297525525093,
-0.05963299050927162,
-0.008311555720865726,
0.01886349730193615,
-0.00849594920873642,
-0.058231595903635025,
-0.037358205765485764,
-0.025188207626342773,
0.03652843460440636,
0.02498537488281727,
0.04550841823220253,
-0.012151558883488178,
0.0069885291159152985,
0.05970674753189087,
-0.0055410368368029594,
-0.042484357953071594,
0.060075536370277405,
0.009643801487982273,
-0.058858536183834076,
0.021832238882780075,
0.002929558278992772,
-0.0297611765563488,
-0.049933869391679764,
0.013322459533810616,
0.0809120461344719,
-0.015442989766597748,
-0.01699189841747284,
0.08393611013889313,
0.006854843348264694,
-0.059042930603027344,
-0.022938601672649384,
-0.011838088743388653,
0.05207283794879913,
-0.0377269946038723,
-0.04366447776556015,
0.006135707255452871,
0.007998085580766201,
-0.0009565433720126748,
-0.02802787348628044,
0.00477580213919282,
-0.010455134324729443,
-0.009735998697578907,
-0.020633678883314133,
0.03142072260379791,
-0.019859224557876587,
0.004748143255710602,
-0.038095779716968536,
0.006167976185679436,
-0.10296555608510971,
0.00874027144163847,
0.012400490231812,
-0.025944223627448082,
-0.0038630524650216103,
0.016171345487236977,
0.09455719590187073,
0.046688538044691086,
-0.03320934250950813,
0.024081844836473465,
0.06966401636600494,
-0.03783762827515602,
0.01696423999965191,
-0.04222620651125908,
-0.021500330418348312,
0.05745714157819748,
-0.06398468464612961,
-0.022403860464692116,
-0.035329874604940414,
-0.041562385857105255,
-0.00983741506934166,
-0.03442634269595146,
0.01721317134797573,
0.00874027144163847,
0.050044506788253784,
0.002772823441773653,
0.005176858976483345,
0.03545894846320152,
0.02861793525516987,
0.008998422883450985,
0.022864844650030136,
0.04683605208992958,
0.013626709580421448,
-0.011211149394512177,
0.020449284464120865,
0.03733976557850838,
-0.025077572092413902,
-0.0035818517208099365,
0.0403822660446167,
0.02157408744096756,
0.04654102399945259,
-0.005633234046399593,
-0.011109733022749424,
-0.052294112741947174,
0.006430737674236298,
0.018172020092606544,
-0.013027429580688477,
-0.025022253394126892,
0.009754437953233719,
0.03680502250790596,
-0.008228578604757786,
0.022182587534189224
] |
18,123 | imodels.util.convert | tree_to_rules |
Return a list of rules from a tree
Parameters
----------
tree : Decision Tree Classifier/Regressor
feature_names: list of variable names
Returns
-------
rules : list of rules.
| def tree_to_rules(tree: Union[DecisionTreeClassifier, DecisionTreeRegressor],
feature_names: List[str],
prediction_values: bool = False, round_thresholds=True) -> List[str]:
"""
Return a list of rules from a tree
Parameters
----------
tree : Decision Tree Classifier/Regressor
feature_names: list of variable names
Returns
-------
rules : list of rules.
"""
# XXX todo: check the case where tree is build on subset of features,
# ie max_features != None
tree_ = tree.tree_
feature_name = [
feature_names[i] if i != _tree.TREE_UNDEFINED else "undefined!"
for i in tree_.feature
]
rules = []
def recurse(node, base_name):
if tree_.feature[node] != _tree.TREE_UNDEFINED:
name = feature_name[node]
symbol = '<='
symbol2 = '>'
threshold = tree_.threshold[node]
if round_thresholds:
threshold = np.round(threshold, decimals=5)
text = base_name + ["{} {} {}".format(name, symbol, threshold)]
recurse(tree_.children_left[node], text)
text = base_name + ["{} {} {}".format(name, symbol2,
threshold)]
recurse(tree_.children_right[node], text)
else:
rule = str.join(' and ', base_name)
rule = (rule if rule != ''
else ' == '.join([feature_names[0]] * 2))
# a rule selecting all is set to "c0==c0"
if prediction_values:
rules.append((rule, tree_.value[node][0].tolist()))
else:
rules.append(rule)
recurse(0, [])
return rules if len(rules) > 0 else 'True'
| (tree: Union[sklearn.tree._classes.DecisionTreeClassifier, sklearn.tree._classes.DecisionTreeRegressor], feature_names: List[str], prediction_values: bool = False, round_thresholds=True) -> List[str] | [
-0.0012470235815271735,
-0.01652219519019127,
-0.0066107274033129215,
-0.07030485570430756,
-0.026905197650194168,
0.004058894235640764,
-0.029494013637304306,
-0.005099043715745211,
0.023872584104537964,
-0.025555314496159554,
0.019767461344599724,
0.050260018557310104,
0.01698448322713375,
-0.01635577157139778,
0.02045164816081524,
-0.03605851158499718,
0.024260906502604485,
-0.015218541957437992,
0.04907656088471413,
0.02322538010776043,
0.011631181463599205,
-0.03358064591884613,
-0.026905197650194168,
0.016642389819025993,
0.01723412051796913,
-0.026923689991235733,
-0.016235576942563057,
0.0060282438062131405,
-0.056547146290540695,
-0.00631486251950264,
-0.07337445020675659,
0.006846494507044554,
-0.054476089775562286,
-0.008936039172112942,
-0.05199822410941124,
-0.05214615538716316,
0.012306123040616512,
0.03546678274869919,
-0.009754289872944355,
0.0022132068406790495,
-0.011557215824723244,
-0.037168003618717194,
-0.06923234462738037,
0.000268849718850106,
-0.050260018557310104,
0.00771097419783473,
-0.03714951500296593,
0.02048863098025322,
0.01331391278654337,
-0.050260018557310104,
-0.002138084964826703,
0.009370590560138226,
-0.004900259431451559,
0.06464643776416779,
-0.010540180839598179,
-0.011289088055491447,
-0.0068418714217841625,
0.004169843625277281,
0.062020640820264816,
-0.042752452194690704,
0.025851180776953697,
0.07174719125032425,
-0.015948956832289696,
-0.027459943667054176,
-0.040644414722919464,
-0.03274852782487869,
-0.05181330814957619,
-0.016679374501109123,
0.000828652351628989,
0.00407969718798995,
-0.07840415090322495,
-0.03690912202000618,
0.09423291683197021,
-0.00222823116928339,
0.02975289523601532,
-0.013794692233204842,
0.04186485707759857,
-0.029734404757618904,
0.04123614355921745,
0.013692989014089108,
-0.04526730254292488,
0.024926602840423584,
0.04741232097148895,
-0.014525108970701694,
0.006282502319663763,
-0.04511937126517296,
0.02353973686695099,
0.005810968112200499,
0.025666264817118645,
-0.032434169203042984,
-0.020433157682418823,
-0.02912418358027935,
0.01768716238439083,
-0.013027293607592583,
-0.008224114775657654,
0.062020640820264816,
-0.00852922536432743,
0.0037422263994812965,
-0.05821138247847557,
-0.041384078562259674,
0.024223923683166504,
0.07470583915710449,
-0.04707947373390198,
0.024963585659861565,
0.0006269789300858974,
-0.016337279230356216,
-0.04726438969373703,
0.025851180776953697,
0.010179595090448856,
-0.019397631287574768,
-0.09393704682588577,
-0.0185285285115242,
0.034264832735061646,
-0.014950414188206196,
0.003848552703857422,
-0.07085960358381271,
-0.05835931748151779,
-0.038018617779016495,
-0.061280980706214905,
-0.08639249950647354,
0.01943461410701275,
-0.0026350452098995447,
0.01581951603293419,
0.04179089143872261,
-0.08091899752616882,
0.03724197298288345,
0.07759052515029907,
0.06102209910750389,
-0.016050660982728004,
-0.027182571589946747,
0.0001789923699107021,
0.028255080804228783,
-0.023909566923975945,
0.02267063409090042,
0.0009338230011053383,
-0.04866974800825119,
-0.0008708362001925707,
-0.009019250981509686,
0.07233892381191254,
-0.0582483671605587,
0.05140649527311325,
-0.07929174602031708,
-0.011381546035408974,
-0.040644414722919464,
-0.007012918591499329,
-0.025629281997680664,
-0.024260906502604485,
0.05466100573539734,
-0.010447722859680653,
-0.024297889322042465,
-0.017529984936118126,
0.0014238489093258977,
-0.003776898141950369,
-0.047560252249240875,
0.06923234462738037,
0.03123221918940544,
0.016568424180150032,
-0.09001684188842773,
0.023983534425497055,
0.0015336425276473165,
-0.00800221599638462,
0.0037052433472126722,
-0.07492773979902267,
-0.012565004639327526,
0.05687999352812767,
-0.008136279881000519,
0.0006732078036293387,
-0.067087322473526,
-0.0405704490840435,
0.021209802478551865,
-0.007609270978718996,
-0.046857576817274094,
-0.046968523412942886,
0.08365575224161148,
-0.0146822864189744,
-0.014247735030949116,
0.023169904947280884,
0.05351453274488449,
-0.023391803726553917,
0.07759052515029907,
0.025111518800258636,
0.013406369835138321,
-0.02596212923526764,
-0.00406120577827096,
0.009772781282663345,
-0.007942118681967258,
0.005695395637303591,
0.012213665060698986,
-0.03199037164449692,
0.03328477963805199,
0.016448229551315308,
-0.0647943764925003,
0.01673484779894352,
0.054439108818769455,
0.033173833042383194,
-0.04918751120567322,
0.013323158025741577,
0.033876512199640274,
0.022948008030653,
0.011927046813070774,
-0.0010956240585073829,
0.012934835627675056,
0.028791336342692375,
0.05658412724733353,
-0.03452371433377266,
0.028643403202295303,
-0.021394718438386917,
0.04338116571307182,
-0.02557380683720112,
-0.02642441727221012,
0.0019057848257943988,
0.031565066426992416,
-0.02024824172258377,
0.05810043588280678,
-0.008617060258984566,
0.008672534488141537,
0.0267017912119627,
0.03470863029360771,
-0.06390678137540817,
-0.04582204669713974,
-0.05077778175473213,
0.002681273967027664,
0.0437140129506588,
0.011455511674284935,
0.04031156748533249,
-0.025240959599614143,
0.01670711115002632,
-0.015764042735099792,
0.04375099390745163,
0.01536647416651249,
0.015745550394058228,
-0.10096383839845657,
0.0392390601336956,
-0.021672090515494347,
0.045600149780511856,
0.017076941207051277,
0.01262972503900528,
-0.038018617779016495,
0.0011961718555539846,
0.030954847112298012,
-0.0066107274033129215,
-0.08003140985965729,
-0.02853245474398136,
-0.014081311412155628,
0.0542541928589344,
0.00550123443827033,
0.04101424664258957,
-0.05222012475132942,
-0.0036127856001257896,
-0.02557380683720112,
-0.0262764859944582,
-0.03724197298288345,
0.02694218046963215,
-0.014608320780098438,
-0.04567411541938782,
-0.040163636207580566,
-0.013323158025741577,
0.034153882414102554,
0.03849939629435539,
-0.02579570561647415,
0.032304730266332626,
-0.004590526223182678,
0.014275472611188889,
-0.0032175288069993258,
-0.016901271417737007,
-0.051702361553907394,
0.004054271150380373,
0.005455005913972855,
0.007327274885028601,
-0.05118459835648537,
-0.006633841898292303,
-0.021357733756303787,
-0.05203520879149437,
0.03842543065547943,
-0.015736304223537445,
0.016475966200232506,
0.007359635084867477,
0.006754036992788315,
-0.02733050286769867,
-0.021635107696056366,
0.008053068071603775,
-0.04308529943227768,
-0.044157810509204865,
0.027811283245682716,
0.004835539031773806,
-0.0007754891412332654,
-0.0313061848282814,
-0.008011462166905403,
0.013591285794973373,
-0.009162560105323792,
0.009523145854473114,
-0.023317838087677956,
0.0233733132481575,
-0.014820973388850689,
0.055104803293943405,
-0.01708618737757206,
0.013110505416989326,
-0.10702906548976898,
0.0207660049200058,
-0.002713634166866541,
-0.006749413907527924,
0.007197834085673094,
0.11109720170497894,
-0.02901323325932026,
-0.031805455684661865,
-0.015218541957437992,
-0.008321194909512997,
-0.009708060882985592,
0.013027293607592583,
-0.003381641348823905,
0.0025079157203435898,
-0.003155119949951768,
0.05680602788925171,
-0.03542980179190636,
0.009976188652217388,
-0.03607700392603874,
0.0007489075651392341,
-0.07633309811353683,
0.09349325299263,
-0.005630675237625837,
-0.025166992098093033,
0.013092014007270336,
-0.00641194311901927,
0.016864288598299026,
0.006656956393271685,
-0.04604394733905792,
0.018870621919631958,
-0.027108604088425636,
0.0437140129506588,
-0.01891685090959072,
-0.061909694224596024,
-0.0008841269882395864,
0.06986105442047119,
0.012601987458765507,
0.027385978028178215,
0.01670711115002632,
0.042752452194690704,
0.08284211903810501,
-0.07178417593240738,
-0.016679374501109123,
0.020118800923228264,
0.04404686018824577,
0.003203660249710083,
0.03542980179190636,
0.0010297478875145316,
0.06165081262588501,
-0.047560252249240875,
0.0754455029964447,
0.03713102266192436,
0.04508238658308983,
-0.013101259246468544,
-0.07148831337690353,
-0.008806598372757435,
0.037519343197345734,
-0.020507123321294785,
-0.01841757819056511,
0.006652333308011293,
-0.024445822462439537,
0.03511544317007065,
-0.04230865463614464,
0.09245772659778595,
-0.05077778175473213,
0.004766195546835661,
0.04367702826857567,
0.03831448033452034,
-0.026794249191880226,
0.010956240817904472,
0.0644245445728302,
0.049631305038928986,
-0.06934329122304916,
0.012888606637716293,
0.005935785826295614,
0.061243996024131775,
-0.0050019631162285805,
-0.012731429189443588,
0.03820353373885155,
0.02568475529551506,
-0.03260059282183647,
0.0525529719889164,
0.038795262575149536,
-0.03505996987223625,
0.04796706885099411,
0.021912481635808945,
0.02701614797115326,
0.01100246887654066,
-0.0894990786910057,
-0.0017971469787880778,
0.008501487784087658,
0.0437140129506588,
-0.004229940939694643,
0.01131682563573122,
0.036224935203790665,
-0.024445822462439537,
0.008593945764005184,
-0.06460946053266525,
0.018186435103416443,
0.0024408840108662844,
0.029845353215932846,
-0.03517092019319534,
0.008117788471281528,
-0.04426875710487366,
-0.033488187938928604,
-0.004100500140339136,
-0.018519282341003418,
-0.011353808455169201,
0.04844784736633301,
0.020026342943310738,
0.06431359052658081,
0.003756095189601183,
0.018371349200606346,
0.0029632700607180595,
0.009504654444754124,
0.024131465703248978,
0.014127540402114391,
-0.04304831847548485,
-0.009412196464836597,
0.07466886192560196,
0.06416565924882889,
0.035947564989328384,
-0.04571110010147095,
0.02596212923526764,
-0.02764485962688923,
-0.013424861244857311,
0.01820492558181286,
0.021524159237742424,
0.010068646632134914,
0.03526337444782257,
-0.003046482102945447,
-0.06523817032575607,
0.04523031786084175,
-0.03271154314279556,
-0.04223468899726868,
-0.06634766608476639,
-0.08188056200742722,
0.031565066426992416,
-0.0016815748531371355,
-0.028439996764063835,
0.021912481635808945,
-0.020710529759526253,
-0.005344056524336338,
-0.03827749937772751,
0.007942118681967258,
0.03174998238682747,
0.0009523145854473114,
0.002944778650999069,
-0.038055598735809326,
-0.014931922778487206,
-0.030936354771256447,
-0.08409954607486725,
-0.055252738296985626,
-0.02642441727221012,
-0.024612246081233025,
-0.0009673389722593129,
0.05318168178200722,
0.029882336035370827,
0.07082261890172958,
0.0016711733769625425,
0.02126527763903141,
0.028476979583501816,
0.03469013795256615,
0.08025330305099487,
0.002109191846102476,
0.0710814967751503,
0.06686542928218842,
-0.05673205852508545,
-0.000799181463662535,
0.056547146290540695,
0.005820213817059994,
-0.02943854033946991,
-0.031417135149240494,
0.05092571675777435,
-0.04312228411436081,
0.014830218628048897,
0.005533594638109207,
-0.04878069460391998,
0.0674571543931961,
-0.0037491607945412397,
-0.028292063623666763,
-0.04497143626213074,
0.001123939175158739,
0.01043847668915987,
-0.031176744028925896,
-0.028162622824311256,
-0.0032475776970386505,
-0.04160597547888756,
-0.01954556256532669,
-0.011418528854846954,
-0.012870115227997303,
-0.03779671713709831,
-0.02165360003709793,
-0.04193882271647453,
-0.05299676954746246,
0.023317838087677956,
-0.010882274247705936,
0.0026350452098995447,
0.005741624627262354,
0.009541637264192104,
0.03742688521742821,
-0.023484261706471443,
-0.003758406499400735,
-0.007475207094103098,
-0.014719270169734955,
-0.021080361679196358,
0.03842543065547943,
0.02474168688058853,
0.023983534425497055,
-0.0010199242969974875,
0.02122829295694828,
-0.04160597547888756,
0.004461085423827171,
0.0016630833270028234,
-0.033007409423589706,
0.0028638779185712337,
0.038795262575149536,
-0.011039452627301216,
0.025425873696804047,
0.027626369148492813,
0.025314925238490105,
-0.0595797561109066,
0.04038553312420845,
-0.012296877801418304,
-0.04667266085743904,
0.008968398906290531,
-0.025814196094870567,
0.017844341695308685,
0.04811500012874603,
0.008441390469670296,
0.058544229716062546,
0.04386194422841072,
-0.0838036835193634,
0.057841554284095764,
-0.010179595090448856,
0.017271103337407112,
0.05040794983506203,
-0.04434272646903992,
0.04149502515792847,
0.05281185358762741,
-0.013766955584287643,
0.0060790954157710075,
0.03134316951036453,
0.0271270964294672,
0.038573361933231354,
0.008667911402881145,
0.026905197650194168,
0.003178234212100506,
0.009476916864514351,
0.01989690214395523,
-0.0322122722864151,
-0.006541383918374777,
0.00639345170930028,
0.005260844714939594,
0.04426875710487366,
-0.01483946479856968,
0.002396966563537717,
0.07566740363836288,
-0.005723133217543364,
0.039276041090488434,
0.0045928373001515865,
0.0033400352112948895,
-0.020081818103790283,
-0.014395668171346188,
-0.060541316866874695,
0.02575872279703617,
-0.0022201412357389927,
-0.0040265340358018875,
-0.021413208916783333,
-0.04360306262969971,
0.05066683143377304,
-0.05932087451219559,
0.0015128395752981305,
0.006680070422589779,
-0.005455005913972855,
0.04127312824130058,
-0.011557215824723244,
-0.05125856399536133,
-0.01655917800962925,
-0.01409055758267641,
-0.0076739913783967495,
-0.025203974917531013,
0.03200886398553848,
-0.008168639615178108,
0.0038508642464876175,
-0.03511544317007065,
-0.018288137391209602,
0.042789436876773834,
0.022189853712916374,
0.01114115584641695,
0.08853751420974731,
-0.02522246725857258,
-0.03702007234096527,
0.0022709928452968597,
0.010290544480085373,
0.03389500081539154,
-0.031768474727869034,
-0.031565066426992416,
-0.04334418103098869,
-0.07056373357772827,
0.02291102334856987,
-0.0016515260795131326,
-0.013110505416989326,
-0.03389500081539154,
-0.027312012389302254,
0.023428788408637047,
0.01571781374514103,
0.014127540402114391,
-0.037667278200387955,
0.012925590388476849,
-0.028939267620444298,
-0.03646532818675041,
-0.016549931839108467,
0.004021910950541496,
0.03650230914354324,
0.09031270444393158,
-0.026184028014540672,
0.032304730266332626,
0.0019254321232438087,
-0.02252270095050335,
0.02673877403140068,
-0.01947159692645073,
-0.03827749937772751,
0.019397631287574768,
-0.019360648468136787,
-0.01915724016726017,
0.023983534425497055,
-0.014321701601147652,
-0.02407599240541458,
0.006453549023717642,
-0.07400315999984741,
-0.038795262575149536,
-0.02564777247607708,
0.006014375016093254,
-0.027848266065120697,
0.025555314496159554,
-0.046265844255685806,
-0.060615286231040955,
0.0293645728379488,
0.04730137065052986,
0.020396174862980843,
0.00447495374828577,
-0.07514964044094086,
-0.0687885507941246,
-0.01814020611345768,
0.010586409829556942,
-0.005196124315261841,
0.010826800018548965,
-0.02087695337831974,
-0.02056259848177433,
-0.008362800814211369,
0.05891406163573265,
0.025037551298737526,
-0.01603216864168644,
0.06915837526321411,
-0.018047748133540154,
0.02975289523601532,
0.015921220183372498,
0.058470264077186584,
0.014728515408933163,
0.017603950574994087,
0.01789057068526745,
-0.0011383857345208526,
-0.039941735565662384,
-0.034505221992731094,
0.05528971925377846,
0.06619972735643387,
-0.008760369382798672,
0.0542541928589344,
0.03409840911626816,
0.02990082837641239,
-0.008284212090075016,
0.008519979193806648,
-0.01372072659432888,
0.030233675613999367,
0.023114431649446487,
0.019175732508301735,
0.018972326070070267,
0.006134570110589266,
0.023595212027430534,
0.023798618465662003,
0.005075929220765829,
-0.03080691397190094,
-0.007281045895069838,
0.05950579047203064,
-0.0025865049101412296,
0.011853080242872238,
0.06105908006429672,
-0.010290544480085373,
-0.031250711530447006,
0.006337977014482021,
0.024612246081233025,
0.011094926856458187,
-0.02649838477373123,
0.01040149386972189,
0.06671749800443649,
0.0017925241263583302,
-0.01768716238439083,
0.044860489666461945,
-0.03890620917081833,
0.021024886518716812,
0.015301753766834736,
0.00851073395460844,
0.027238044887781143,
-0.03210132196545601,
-0.053847379982471466,
-0.0053579253144562244,
0.030270658433437347,
-0.028255080804228783,
0.006999049801379442,
0.015958203002810478,
0.04393590986728668,
-0.03515242785215378,
-0.033173833042383194,
0.07259780913591385,
-0.007734088692814112,
-0.01245405524969101,
-0.04375099390745163,
-0.03491203859448433,
0.013619022443890572,
0.01077132485806942,
-0.013378633186221123,
-0.03742688521742821,
0.044786520302295685,
0.007442846894264221,
0.09112633019685745,
0.010660375468432903,
-0.01352656539529562,
0.04131011292338371,
0.06705034524202347,
-0.05266391858458519,
-0.009000759571790695,
-0.05532670393586159,
0.026646316051483154,
0.0764070674777031,
-0.005080551840364933,
-0.04730137065052986,
-0.04600696265697479,
-0.021172819659113884,
0.026054587215185165,
-0.07929174602031708,
-0.02880982682108879,
0.0661257654428482,
0.05299676954746246,
-0.009342852979898453,
0.02439034730195999,
0.0009771626209840178,
0.02416844852268696,
0.006754036992788315,
-0.008991513401269913,
0.04526730254292488,
0.0031112025026232004,
0.003797701094299555,
0.013924133032560349,
0.02267063409090042,
0.03905414417386055,
-0.04400987550616264,
0.03920207545161247,
0.018362104892730713,
0.022060412913560867,
-0.07470583915710449,
-0.04082933068275452,
-0.040644414722919464,
0.023428788408637047,
0.037907667458057404,
-0.06494230777025223,
0.001164967310614884,
0.03894319385290146,
-0.00008718474418856204,
0.012380089610815048,
0.01649445854127407
] |
18,124 | sklearn.utils.multiclass | unique_labels | Extract an ordered array of unique labels.
We don't allow:
- mix of multilabel and multiclass (single label) targets
- mix of label indicator matrix and anything else,
because there are no explicit labels)
- mix of label indicator matrices of different sizes
- mix of string and integer labels
At the moment, we also don't allow "multiclass-multioutput" input type.
Parameters
----------
*ys : array-likes
Label values.
Returns
-------
out : ndarray of shape (n_unique_labels,)
An ordered array of unique labels.
Examples
--------
>>> from sklearn.utils.multiclass import unique_labels
>>> unique_labels([3, 5, 5, 5, 7, 7])
array([3, 5, 7])
>>> unique_labels([1, 2, 3, 4], [2, 2, 3, 4])
array([1, 2, 3, 4])
>>> unique_labels([1, 2, 10], [5, 11])
array([ 1, 2, 5, 10, 11])
| def unique_labels(*ys):
"""Extract an ordered array of unique labels.
We don't allow:
- mix of multilabel and multiclass (single label) targets
- mix of label indicator matrix and anything else,
because there are no explicit labels)
- mix of label indicator matrices of different sizes
- mix of string and integer labels
At the moment, we also don't allow "multiclass-multioutput" input type.
Parameters
----------
*ys : array-likes
Label values.
Returns
-------
out : ndarray of shape (n_unique_labels,)
An ordered array of unique labels.
Examples
--------
>>> from sklearn.utils.multiclass import unique_labels
>>> unique_labels([3, 5, 5, 5, 7, 7])
array([3, 5, 7])
>>> unique_labels([1, 2, 3, 4], [2, 2, 3, 4])
array([1, 2, 3, 4])
>>> unique_labels([1, 2, 10], [5, 11])
array([ 1, 2, 5, 10, 11])
"""
xp, is_array_api_compliant = get_namespace(*ys)
if not ys:
raise ValueError("No argument has been passed.")
# Check that we don't mix label format
ys_types = set(type_of_target(x) for x in ys)
if ys_types == {"binary", "multiclass"}:
ys_types = {"multiclass"}
if len(ys_types) > 1:
raise ValueError("Mix type of y not allowed, got types %s" % ys_types)
label_type = ys_types.pop()
# Check consistency for the indicator format
if (
label_type == "multilabel-indicator"
and len(
set(
check_array(y, accept_sparse=["csr", "csc", "coo"]).shape[1] for y in ys
)
)
> 1
):
raise ValueError(
"Multi-label binary indicator input with different numbers of labels"
)
# Get the unique set of labels
_unique_labels = _FN_UNIQUE_LABELS.get(label_type, None)
if not _unique_labels:
raise ValueError("Unknown label type: %s" % repr(ys))
if is_array_api_compliant:
# array_api does not allow for mixed dtypes
unique_ys = xp.concat([_unique_labels(y) for y in ys])
return xp.unique_values(unique_ys)
ys_labels = set(chain.from_iterable((i for i in _unique_labels(y)) for y in ys))
# Check that we don't mix string type with number type
if len(set(isinstance(label, str) for label in ys_labels)) > 1:
raise ValueError("Mix of label input types (string and number)")
return xp.asarray(sorted(ys_labels))
| (*ys) | [
-0.0232686847448349,
-0.014060551300644875,
-0.02430030144751072,
-0.03591553866863251,
-0.023058539256453514,
-0.019142217934131622,
-0.028503183275461197,
0.041073620319366455,
0.07270985841751099,
-0.014356663450598717,
-0.000862068438436836,
0.005000474397093058,
0.050243545323610306,
-0.05421718209981918,
-0.0015975728165358305,
-0.030776560306549072,
0.023765388876199722,
0.03425348922610283,
-0.00854426808655262,
0.05058741942048073,
0.019142217934131622,
0.05799977481365204,
0.042105238884687424,
0.07320656627416611,
-0.017250921577215195,
-0.035972852259874344,
0.04065333306789398,
-0.05089308321475983,
-0.05666249245405197,
-0.03194190561771393,
-0.045849625021219254,
0.01661093719303608,
-0.016830632463097572,
0.010478549636900425,
0.010316165164113045,
-0.038055188953876495,
0.018836554139852524,
0.06606166809797287,
0.0152163440361619,
-0.027318734675645828,
0.020536810159683228,
-0.1308242678642273,
0.03417707234621048,
-0.04925013706088066,
0.003806473920121789,
0.04355714097619057,
-0.024510445073246956,
0.006261339411139488,
-0.10874002426862717,
-0.008773516863584518,
-0.000354618183337152,
-0.029840463772416115,
0.01904669776558876,
0.03224756941199303,
-0.022924812510609627,
0.06781923770904541,
0.013649814762175083,
-0.017174504697322845,
-0.02987867221236229,
0.016123784705996513,
-0.05410255491733551,
0.0423726923763752,
0.02397553250193596,
-0.003579613985493779,
0.019963691011071205,
-0.023784492164850235,
-0.04611707851290703,
0.004300790373235941,
-0.03329829126596451,
0.0022542732767760754,
-0.045696791261434555,
-0.0062517873011529446,
0.022771980613470078,
0.0007283403538167477,
0.03125416114926338,
0.049441177397966385,
-0.007732348050922155,
0.03123505599796772,
0.041952405124902725,
-0.01693570427596569,
-0.02804468758404255,
0.03268695995211601,
0.011166294105350971,
-0.019180426374077797,
-0.0004984952392987907,
0.0032333536073565483,
0.016190648078918457,
0.05360585078597069,
-0.024051949381828308,
-0.008912020362913609,
-0.03209473565220833,
-0.0029157495591789484,
0.05261244252324104,
0.03457825630903244,
-0.023402411490678787,
0.012054630555212498,
-0.05952809378504753,
0.03289710357785225,
-0.014652775600552559,
0.00681057944893837,
0.028159311041235924,
-0.08635012805461884,
-0.026000557467341423,
0.05528700351715088,
-0.03253412991762161,
-0.007622499950230122,
-0.017527928575873375,
0.0005543148145079613,
-0.03671790659427643,
-0.031196847558021545,
-0.014519047923386097,
-0.00865889247506857,
0.03859009966254234,
-0.0304326880723238,
0.014891576021909714,
-0.059642720967531204,
-0.0152545515447855,
-0.02000189758837223,
-0.06143849715590477,
-0.05475209280848503,
-0.02804468758404255,
0.06713148951530457,
-0.01501575205475092,
-0.012322086840867996,
0.05035816878080368,
-0.04882984980940819,
0.03985096514225006,
0.030547311529517174,
0.007665484212338924,
0.01744196191430092,
-0.006643419619649649,
-0.015818120911717415,
-0.0607125423848629,
0.03157892823219299,
0.052956316620111465,
-0.029840463772416115,
-0.009241565130650997,
0.036928050220012665,
0.01382175087928772,
-0.03538062795996666,
0.08161233365535736,
0.003498421749100089,
-0.0034148418344557285,
0.03257233649492264,
0.032323986291885376,
0.008257708512246609,
0.07523158937692642,
0.014232487417757511,
0.016429448500275612,
0.013793095014989376,
-0.07225136458873749,
-0.010660037398338318,
0.011586582288146019,
-0.012818790972232819,
-0.013143558986485004,
-0.06182057783007622,
-0.036775220185518265,
-0.04118824377655983,
0.025217292830348015,
0.006003435235470533,
-0.00009387829777551815,
-0.010898837819695473,
-0.04409205541014671,
-0.05727382376790047,
-0.02063233032822609,
0.022810187190771103,
-0.01602826453745365,
0.02382270060479641,
-0.014213383197784424,
-0.003804086009040475,
-0.039736341685056686,
-0.05903138965368271,
-0.015512456186115742,
-0.020861579105257988,
-0.015865880995988846,
-0.029706735163927078,
-0.02023114636540413,
0.026153389364480972,
0.00870665255934,
0.05368226766586304,
0.035266000777482986,
0.03060462325811386,
-0.09345681965351105,
-0.033833201974630356,
0.013544742949306965,
0.06273756921291351,
0.014356663450598717,
0.021644843742251396,
-0.01366891898214817,
0.02032666653394699,
-0.015092168003320694,
0.016993016004562378,
-0.005564042832702398,
0.09666629135608673,
0.05650966241955757,
-0.009375292807817459,
-0.0641130581498146,
0.005798066966235638,
0.009972292929887772,
0.0018602529307827353,
0.02206513099372387,
0.00405243830755353,
0.04837135225534439,
0.044741589576005936,
-0.009647524915635586,
0.011099429801106453,
0.027471566572785378,
0.003531853901222348,
-0.02605786919593811,
-0.0745820552110672,
0.06346352398395538,
-0.01751837693154812,
-0.057808734476566315,
0.037348341196775436,
-0.009914981201291084,
0.0511605404317379,
0.03469288349151611,
0.0032238017302006483,
-0.04164674133062363,
-0.04447413608431816,
0.02924823947250843,
0.01901804283261299,
0.01751837693154812,
0.010211093351244926,
-0.02598145417869091,
-0.04088257998228073,
0.047225113958120346,
0.058381855487823486,
0.019791753962635994,
-0.0021671110298484564,
0.026955757290124893,
-0.06353993713855743,
0.09934084862470627,
-0.026248909533023834,
-0.003904381999745965,
0.0208042673766613,
0.03226667270064354,
-0.047683607786893845,
0.0659470409154892,
0.07374148070812225,
-0.06151491031050682,
-0.005415986757725477,
-0.0038924419786781073,
0.005540162790566683,
0.012322086840867996,
0.014662327244877815,
0.021644843742251396,
0.04879164323210716,
-0.02479700557887554,
-0.034769296646118164,
0.00006906547059770674,
0.0015307087451219559,
0.03719550743699074,
-0.05826723203063011,
0.05738844722509384,
-0.04970863461494446,
0.01008691731840372,
-0.05769411101937294,
0.02836945466697216,
-0.02391822077333927,
-0.04955580085515976,
0.05276527628302574,
-0.015865880995988846,
0.05314735695719719,
-0.05356764420866966,
-0.019314154982566833,
0.05433180555701256,
0.022332588210701942,
-0.04867701604962349,
0.027146797627210617,
-0.06311964988708496,
0.04749256744980812,
-0.00844397209584713,
-0.010287509299814701,
0.014079655520617962,
0.03912501409649849,
0.05066383630037308,
-0.0419141985476017,
0.0413028709590435,
0.02309674769639969,
0.02158753201365471,
-0.052230361849069595,
0.043862808495759964,
-0.012560886330902576,
0.027853647246956825,
-0.041799575090408325,
-0.03742475435137749,
-0.055019550025463104,
-0.05211573839187622,
-0.03283979371190071,
0.03624030575156212,
-0.0008417704375460744,
-0.004544366151094437,
-0.027051277458667755,
-0.040271252393722534,
0.003140221582725644,
-0.06216444820165634,
0.002519341418519616,
0.02038397826254368,
-0.002540833316743374,
-0.06529750674962997,
0.06839235872030258,
-0.021816778928041458,
-0.03404334560036659,
-0.025446541607379913,
-0.09116433560848236,
0.018578650429844856,
-0.020135626196861267,
-0.04397743195295334,
0.041723158210515976,
0.025847725570201874,
0.019027594476938248,
0.02447223663330078,
-0.024911629036068916,
-0.0847453847527504,
0.03595374524593353,
0.017976872622966766,
0.03639313951134682,
0.04925013706088066,
0.0466901995241642,
-0.010115573182702065,
-0.03950709104537964,
-0.0468430332839489,
-0.006218355149030685,
-0.002934853546321392,
0.01861685700714588,
0.04057691618800163,
-0.009356188587844372,
-0.013888615183532238,
0.026745613664388657,
0.025561165064573288,
-0.025924142450094223,
0.010774661786854267,
-0.0035748379305005074,
0.026076974347233772,
0.018979834392666817,
0.029381968080997467,
-0.025637581944465637,
0.012809238396584988,
-0.07030275464057922,
-0.12478739023208618,
-0.033107250928878784,
-0.07924343645572662,
0.01721271313726902,
0.009284548461437225,
0.0028560494538396597,
-0.04661378264427185,
0.01769031397998333,
0.050319962203502655,
0.06816310435533524,
0.01383130345493555,
0.02271466702222824,
0.022657355293631554,
0.0012262386735528708,
-0.0019318930571898818,
-0.02844587154686451,
0.0027032173238694668,
0.027127694338560104,
0.043786391615867615,
0.007875627838075161,
0.015283208340406418,
-0.05769411101937294,
0.08405764400959015,
-0.06407485157251358,
0.04367176815867424,
-0.01413696724921465,
0.03194190561771393,
-0.004744958598166704,
-0.014232487417757511,
-0.03881934657692909,
-0.023937324061989784,
0.01668735221028328,
0.0006447603227570653,
-0.0045706345699727535,
-0.030184336006641388,
0.04676661640405655,
-0.012083286419510841,
-0.03870472311973572,
-0.024968940764665604,
-0.04596424847841263,
-0.0030494777020066977,
-0.05016712844371796,
-0.0037802059669047594,
0.05226857215166092,
-0.00850606057792902,
-0.0013742947485297918,
0.006528795231133699,
-0.0015319028170779347,
-0.007503099739551544,
0.029190927743911743,
0.06182057783007622,
0.00519629055634141,
0.007593844085931778,
-0.007612947840243578,
-0.03855189308524132,
-0.04309864714741707,
-0.017394201830029488,
0.006352083291858435,
-0.014404423534870148,
0.014175175689160824,
-0.008792620152235031,
0.00829114019870758,
0.017976872622966766,
0.020536810159683228,
-0.044015638530254364,
0.09124074876308441,
0.00709236366674304,
-0.01852133683860302,
-0.04241090267896652,
0.014509495347738266,
-0.00537777878344059,
0.05834364518523216,
0.04905909672379494,
-0.06644374877214432,
0.009083956480026245,
0.02645905315876007,
-0.020441289991140366,
0.007135347928851843,
0.0513133704662323,
-0.027834542095661163,
0.04512367025017738,
0.02622980624437332,
0.04325147718191147,
0.033489327877759933,
0.05513417348265648,
-0.002533669350668788,
-0.015350071713328362,
-0.00599388312548399,
0.025236397981643677,
0.01258954219520092,
-0.04214344546198845,
0.0015092168468981981,
-0.06197340786457062,
-0.07190749049186707,
0.0008537104586139321,
-0.03557166829705238,
-0.008052339777350426,
0.033833201974630356,
-0.03595374524593353,
0.037252821028232574,
-0.042105238884687424,
0.01690704934298992,
0.017976872622966766,
0.06193520128726959,
0.016821080818772316,
-0.03742475435137749,
-0.01937146671116352,
-0.009375292807817459,
-0.06506825983524323,
-0.029362862929701805,
0.015330968424677849,
-0.00004074527168995701,
0.04550575092434883,
-0.015483800321817398,
0.012579990550875664,
-0.002382031176239252,
0.03434900939464569,
-0.03176996856927872,
0.003142609726637602,
-0.004381982143968344,
0.0184162650257349,
0.013229526579380035,
0.05887855961918831,
0.038685619831085205,
-0.013754887506365776,
-0.037252821028232574,
0.035094067454338074,
-0.029821360483765602,
0.038284435868263245,
0.05219215527176857,
0.05719740688800812,
-0.0004053632146678865,
0.06713148951530457,
0.0413028709590435,
-0.03377588838338852,
0.035094067454338074,
0.010029605589807034,
0.04244910925626755,
-0.053185563534498215,
-0.03755848482251167,
0.02678382210433483,
0.05066383630037308,
0.007756228093057871,
-0.029057199135422707,
-0.022007819265127182,
-0.007154451683163643,
0.03666059672832489,
-0.03639313951134682,
0.030298959463834763,
0.031980112195014954,
-0.038914866745471954,
-0.00046804823796264827,
-0.00890724454075098,
0.007584291975945234,
-0.008964556269347668,
-0.015751255676150322,
0.014289799146354198,
0.022924812510609627,
-0.013754887506365776,
0.014624119736254215,
0.026038765907287598,
-0.0026124734431505203,
-0.0010865405201911926,
-0.02869422361254692,
0.03152161464095116,
-0.013926823623478413,
0.0510077066719532,
0.02025025151669979,
-0.03010791912674904,
-0.027051277458667755,
-0.0938389003276825,
-0.007226091809570789,
-0.024816108867526054,
0.01861685700714588,
0.07030275464057922,
0.02517908439040184,
-0.013162663206458092,
-0.022924812510609627,
0.020422186702489853,
0.02909540757536888,
-0.0027676934842020273,
0.005540162790566683,
-0.006003435235470533,
-0.016018712893128395,
-0.014261143282055855,
0.03339380770921707,
-0.024510445073246956,
-0.0035270778462290764,
0.00121071666944772,
0.026516366750001907,
-0.041723158210515976,
-0.050243545323610306,
-0.015493351966142654,
0.041952405124902725,
-0.03627851605415344,
0.03157892823219299,
-0.030776560306549072,
0.0003373051877133548,
0.09620779752731323,
0.043060436844825745,
0.014070102944970131,
0.035590771585702896,
0.07118154317140579,
0.018674170598387718,
0.01478650327771902,
0.038284435868263245,
-0.007985476404428482,
0.045620374381542206,
-0.0011134055675938725,
0.04520008713006973,
-0.06525930017232895,
-0.018301641568541527,
0.0027653053402900696,
0.02710859104990959,
-0.01937146671116352,
-0.01039258111268282,
-0.002247109077870846,
0.03656507655978203,
-0.018884314224123955,
0.02854139171540737,
-0.0323621928691864,
0.012885654345154762,
0.03704267367720604,
-0.06674940884113312,
-0.016821080818772316,
0.061400286853313446,
-0.011194949969649315,
0.01736554503440857,
0.008214724250137806,
0.005072114523500204,
-0.03425348922610283,
-0.019104009494185448,
-0.07526979595422745,
-0.03360395506024361,
0.028827950358390808,
0.031445201486349106,
0.012809238396584988,
-0.01791956089437008,
-0.013277286663651466,
0.017308233305811882,
-0.028235726058483124,
0.07313015311956406,
0.050549209117889404,
-0.038857556879520416,
0.07706557959318161,
-0.0332791842520237,
-0.021702155470848083,
-0.030318064615130424,
-0.027299629524350166,
-0.0024082993622869253,
-0.021320074796676636,
0.055172380059957504,
0.040194835513830185,
0.02710859104990959,
-0.002485909266397357,
-0.015789464116096497,
-0.015598423779010773,
-0.019868170842528343,
0.022370794788002968,
-0.0320565290749073,
0.06946218013763428,
0.021129034459590912,
-0.01975354552268982,
-0.006729387678205967,
0.07698915898799896,
-0.008477404713630676,
-0.03155982494354248,
-0.040042005479335785,
-0.015187688171863556,
0.011261814273893833,
-0.01975354552268982,
0.018253881484270096,
0.0017862248932942748,
-0.00752697978168726,
-0.005587922874838114,
-0.013000278733670712,
-0.060903582721948624,
-0.005091218743473291,
-0.020021002739667892,
-0.02271466702222824,
-0.0002516356180422008,
-0.06541213393211365,
0.008549044840037823,
0.029057199135422707,
-0.06323426961898804,
0.00953767728060484,
-0.037405651062726974,
0.01766165718436241,
0.024739693850278854,
0.025522956624627113,
0.009394397027790546,
-0.023402411490678787,
0.06583242118358612,
-0.03532331436872482,
0.003651253879070282,
-0.014127415604889393,
-0.03715730085968971,
0.0032691736705601215,
0.008162188343703747,
0.052879899740219116,
-0.07511696964502335,
-0.05123695358633995,
0.01696436107158661,
0.03943067789077759,
0.0002002936089411378,
-0.06525930017232895,
-0.06143849715590477,
-0.009150820784270763,
0.02693665400147438,
-0.024663276970386505,
0.018148809671401978,
-0.0026578453835099936,
-0.018979834392666817,
0.01824432983994484,
0.009365741163492203,
0.028904367238283157,
-0.026248909533023834,
0.03404334560036659,
-0.041073620319366455,
-0.012885654345154762,
-0.009657077491283417,
-0.02208423614501953,
0.04787464812397957,
0.03580091521143913,
0.01203552633523941,
0.07947268337011337,
0.016429448500275612,
-0.04535292088985443,
0.01761389710009098,
-0.07095229625701904,
-0.016429448500275612,
0.030260751023888588,
0.024414924904704094,
-0.04588783159852028,
-0.012226566672325134,
-0.013162663206458092,
0.01568439230322838,
0.04970863461494446,
0.002133679110556841,
-0.03257233649492264,
0.028656015172600746,
-0.033661264926195145,
-0.02063233032822609,
0.002784409560263157,
0.018148809671401978,
-0.05708278343081474,
0.04890626668930054,
-0.009136492386460304,
-0.019696233794093132,
-0.07462026178836823,
0.03226667270064354,
0.06793385744094849,
0.03276337683200836,
0.014948887750506401,
-0.008238604292273521,
0.055172380059957504,
-0.020842475816607475,
-0.0058935871347785,
0.008066668175160885,
0.021396491676568985,
0.012045077979564667,
-0.04344251751899719,
-0.030241647735238075,
0.01844492182135582,
0.01326773501932621,
0.09047659486532211,
-0.07794436067342758,
0.018702825531363487,
0.011892246082425117,
-0.027853647246956825,
-0.039392467588186264,
0.030814768746495247,
0.005033906549215317,
-0.009403948672115803,
-0.0071640037931501865,
-0.07840285450220108,
-0.004221986047923565,
0.0055497149005532265,
-0.028331246227025986,
0.04477979987859726,
0.032858897000551224,
0.044512342661619186,
0.01020154170691967,
0.0034196178894490004,
-0.04565858468413353,
0.057885151356458664,
0.04879164323210716,
-0.000023096448785508983,
0.03291621059179306,
-0.008510836400091648,
0.0073072840459644794,
0.040118422359228134,
-0.07152540981769562,
0.015244999900460243,
-0.036622386425733566,
-0.026669198647141457,
-0.0011719116009771824,
-0.06713148951530457,
0.04959401115775108,
0.0021563651971518993,
-0.012962071225047112,
-0.040997207164764404,
0.035648081451654434,
0.04902089014649391,
-0.05880214273929596,
-0.03125416114926338,
0.04772181808948517,
0.018712377175688744,
0.009394397027790546,
-0.033030834048986435,
0.001519962796010077,
-0.022580940276384354,
-0.044741589576005936,
-0.046575576066970825,
0.06690224260091782,
0.011892246082425117,
0.029038095846772194,
-0.04153211787343025,
-0.02389911562204361,
-0.017098089680075645,
0.0002229796227766201,
0.0013575786724686623,
0.01901804283261299,
0.031846385449171066,
0.010669589973986149,
0.014165623113512993,
-0.002029801020398736,
0.033508434891700745
] |
18,126 | jsondiff | CompactJsonDiffSyntax | null | class CompactJsonDiffSyntax(object):
def emit_set_diff(self, a, b, s, added, removed):
if s == 0.0 or len(removed) == len(a):
return {replace: b} if isinstance(b, dict) else b
else:
d = {}
if removed:
d[discard] = removed
if added:
d[add] = added
return d
def emit_list_diff(self, a, b, s, inserted, changed, deleted):
if s == 0.0:
return {replace: b} if isinstance(b, dict) else b
elif s == 1.0:
return {}
else:
d = changed
if inserted:
d[insert] = inserted
if deleted:
d[delete] = [pos for pos, value in deleted]
return d
def emit_dict_diff(self, a, b, s, added, changed, removed):
if s == 0.0:
return {replace: b} if isinstance(b, dict) else b
elif s == 1.0:
return {}
else:
changed.update(added)
if removed:
changed[delete] = list(removed.keys())
return changed
def emit_value_diff(self, a, b, s):
if s == 1.0:
return {}
else:
return {replace: b} if isinstance(b, dict) else b
def patch(self, a, d):
if isinstance(d, dict):
if not d:
return a
if replace in d:
return d[replace]
if isinstance(a, dict):
a = dict(a)
for k, v in d.items():
if k is delete:
for kdel in v:
del a[kdel]
else:
av = a.get(k, missing)
if av is missing:
a[k] = v
else:
a[k] = self.patch(av, v)
return a
elif isinstance(a, (list, tuple)):
original_type = type(a)
a = list(a)
if delete in d:
for pos in d[delete]:
a.pop(pos)
if insert in d:
for pos, value in d[insert]:
a.insert(pos, value)
for k, v in d.items():
if k is not delete and k is not insert:
k = int(k)
a[k] = self.patch(a[k], v)
if original_type is not list:
a = original_type(a)
return a
elif isinstance(a, set):
a = set(a)
if discard in d:
for x in d[discard]:
a.discard(x)
if add in d:
for x in d[add]:
a.add(x)
return a
return d
| () | [
0.01086545642465353,
-0.05478193983435631,
0.0014904047129675746,
-0.012368619441986084,
-0.0535571426153183,
-0.011366510763764381,
-0.04591142386198044,
-0.008921550586819649,
0.01642344705760479,
-0.03659552335739136,
-0.03479544073343277,
-0.006574018392711878,
-0.02958076260983944,
-0.003372838022187352,
-0.023252632468938828,
-0.02984056994318962,
-0.0023243355099111795,
0.028690000995993614,
0.04542892798781395,
-0.037282153964042664,
0.047433145344257355,
-0.020413324236869812,
0.03422015532851219,
0.10199239104986191,
-0.01469759363681078,
-0.026518763974308968,
0.053965408354997635,
-0.03750484436750412,
0.04335048049688339,
0.027261067181825638,
0.00932981725782156,
-0.0380801297724247,
0.012665539979934692,
0.012387176975607872,
-0.03190045803785324,
-0.07883255183696747,
0.005660058464854956,
0.07218893617391586,
-0.023994935676455498,
-0.04075241833925247,
-0.03459130600094795,
-0.009334457106888294,
-0.043313365429639816,
-0.04023280739784241,
0.05496751517057419,
0.018075071275234222,
-0.022807251662015915,
0.08195021748542786,
-0.021897930651903152,
0.013305776752531528,
0.05708307772874832,
-0.0544850192964077,
-0.01929987035691738,
0.07853563129901886,
-0.023104172199964523,
-0.014632642269134521,
0.02193504571914673,
0.058975949883461,
-0.012962461449205875,
0.012582031078636646,
0.000152085063746199,
0.007525093853473663,
-0.045280467718839645,
-0.019819483160972595,
-0.04019569233059883,
-0.03952762112021446,
-0.01073555275797844,
-0.029729224741458893,
-0.008647826500236988,
-0.011245885863900185,
-0.052109651267528534,
0.0169894527643919,
0.03336650878190994,
0.010568534955382347,
0.02360522747039795,
0.043313365429639816,
-0.015699703246355057,
0.04821256175637245,
0.026463091373443604,
-0.028949806466698647,
-0.01114381942898035,
-0.04409278184175491,
0.027947697788476944,
0.010373680852353573,
0.01789877377450466,
0.04479796811938286,
0.024032050743699074,
0.02622184343636036,
0.03076844848692417,
-0.02946941740810871,
-0.0572686567902565,
-0.006119357887655497,
-0.012201600708067417,
-0.008323069661855698,
-0.019800925627350807,
0.0339789055287838,
-0.04335048049688339,
-0.06725262850522995,
-0.0024217625614255667,
0.025999153032898903,
0.08202444761991501,
0.050884850323200226,
-0.03154786676168442,
-0.06168535724282265,
0.008819484151899815,
-0.005539434030652046,
0.012025304138660431,
-0.012192321941256523,
-0.017768871039152145,
-0.00932981725782156,
-0.02713116444647312,
0.008972584269940853,
-0.02705693431198597,
-0.014975957572460175,
0.056674811989068985,
0.014669757336378098,
-0.038859546184539795,
-0.07044453173875809,
0.037913110107183456,
-0.009227750822901726,
-0.0076410784386098385,
0.025349637493491173,
0.014001685194671154,
0.027261067181825638,
0.005043019074946642,
-0.02798481285572052,
0.056674811989068985,
0.037282153964042664,
0.002101644640788436,
0.01595950871706009,
-0.0029784897342324257,
-0.0026351746637374163,
-0.02154533565044403,
0.057305771857500076,
0.03357063978910446,
0.025034159421920776,
-0.06339265406131744,
0.020227748900651932,
0.016107968986034393,
-0.020636016502976418,
0.011310838162899017,
-0.027094049379229546,
0.019819483160972595,
0.012582031078636646,
-0.10191816091537476,
-0.028801346197724342,
-0.024050608277320862,
-0.014335721731185913,
-0.04078953340649605,
0.061054397374391556,
-0.015616193413734436,
0.016627581790089607,
0.019448330625891685,
-0.00378806353546679,
0.003129269927740097,
0.007381272502243519,
-0.045762963593006134,
-0.0797233134508133,
-0.0191142950206995,
0.0012468366185203195,
0.0330510288476944,
-0.014975957572460175,
0.08491943031549454,
0.012749048881232738,
0.017369883134961128,
0.020932937040925026,
0.01920708268880844,
-0.05006831884384155,
-0.07189201563596725,
0.03191901743412018,
0.024959929287433624,
0.06328130513429642,
-0.007729227188974619,
0.027966255322098732,
0.06101728230714798,
0.06279881298542023,
-0.014103751629590988,
-0.00492239510640502,
-0.010401517152786255,
-0.024978486821055412,
-0.011505692265927792,
0.003456347156316042,
0.018613241612911224,
0.031844787299633026,
-0.007552930153906345,
-0.03229016810655594,
-0.005970897618681192,
-0.024922814220190048,
0.03238295763731003,
0.016943059861660004,
0.01985659822821617,
-0.004616194870322943,
0.0322716124355793,
0.04216279461979866,
0.0005802139639854431,
0.0018975113052874804,
-0.022825809195637703,
-0.02714972198009491,
0.06855165958404541,
0.02508983202278614,
-0.10704005509614944,
-0.06394937634468079,
0.05596962571144104,
-0.014660478569567204,
0.009348374791443348,
0.011728382669389248,
0.02286292426288128,
-0.02490425668656826,
0.008684941567480564,
0.0003876792034134269,
-0.00960354134440422,
0.003755587851628661,
0.038228590041399,
-0.01119021326303482,
0.013927455060184002,
-0.034090250730514526,
0.07230028510093689,
0.02752087265253067,
-0.03609446808695793,
-0.03952762112021446,
0.06528552621603012,
-0.019002949818968773,
0.021805142983794212,
0.048361022025346756,
-0.01297174021601677,
0.018715307116508484,
0.02174947038292885,
0.04294221103191376,
-0.0032475744374096394,
-0.033255163580179214,
0.013083085417747498,
-0.024755796417593956,
0.012053140439093113,
-0.025887807831168175,
0.03392323479056358,
-0.024737238883972168,
0.004889918956905603,
-0.07749640196561813,
0.08328636735677719,
-0.03030450828373432,
-0.015096581541001797,
0.013890339992940426,
0.03527793660759926,
0.04494642838835716,
-0.027298182249069214,
-0.02024630643427372,
0.015569799579679966,
-0.03067566081881523,
-0.02059890143573284,
-0.0010856176959350705,
-0.011459298431873322,
0.02202783338725567,
0.02818894572556019,
0.055635590106248856,
0.022046390920877457,
-0.004688105545938015,
0.048286791890859604,
0.015254320576786995,
0.019819483160972595,
-0.0008855439373292029,
-0.0007666595047339797,
-0.049956973642110825,
-0.050810620188713074,
0.04784141108393669,
-0.01763896830379963,
-0.05608097091317177,
0.06506283581256866,
0.012461407110095024,
-0.023939263075590134,
0.052183881402015686,
0.04806410148739815,
-0.06806915998458862,
0.007692112121731043,
-0.00620286725461483,
-0.05626654624938965,
0.029153939336538315,
0.012860395014286041,
-0.00876845046877861,
0.009306620806455612,
-0.0571201927959919,
-0.010726273991167545,
-0.06090593710541725,
0.0041313786059618,
0.016738926991820335,
0.009659213945269585,
0.023902148008346558,
-0.031770557165145874,
-0.03368198499083519,
-0.03293968364596367,
-0.02358666993677616,
0.07593756914138794,
-0.04104933887720108,
-0.017369883134961128,
-0.014103751629590988,
0.017945168539881706,
0.06146266683936119,
-0.04353605583310127,
-0.039787426590919495,
0.023271190002560616,
0.005186840426176786,
-0.03453563526272774,
-0.0007765182526782155,
0.10674313455820084,
0.021137069910764694,
0.027001261711120605,
-0.03336650878190994,
0.02583213523030281,
-0.04405566677451134,
0.008828762918710709,
0.008072542026638985,
-0.038488395512104034,
0.029525090008974075,
-0.022733021527528763,
-0.008777729235589504,
0.003530577290803194,
-0.01623787172138691,
-0.04309067130088806,
0.0022002316545695066,
0.014660478569567204,
0.0358346626162529,
-0.0016840993193909526,
-0.028875576332211494,
-0.03687388822436333,
0.0349067859351635,
-0.018622519448399544,
-0.07541795819997787,
0.045762963593006134,
0.01338000688701868,
0.04758160561323166,
0.009320538491010666,
-0.03460986539721489,
-0.060015175491571426,
0.01959679275751114,
0.018613241612911224,
-0.006434836890548468,
-0.031399406492710114,
0.014669757336378098,
-0.06261323392391205,
-0.009909741580486298,
-0.0025563049130141735,
0.05493040010333061,
0.003451707772910595,
0.03551918640732765,
0.00000984964663075516,
-0.030100375413894653,
0.022510329261422157,
0.034739766269922256,
0.04431547224521637,
0.02911682426929474,
0.04372163116931915,
-0.022733021527528763,
0.004073386080563068,
-0.006518345791846514,
0.013695484958589077,
0.00960354134440422,
-0.011301559396088123,
-0.006731757894158363,
-0.09204553812742233,
0.004565161652863026,
-0.03258708864450455,
0.024217626079916954,
0.037078019231557846,
0.03360775485634804,
0.012554194778203964,
0.06146266683936119,
-0.032123152166604996,
-0.0018244409002363682,
-0.07749640196561813,
-0.03646562248468399,
-0.0663989782333374,
-0.005103331059217453,
-0.0034424287732690573,
0.05567270517349243,
-0.02789202518761158,
0.01235934067517519,
-0.020320536568760872,
-0.04787852615118027,
0.059272874146699905,
-0.041754528880119324,
0.01678531989455223,
-0.020283421501517296,
-0.009037535637617111,
-0.02659299597144127,
0.023846475407481194,
-0.002134120324626565,
0.013825388625264168,
0.015309994108974934,
-0.05403963848948479,
0.0076317996717989445,
0.03256853297352791,
-0.041086453944444656,
-0.055078860372304916,
-0.00594306131824851,
0.025720790028572083,
-0.10585236549377441,
0.008522562682628632,
-0.005567270331084728,
-0.02247321419417858,
-0.03975031152367592,
-0.007413748651742935,
0.05559847503900528,
-0.008072542026638985,
-0.012424292042851448,
0.015235763043165207,
0.013918176293373108,
-0.050625044852495193,
0.04309067130088806,
0.07207759469747543,
-0.030452968552708626,
0.06710416823625565,
-0.021879373118281364,
-0.03826570510864258,
-0.022714463993906975,
0.00004034096491523087,
0.02471868135035038,
-0.010614928789436817,
-0.0011900040553882718,
-0.0031547865364700556,
-0.031288061290979385,
0.051627155393362045,
0.040826648473739624,
-0.03375621512532234,
-0.015551242046058178,
0.002811471465975046,
0.014762545004487038,
-0.05426232889294624,
-0.028597213327884674,
0.0026862078811973333,
-0.02575790509581566,
0.06999914348125458,
0.038117244839668274,
-0.08432558923959732,
0.00815605092793703,
-0.04758160561323166,
0.0060358489863574505,
-0.010503583587706089,
0.052851952612400055,
-0.008555038832128048,
0.06680724769830704,
0.07675410062074661,
0.004824967589229345,
0.06599070876836777,
0.007548290770500898,
-0.043795861303806305,
-0.0191142950206995,
-0.005636861082166433,
0.01105103176087141,
0.013370728120207787,
0.009566426277160645,
0.011162376962602139,
0.06999914348125458,
0.03253141790628433,
0.00041957502253353596,
-0.04821256175637245,
0.013862503692507744,
-0.03971319645643234,
0.011728382669389248,
0.031232386827468872,
-0.039601851254701614,
0.045391812920570374,
0.02807760052382946,
0.015514126978814602,
-0.02471868135035038,
0.05177561566233635,
-0.051627155393362045,
0.003718472784385085,
-0.014066636562347412,
0.002171235391870141,
-0.08276675641536713,
0.053223107010126114,
0.023382535204291344,
-0.033830445259809494,
-0.035222265869379044,
0.04238548502326012,
-0.015189369209110737,
0.021211300045251846,
0.0094226049259305,
-0.06599070876836777,
-0.03859974071383476,
0.008183887228369713,
-0.020005058497190475,
-0.024644451215863228,
-0.025423867627978325,
-0.04639391973614693,
0.031566422432661057,
-0.01848333701491356,
0.0024032050278037786,
0.009427244774997234,
0.0800202339887619,
-0.01677604205906391,
-0.053965408354997635,
-0.05118177458643913,
-0.0037950226105749607,
-0.029729224741458893,
-0.015987344086170197,
-0.01455841213464737,
-0.03264276310801506,
-0.023196959868073463,
0.027929140254855156,
-0.014762545004487038,
0.012749048881232738,
-0.01254491601139307,
0.01287895254790783,
0.018798816949129105,
0.010670601390302181,
-0.020079288631677628,
0.04142049327492714,
0.03704090416431427,
-0.043610285967588425,
-0.013342891819775105,
-0.05314887315034866,
-0.005827076267451048,
0.10273469984531403,
0.01631210185587406,
0.00646267319098115,
-0.015727538615465164,
-0.02471868135035038,
0.011403625831007957,
0.034479960799217224,
-0.04494642838835716,
-0.01342640072107315,
-0.026741456240415573,
0.01123660709708929,
-0.0400843471288681,
0.005933782551437616,
-0.008378742262721062,
-0.003848375752568245,
-0.051627155393362045,
0.05173850059509277,
-0.06784646958112717,
-0.009584983810782433,
0.020580343902111053,
0.007251369766891003,
-0.024978486821055412,
-0.002558624604716897,
0.05300041288137436,
0.044352587312459946,
-0.002179354429244995,
-0.03440573066473007,
-0.008258117362856865,
0.06194516271352768,
0.07066722214221954,
0.0281703881919384,
-0.002405524719506502,
-0.027409527450799942,
0.07497257739305496,
-0.017035847529768944,
-0.016191478818655014,
0.017221422865986824,
0.0034354696981608868,
-0.05719442665576935,
0.024236183613538742,
0.04375874623656273,
0.07860986143350601,
-0.04327625036239624,
-0.0761602595448494,
-0.001170286675915122,
-0.005029100924730301,
0.05626654624938965,
0.013073806650936604,
0.0024542384780943394,
0.03355208411812782,
0.019448330625891685,
-0.028244618326425552,
0.023456765338778496,
0.056118085980415344,
0.028114715591073036,
0.06844031065702438,
-0.02284436672925949,
0.021601010113954544,
-0.005919864401221275,
0.0682547390460968,
0.04691353067755699,
-0.03097258135676384,
-0.02891269139945507,
0.00041145607247017324,
-0.04917755722999573,
-0.004857443273067474,
-0.008842681534588337,
-0.02622184343636036,
-0.010188104584813118,
0.04665372520685196,
0.017091520130634308,
-0.020636016502976418,
0.04739603027701378,
0.005984815768897533,
-0.013008855283260345,
0.04568873345851898,
0.06528552621603012,
0.011644873768091202,
-0.04375874623656273,
0.01166343130171299,
0.026351746171712875,
-0.00900969933718443,
-0.00024733759346418083,
0.04843525215983391,
-0.007051875814795494,
0.006100800354033709,
-0.03926781564950943,
-0.024830026552081108,
-0.04275663569569588,
-0.04290509596467018,
0.0007991352467797697,
-0.02911682426929474,
0.013676927424967289,
-0.0076457178220152855,
0.0010473427828401327,
0.014150145463645458,
0.012322225607931614,
-0.04795275628566742,
0.038228590041399,
0.042682405561208725,
0.029692109674215317,
-0.02807760052382946,
0.03360775485634804,
-0.022547444328665733,
-0.0060033733025193214,
0.0350552462041378,
-0.033626314252614975,
-0.035778991878032684,
-0.013259381987154484,
0.005070855375379324,
-0.030935466289520264,
-0.022992826998233795,
-0.055635590106248856,
-0.02397637814283371,
-0.03256853297352791,
-0.005938421934843063,
-0.06383803486824036,
-0.06877434998750687,
-0.008726696483790874,
-0.02893124893307686,
0.03678109869360924,
-0.010429353453218937,
-0.03262420371174812,
-0.03874820098280907,
0.000007321540579141583,
-0.018334876745939255,
-0.021805142983794212,
0.09538590162992477,
0.050513699650764465,
-0.03971319645643234,
0.007965835742652416,
0.03125094622373581,
-0.05930998921394348,
0.0071678608655929565,
-0.01950400322675705,
-0.05047658458352089,
0.0380801297724247,
0.038859546184539795,
-0.016479119658470154,
0.07734794169664383,
-0.01492028497159481,
-0.022269081324338913,
-0.0165255144238472,
0.04401855170726776,
-0.011858286336064339,
-0.04520623758435249,
0.02295571193099022,
-0.0222876388579607,
0.027261067181825638,
-0.0009992090053856373,
-0.047061990946531296,
0.006652888376265764,
0.036706868559122086,
0.00431231502443552,
0.030378738418221474,
-0.009292702190577984,
0.09182284772396088,
0.00909784808754921,
-0.012340783141553402,
-0.02135976031422615,
0.0008217522990889847,
-0.010271613486111164,
-0.07404469698667526,
-0.04980851337313652,
0.028151830658316612,
0.07137240469455719,
0.04387009143829346,
-0.038377050310373306,
0.0012108812807127833,
0.023382535204291344,
-0.007775621023029089,
0.002588780829682946,
-0.06157401204109192,
0.028986921533942223,
0.0004297236737329513,
-0.005038379691541195,
-0.00047988712321966887,
-0.006100800354033709,
0.03210459277033806,
-0.06342976540327072,
-0.013315055519342422,
-0.0037439893931150436,
-0.03952762112021446,
-0.029729224741458893,
-0.009724165312945843,
-0.0367625430226326,
-0.04223702475428581,
0.009413326159119606,
0.07549218833446503,
-0.004931673873215914,
0.00008648116636322811,
-0.02154533565044403,
0.04487219825387001,
0.023271190002560616,
-0.038005899637937546,
-0.03971319645643234,
0.012183043174445629,
-0.03154786676168442,
-0.033347949385643005,
0.07571487873792648,
0.03394179046154022,
-0.04520623758435249,
0.04513200372457504,
0.009946856647729874,
-0.008522562682628632,
-0.0015275197802111506,
0.03308814391493797,
0.03919358551502228,
-0.03331083431839943,
0.018492616713047028,
0.007311681751161814,
0.08328636735677719,
0.0226773489266634,
0.009255587123334408,
0.05214676633477211,
-0.04572584852576256,
-0.08113368600606918,
-0.05288906767964363,
-0.006773512344807386,
0.10399661213159561,
0.013964570127427578,
-0.0554128997027874,
0.01668325439095497,
-0.03264276310801506,
-0.03021172061562538,
-0.03030450828373432,
0.013148036785423756,
0.03724503889679909,
-0.010392238385975361,
0.01315731555223465,
0.0008629269432276487,
0.03789455443620682,
-0.042014334350824356,
-0.031399406492710114,
0.04969716817140579,
0.05426232889294624,
-0.029599322006106377,
-0.005692534148693085,
0.009974692948162556,
-0.03145507723093033,
-0.09969125688076019,
0.019726695492863655,
0.04312778636813164,
0.010809783823788166,
-0.012043861672282219,
0.022621676325798035,
0.018223531544208527,
-0.028096158057451248,
-0.026054825633764267,
-0.0035792910493910313,
0.04294221103191376,
0.03770897909998894,
-0.011542807333171368,
0.028411636129021645,
-0.021601010113954544,
0.04119780287146568
] |
18,127 | jsondiff | emit_dict_diff | null | def emit_dict_diff(self, a, b, s, added, changed, removed):
if s == 0.0:
return {replace: b} if isinstance(b, dict) else b
elif s == 1.0:
return {}
else:
changed.update(added)
if removed:
changed[delete] = list(removed.keys())
return changed
| (self, a, b, s, added, changed, removed) | [
-0.008156451396644115,
-0.050226569175720215,
-0.016715358942747116,
-0.017779633402824402,
-0.04886716231703758,
-0.008657285943627357,
-0.04822323098778725,
0.046649180352687836,
0.029316719621419907,
-0.046935372054576874,
0.008205641061067581,
0.010159790515899658,
-0.019371572881937027,
0.005486823618412018,
-0.016777964308857918,
-0.014542094431817532,
-0.03126639872789383,
0.038456954061985016,
0.00046673775068484247,
-0.07841641455888748,
0.026669450104236603,
-0.02055211178958416,
0.029978537932038307,
0.07455282658338547,
-0.042177438735961914,
-0.045253995805978775,
-0.011715956032276154,
-0.06331982463598251,
0.06038635969161987,
0.0389220155775547,
-0.0073470668867230415,
-0.09294062107801437,
0.023789649829268456,
0.01789589785039425,
-0.003635523607954383,
-0.021661102771759033,
0.021231815218925476,
0.025005962699651718,
-0.02849392034113407,
-0.025184832513332367,
-0.03323396295309067,
-0.0044046626426279545,
-0.02212616428732872,
-0.010785833932459354,
0.03888624161481857,
0.04614834487438202,
-0.026097068563103676,
0.07677081227302551,
0.014068090356886387,
0.02352134697139263,
0.046613406389951706,
-0.04246363043785095,
0.015194968320429325,
0.08013355731964111,
0.0019552677404135466,
-0.05952778831124306,
0.010284999385476112,
0.021482232958078384,
-0.020784642547369003,
0.013853446580469608,
0.022716432809829712,
-0.008491831831634045,
-0.013209516182541847,
-0.028476033359766006,
-0.02362866699695587,
-0.0359170064330101,
0.02128547616302967,
-0.06074409931898117,
-0.014094920828938484,
0.02790364995598793,
-0.01351359486579895,
-0.007856844924390316,
0.008344264701008797,
0.0028328464832156897,
-0.007633258122950792,
0.05062008276581764,
0.014050203375518322,
0.031284283846616745,
0.01992606744170189,
-0.055306464433670044,
0.02150011993944645,
-0.04385881498456001,
-0.02209039032459259,
0.04207012057304382,
0.014470546506345272,
0.021732650697231293,
-0.0009893722599372268,
0.013397329486906528,
0.04879561439156532,
-0.042177438735961914,
-0.045432865619659424,
-0.013540425337851048,
0.01992606744170189,
0.01572263427078724,
0.005942940711975098,
0.014944551512598991,
-0.06185309216380119,
-0.028762223199009895,
0.04239208251237869,
0.005755127873271704,
0.09279752522706985,
-0.003385106334462762,
-0.043536849319934845,
-0.003215180244296789,
0.013728238642215729,
-0.06256856769323349,
0.021893633529543877,
-0.05630813539028168,
-0.017842238768935204,
0.008107262663543224,
-0.024218937382102013,
0.02285952866077423,
-0.04393036291003227,
0.02899475395679474,
0.01272656861692667,
0.010177677497267723,
-0.009497973136603832,
-0.0729072317481041,
0.011206177063286304,
0.01557953841984272,
-0.023324590176343918,
0.010150847025215626,
0.02849392034113407,
0.030926546081900597,
-0.003132452955469489,
-0.03766992688179016,
0.029996424913406372,
-0.0115907471626997,
0.05620081350207329,
0.00833084899932146,
0.03634629398584366,
-0.0426425002515316,
-0.03133794665336609,
0.037240639328956604,
0.050155021250247955,
0.014568924903869629,
-0.041676606982946396,
0.06925828754901886,
0.06621751189231873,
0.029781781136989594,
0.002573485719040036,
-0.003170462790876627,
0.006408001761883497,
0.03477223962545395,
-0.04922490194439888,
-0.006752325687557459,
0.0014354281593114138,
0.046720728278160095,
-0.04554018750786781,
0.030586693435907364,
0.0022414589766412973,
0.018584545701742172,
-0.009846769273281097,
-0.009667899459600449,
-0.037133317440748215,
-0.006926723290234804,
-0.019317911937832832,
-0.06396374851465225,
-0.02622227557003498,
0.009515860117971897,
0.07870260626077652,
-0.007172669284045696,
0.06804198026657104,
-0.04325065761804581,
0.01709098555147648,
0.015803124755620956,
0.05294538661837578,
0.01155497319996357,
-0.015695802867412567,
0.002727760700508952,
-0.00615311274304986,
0.0574171282351017,
-0.03137372061610222,
0.01365669071674347,
0.06757691502571106,
0.029316719621419907,
0.011698069050908089,
-0.03350226581096649,
-0.019246364012360573,
0.009041856043040752,
0.04403768479824066,
0.011313498951494694,
-0.018638206645846367,
0.07426663488149643,
0.00225822813808918,
-0.026275936514139175,
-0.0051290844567120075,
0.014246960170567036,
0.007119008339941502,
0.010526473633944988,
0.018012164160609245,
0.022179825231432915,
0.006077093072235584,
0.030157405883073807,
-0.02471977286040783,
0.025900311768054962,
-0.04128309339284897,
-0.032124970108270645,
0.018584545701742172,
0.05108514428138733,
-0.11097066849470139,
-0.05462676286697388,
-0.03210708498954773,
0.00556731503456831,
-0.008491831831634045,
-0.017064156010746956,
0.048688292503356934,
-0.030085857957601547,
-0.006689721252769232,
0.0016120618674904108,
-0.01666169799864292,
-0.012243621051311493,
0.019228477030992508,
-0.05129978805780411,
0.001989923883229494,
-0.025363702327013016,
0.05129978805780411,
0.04571905732154846,
-0.04271404817700386,
-0.059992849826812744,
0.02450512908399105,
-0.011608634144067764,
0.03525518998503685,
0.0341104231774807,
-0.011805390939116478,
0.0007993233157321811,
0.008639398962259293,
-0.0038233366794884205,
-0.030550919473171234,
-0.025113284587860107,
0.037025999277830124,
-0.002573485719040036,
0.0010245871962979436,
-0.036399953067302704,
0.0912950187921524,
-0.012681851163506508,
0.007874731905758381,
-0.0799904614686966,
0.06410684436559677,
-0.02205461636185646,
-0.004579060710966587,
0.038600049912929535,
0.028976866975426674,
0.07619842886924744,
-0.0333949439227581,
-0.056594327092170715,
0.03060458041727543,
-0.008098319172859192,
-0.045432865619659424,
0.017529215663671494,
0.014246960170567036,
-0.004825006239116192,
-0.0004633839416783303,
0.04790126532316208,
0.027295494452118874,
0.002955819247290492,
0.03248270973563194,
0.014345338568091393,
0.015418555587530136,
-0.021965181455016136,
0.02793942391872406,
0.006564512383192778,
-0.0789172500371933,
0.03307298198342323,
0.00497257336974144,
-0.04389458894729614,
0.04067493602633476,
0.03337705880403519,
-0.040317196398973465,
0.06442881375551224,
0.033001434057950974,
-0.06936561316251755,
-0.01781540736556053,
-0.03251848369836807,
-0.023575007915496826,
0.02475554682314396,
0.05788218602538109,
-0.040496066212654114,
0.03318030387163162,
-0.01810159906744957,
0.0008608096977695823,
-0.028136180713772774,
-0.009319103322923183,
0.03178511932492256,
0.007436501793563366,
0.037240639328956604,
-0.023825423792004585,
-0.0219830684363842,
-0.003935130313038826,
-0.06385643035173416,
0.043322205543518066,
-0.04006677865982056,
-0.02615072950720787,
-0.013799785636365414,
-0.02486286871135235,
0.046828050166368484,
-0.015499047003686428,
-0.050119247287511826,
0.03978058695793152,
0.04625566676259041,
-0.040460292249917984,
0.011036251671612263,
0.09022179991006851,
0.05559265613555908,
-0.022394467145204544,
-0.026562128216028214,
0.058383021503686905,
-0.051550205796957016,
0.01680479384958744,
-0.025059623643755913,
-0.07079657167196274,
0.024451468139886856,
0.004078225698322058,
0.04106844961643219,
0.004084933549165726,
-0.01978297345340252,
-0.05730980634689331,
0.01396971195936203,
0.005245349835604429,
0.051621753722429276,
-0.023092059418559074,
0.0006187768303789198,
-0.06643214821815491,
-0.00985571276396513,
0.024218937382102013,
-0.09780587255954742,
0.025721441954374313,
0.005312425550073385,
0.0960887223482132,
0.001884837867692113,
-0.022108277305960655,
-0.06299785524606705,
0.04078225791454315,
0.011841163970530033,
-0.03756260499358177,
-0.017448725178837776,
0.02541736327111721,
-0.02604340761899948,
-0.032786790281534195,
-0.017779633402824402,
0.019872406497597694,
-0.0030430182814598083,
0.002213510684669018,
0.019443120807409286,
0.005491295363754034,
0.011921655386686325,
-0.02684831991791725,
0.0020525280851870775,
0.005106725730001926,
-0.029710233211517334,
-0.025399476289749146,
0.03910088539123535,
0.019031720235943794,
0.05906272679567337,
0.05809682980179787,
0.02556045912206173,
0.012181016616523266,
-0.054805632680654526,
0.020605772733688354,
-0.014881947077810764,
0.001972036901861429,
0.07190556079149246,
0.009019496850669384,
0.003463361645117402,
0.04740042984485626,
-0.01314691174775362,
-0.01621452532708645,
-0.054984498769044876,
-0.04235630854964256,
-0.06525161117315292,
-0.008657285943627357,
0.005866921506822109,
0.041819702833890915,
-0.012145242653787136,
0.022036729380488396,
-0.0342356339097023,
-0.03827808424830437,
0.04571905732154846,
-0.009274385869503021,
-0.0032576618250459433,
-0.005383973475545645,
0.034396614879369736,
-0.05552110821008682,
0.07684236019849777,
0.031838782131671906,
-0.004883138928562403,
0.0350763201713562,
-0.07272835820913315,
0.06521584093570709,
0.018638206645846367,
-0.053481996059417725,
-0.038635823875665665,
0.02241235412657261,
0.0490102581679821,
-0.07863105833530426,
-0.03738373517990112,
-0.02954925037920475,
-0.027152398601174355,
-0.08385404944419861,
-0.027921536937355995,
0.058168377727270126,
0.00896583590656519,
-0.08471261709928513,
-0.027009302750229836,
0.0021509064827114344,
-0.04761507362127304,
0.010884212329983711,
0.053517770022153854,
-0.03210708498954773,
0.03902933746576309,
-0.05129978805780411,
-0.03935130313038826,
-0.05927737057209015,
-0.04246363043785095,
0.01985451951622963,
-0.00400891387835145,
-0.0016087080584838986,
-0.018387790769338608,
-0.04557596147060394,
0.03316241502761841,
0.03479012846946716,
-0.012950155884027481,
0.009059743024408817,
0.01572263427078724,
0.058383021503686905,
-0.02482709474861622,
-0.058204151690006256,
0.02888743206858635,
0.024773433804512024,
0.0409611277282238,
0.04943954572081566,
-0.058526117354631424,
0.02849392034113407,
-0.05047698691487312,
0.03310875594615936,
-0.01468519028276205,
0.07562604546546936,
0.005146971438080072,
0.06346292048692703,
0.08614357560873032,
0.013164798729121685,
0.006712079979479313,
0.005728297401219606,
0.010124016553163528,
-0.015069759450852871,
-0.018012164160609245,
-0.010338660329580307,
-0.019908180460333824,
0.05219413712620735,
0.004981516860425472,
0.0960887223482132,
-0.016187693923711777,
-0.005290066823363304,
-0.038385406136512756,
0.02076675556600094,
-0.03480801358819008,
-0.001340403687208891,
0.014908777549862862,
-0.04593370109796524,
0.019943954423069954,
-0.00017831058357842267,
0.00467296689748764,
-0.04632721468806267,
0.05219413712620735,
-0.029424041509628296,
0.0009127936791628599,
0.0017462139949202538,
-0.04078225791454315,
-0.0570593886077404,
0.046899598091840744,
0.051621753722429276,
-0.03396732732653618,
-0.01887073740363121,
0.012601359747350216,
-0.0325542576611042,
-0.00896136462688446,
0.006613701581954956,
-0.023431912064552307,
-0.03427140787243843,
0.018673980608582497,
0.012511924840509892,
0.018566658720374107,
-0.055306464433670044,
-0.0223408080637455,
0.021822085604071617,
-0.017171477898955345,
0.004860780201852322,
0.015990937128663063,
0.03452182188630104,
0.013459933921694756,
-0.005254293326288462,
-0.06915096938610077,
-0.02062365971505642,
-0.007311292923986912,
-0.032679468393325806,
-0.03189244121313095,
0.017341403290629387,
-0.004223557189106941,
0.012494037859141827,
-0.017386119812726974,
-0.0012330820318311453,
-0.04403768479824066,
-0.027045076712965965,
0.007651145104318857,
-0.003282256191596389,
-0.02720605954527855,
-0.005146971438080072,
0.013352612033486366,
-0.03792034462094307,
0.005705938674509525,
-0.03489745035767555,
-0.006975912488996983,
0.08628667145967484,
0.06185309216380119,
-0.003579627024009824,
-0.05605771765112877,
-0.045253995805978775,
0.0007892618887126446,
-0.019067494198679924,
-0.07398045063018799,
0.012297281995415688,
0.016616981476545334,
0.005160386674106121,
-0.04146196320652962,
0.007619842886924744,
-0.02885165810585022,
-0.02793942391872406,
-0.023431912064552307,
0.051872171461582184,
-0.06217505782842636,
-0.051907945424318314,
0.0027702422812581062,
0.007248688489198685,
-0.012127355672419071,
-0.022394467145204544,
0.05219413712620735,
0.019353685900568962,
-0.0160356555134058,
-0.08414024114608765,
-0.007315764669328928,
0.07043883204460144,
0.04486048221588135,
0.06074409931898117,
-0.008903232403099537,
-0.0142648471519351,
0.08943477272987366,
0.010115073062479496,
-0.004646136425435543,
0.012807060033082962,
-0.013120081275701523,
-0.08392559736967087,
-0.025989746674895287,
0.038778919726610184,
0.04604102298617363,
-0.04643453657627106,
-0.04067493602633476,
-0.031731460243463516,
-0.012851777486503124,
0.012163129635155201,
0.008590210229158401,
0.02597185969352722,
-0.0002705401857383549,
0.07233484834432602,
0.034360840916633606,
-0.00549576710909605,
0.05788218602538109,
0.053625091910362244,
0.06185309216380119,
-0.02888743206858635,
0.024165276437997818,
-0.013415216468274593,
0.04207012057304382,
0.003034074790775776,
-0.005942940711975098,
-0.041712380945682526,
0.0015695802867412567,
-0.023932745680212975,
-0.007557238452136517,
0.0008619276341050863,
-0.0053571430034935474,
-0.013826616108417511,
0.03053303249180317,
0.045361317694187164,
0.029137849807739258,
0.05688051879405975,
0.007485690992325544,
-0.03337705880403519,
0.03978058695793152,
0.030228953808546066,
0.053553543984889984,
-0.05616503953933716,
-0.014407942071557045,
-0.02618650160729885,
-0.03613165020942688,
-0.0004125178966205567,
-0.005343727767467499,
0.045039352029561996,
0.05949201434850693,
-0.06915096938610077,
0.00010948772978736088,
-0.03273312747478485,
-0.035559266805648804,
0.03774147480726242,
-0.030372049659490585,
0.004203434567898512,
-0.006506380159407854,
0.06296208500862122,
-0.011912711896002293,
-0.003432059660553932,
-0.024809207767248154,
-0.004981516860425472,
0.03595278039574623,
0.026812545955181122,
-0.04775816947221756,
0.07498211413621902,
-0.031176963821053505,
0.025757215917110443,
-0.00500834733247757,
-0.026669450104236603,
-0.02062365971505642,
0.011429764330387115,
-0.0142648471519351,
-0.03115907683968544,
0.015803124755620956,
-0.06467922776937485,
-0.029245171695947647,
0.00850524753332138,
0.019282137975096703,
-0.0160356555134058,
-0.06324827671051025,
-0.028654903173446655,
0.0005735005252063274,
0.0560934916138649,
-0.012547698803246021,
0.01792272925376892,
0.03945862501859665,
0.02658001519739628,
0.017878012731671333,
0.004384540021419525,
0.06267589330673218,
0.08220844715833664,
-0.053231578320264816,
0.012681851163506508,
0.02241235412657261,
-0.030372049659490585,
0.021124493330717087,
0.024880755692720413,
-0.02650846727192402,
0.026597902178764343,
0.00854549277573824,
0.00723080150783062,
0.02439780719578266,
-0.03741950914263725,
-0.03992368280887604,
-0.03496899828314781,
0.03988790884613991,
-0.0017808700213208795,
-0.018092654645442963,
-0.0059384689666330814,
-0.02779632806777954,
0.004223557189106941,
-0.0020346411038190126,
-0.061566900461912155,
-0.03199976310133934,
0.0822799950838089,
0.0031861138995736837,
0.022948963567614555,
0.04486048221588135,
0.06593132019042969,
-0.006367756053805351,
-0.004049159586429596,
-0.05541378632187843,
-0.02629382349550724,
-0.012753399088978767,
-0.06278321146965027,
-0.032572146505117416,
0.029978537932038307,
0.06525161117315292,
0.03817076236009598,
-0.04274982213973999,
-0.015668973326683044,
0.03244693577289581,
-0.0270271897315979,
-0.00945325568318367,
-0.012905438430607319,
0.04235630854964256,
-0.02684831991791725,
-0.007271047215908766,
0.015078702941536903,
0.015186024829745293,
0.03802766650915146,
-0.07419508695602417,
-0.019586216658353806,
-0.017359290271997452,
-0.006103923544287682,
0.0015494575491175056,
-0.004565645474940538,
-0.04715001583099365,
-0.037097543478012085,
0.010902099311351776,
0.06993799656629562,
0.01673324592411518,
0.0285296943038702,
-0.040388744324445724,
0.023163607344031334,
-0.04249940440058708,
-0.025614120066165924,
-0.038635823875665665,
-0.010437038727104664,
-0.05047698691487312,
-0.046935372054576874,
0.051729075610637665,
-0.003944073803722858,
-0.01705521158874035,
0.00217550084926188,
-0.016724303364753723,
-0.012431434355676174,
-0.001964211231097579,
0.03162413835525513,
0.041962798684835434,
-0.0577748641371727,
0.003754024626687169,
0.028690677136182785,
0.07791557908058167,
-0.004740043077617884,
-0.009435368701815605,
0.032786790281534195,
-0.056522779166698456,
-0.07455282658338547,
-0.011358216404914856,
0.015382781624794006,
0.0456475093960762,
-0.00660922983661294,
-0.022519676014780998,
-0.004748986568301916,
0.01532017719000578,
-0.015552707947790623,
-0.03992368280887604,
0.038671597838401794,
0.01992606744170189,
0.026615789160132408,
0.03434295579791069,
0.030890772119164467,
0.024004293605685234,
-0.0426425002515316,
-0.035344623029232025,
0.008420283906161785,
0.06857858598232269,
-0.034611258655786514,
0.003964196424931288,
0.031981874257326126,
-0.019586216658353806,
-0.05863343924283981,
0.003678005188703537,
0.013844503089785576,
-0.007995468564331532,
-0.020534224808216095,
0.01655437797307968,
0.02117815427482128,
0.0007931746658869088,
0.006202301941812038,
0.037276413291692734,
0.03606010228395462,
0.04958264157176018,
-0.005312425550073385,
0.0293703805655241,
-0.027152398601174355,
0.03895778954029083
] |
18,128 | jsondiff | emit_list_diff | null | def emit_list_diff(self, a, b, s, inserted, changed, deleted):
if s == 0.0:
return {replace: b} if isinstance(b, dict) else b
elif s == 1.0:
return {}
else:
d = changed
if inserted:
d[insert] = inserted
if deleted:
d[delete] = [pos for pos, value in deleted]
return d
| (self, a, b, s, inserted, changed, deleted) | [
0.009751862846314907,
-0.054302386939525604,
-0.011032410897314548,
-0.02030966617166996,
-0.03757467120885849,
0.0023640880826860666,
-0.03239875286817551,
0.033240512013435364,
0.016476977616548538,
-0.016235195100307465,
-0.017614247277379036,
-0.005516205448657274,
-0.03915072977542877,
-0.029049627482891083,
-0.01860823854804039,
-0.01923508010804653,
-0.04323415458202362,
0.027527296915650368,
-0.0012693541357293725,
-0.06952568143606186,
0.024894563481211662,
-0.007835518568754196,
0.02462591603398323,
0.0604991614818573,
-0.02478710561990738,
-0.049072735011577606,
-0.003926714416593313,
-0.06254087388515472,
0.033401697874069214,
0.043735627084970474,
0.024840833619236946,
-0.07994915544986725,
0.014399445615708828,
-0.018858974799513817,
-0.004849066957831383,
-0.019020162522792816,
0.003709558630362153,
0.03635680675506592,
0.008592206053435802,
-0.024930382147431374,
-0.005981859285384417,
-0.0292645450681448,
0.004132676403969526,
-0.0011294340947642922,
0.05229649320244789,
0.07543589919805527,
-0.011032410897314548,
0.0575619600713253,
0.019038071855902672,
0.02881680056452751,
0.04932347312569618,
-0.03993875905871391,
-0.0026013923343271017,
0.02577214129269123,
-0.0062102084048092365,
-0.034547921270132065,
0.030697325244545937,
0.032846495509147644,
0.006975850556045771,
0.0268109068274498,
0.03718065842986107,
0.010011554695665836,
-0.01730082556605339,
-0.03476284071803093,
-0.011157779023051262,
-0.026219885796308517,
0.018303772434592247,
-0.06780634075403214,
-0.022637933492660522,
0.04352071136236191,
-0.013217401690781116,
-0.016494886949658394,
0.016835171729326248,
0.0031162977684289217,
0.007942977361381054,
0.071961410343647,
0.028566064313054085,
0.05029059946537018,
0.027742214500904083,
-0.04176555573940277,
-0.010763764381408691,
-0.025754231959581375,
0.012671153992414474,
0.04724594205617905,
0.035855334252119064,
0.017945576459169388,
0.0003987719537690282,
0.025091569870710373,
0.04627881571650505,
-0.04244612529873848,
-0.05498295649886131,
-0.02419608272612095,
0.00001820708712330088,
-0.0030267490074038506,
-0.028727252036333084,
0.027939222753047943,
-0.06418856978416443,
-0.04878618195652962,
0.04663700982928276,
0.04061933234333992,
0.10674215853214264,
0.013253220357000828,
-0.05086371302604675,
-0.014399445615708828,
0.010477208532392979,
-0.06698249280452728,
0.004692356567829847,
-0.0536218136548996,
-0.011569703929126263,
0.02299612946808338,
-0.030518226325511932,
0.052833784371614456,
-0.0032842017244547606,
0.018330637365579605,
-0.004231180064380169,
0.019038071855902672,
0.016432203352451324,
-0.07271361351013184,
0.0024894564412534237,
-0.0022991651203483343,
-0.0008479150710627437,
-0.04018949717283249,
0.010002600029110909,
0.03546132147312164,
-0.004692356567829847,
-0.02272748202085495,
0.03356288745999336,
-0.005538592580705881,
0.04169391468167305,
0.007262406870722771,
0.040368594229221344,
-0.04520422965288162,
-0.03947310522198677,
0.0405476912856102,
0.043771449476480484,
-0.0009962302865460515,
-0.055018775165081024,
0.0379328653216362,
0.036088161170482635,
-0.006317667197436094,
0.0031543560326099396,
-0.012420416809618473,
0.03329423815011978,
0.04674446955323219,
-0.06691085547208786,
-0.01678144372999668,
0.004920706152915955,
0.06415275484323502,
-0.03345542773604393,
0.06225431710481644,
-0.017453059554100037,
0.04108498618006706,
0.005193829536437988,
-0.05179502069950104,
-0.04964584857225418,
-0.0005277781747281551,
-0.0428401418030262,
-0.07722687721252441,
-0.016503842547535896,
0.033150963485240936,
0.07593737542629242,
-0.031574901193380356,
0.04205211251974106,
0.008099688217043877,
0.008905626833438873,
0.016951585188508034,
0.024088624864816666,
-0.0023708040826022625,
-0.0349956676363945,
-0.0046028075739741325,
0.02054249309003353,
0.048284705728292465,
-0.015554624609649181,
-0.008542953990399837,
0.04921601340174675,
0.03417181596159935,
-0.01069212518632412,
-0.002596914768218994,
-0.008238488808274269,
-0.025915419682860374,
0.01286816131323576,
0.008162371814250946,
0.003839404322206974,
0.04323415458202362,
-0.007257929537445307,
-0.003935669083148241,
-0.02360505983233452,
0.02387370727956295,
0.007186290342360735,
0.01585908979177475,
-0.02672135829925537,
0.00002640989623614587,
0.01363828033208847,
-0.0036647841334342957,
-0.04069096967577934,
0.05405164882540703,
-0.07027789205312729,
-0.009196660481393337,
0.002834219252690673,
0.047568317502737045,
-0.10444970428943634,
-0.05039805918931961,
-0.024697555229067802,
0.0006117301527410746,
0.01031602080911398,
0.01619042083621025,
0.030160032212734222,
-0.037073198705911636,
0.007714628241956234,
-0.026828818023204803,
-0.003839404322206974,
-0.010459298267960548,
-0.007875815965235233,
-0.027294469997286797,
0.007432549260556698,
-0.04778323322534561,
-0.003693887498229742,
0.03847016021609306,
-0.022745393216609955,
-0.06558553129434586,
0.03847016021609306,
-0.04094170778989792,
-0.004186405800282955,
0.01172193605452776,
-0.0069489860907197,
0.049036916345357895,
0.01844705082476139,
-0.030339129269123077,
-0.052475590258836746,
-0.003967011347413063,
0.017372464761137962,
-0.024500548839569092,
0.004078947473317385,
-0.026184065267443657,
0.08460569381713867,
-0.021903634071350098,
-0.003821494523435831,
-0.07017043232917786,
0.05763360112905502,
-0.005641573574393988,
-0.052869606763124466,
0.042661044746637344,
0.05763360112905502,
0.06895256787538528,
-0.017587382346391678,
-0.03868507593870163,
0.020327575504779816,
-0.0011199195869266987,
-0.053191982209682465,
0.030231671407818794,
-0.013136806897819042,
-0.005883355624973774,
0.01789184845983982,
0.026345252990722656,
0.040762607008218765,
-0.012581604532897472,
0.027688484638929367,
0.034386735409498215,
0.0035707580391317606,
-0.03300768509507179,
-0.01100554596632719,
0.005238604266196489,
-0.06225431710481644,
0.019808191806077957,
0.002594676101580262,
-0.0454549640417099,
0.027742214500904083,
0.05519787222146988,
-0.04298342019319534,
0.08145357668399811,
0.04814142733812332,
-0.05824253335595131,
-0.04015367850661278,
-0.03732393682003021,
-0.01746201328933239,
0.027688484638929367,
0.06630192697048187,
-0.04785487428307533,
0.021724537014961243,
-0.03601652383804321,
0.014605407603085041,
-0.020130567252635956,
-0.018357502296566963,
0.04280431941151619,
0.012456236407160759,
0.037789590656757355,
-0.02099023573100567,
-0.043449074029922485,
-0.032685309648513794,
-0.049001097679138184,
0.03241666033864021,
-0.02129470184445381,
-0.0138173783197999,
-0.018035126850008965,
-0.006586313247680664,
0.05351435765624046,
0.005014732014387846,
-0.0030446588061749935,
0.03619562089443207,
0.03424345701932907,
-0.04405800253152847,
0.0005185434711165726,
0.1036616787314415,
0.06164538487792015,
-0.033831533044576645,
-0.05856490880250931,
0.03932982683181763,
-0.055448610335588455,
0.0075310529209673405,
-0.04334161430597305,
-0.05226067453622818,
0.03221965581178665,
-0.01437258068472147,
0.030661504715681076,
0.02475128509104252,
-0.01654861681163311,
-0.07865965366363525,
0.018482869490981102,
0.011417470872402191,
0.06927493959665298,
-0.012680108658969402,
-0.007240019738674164,
-0.057347044348716736,
0.03540759161114693,
0.013450227677822113,
-0.07830145955085754,
0.018124675378203392,
0.016396382823586464,
0.07428967207670212,
0.02707955427467823,
-0.01589491032063961,
-0.07074354588985443,
0.025843780487775803,
-0.013477092608809471,
-0.023748338222503662,
-0.03940146788954735,
0.03041076846420765,
-0.02756311744451523,
-0.02767057530581951,
-0.031091339886188507,
0.003461060579866171,
0.01723814196884632,
-0.018751516938209534,
0.045347508043050766,
0.031342074275016785,
0.03057195618748665,
0.0002132380468538031,
0.029515281319618225,
-0.007571350317448378,
0.016503842547535896,
-0.004132676403969526,
0.01053093746304512,
0.009384713135659695,
0.04849962517619133,
0.07278525829315186,
0.021796174347400665,
-0.0037252295296639204,
-0.05150846391916275,
-0.004616240039467812,
-0.008748916909098625,
0.020220115780830383,
0.033992718905210495,
0.03642844781279564,
0.004067753907293081,
0.05140100419521332,
-0.015742676332592964,
-0.016557570546865463,
-0.07335836440324783,
-0.03103761002421379,
-0.04857126250863075,
-0.021670807152986526,
0.0011775665916502476,
0.05759778246283531,
-0.006854959763586521,
0.04369980841875076,
-0.06888093054294586,
-0.05333525687456131,
0.04674446955323219,
-0.021115604788064957,
0.0022543908562511206,
-0.02063204161822796,
0.0005406507989391685,
0.003512551309540868,
0.06970477849245071,
0.010593621991574764,
0.014068114571273327,
0.02759893611073494,
-0.046028077602386475,
0.05412328615784645,
0.018142584711313248,
-0.06092899665236473,
-0.02106187492609024,
-0.011883124709129333,
0.028834709897637367,
-0.08059390634298325,
-0.035926975309848785,
-0.025879599153995514,
-0.03444046527147293,
-0.07787162810564041,
-0.038935814052820206,
0.063436359167099,
0.010074238292872906,
-0.09621121734380722,
-0.003344647353515029,
-0.010226471349596977,
-0.04986076429486275,
0.010271246545016766,
0.061860304325819016,
-0.059173841029405594,
0.02570050209760666,
-0.05272632837295532,
-0.03116297908127308,
-0.030786873772740364,
-0.05423074588179588,
0.0379328653216362,
-0.014175573363900185,
-0.030589865520596504,
0.023855797946453094,
-0.04875035956501961,
0.015805361792445183,
0.01762320101261139,
-0.019700733944773674,
0.04857126250863075,
0.0277959443628788,
0.03975966200232506,
-0.011489110067486763,
-0.0624692365527153,
0.04015367850661278,
0.001810004934668541,
0.009689179249107838,
0.05641573667526245,
-0.03255993872880936,
0.02371251955628395,
-0.04889363795518875,
0.049072735011577606,
-0.016082962974905968,
0.09542319178581238,
0.000026917106879409403,
0.06340054422616959,
0.07257033884525299,
0.023766249418258667,
0.04215956851840019,
0.01664711907505989,
0.01628892496228218,
-0.005037119146436453,
0.007660898845642805,
-0.01589491032063961,
-0.03200473636388779,
0.040726788341999054,
-0.009886186569929123,
0.08138193935155869,
-0.0015838942490518093,
0.024912472814321518,
-0.006595268379896879,
0.027330290526151657,
-0.03655381500720978,
-0.010298110544681549,
-0.010342884808778763,
-0.04670864716172218,
0.0075579178519546986,
0.04778323322534561,
0.006152001675218344,
-0.02561095356941223,
0.04244612529873848,
-0.016799353063106537,
-0.024769194424152374,
-0.00446400698274374,
-0.04584898054599762,
-0.030500316992402077,
0.04663700982928276,
0.056988850235939026,
-0.03950892388820648,
-0.035694148391485214,
0.006250505335628986,
-0.04241030663251877,
-0.013092032633721828,
0.0138979721814394,
-0.03753885254263878,
-0.02288866974413395,
0.0138979721814394,
-0.0056997803039848804,
-0.018142584711313248,
-0.038076143711805344,
-0.01873360574245453,
0.0030468974728137255,
-0.03922237083315849,
0.0021480515133589506,
-0.003344647353515029,
0.02004101872444153,
-0.016557570546865463,
-0.008131030015647411,
-0.06612282246351242,
0.009966780431568623,
-0.026076607406139374,
-0.028207868337631226,
-0.03230920433998108,
-0.007378820329904556,
-0.02367669902741909,
0.034744929522275925,
-0.0035215062089264393,
-0.0008809362188912928,
-0.04810560867190361,
-0.005278901197016239,
-0.003205846529453993,
0.02335432358086109,
-0.031933099031448364,
0.02786758355796337,
0.02122306264936924,
-0.07060026377439499,
-0.009635449387133121,
-0.024321451783180237,
-0.016897857189178467,
0.08396094292402267,
0.04617135599255562,
-0.051687560975551605,
-0.06526315957307816,
-0.04162227734923363,
0.01817840337753296,
0.004696833901107311,
-0.052869606763124466,
0.013271130621433258,
-0.0022431970573961735,
-0.020811138674616814,
-0.06554971635341644,
0.01923508010804653,
-0.03685828298330307,
-0.025199029594659805,
-0.037359755486249924,
0.061108093708753586,
-0.044487837702035904,
-0.06587208807468414,
-0.016271015629172325,
0.009339938871562481,
-0.02645271271467209,
-0.027724305167794228,
0.08625338971614838,
0.03658963367342949,
0.0070116701535880566,
-0.07060026377439499,
0.005287855863571167,
0.05261886864900589,
0.06483332067728043,
0.02949737012386322,
-0.04298342019319534,
-0.020649950951337814,
0.08245652168989182,
-0.02331850491464138,
-0.034977756440639496,
-0.00007639631076017395,
-0.00586096802726388,
-0.03872089460492134,
-0.040368594229221344,
0.009456352330744267,
0.0323808416724205,
-0.05874400585889816,
-0.040762607008218765,
-0.03786122798919678,
-0.013602460734546185,
0.03148535266518593,
0.005220694467425346,
0.02985556609928608,
0.018894795328378677,
0.06096481531858444,
0.029586920514702797,
0.022745393216609955,
0.06619446724653244,
0.048642903566360474,
0.028118319809436798,
-0.012805476784706116,
0.02161707729101181,
0.026542261242866516,
0.0376104898750782,
0.01893061399459839,
-0.006384828593581915,
-0.035300131887197495,
-0.010495117865502834,
0.010360795073211193,
-0.027419839054346085,
0.012232364155352116,
-0.028673522174358368,
-0.01108613982796669,
0.02593332901597023,
0.02776012383401394,
0.019575364887714386,
0.09298746287822723,
0.025467675179243088,
-0.04162227734923363,
0.038541797548532486,
0.02347969263792038,
0.050899531692266464,
-0.046028077602386475,
-0.002923768013715744,
-0.030357038602232933,
-0.012832341715693474,
-0.0049072736874222755,
-0.008019094355404377,
0.028834709897637367,
0.04953838884830475,
-0.08489225059747696,
0.004067753907293081,
-0.01893061399459839,
-0.016539661213755608,
0.01550089567899704,
-0.05150846391916275,
0.03180772811174393,
-0.030177941545844078,
0.06784216314554214,
-0.03445837274193764,
-0.0010348481591790915,
0.004849066957831383,
0.01893061399459839,
0.05290542542934418,
0.02478710561990738,
-0.06357964128255844,
0.04334161430597305,
-0.01388006191700697,
0.042625222355127335,
0.021885724738240242,
0.009922006167471409,
-0.017873939126729965,
0.007714628241956234,
0.012196545489132404,
-0.005852013360708952,
0.002941677812486887,
-0.05781269818544388,
-0.04918019473552704,
-0.0026170634664595127,
0.028834709897637367,
-0.0026394505985081196,
-0.07027789205312729,
-0.008399676531553268,
0.014874054118990898,
0.04502513259649277,
-0.005319198127835989,
-0.0007981035741977394,
0.027025824412703514,
0.01631578989326954,
-0.020166387781500816,
0.011677161790430546,
0.06941822171211243,
0.06619446724653244,
-0.04541914537549019,
0.02933618240058422,
0.0022946877870708704,
-0.019611185416579247,
0.001810004934668541,
0.024213992059230804,
-0.013727829791605473,
0.0023014037869870663,
0.0382552407681942,
-0.0015435972018167377,
0.06429602950811386,
-0.036715004593133926,
-0.014139753766357899,
-0.043055057525634766,
0.058887284249067307,
-0.022297648712992668,
-0.030715234577655792,
0.009527991525828838,
-0.017130684107542038,
0.004947570618242025,
0.0059684268198907375,
-0.0670541301369667,
-0.02890634909272194,
0.0585290901362896,
0.004211031831800938,
0.040010400116443634,
0.04427292197942734,
0.05226067453622818,
0.03225547447800636,
-0.02570050209760666,
-0.07181812822818756,
-0.020757408812642097,
-0.0030267490074038506,
-0.03560459986329079,
-0.05870818719267845,
0.03642844781279564,
0.05971113219857216,
0.03239875286817551,
-0.029282454401254654,
0.0012693541357293725,
0.006089317612349987,
0.005175920203328133,
-0.011865214444696903,
-0.026542261242866516,
0.06544225662946701,
-0.028100410476326942,
-0.007705673109740019,
0.03001675382256508,
0.026667628437280655,
0.017085907980799675,
-0.04652955010533333,
-0.022745393216609955,
-0.029712287709116936,
-0.01092495210468769,
0.026613900437951088,
-0.007540008053183556,
-0.042267028242349625,
-0.012751747854053974,
0.022029001265764236,
0.057311225682497025,
0.019772373139858246,
0.015285978093743324,
-0.013154717162251472,
0.03214801475405693,
-0.05634409934282303,
-0.014506903477013111,
-0.04763995483517647,
-0.03143162652850151,
-0.03316887095570564,
-0.012805476784706116,
0.0279571320861578,
0.0010191771434620023,
-0.019270898774266243,
0.00255885673686862,
-0.03076896443963051,
0.013029349036514759,
0.004781905096024275,
0.03907909244298935,
0.05516205355525017,
-0.035855334252119064,
-0.008641458116471767,
0.04391472786664963,
0.05086371302604675,
-0.001151821343228221,
-0.010092148557305336,
0.037825409322977066,
-0.03279276564717293,
-0.0735732838511467,
-0.031413715332746506,
0.01411288883537054,
0.064761683344841,
0.022064821794629097,
-0.03076896443963051,
0.007589259650558233,
0.0132442656904459,
-0.013906926847994328,
-0.025987058877944946,
-0.007844474166631699,
0.03675082325935364,
0.04129990190267563,
0.024769194424152374,
0.01788289286196232,
0.04849962517619133,
-0.07479114830493927,
-0.022243918851017952,
0.008825032971799374,
0.05408746749162674,
-0.043377432972192764,
-0.003579712938517332,
0.019539546221494675,
-0.035891152918338776,
-0.06995551288127899,
-0.0027110895607620478,
0.00895935669541359,
-0.010584666393697262,
0.000969365646596998,
-0.0035752353724092245,
-0.008708619512617588,
-0.015393436886370182,
0.011569703929126263,
0.03490611910820007,
0.030894331634044647,
0.06988387554883957,
-0.020452942699193954,
0.034780748188495636,
-0.04466693475842476,
0.053156159818172455
] |
18,129 | jsondiff | emit_set_diff | null | def emit_set_diff(self, a, b, s, added, removed):
if s == 0.0 or len(removed) == len(a):
return {replace: b} if isinstance(b, dict) else b
else:
d = {}
if removed:
d[discard] = removed
if added:
d[add] = added
return d
| (self, a, b, s, added, removed) | [
-0.015719840303063393,
-0.03560788929462433,
-0.0033688554540276527,
0.002562823938205838,
-0.052120402455329895,
-0.0057357377372682095,
-0.035981956869363785,
0.04399774223566055,
0.04089830443263054,
-0.03343471884727478,
-0.01452637929469347,
0.004551183432340622,
-0.018970685079693794,
0.001985019538551569,
-0.015390302985906601,
-0.003560343524441123,
-0.02297857776284218,
0.052049148827791214,
0.008737202733755112,
-0.08450416475534439,
0.033220965415239334,
-0.015506085939705372,
0.022408565506339073,
0.09148679673671722,
-0.048450954258441925,
-0.024332353845238686,
-0.0023846954572945833,
-0.056858617812395096,
0.019754450768232346,
0.03901014104485512,
0.024546107277274132,
-0.057214874774217606,
0.0033777616918087006,
-0.014383876696228981,
-0.0018736892379820347,
-0.02743178978562355,
0.019558509811758995,
0.05589672550559044,
-0.010767867788672447,
-0.029694022610783577,
-0.04567214846611023,
-0.014936075545847416,
0.030762793496251106,
-0.01704689860343933,
0.04887846112251282,
0.040399543941020966,
0.003889881307259202,
0.07217767089605331,
0.010714429430663586,
0.045102138072252274,
0.053509801626205444,
-0.010349266231060028,
0.010830213315784931,
0.06220247223973274,
0.0012101605534553528,
-0.03126155212521553,
0.02103697694838047,
0.029854336753487587,
-0.00672880420461297,
0.013359637930989265,
0.012166176922619343,
0.02632739394903183,
-0.011257721111178398,
-0.02577519416809082,
-0.03687259927392006,
-0.03626696392893791,
-0.007468037772923708,
-0.05985117703676224,
-0.02142885886132717,
0.04556526988744736,
-0.0016309891361743212,
-0.006813415326178074,
0.00017437110363971442,
-0.005780269857496023,
0.024100786074995995,
0.01882818341255188,
0.04727530479431152,
0.021126041188836098,
0.01977226324379444,
-0.04595715552568436,
0.011257721111178398,
-0.027734607458114624,
-0.02103697694838047,
0.03382660448551178,
0.03382660448551178,
0.03459255397319794,
0.018365049734711647,
0.013822771608829498,
0.02573956921696663,
-0.0675107017159462,
-0.04428274556994438,
-0.0017267331713810563,
0.014936075545847416,
0.04157519340515137,
0.002378015546128154,
0.05311791971325874,
-0.07110890001058578,
-0.016120629385113716,
0.03425411134958267,
-0.007926718331873417,
0.07780653238296509,
0.009877225384116173,
-0.0410408079624176,
-0.014419502578675747,
0.014517473056912422,
-0.04449649900197983,
0.029872151091694832,
-0.06776008009910583,
-0.01905974932014942,
0.004889627452939749,
-0.015167642384767532,
0.022034496068954468,
-0.03901014104485512,
0.041076432913541794,
0.010563020594418049,
-0.0005316022434271872,
-0.016797518357634544,
-0.07324644178152084,
0.008594700135290623,
0.010242389515042305,
-0.04175332188606262,
0.013074632734060287,
0.024065161123871803,
0.048771586269140244,
-0.005397293716669083,
-0.04193145036697388,
0.05122975632548332,
0.00811820663511753,
0.0596017986536026,
-0.00680896220728755,
0.03972265496850014,
-0.04670529440045357,
-0.022515442222356796,
0.06558691710233688,
0.026149265468120575,
0.015639683231711388,
-0.043356478214263916,
0.060492441058158875,
0.05678736791014671,
0.041468314826488495,
0.010919277556240559,
0.004415360279381275,
0.016147349029779434,
0.049519725143909454,
-0.058711156249046326,
0.00012886483455076814,
-0.014579818584024906,
0.035340696573257446,
-0.038226377218961716,
0.04670529440045357,
-0.003466825932264328,
0.003598195733502507,
-0.028055239468812943,
-0.012237428687512875,
-0.03307846188545227,
-0.004165980499237776,
-0.011026154272258282,
-0.014143403619527817,
-0.018739119172096252,
0.019095376133918762,
0.09148679673671722,
-0.0035759296733886003,
0.06872197985649109,
-0.004969785455614328,
0.008376493118703365,
-0.005214712116867304,
0.0631643682718277,
0.025953322649002075,
-0.027253661304712296,
0.005303776357322931,
0.0054017468355596066,
0.05311791971325874,
-0.037478238344192505,
0.004729311913251877,
0.033060651272535324,
-0.014953888021409512,
0.02645208314061165,
-0.031599998474121094,
-0.015069671906530857,
0.0073522538878023624,
0.05482795462012291,
0.0075036631897091866,
-0.013546672649681568,
0.04791656881570816,
0.011070686392486095,
-0.03797699883580208,
-0.012558059766888618,
0.013154789805412292,
-0.00870157778263092,
0.009903945028781891,
0.021678239107131958,
0.01759018935263157,
-0.0034222938120365143,
0.04193145036697388,
-0.00962784606963396,
0.02557925321161747,
-0.05165726691484451,
-0.03646290674805641,
-0.013039006851613522,
0.031047798693180084,
-0.1006782278418541,
-0.039687030017375946,
-0.010144418105483055,
-0.0038275362458080053,
0.026024574413895607,
-0.008251802995800972,
0.026469895616173744,
-0.031439680606126785,
-0.00744131812825799,
0.0009563274215906858,
0.0030860763508826494,
-0.02470642328262329,
0.036373842507600784,
-0.04741780832409859,
-0.002747632097452879,
-0.027841486036777496,
0.049163468182086945,
0.05806989222764969,
-0.01040270458906889,
-0.06266561150550842,
0.015194361098110676,
-0.042643964290618896,
0.058639902621507645,
0.06483877450227737,
-0.0029057213105261326,
0.004471025429666042,
0.0010665444424375892,
-0.01694002002477646,
-0.03094092197716236,
-0.00860360637307167,
0.03737135976552963,
0.0011856678174808621,
0.013439795933663845,
-0.03680134937167168,
0.05297541618347168,
-0.015203268267214298,
0.005299323238432407,
-0.07424396276473999,
0.0730326846241951,
-0.018881620839238167,
-0.03642727807164192,
0.030851857736706734,
0.041824571788311005,
0.08343539386987686,
-0.03694385290145874,
-0.0337553508579731,
0.02629176713526249,
-0.00069080461980775,
-0.025365499779582024,
0.026380831375718117,
0.01914881356060505,
-0.009779254905879498,
-0.013226041570305824,
0.03106561116874218,
0.03557226434350014,
-0.0019349209032952785,
0.0036249151453375816,
0.01677970588207245,
0.014766853302717209,
-0.03370191156864166,
0.021606987342238426,
0.02356640063226223,
-0.03794137015938759,
0.018347235396504402,
-0.014766853302717209,
-0.035786017775535583,
0.04364148527383804,
0.028233367949724197,
-0.07217767089605331,
0.04706155136227608,
-0.014659975655376911,
-0.04168207198381424,
0.006328015122562647,
-0.026612399145960808,
-0.038190752267837524,
0.022390753030776978,
0.03334565460681915,
-0.033220965415239334,
0.010545207187533379,
-0.024207664653658867,
0.021108228713274002,
-0.012513527646660805,
0.0027721249498426914,
0.04752468690276146,
0.01922006532549858,
0.05732175335288048,
-0.007846560329198837,
-0.030780605971813202,
-0.02655895985662937,
-0.08165410906076431,
0.010384892113506794,
-0.03901014104485512,
-0.01547046098858118,
-0.036409467458724976,
-0.00018452999938745052,
0.05507733300328255,
0.0030482241418212652,
-0.05083787441253662,
0.03028184548020363,
0.05514858663082123,
-0.050588496029376984,
-0.015443741343915462,
0.05839052423834801,
0.05087349936366081,
-0.03769199177622795,
-0.04788094386458397,
0.06245185434818268,
-0.034200672060251236,
0.03266876935958862,
-0.03651634231209755,
-0.04948410019278526,
0.03808387368917465,
-0.01089255791157484,
0.01957632228732109,
0.011649603955447674,
0.009271589107811451,
-0.05892490968108177,
0.01986132748425007,
0.008657045662403107,
0.056858617812395096,
0.00920033734291792,
-0.027253661304712296,
-0.07324644178152084,
-0.0025939964689314365,
-0.0007943417876958847,
-0.06597879528999329,
0.004849548451602459,
-0.010660991072654724,
0.0876392275094986,
0.006145433522760868,
-0.04813032224774361,
-0.046277787536382675,
0.01961194910109043,
0.021535735577344894,
-0.012593685649335384,
-0.022355128079652786,
0.03459255397319794,
-0.033808790147304535,
0.0033532690722495317,
-0.021108228713274002,
0.01205930020660162,
0.016966739669442177,
-0.017705973237752914,
0.01729627698659897,
0.010082073509693146,
0.026897404342889786,
-0.06341374665498734,
-0.004259497858583927,
-0.004388641100376844,
-0.0014027620200067759,
0.0035692499950528145,
0.04100518301129341,
0.0022700252011418343,
0.02187418006360531,
0.08300788700580597,
0.04570777341723442,
-0.01089255791157484,
-0.01353776641190052,
0.019095376133918762,
-0.02873212844133377,
0.004796110093593597,
0.04161081835627556,
0.03555445000529289,
-0.006920292507857084,
0.012504621408879757,
-0.027805859223008156,
-0.02892806939780712,
-0.056146103888750076,
-0.049555350095033646,
-0.1006782278418541,
-0.003411160781979561,
0.0034356536343693733,
0.04720405489206314,
-0.015497179701924324,
0.01694002002477646,
-0.016966739669442177,
-0.04410461708903313,
0.033808790147304535,
-0.027645543217658997,
-0.00630574906244874,
-0.02262232080101967,
0.04364148527383804,
-0.05122975632548332,
0.07937406003475189,
0.02025321125984192,
-0.0006245630793273449,
0.04235895723104477,
-0.06309311836957932,
0.08970551192760468,
0.05226290225982666,
-0.021339794620871544,
-0.06081307306885719,
0.04859345778822899,
0.05147913843393326,
-0.07217767089605331,
-0.06462502479553223,
-0.033488158136606216,
-0.035073503851890564,
-0.06341374665498734,
-0.01905974932014942,
0.07595399767160416,
-0.01196132879704237,
-0.06776008009910583,
-0.0026029027067124844,
0.02123291790485382,
-0.020716344937682152,
0.0038275362458080053,
0.0379057452082634,
-0.02964058332145214,
0.02246200479567051,
-0.0702538788318634,
-0.06665568798780441,
-0.01720721274614334,
-0.07135827839374542,
-0.011017248034477234,
-0.02502705529332161,
-0.0008160512079484761,
-0.022390753030776978,
-0.01882818341255188,
-0.007859920151531696,
0.03762074187397957,
-0.03603539615869522,
0.0031372883822768927,
-0.004297350067645311,
0.05400856211781502,
-0.030994359403848648,
-0.05041036754846573,
0.019202252849936485,
0.004161527380347252,
0.039687030017375946,
0.033452533185482025,
-0.06209559738636017,
0.05703674629330635,
-0.05115850642323494,
0.033773165196180344,
-0.023744529113173485,
0.05849740281701088,
0.00040357239777222276,
0.0718570426106453,
0.09804192930459976,
0.001968319993466139,
-0.008465557359158993,
-0.006938105449080467,
-0.0019126548431813717,
-0.013003380969166756,
-0.034752871841192245,
-0.033488158136606216,
0.008033595979213715,
0.042537085711956024,
0.004845095332711935,
0.07987282425165176,
-0.014784665778279305,
-0.02194543182849884,
-0.03922389820218086,
0.05653798580169678,
-0.026754900813102722,
-0.013671362772583961,
0.0010314753744751215,
-0.060385562479496,
0.03184937685728073,
0.023584214970469475,
-0.0041793398559093475,
-0.04385523870587349,
0.0769515112042427,
-0.032027505338191986,
0.022586693987250328,
0.01863224245607853,
-0.05518421158194542,
-0.053224798291921616,
0.047382183372974396,
0.03733573481440544,
-0.06840134412050247,
-0.012789626605808735,
-0.001713373581878841,
-0.047346558421850204,
-0.03737135976552963,
-0.017554564401507378,
-0.01827598549425602,
-0.04100518301129341,
0.025472376495599747,
0.02021758444607258,
0.01950507052242756,
-0.04357023164629936,
-0.029355578124523163,
0.013413076288998127,
-0.021268542855978012,
0.01986132748425007,
-0.011026154272258282,
0.02379796840250492,
0.03402254357933998,
-0.0026340752374380827,
-0.0773790255188942,
-0.012005860917270184,
-0.006653099786490202,
-0.021660426631569862,
-0.020377900451421738,
0.018650054931640625,
-0.02009289525449276,
0.04389086365699768,
-0.027681170031428337,
-0.0013771560043096542,
-0.04410461708903313,
-0.025721756741404533,
-0.00017089203174691647,
0.026380831375718117,
-0.02096572518348694,
-0.013822771608829498,
0.00409695552662015,
-0.03480631113052368,
-0.019879141822457314,
-0.029266513884067535,
-0.03876076266169548,
0.06875760108232498,
0.06957699358463287,
-0.0034957719035446644,
-0.04542277008295059,
-0.048771586269140244,
-0.013190415687859058,
-0.014107777737081051,
-0.05928116664290428,
0.003054903820157051,
0.017554564401507378,
0.010607552714645863,
-0.036730099469423294,
0.003956679254770279,
-0.028055239468812943,
-0.028839005157351494,
-0.03131499141454697,
0.03313190117478371,
-0.06462502479553223,
-0.06612130254507065,
-0.0023490695748478174,
-0.025080492720007896,
-0.007859920151531696,
-0.005940585862845182,
0.06686943769454956,
0.034360989928245544,
-0.014339344576001167,
-0.04520901292562485,
0.008282975293695927,
0.07702276855707169,
0.049092214554548264,
0.08008657395839691,
-0.004390867426991463,
-0.02187418006360531,
0.09269807487726212,
-0.0172695592045784,
0.011970235966145992,
0.016663921996951103,
-0.007410145830363035,
-0.08528792858123779,
-0.030566850677132607,
0.02470642328262329,
0.048486579209566116,
-0.032187819480895996,
-0.07951656728982925,
-0.037050727754831314,
0.023548588156700134,
0.007285455707460642,
0.02857181243598461,
0.02743178978562355,
-0.021215105429291725,
0.07709401845932007,
0.025988949462771416,
-0.02616707794368267,
0.0337553508579731,
0.04307147115468979,
0.004491065163165331,
-0.01304791308939457,
0.01462435070425272,
-0.015203268267214298,
0.03911701962351799,
-0.02443923056125641,
0.00676888320595026,
-0.06327124685049057,
0.011275534518063068,
-0.023138893768191338,
-0.023317022249102592,
-0.011507101356983185,
0.01752784475684166,
-0.03954452648758888,
0.0327756442129612,
0.046277787536382675,
0.029658395797014236,
0.06177496537566185,
0.022390753030776978,
-0.01996820606291294,
0.01914881356060505,
-0.003691713325679302,
0.08144035190343857,
-0.01750112511217594,
-0.03402254357933998,
0.01772378571331501,
-0.016859862953424454,
-0.01729627698659897,
-0.017260652035474777,
0.060064930468797684,
0.03876076266169548,
-0.06034993752837181,
-0.0005683412891812623,
-0.023495150730013847,
-0.04446087405085564,
0.026202702894806862,
-0.01622750610113144,
0.018543178215622902,
-0.01197914220392704,
0.04980472847819328,
-0.012923222966492176,
-0.017777225002646446,
-0.0351269394159317,
-0.0038631618954241276,
0.05076662451028824,
0.027698982506990433,
-0.03592852130532265,
0.06761758029460907,
-0.0361066497862339,
0.03427192568778992,
0.007298815529793501,
-0.05361668020486832,
-0.04677654430270195,
0.0128252524882555,
-0.024777675047516823,
-0.03382660448551178,
0.0003136731684207916,
-0.041076432913541794,
0.0033688554540276527,
0.00869712419807911,
0.03446786478161812,
-0.024563921615481377,
-0.04677654430270195,
-0.032508451491594315,
0.002956933109089732,
0.04563652351498604,
0.007753042969852686,
0.024385793134570122,
0.04471025615930557,
0.042608339339494705,
0.014989513903856277,
-0.014927168376743793,
0.05108725652098656,
0.06658443808555603,
-0.04414024204015732,
0.02889244444668293,
0.018845995888113976,
-0.041147686541080475,
0.0230854544788599,
0.005259244237095118,
-0.011801013723015785,
0.010509582236409187,
0.015924688428640366,
0.004929706454277039,
0.026665836572647095,
-0.007726323790848255,
-0.05087349936366081,
-0.02297857776284218,
0.04007891193032265,
0.0009513175464235246,
-0.0008249576203525066,
0.007490303833037615,
-0.02636301890015602,
0.021891992539167404,
0.012166176922619343,
-0.02684396505355835,
-0.023851407691836357,
0.05839052423834801,
0.015203268267214298,
0.021304169669747353,
0.026630211621522903,
0.05928116664290428,
0.01360011100769043,
-0.021304169669747353,
-0.04980472847819328,
-0.0351269394159317,
-0.014855917543172836,
-0.06369875371456146,
-0.03997203707695007,
0.02233731374144554,
0.0505172424018383,
0.02363765239715576,
-0.05493482947349548,
-0.015951408073306084,
0.04132581502199173,
-0.00904002133756876,
-0.02889244444668293,
-0.02107260189950466,
0.036730099469423294,
-0.04471025615930557,
-0.016993459314107895,
0.0313684307038784,
0.009503155946731567,
0.0477740652859211,
-0.08393415063619614,
-0.00697818398475647,
-0.009440810419619083,
-0.01446403469890356,
0.05774926021695137,
-0.002823336748406291,
-0.06405501067638397,
-0.010135511867702007,
0.01511420402675867,
0.04998285695910454,
0.027698982506990433,
0.01801769807934761,
-0.041539568454027176,
0.019825702533125877,
-0.055397965013980865,
-0.020947912707924843,
-0.015327957458794117,
-0.005642220377922058,
-0.037442613393068314,
-0.03804824873805046,
0.025917697697877884,
-0.011676323600113392,
0.00634582806378603,
0.00040997390169650316,
-0.049911607056856155,
0.0022099066991358995,
-0.011667417362332344,
0.020466964691877365,
0.059815552085638046,
-0.061240579932928085,
0.004493291489779949,
0.03979390859603882,
0.07285455614328384,
-0.013386357575654984,
-0.00712514016777277,
0.03311409056186676,
-0.06893572956323624,
-0.061240579932928085,
-0.03409379720687866,
0.0004976465133950114,
0.07474271953105927,
-0.004698139149695635,
0.01097271591424942,
-0.002665247768163681,
0.005642220377922058,
-0.014766853302717209,
-0.027485229074954987,
0.03886764124035835,
0.021464485675096512,
0.030246220529079437,
0.0070538888685405254,
0.010767867788672447,
0.017510032281279564,
-0.09191431105136871,
-0.014811385422945023,
-0.009325027465820312,
0.07403020560741425,
-0.053189173340797424,
-0.003128381911665201,
0.02613145112991333,
-0.03193844109773636,
-0.056110478937625885,
0.025151744484901428,
0.016120629385113716,
-0.009725816547870636,
-0.0034401067532598972,
0.019843515008687973,
0.036765724420547485,
-0.0027587651275098324,
-0.001947167213074863,
0.027538666501641273,
0.046954672783613205,
0.04706155136227608,
-0.008438837714493275,
0.037763241678476334,
-0.021642614156007767,
0.05016098544001579
] |
18,130 | jsondiff | emit_value_diff | null | def emit_value_diff(self, a, b, s):
if s == 1.0:
return {}
else:
return {replace: b} if isinstance(b, dict) else b
| (self, a, b, s) | [
0.030296260491013527,
-0.08780514448881149,
0.023223066702485085,
-0.007164656184613705,
-0.0427875891327858,
-0.0005629372899420559,
-0.04846704751253128,
0.04069698974490166,
0.016655102372169495,
-0.0353311188519001,
0.024146415293216705,
0.041707444936037064,
-0.019599363207817078,
-0.009860657155513763,
-0.02552272565662861,
0.002578405197709799,
-0.015966948121786118,
0.038850292563438416,
0.0301046222448349,
-0.0316028855741024,
-0.00013481367204803973,
-0.017700402066111565,
-0.005304894410073757,
0.05073186382651329,
-0.023641187697649002,
-0.06560995429754257,
-0.0017367213731631637,
-0.05644616484642029,
0.009224766865372658,
0.030958283692598343,
-0.017186462879180908,
-0.09895500540733337,
0.012630701065063477,
0.009860657155513763,
0.016925139352679253,
-0.0475262776017189,
-0.01689029484987259,
0.04139385372400284,
-0.10369369387626648,
-0.02743910811841488,
-0.0273694209754467,
-0.005731724668294191,
-0.04700362682342529,
-0.009120237082242966,
-0.0035191746428608894,
0.0375610888004303,
-0.017047090455889702,
0.04595832899212837,
0.007182077970355749,
0.008318840526044369,
0.052160438150167465,
-0.03325794264674187,
-0.01229097880423069,
0.06975631415843964,
-0.015444298274815083,
-0.002645913977175951,
0.013109796680510044,
0.054947905242443085,
-0.009799681603908539,
0.02428578957915306,
0.014398998580873013,
0.011994809843599796,
-0.025174293667078018,
-0.014947781339287758,
-0.01719517447054386,
-0.018449533730745316,
0.011158570647239685,
-0.02393735572695732,
-0.024669064208865166,
0.033850278705358505,
-0.018728280439972878,
-0.024250945076346397,
-0.016132453456521034,
0.03592345491051674,
0.0036454815417528152,
0.03168999403715134,
-0.0015178618486970663,
0.05951237678527832,
0.020243965089321136,
-0.05013952776789665,
0.011489582248032093,
-0.01093208882957697,
0.0077613480389118195,
-0.021533166989684105,
-0.026829350739717484,
0.017160331830382347,
-0.0011901168618351221,
0.039895594120025635,
0.0606970489025116,
0.0027373777702450752,
-0.05341479927301407,
-0.0375610888004303,
0.025714363902807236,
0.03696875274181366,
0.013998300768435001,
0.06282249093055725,
-0.00891988817602396,
-0.04073183238506317,
0.03860639035701752,
-0.004057068377733231,
0.11456481367349625,
0.011027907952666283,
-0.0582231730222702,
-0.02742168679833412,
0.015017467550933361,
-0.04560989513993263,
0.022578466683626175,
-0.053031522780656815,
0.02186417765915394,
0.013083663769066334,
-0.02569694258272648,
-0.003375445958226919,
-0.04470396786928177,
0.0038523636758327484,
-0.022648153826594353,
0.028257926926016808,
-0.012909446842968464,
-0.049198757857084274,
0.038676075637340546,
0.04045308381319046,
0.0020220009610056877,
0.0069338190369307995,
0.01641991175711155,
0.04982593655586243,
0.015836285427212715,
-0.00006784918514313176,
0.022578466683626175,
-0.019094135612249374,
0.0460280142724514,
0.03773530572652817,
0.0651918351650238,
-0.027944335713982582,
-0.013240458443760872,
0.04313601925969124,
0.01098435465246439,
0.029250960797071457,
-0.06574933230876923,
0.03923356905579567,
0.06034861505031586,
0.015226527117192745,
0.007678594905883074,
-0.010409439913928509,
0.011463449336588383,
-0.014930359087884426,
0.0010393107077106833,
0.01136763021349907,
0.015287503600120544,
0.09888532012701035,
-0.0606970489025116,
0.045365992933511734,
0.005592351779341698,
0.04665519669651985,
0.022682996466755867,
-0.010095849633216858,
-0.02853667363524437,
-0.03301403671503067,
0.014851962216198444,
-0.043275393545627594,
-0.004113688599318266,
-0.0023584566079080105,
0.10885050892829895,
-0.03451230004429817,
0.09003511816263199,
-0.02726489119231701,
0.002831019228324294,
0.025191714987158775,
0.03979106247425079,
0.05679459869861603,
-0.0028549740090966225,
0.0020666439086198807,
-0.014390287920832634,
0.025313666090369225,
-0.04125448316335678,
0.021132469177246094,
0.05027889832854271,
0.05010468140244484,
0.008885044604539871,
-0.001336023211479187,
-0.008946020156145096,
0.02440774068236351,
0.010095849633216858,
-0.003969959914684296,
-0.06372841447591782,
0.041986189782619476,
-0.012534881941974163,
-0.013675999827682972,
0.0021221754141151905,
-0.008392882533371449,
0.008619364351034164,
0.013841506093740463,
0.03130671754479408,
0.02306627295911312,
0.005217785947024822,
0.008575810119509697,
0.0049782381393015385,
0.00947738066315651,
-0.02219519019126892,
-0.04463428258895874,
0.0015657712938264012,
0.04679456725716591,
-0.11331044882535934,
-0.07923369109630585,
-0.03644610568881035,
-0.003164208261296153,
0.012656833045184612,
-0.014390287920832634,
0.051812004297971725,
-0.008741316385567188,
-0.030435632914304733,
-0.02348439209163189,
-0.04944266006350517,
-0.022125503048300743,
-0.02114989049732685,
-0.020261386409401894,
-0.008327551186084747,
-0.03773530572652817,
0.04567958414554596,
0.018223052844405174,
-0.03444261476397514,
-0.02813597396016121,
0.06362389028072357,
-0.03773530572652817,
0.07226502895355225,
0.02231714129447937,
0.010505259037017822,
0.031289294362068176,
-0.013998300768435001,
-0.025470461696386337,
-0.019372882321476936,
-0.005844965577125549,
0.04473881423473358,
0.013144639320671558,
0.032282330095767975,
-0.01982584409415722,
0.045365992933511734,
-0.027944335713982582,
0.03662032261490822,
-0.04968656226992607,
0.021358950063586235,
-0.021306686103343964,
-0.03254365548491478,
0.021132469177246094,
-0.0022604598198086023,
0.07477375119924545,
-0.02864120341837406,
-0.08292708545923233,
0.025243978947401047,
0.01400701142847538,
-0.0619514100253582,
0.031411245465278625,
0.029250960797071457,
-0.012691676616668701,
0.008040094748139381,
0.020679505541920662,
0.03353668749332428,
-0.03996527940034866,
0.04414647817611694,
0.024442583322525024,
0.04435553774237633,
-0.01662025973200798,
0.011062751524150372,
-0.004342347849160433,
-0.0719165951013565,
0.015810152515769005,
-0.03324051946401596,
-0.045540209859609604,
-0.023693451657891273,
0.029912983998656273,
-0.015993081033229828,
0.08933825045824051,
-0.009111526422202587,
-0.08940793573856354,
-0.04724753275513649,
-0.021463479846715927,
-0.022770104929804802,
0.038153428584337234,
0.07679466158151627,
-0.05114998295903206,
0.06930334866046906,
-0.022526200860738754,
0.021986130625009537,
-0.004444700200110674,
-0.008811002597212791,
0.026167327538132668,
0.024146415293216705,
0.0420558787882328,
0.002602359978482127,
-0.05662038177251816,
0.010418150573968887,
-0.058083802461624146,
0.0184146910905838,
-0.041707444936037064,
-0.017125487327575684,
0.01026135589927435,
-0.015731755644083023,
0.026829350739717484,
0.018815388903021812,
-0.04714300110936165,
0.03074922226369381,
0.01211676187813282,
-0.03811858221888542,
-0.03423355519771576,
0.0671779066324234,
0.07790964841842651,
-0.012944290414452553,
-0.02893737144768238,
0.04543567821383476,
-0.03669000789523125,
0.018048835918307304,
0.0021820624824613333,
-0.07275283336639404,
0.03662032261490822,
0.007112391293048859,
0.002323613502085209,
-0.0035823280923068523,
-0.000051720540795940906,
-0.050940923392772675,
0.021655118092894554,
0.005905941594392061,
0.03958200290799141,
-0.01194254495203495,
-0.028397299349308014,
-0.03398964926600456,
-0.011594112031161785,
0.0020579330157488585,
-0.06142875924706459,
-0.008623720146715641,
0.0033689127303659916,
0.07198628038167953,
0.00005985291500110179,
-0.039372943341732025,
-0.05404197797179222,
0.06595838814973831,
-0.002044866792857647,
0.00420515239238739,
-0.01594952680170536,
0.006193398963660002,
-0.021358950063586235,
-0.02470390871167183,
-0.018501799553632736,
0.00041104218689724803,
-0.009172501973807812,
-0.01092337816953659,
0.024390319362282753,
0.037386875599622726,
0.01636764593422413,
-0.01808367855846882,
-0.0004722902085632086,
0.05717787519097328,
-0.015061021782457829,
-0.03017430752515793,
0.02243909239768982,
0.03439034894108772,
0.039198726415634155,
0.05428588017821312,
0.04097573459148407,
0.009233477525413036,
-0.026115061715245247,
-0.006380681414157152,
-0.015479141846299171,
0.00004712694135378115,
0.07651591300964355,
0.002785287331789732,
-0.004187730606645346,
0.05526149272918701,
-0.013048820197582245,
-0.03912904113531113,
-0.017125487327575684,
-0.023850247263908386,
-0.04749143496155739,
-0.025435617193579674,
0.0021777069196105003,
0.04121963679790497,
-0.05379807576537132,
0.005727369338274002,
-0.013850216753780842,
-0.024773595854640007,
0.03609767183661461,
-0.02447742596268654,
-0.025958267971873283,
0.01415509544312954,
0.01584499701857567,
-0.08794452250003815,
0.08885044604539871,
0.022682996466755867,
0.008179467171430588,
0.03299661725759506,
-0.07797933369874954,
0.04508724436163902,
0.021306686103343964,
-0.03015688620507717,
-0.022177768871188164,
0.01831016130745411,
0.04515693336725235,
-0.04400710389018059,
-0.0301046222448349,
-0.001167250913567841,
-0.03510463610291481,
-0.06602807343006134,
-0.006393747869879007,
0.04717784374952316,
0.023397283628582954,
-0.08404207229614258,
-0.014259625226259232,
-0.006938174366950989,
-0.05986081063747406,
0.04498271644115448,
0.04888516664505005,
-0.04707331582903862,
0.026777084916830063,
-0.0624392144382,
-0.06885038316249847,
-0.06229984387755394,
-0.05926847457885742,
-0.0028331968933343887,
-0.009285742416977882,
-0.01671607978641987,
0.008166401647031307,
-0.07118488848209381,
-0.0038676075637340546,
0.00804880540817976,
-0.034094180911779404,
0.019721314311027527,
0.02689903788268566,
0.06229984387755394,
-0.019912952557206154,
-0.03627188876271248,
0.010496547445654869,
0.03592345491051674,
0.05710818991065025,
0.02097567357122898,
-0.04731721803545952,
-0.005945140030235052,
-0.04149838536977768,
0.05745662376284599,
-0.018571484833955765,
0.04264821484684944,
-0.01719517447054386,
0.06372841447591782,
0.06306639313697815,
0.018972182646393776,
0.02684677205979824,
0.018345003947615623,
0.04202103614807129,
-0.026881614699959755,
-0.02918127365410328,
-0.00288328411988914,
-0.010879823938012123,
-0.009712573140859604,
-0.03637641668319702,
0.051637787371873856,
-0.044843342155218124,
-0.018902497366070747,
-0.02254362218081951,
0.03616735711693764,
-0.0292335394769907,
-0.03301403671503067,
-0.0015712155727669597,
-0.006084513384848833,
-0.003532240865752101,
0.005052280146628618,
0.013850216753780842,
-0.043449610471725464,
0.03874576464295387,
-0.04557505249977112,
-0.005034858826547861,
0.023205645382404327,
-0.06038346141576767,
-0.044773656874895096,
0.03602798655629158,
0.020679505541920662,
-0.032804977148771286,
-0.0065766749903559685,
0.011750906705856323,
-0.024146415293216705,
-0.016106320545077324,
-0.01709064468741417,
-0.016289249062538147,
-0.021289262920618057,
-0.007478245999664068,
-0.02236940711736679,
0.00664200633764267,
-0.035714395344257355,
-0.01229097880423069,
0.040836360305547714,
-0.009137658402323723,
0.014669034630060196,
-0.02951228618621826,
0.03456456586718559,
0.021829335018992424,
-0.02418125793337822,
-0.010182958096265793,
-0.0008787047700025141,
-0.02465164288878441,
-0.044947873800992966,
-0.02289205603301525,
0.028519250452518463,
-0.015113286674022675,
0.02243909239768982,
-0.0020579330157488585,
-0.01734325848519802,
-0.012796206399798393,
-0.050244055688381195,
-0.035244010388851166,
0.016533151268959045,
-0.03825795650482178,
0.023902513086795807,
0.007055770605802536,
-0.04968656226992607,
0.022473936900496483,
-0.022996585816144943,
0.0032883374951779842,
0.039616845548152924,
0.06491309404373169,
-0.029076743870973587,
-0.05557508394122124,
-0.017926884815096855,
-0.023815404623746872,
-0.047038473188877106,
-0.09581910818815231,
-0.016959981992840767,
-0.002754799323156476,
-0.004769178573042154,
-0.05439041182398796,
0.01858890801668167,
-0.04804892838001251,
-0.01722130738198757,
-0.02045302465558052,
0.04435553774237633,
-0.06728243827819824,
-0.06306639313697815,
-0.01831016130745411,
-0.01505231112241745,
0.011489582248032093,
-0.008392882533371449,
0.017151620239019394,
0.032282330095767975,
0.008427726104855537,
-0.11944287270307541,
0.0025392062962055206,
0.02778754197061062,
0.025313666090369225,
0.03592345491051674,
-0.009773548692464828,
0.02376313880085945,
0.06449496746063232,
-0.0012304044794291258,
0.03662032261490822,
0.00413111038506031,
-0.027404265478253365,
-0.06313607841730118,
-0.042508840560913086,
0.05219528079032898,
0.04456459730863571,
-0.06770055741071701,
-0.02545304037630558,
-0.0368293821811676,
0.021707383915781975,
0.011158570647239685,
0.003854541340842843,
0.03749140352010727,
0.008301419205963612,
0.11156828701496124,
0.011559268459677696,
-0.037804994732141495,
0.04017433896660805,
0.03477362543344498,
0.030243994668126106,
-0.015644647181034088,
0.01900702714920044,
0.012761362828314304,
0.01272652018815279,
-0.005435556638985872,
-0.016106320545077324,
-0.0410454235970974,
0.020034903660416603,
-0.025243978947401047,
0.004734335001558065,
-0.0010289665078744292,
0.0025914714206010103,
-0.008832779712975025,
0.02667255513370037,
0.055470552295446396,
0.00743904709815979,
0.08027899265289307,
0.03592345491051674,
-0.03022657334804535,
0.054320722818374634,
0.01738681271672249,
0.05386776104569435,
-0.05836254730820656,
-0.01389377098530531,
-0.03416386619210243,
-0.027299735695123672,
-0.0027526216581463814,
0.005217785947024822,
0.031811945140361786,
0.03627188876271248,
-0.04066214710474014,
0.006084513384848833,
-0.03923356905579567,
-0.0005403435789048672,
0.01095822174102068,
-0.01223000232130289,
0.002308369381353259,
0.00808800384402275,
0.07721278071403503,
0.019094135612249374,
0.003122831927612424,
-0.014712588861584663,
0.03480846807360649,
0.05689913034439087,
0.012717808596789837,
-0.05728240683674812,
0.05902457237243652,
0.0038458306808024645,
0.01758716255426407,
-0.008832779712975025,
-0.06560995429754257,
-0.011045330204069614,
0.012796206399798393,
0.02719520591199398,
-0.04411163181066513,
0.018867652863264084,
-0.02597568929195404,
-0.00048399539082311094,
0.02550530433654785,
0.012125472538173199,
-0.012500038370490074,
-0.08585391938686371,
-0.020557554438710213,
0.013353699818253517,
0.04108026623725891,
-0.03172483667731285,
-0.03398964926600456,
0.0634496733546257,
0.02283979207277298,
0.01209062896668911,
0.010095849633216858,
0.0863417312502861,
0.060174401849508286,
-0.05170747637748718,
0.016977403312921524,
0.05801411345601082,
-0.035296276211738586,
0.00921605620533228,
0.013179482892155647,
-0.0238850899040699,
-0.01662025973200798,
0.017447788268327713,
0.006968662608414888,
0.03313599154353142,
-0.016263116151094437,
-0.03567955270409584,
-0.008998285047709942,
0.03898966684937477,
0.03895482420921326,
-0.010209090076386929,
-0.01374568697065115,
0.0005362603696994483,
-0.024320632219314575,
0.005679459776729345,
-0.05986081063747406,
-0.0012990022078156471,
0.06832773238420486,
-0.013371121138334274,
0.02283979207277298,
0.03231717273592949,
0.0388154499232769,
-0.018501799553632736,
-0.009878079406917095,
-0.051812004297971725,
-0.028118552640080452,
0.0001657779503148049,
-0.0629618689417839,
-0.03968653082847595,
0.020557554438710213,
0.05662038177251816,
0.02604537643492222,
-0.02423352375626564,
0.014459974132478237,
0.022212611511349678,
-0.011202124878764153,
0.004899840801954269,
-0.03324051946401596,
0.023153381422162056,
-0.04522661864757538,
0.022770104929804802,
0.02865862473845482,
-0.004020047374069691,
0.023571500554680824,
-0.09073198586702347,
-0.04515693336725235,
-0.030034935101866722,
-0.00806187093257904,
0.002765687881037593,
-0.007935564033687115,
-0.013980879448354244,
-0.0087718041613698,
0.030557584017515182,
0.04665519669651985,
0.005392002407461405,
0.003599749645218253,
-0.01923350803554058,
0.03689906746149063,
-0.044669125229120255,
0.01958194188773632,
-0.0403137132525444,
-0.005731724668294191,
-0.0701744332909584,
-0.02667255513370037,
0.07547061145305634,
-0.04045308381319046,
0.006258729845285416,
-0.03527885302901268,
0.023623766377568245,
-0.06456466019153595,
0.007739570923149586,
0.03599314019083977,
0.06477371603250504,
-0.06529636681079865,
-0.0014296646695584059,
0.02231714129447937,
0.055888671427965164,
-0.02569694258272648,
0.031358979642391205,
0.02500007674098015,
-0.022125503048300743,
-0.007578420452773571,
-0.008493057452142239,
0.005810122471302748,
0.0527527742087841,
-0.011202124878764153,
-0.02505234070122242,
-0.014172517694532871,
0.02831019088625908,
-0.030435632914304733,
-0.02000006102025509,
0.01801399327814579,
0.007399848662316799,
0.040766675025224686,
0.043902572244405746,
0.009947765618562698,
-0.0042879050597548485,
-0.051986221224069595,
-0.017831064760684967,
-0.005709948018193245,
0.09498286992311478,
-0.0547388419508934,
0.005008725915104151,
0.01092337816953659,
0.00037538225296884775,
-0.022125503048300743,
0.015470430254936218,
0.05379807576537132,
-0.02975618839263916,
-0.014189939014613628,
0.027282314375042915,
0.005945140030235052,
0.017552318051457405,
0.01078400481492281,
0.046237073838710785,
0.02465164288878441,
0.08940793573856354,
-0.04174228757619858,
0.041359011083841324,
-0.041637759655714035,
0.05010468140244484
] |
18,131 | jsondiff | patch | null | def patch(self, a, d):
if isinstance(d, dict):
if not d:
return a
if replace in d:
return d[replace]
if isinstance(a, dict):
a = dict(a)
for k, v in d.items():
if k is delete:
for kdel in v:
del a[kdel]
else:
av = a.get(k, missing)
if av is missing:
a[k] = v
else:
a[k] = self.patch(av, v)
return a
elif isinstance(a, (list, tuple)):
original_type = type(a)
a = list(a)
if delete in d:
for pos in d[delete]:
a.pop(pos)
if insert in d:
for pos, value in d[insert]:
a.insert(pos, value)
for k, v in d.items():
if k is not delete and k is not insert:
k = int(k)
a[k] = self.patch(a[k], v)
if original_type is not list:
a = original_type(a)
return a
elif isinstance(a, set):
a = set(a)
if discard in d:
for x in d[discard]:
a.discard(x)
if add in d:
for x in d[add]:
a.add(x)
return a
return d
| (self, a, d) | [
0.008783737197518349,
-0.01375045720487833,
-0.03300109878182411,
0.006212999112904072,
-0.04819558188319206,
-0.0023959826212376356,
-0.042640212923288345,
0.009593128226697445,
0.03408641740679741,
-0.04149970784783363,
-0.04481085389852524,
0.007289121858775616,
-0.025422250851988792,
0.0175766721367836,
-0.023637909442186356,
-0.02413458190858364,
-0.023086052387952805,
0.07442722469568253,
0.001492315554060042,
-0.028218330815434456,
0.06563428789377213,
0.0032835539896041155,
0.016896046698093414,
0.05364058166742325,
-0.014936951920390129,
-0.03467506542801857,
0.05437638983130455,
-0.016712093725800514,
0.03896116092801094,
0.0362570583820343,
0.049372877925634384,
-0.01984848640859127,
0.01790778711438179,
0.05378774181008339,
0.03710323944687843,
-0.03618347644805908,
-0.02772165834903717,
0.03278035297989845,
-0.010733634233474731,
-0.011607409454882145,
-0.041389334946870804,
-0.002225826494395733,
-0.004791965242475271,
-0.03999129682779312,
0.06353723257780075,
0.041757240891456604,
-0.010016219690442085,
0.10514730960130692,
0.00015794056525919586,
0.04734940081834793,
0.043780721724033356,
-0.06239672377705574,
0.01186494342982769,
0.01570955291390419,
-0.043008118867874146,
0.034950993955135345,
0.015884308144450188,
0.05158030986785889,
0.017052406445145607,
-0.021743198856711388,
0.044111836701631546,
-0.02080504037439823,
-0.021320106461644173,
-0.05559047684073448,
-0.023858653381466866,
-0.010742831975221634,
-0.0007812237017787993,
-0.027188194915652275,
-0.03289072588086128,
0.0033341411035507917,
-0.050255853682756424,
-0.008999881334602833,
0.023785071447491646,
-0.015332450158894062,
0.02665473334491253,
0.11015082150697708,
0.03690089285373688,
-0.012545567937195301,
0.04414862394332886,
-0.031290337443351746,
-0.002977732801809907,
-0.06018929183483124,
0.014725405722856522,
0.05353020876646042,
-0.015157694928348064,
0.059747807681560516,
0.05985817685723305,
0.007123564835637808,
0.0487106516957283,
-0.0516171008348465,
-0.0004538455686997622,
-0.024539276957511902,
0.009933440946042538,
-0.00680164759978652,
-0.03024180792272091,
0.04153649881482124,
0.02702263742685318,
-0.03145589679479599,
-0.009970230981707573,
0.01794457621872425,
0.07218300551176071,
-0.03357135131955147,
-0.01962774246931076,
-0.04525234177708626,
0.013290575705468655,
-0.03392086178064346,
0.0399177148938179,
-0.008172094821929932,
-0.03274356573820114,
0.051285985857248306,
-0.03859325870871544,
-0.00816749595105648,
-0.0377102829515934,
0.03046255186200142,
-0.02017960138618946,
0.007026989478617907,
-0.04010166972875595,
-0.10536805540323257,
0.02658115141093731,
0.01914946548640728,
-0.0366065688431263,
0.02735375240445137,
0.025624597445130348,
0.030775271356105804,
0.0177606251090765,
-0.018358470872044563,
0.0175766721367836,
0.0465032197535038,
0.021117759868502617,
-0.013474528677761555,
0.009381582960486412,
-0.015737146139144897,
-0.02043713442981243,
0.042860958725214005,
0.042824167758226395,
0.012242046184837818,
-0.03178701177239418,
-0.005394410341978073,
0.011892535723745823,
-0.04790125787258148,
-0.015810726210474968,
-0.04164687171578407,
0.0269122663885355,
0.028843767940998077,
-0.01528646145015955,
-0.04617210477590561,
0.026029294356703758,
0.012729519978165627,
-0.07137361168861389,
0.042198728770017624,
-0.02402421087026596,
0.015424425713717937,
0.025734970346093178,
-0.003610069863498211,
-0.03690089285373688,
0.0041964189149439335,
-0.03980734571814537,
-0.10455866158008575,
-0.007289121858775616,
-0.012490382418036461,
0.03859325870871544,
-0.00893549807369709,
0.011193515732884407,
-0.0029294453561306,
0.005205858964473009,
-0.01201210543513298,
0.0340496264398098,
-0.025330273434519768,
0.0016555734910070896,
0.028034377843141556,
0.027482518926262856,
0.0347854383289814,
-0.03119836188852787,
0.04716544970870018,
0.03848288580775261,
0.03415999934077263,
-0.027703262865543365,
-0.05570084974169731,
0.0068108453415334225,
0.00023338987375609577,
-0.014467872679233551,
0.043596766889095306,
0.0410214327275753,
0.026158060878515244,
-0.0039020946715027094,
-0.02797919139266014,
-0.027335356920957565,
0.015424425713717937,
0.020161205902695656,
0.03818856179714203,
0.008342251181602478,
-0.02332518994808197,
0.0519850067794323,
0.005458793602883816,
-0.051396358758211136,
0.01937020942568779,
-0.04716544970870018,
-0.01023696269840002,
0.004644803237169981,
0.0651560127735138,
-0.04499480873346329,
-0.08417671173810959,
0.06386834383010864,
0.0369744747877121,
-0.002540845423936844,
0.015599180944263935,
0.01951737143099308,
-0.03629384934902191,
-0.0011462547117844224,
-0.017438707873225212,
-0.00006894629768794402,
0.00011676679423544556,
0.03577878326177597,
-0.04565703868865967,
0.013796445913612843,
-0.029818717390298843,
0.03925548493862152,
0.02376667596399784,
-0.03774707391858101,
-0.03973376378417015,
-0.024116186425089836,
0.02310444787144661,
0.05194821581244469,
0.03940264880657196,
0.007459278218448162,
-0.0068108453415334225,
-0.006659084465354681,
0.02746412344276905,
-0.008599784225225449,
-0.023601120337843895,
-0.002527049044147134,
-0.06239672377705574,
-0.01038412470370531,
-0.050954870879650116,
0.09440448135137558,
-0.06637009978294373,
-0.004168826155364513,
-0.08653130382299423,
0.08608981966972351,
0.03507976233959198,
0.03463827446103096,
0.05191142484545708,
0.031363919377326965,
0.08005617558956146,
-0.025624597445130348,
0.010687646456062794,
-0.0175766721367836,
-0.02577175945043564,
0.03999129682779312,
-0.0038676036056131124,
-0.0020131312776356936,
0.0008990683709271252,
-0.008535400964319706,
0.07748083770275116,
0.008930899202823639,
0.020087623968720436,
0.05570084974169731,
0.029395626857876778,
0.008930899202823639,
-0.006277382839471102,
-0.021890360862016678,
-0.006879827473312616,
-0.016859255731105804,
0.0453995019197464,
-0.03822535276412964,
-0.050660546869039536,
0.04639284685254097,
0.011874141171574593,
-0.005587560590356588,
0.016068261116743088,
0.06618614494800568,
-0.024005815386772156,
0.028935745358467102,
0.022276660427451134,
-0.023821862414479256,
0.07461117953062057,
0.06401550769805908,
0.029726741835474968,
0.02051071636378765,
-0.023086052387952805,
-0.0038997952360659838,
-0.028733396902680397,
-0.011119934730231762,
0.02764807641506195,
-0.012941066175699234,
0.013557307422161102,
-0.031731825321912766,
0.03796781972050667,
-0.031032804399728775,
0.015626773238182068,
0.05437638983130455,
-0.012738717719912529,
-0.014780592173337936,
-0.003485901979729533,
-0.007109768223017454,
0.03467506542801857,
-0.08910664170980453,
0.005067894235253334,
0.04749656468629837,
-0.0014509261818602681,
0.014477070420980453,
-0.0006432592635974288,
0.06228635087609291,
0.04683433473110199,
0.00816749595105648,
-0.0366249643266201,
0.06754739582538605,
-0.03382888436317444,
-0.014421883970499039,
0.03408641740679741,
-0.008917102590203285,
0.019351813942193985,
-0.029726741835474968,
0.01129468996077776,
0.025275088846683502,
-0.08160137385129929,
-0.051433149725198746,
-0.024484092369675636,
-0.020492320880293846,
0.024760020896792412,
-0.010825610719621181,
-0.018395259976387024,
-0.05301514267921448,
-0.006976402830332518,
-0.005495584104210138,
-0.031363919377326965,
0.06964445859193802,
0.026783499866724014,
0.03493259847164154,
-0.0012209854321554303,
-0.01805494911968708,
-0.06681158393621445,
0.006111825350672007,
-0.011846547946333885,
-0.01643616519868374,
-0.030922433361411095,
-0.022221475839614868,
-0.041389334946870804,
-0.0053576198406517506,
-0.022166289389133453,
0.014256327413022518,
0.04757014289498329,
-0.04628247767686844,
0.008112309500575066,
0.01020017173141241,
0.04606173187494278,
0.02636040933430195,
0.03763670474290848,
0.022055918350815773,
0.031143175438046455,
0.014201140962541103,
-0.034987784922122955,
0.013722864910960197,
0.0026121269911527634,
0.001733753364533186,
0.002412078669294715,
0.0027707861736416817,
-0.019903672859072685,
0.012288033962249756,
-0.02757449634373188,
0.05400848388671875,
-0.013042239472270012,
0.018809154629707336,
0.025514226406812668,
0.03863004595041275,
-0.03566841036081314,
-0.09131407737731934,
-0.04966720566153526,
-0.016095852479338646,
-0.04105822369456291,
0.04768051579594612,
-0.0025017554871737957,
0.020786644890904427,
-0.01966453343629837,
0.06379476189613342,
-0.04422220587730408,
-0.0373607762157917,
0.05257365480065346,
-0.020124414935708046,
0.02402421087026596,
0.020492320880293846,
-0.02461285889148712,
0.017806611955165863,
0.02783202938735485,
-0.012425998225808144,
-0.015700355172157288,
0.05154351890087128,
-0.014697813428938389,
0.00985066220164299,
-0.01615103892982006,
-0.06316932290792465,
-0.05695172771811485,
0.013290575705468655,
0.02211110293865204,
-0.08822367340326309,
-0.057172469794750214,
0.014605836942791939,
-0.02398741990327835,
-0.07645070552825928,
-0.015948690474033356,
0.03932906687259674,
-0.004791965242475271,
-0.005550770089030266,
-0.006580904591828585,
0.042529843747615814,
-0.042456261813640594,
0.0272801723331213,
0.08344089984893799,
-0.03811497986316681,
0.050403013825416565,
-0.008204285986721516,
0.01188333798199892,
-0.0027408937457948923,
-0.03226528689265251,
0.03581557422876358,
-0.03342418745160103,
0.004566623363643885,
0.011901733465492725,
-0.04790125787258148,
0.01863439939916134,
0.027261776849627495,
-0.05305193364620209,
-0.08572191745042801,
0.04433257877826691,
-0.008539999835193157,
-0.04672396183013916,
-0.017411114647984505,
0.003931987099349499,
-0.030517738312482834,
0.04867386072874069,
0.02797919139266014,
-0.09528744965791702,
0.029414022341370583,
-0.020014043897390366,
0.06607577949762344,
-0.017181172966957092,
0.03750793635845184,
0.021412083879113197,
-0.01585671491920948,
0.043670348823070526,
0.031511083245277405,
0.016316596418619156,
0.015442821197211742,
-0.04481085389852524,
0.02479681186378002,
0.017199568450450897,
-0.00999782420694828,
0.012223650701344013,
0.03371851146221161,
-0.0024074797984212637,
0.09050468355417252,
-0.0012324824929237366,
0.04661358892917633,
0.023527538403868675,
-0.026489175856113434,
-0.042309097945690155,
-0.06637009978294373,
-0.008011136204004288,
0.010807215236127377,
0.03653298690915108,
0.01659252494573593,
-0.0457674078643322,
-0.033405791968107224,
0.0014152853982523084,
0.0000012395244084473234,
0.07667144387960434,
-0.03907153382897377,
-0.026857079938054085,
-0.08373522758483887,
-0.021540850400924683,
0.06346365064382553,
-0.06651726365089417,
-0.00942757073789835,
-0.006580904591828585,
-0.03204454481601715,
0.023270005360245705,
0.007854776456952095,
-0.029689950868487358,
-0.011818954721093178,
0.01879075914621353,
0.02350914292037487,
-0.020713062956929207,
-0.015626773238182068,
-0.012002907693386078,
-0.006235993467271328,
-0.04624568670988083,
0.006732665468007326,
0.05662061274051666,
0.04396467283368111,
0.02065787836909294,
0.023564329370856285,
-0.04514196887612343,
-0.00423090998083353,
-0.01651894487440586,
0.028806978836655617,
-0.031952567398548126,
-0.04768051579594612,
-0.03932906687259674,
0.01622461900115013,
-0.024980764836072922,
-0.0033640332985669374,
-0.03811497986316681,
0.0064337425865232944,
0.01020017173141241,
0.05216895788908005,
-0.03631224483251572,
0.003674453357234597,
0.05695172771811485,
-0.024520883336663246,
0.02387704886496067,
-0.06184486672282219,
0.002688007429242134,
0.07365462183952332,
-0.011846547946333885,
0.024888787418603897,
-0.004736779723316431,
-0.03702966123819351,
-0.027997586876153946,
-0.022791728377342224,
-0.07188867777585983,
0.0402856208384037,
-0.03116157092154026,
0.02303086593747139,
-0.03907153382897377,
0.002593731740489602,
-0.0006760258111171424,
0.014936951920390129,
-0.015093311667442322,
0.027261776849627495,
-0.043044909834861755,
-0.011791362427175045,
0.031106386333703995,
-0.011119934730231762,
-0.00013932972797192633,
0.02332518994808197,
0.06673800945281982,
0.008066321723163128,
-0.01644536294043064,
-0.03826214373111725,
-0.011818954721093178,
0.03603631630539894,
0.0662965178489685,
0.04701828584074974,
-0.029561184346675873,
-0.0483427457511425,
0.05301514267921448,
-0.030057856813073158,
-0.033405791968107224,
0.03467506542801857,
-0.02350914292037487,
-0.0739489495754242,
0.011027959175407887,
0.023270005360245705,
0.10308703780174255,
-0.0362570583820343,
-0.09830427169799805,
-0.0016314296517521143,
-0.03969697281718254,
0.019866881892085075,
0.01499213743954897,
0.005376014858484268,
0.013713667169213295,
0.049998316913843155,
-0.02779523842036724,
0.012554765678942204,
0.025219902396202087,
-0.021062573418021202,
0.04190440475940704,
0.0036169681698083878,
0.015599180944263935,
0.0066682822071015835,
0.007408691104501486,
-0.03246763348579407,
-0.006286580115556717,
-0.0530887208878994,
0.021871965378522873,
-0.011432654224336147,
-0.042713794857263565,
-0.028402281925082207,
-0.01875396817922592,
-0.02621324732899666,
0.0173927191644907,
-0.0017785917734727263,
-0.01157061941921711,
0.03811497986316681,
-0.01610505022108555,
0.016647711396217346,
0.07608279585838318,
0.017309939488768578,
0.00028613253380171955,
-0.03715842589735985,
0.024962369352579117,
-0.000042395327909616753,
-0.04860027879476547,
0.003467506729066372,
0.03859325870871544,
-0.010816412977874279,
0.0340496264398098,
-0.03246763348579407,
-0.057908281683921814,
-0.021816778928041458,
-0.05441318079829216,
-0.014421883970499039,
-0.0035663810558617115,
-0.027004241943359375,
-0.03750793635845184,
0.049483250826597214,
0.014385093934834003,
0.005113882478326559,
-0.08807650953531265,
0.005587560590356588,
0.03346097841858864,
0.03537408635020256,
-0.028935745358467102,
0.03932906687259674,
-0.04845311492681503,
-0.025587808340787888,
0.027887215837836266,
-0.009859859943389893,
-0.05662061274051666,
-0.04499480873346329,
-0.020271576941013336,
-0.04032241180539131,
-0.0055001829750835896,
-0.034031230956315994,
-0.05643666163086891,
0.008553796447813511,
-0.010660053230822086,
-0.022000731900334358,
-0.04447973892092705,
0.02983711287379265,
0.02365630492568016,
-0.022460613399744034,
0.00552777573466301,
-0.04731260985136032,
-0.006309574469923973,
0.012849089689552784,
-0.021172944456338882,
-0.04801163077354431,
0.07001236081123352,
0.06228635087609291,
-0.030554527416825294,
0.008627377450466156,
0.008001938462257385,
0.0014900161186233163,
-0.0022465211804956198,
-0.010135788470506668,
-0.04900497570633888,
-0.01032893918454647,
0.026268431916832924,
-0.02994748391211033,
0.03932906687259674,
-0.0618816576898098,
-0.04385429993271828,
0.0026788099203258753,
0.07210942357778549,
0.05731963366270065,
-0.004309089854359627,
-0.00917003769427538,
0.011966116726398468,
-0.009859859943389893,
0.010788820683956146,
-0.10036454349756241,
-0.02665473334491253,
0.03932906687259674,
0.006912019103765488,
0.012416801415383816,
0.0012439795536920428,
0.08623698353767395,
0.003152487799525261,
-0.02021639235317707,
-0.029561184346675873,
-0.02032676339149475,
0.012563963420689106,
-0.017052406445145607,
-0.08329374343156815,
0.0024764619302004576,
0.05422922968864441,
0.0889594778418541,
0.0018579213647171855,
-0.016417769715189934,
-0.009740290232002735,
0.001237081247381866,
0.04900497570633888,
-0.04459011182188988,
0.01929662935435772,
0.003260559868067503,
-0.03292751684784889,
-0.03351616486907005,
0.02639719843864441,
0.04654001072049141,
-0.07450080662965775,
-0.021228130906820297,
-0.05643666163086891,
-0.00926201418042183,
-0.03430715948343277,
-0.01765025220811367,
-0.0133641567081213,
0.008328454568982124,
0.03896116092801094,
0.05511220172047615,
0.02387704886496067,
0.007955950684845448,
-0.01911267638206482,
0.028255119919776917,
-0.014697813428938389,
-0.03910832479596138,
0.006912019103765488,
-0.015240473672747612,
-0.005670339334756136,
-0.0023178027477115393,
0.06357402354478836,
0.026820290833711624,
-0.07196225970983505,
0.043596766889095306,
0.012315627187490463,
-0.010844006203114986,
-0.04712865874171257,
0.028475863859057426,
0.042051564902067184,
-0.02424495294690132,
0.028255119919776917,
-0.01615103892982006,
0.050586968660354614,
0.026489175856113434,
-0.02831030637025833,
0.024116186425089836,
-0.04852669686079025,
-0.06052040681242943,
-0.015948690474033356,
0.007666225079447031,
0.06769455969333649,
0.03145589679479599,
-0.04771730676293373,
0.0020579698029905558,
0.029892299324274063,
-0.02479681186378002,
0.0062267957255244255,
-0.015645168721675873,
0.030002670362591743,
0.0133641567081213,
0.035208530724048615,
0.02757449634373188,
0.007473074831068516,
-0.016831664368510246,
-0.030922433361411095,
0.022019127383828163,
-0.0002519288391340524,
-0.02339877188205719,
0.021540850400924683,
0.04017524793744087,
0.004819558467715979,
-0.10941500961780548,
0.021798383444547653,
0.023674700409173965,
-0.03837251290678978,
0.007238535210490227,
0.00015247946430463344,
0.057613957673311234,
-0.03489581122994423,
-0.02258937992155552,
-0.007077576592564583,
-0.007877770811319351,
0.030775271356105804,
-0.041794031858444214,
0.0388140007853508,
0.0031501883640885353,
0.014513860456645489
] |
18,132 | jsondiff | ExplicitJsonDiffSyntax | null | class ExplicitJsonDiffSyntax(object):
def emit_set_diff(self, a, b, s, added, removed):
if s == 0.0 or len(removed) == len(a):
return b
else:
d = {}
if removed:
d[discard] = removed
if added:
d[add] = added
return d
def emit_list_diff(self, a, b, s, inserted, changed, deleted):
if s == 0.0:
return b
elif s == 1.0:
return {}
else:
d = changed
if inserted:
d[insert] = inserted
if deleted:
d[delete] = [pos for pos, value in deleted]
return d
def emit_dict_diff(self, a, b, s, added, changed, removed):
if s == 0.0:
return b
elif s == 1.0:
return {}
else:
d = {}
if added:
d[insert] = added
if changed:
d[update] = changed
if removed:
d[delete] = list(removed.keys())
return d
def emit_value_diff(self, a, b, s):
if s == 1.0:
return {}
else:
return b
| () | [
-0.004638694226741791,
-0.07019805163145065,
0.01974746212363243,
0.001200139638967812,
-0.06079287827014923,
-0.009771500714123249,
-0.04896825551986694,
-0.007743935566395521,
-0.002630297327414155,
-0.026085732504725456,
-0.01332399994134903,
-0.002598350401967764,
-0.018861467018723488,
-0.021553529426455498,
-0.029612673446536064,
-0.0297660194337368,
-0.005499131511896849,
0.030720166862010956,
0.03799554705619812,
-0.03847262263298035,
0.028573334217071533,
-0.020565303042531013,
0.04317520931363106,
0.11204427480697632,
-0.022064680233597755,
-0.02765326201915741,
0.022286178544163704,
-0.04896825551986694,
0.052307773381471634,
0.02295067347586155,
-0.030157901346683502,
-0.06420055031776428,
0.021809104830026627,
0.0045194257982075214,
-0.04273221269249916,
-0.0751732587814331,
0.014244071207940578,
0.07421910762786865,
-0.05336415022611618,
-0.0338381864130497,
-0.01957707852125168,
-0.012267621234059334,
-0.025557544082403183,
-0.015027835965156555,
0.037688858807086945,
0.006223261822015047,
-0.02768733911216259,
0.04484497010707855,
-0.041028376668691635,
0.003382114926353097,
0.06607476621866226,
-0.045662812888622284,
-0.012378370389342308,
0.09432437270879745,
-0.01439741626381874,
-0.02071864902973175,
0.02269509807229042,
0.07101589441299438,
-0.024007052183151245,
0.029357098042964935,
-0.020923109725117683,
0.0016165146371349692,
-0.03727993741631508,
-0.013571055606007576,
-0.030362362042069435,
-0.04126691445708275,
-0.01204612199217081,
-0.028454065322875977,
-0.011279395781457424,
0.004800558555871248,
-0.04078983888030052,
0.023529978469014168,
0.029748981818556786,
0.021809104830026627,
0.0144911278039217,
0.02496120147407055,
-0.029527481645345688,
0.06126995012164116,
0.010418958961963654,
-0.010853436775505543,
-0.011373107321560383,
-0.05019501596689224,
0.008012290112674236,
0.006721633952111006,
0.008919582702219486,
0.01938965730369091,
-0.01734505221247673,
0.008672526106238365,
0.04348190128803253,
-0.02363220974802971,
-0.06331455707550049,
0.0035823157522827387,
-0.019406694918870926,
0.01050415076315403,
-0.010427477769553661,
0.03526940941810608,
-0.06498431414365768,
-0.054965756833553314,
-0.00003943448973586783,
0.03530348837375641,
0.060349881649017334,
0.04999055713415146,
-0.03414487838745117,
-0.03232177346944809,
0.017191708087921143,
-0.011091973632574081,
0.01685946062207222,
-0.03871116042137146,
-0.02172391302883625,
-0.022473599761724472,
-0.020701611414551735,
0.026733191683888435,
-0.027482878416776657,
-0.0003090865502599627,
0.0785127729177475,
0.02693765051662922,
-0.008919582702219486,
-0.05459091439843178,
0.024467088282108307,
-0.0022895298898220062,
0.005563025362789631,
0.028641486540436745,
0.020923109725117683,
0.02427966706454754,
0.013749958947300911,
-0.0386430062353611,
0.0474688783288002,
0.00020499280071817338,
0.005648217163980007,
0.03411080315709114,
0.009924845770001411,
-0.0020286301150918007,
-0.023359594866633415,
0.04654880613088608,
0.034417491406202316,
0.040994301438331604,
-0.06420055031776428,
0.05220554396510124,
0.022933635860681534,
0.011117531917989254,
0.015964945778250694,
-0.0030988522339612246,
0.012915078550577164,
0.020122306421399117,
-0.10413847118616104,
-0.012557272799313068,
-0.03482641279697418,
-0.008003770373761654,
-0.027482878416776657,
0.057010360062122345,
-0.010325247421860695,
0.011790546588599682,
0.011279395781457424,
-0.005286152008920908,
0.0037356610409915447,
-0.00933702290058136,
-0.046344347298145294,
-0.07353757321834564,
-0.02445005066692829,
0.002060577040538192,
0.03601909801363945,
-0.008676785975694656,
0.08839502185583115,
0.004204215947538614,
0.016399424523115158,
0.04153952747583389,
0.010342285968363285,
-0.023325517773628235,
-0.06716522574424744,
0.01838439330458641,
0.02431374415755272,
0.07251527160406113,
-0.01644201949238777,
0.0021681315265595913,
0.058407507836818695,
0.05118324235081673,
0.003369336249306798,
0.009899288415908813,
-0.0007480906206183136,
-0.016774268820881844,
-0.0009014358511194587,
-0.017481360584497452,
0.0021681315265595913,
0.017788050696253777,
-0.0020871993619948626,
-0.03925638645887375,
0.0008849299629218876,
-0.027346571907401085,
0.02681838348507881,
0.018520699813961983,
0.025080470368266106,
0.013588094152510166,
0.019219273701310158,
0.05220554396510124,
0.01073416881263256,
-0.0006309518357738853,
-0.01633979007601738,
-0.01925334893167019,
0.07646816968917847,
0.026869498193264008,
-0.10693276673555374,
-0.05288707837462425,
0.015113027766346931,
-0.009132562205195427,
0.004481089301407337,
0.009941884316504002,
0.02911856211721897,
-0.03591686859726906,
0.016322750598192215,
-0.02940821461379528,
-0.014422973617911339,
-0.0015387771418318152,
0.03426414728164673,
0.003030698746442795,
0.004817597102373838,
-0.026205001398921013,
0.07067512720823288,
0.012957674451172352,
-0.015436756424605846,
-0.04518573731184006,
0.0764000192284584,
-0.035644255578517914,
0.014823375269770622,
0.040994301438331604,
-0.006823864299803972,
0.019202234223484993,
0.0382000096142292,
0.04787779971957207,
-0.02090607024729252,
-0.02191133424639702,
0.01614384911954403,
0.013315480202436447,
0.049138639122247696,
-0.03150393068790436,
0.003886876394972205,
-0.013426229357719421,
0.0074415048584342,
-0.0684601441025734,
0.0785127729177475,
-0.042289216071367264,
-0.03520125523209572,
0.01896369829773903,
0.03394041955471039,
0.039597153663635254,
-0.025540504604578018,
-0.041743990033864975,
0.02136610634624958,
-0.014857452362775803,
-0.035030871629714966,
-0.01610977202653885,
-0.00971186626702547,
0.007990991696715355,
0.032083235681056976,
0.05544283241033554,
0.030686091631650925,
-0.014533723704516888,
0.039631232619285583,
0.0010105879046022892,
0.025864234194159508,
0.0014610395301133394,
0.02158760465681553,
-0.016544250771403313,
-0.07381018996238708,
0.042391445487737656,
-0.03605317696928978,
-0.06379163265228271,
0.0583052784204483,
0.011782027781009674,
-0.035030871629714966,
0.06028172746300697,
0.037654779851436615,
-0.07939876616001129,
0.004681290127336979,
-0.023819630965590477,
-0.05005870759487152,
0.01118568517267704,
0.009251831099390984,
-0.021775027737021446,
-0.0007374416454695165,
-0.06409832090139389,
-0.03387226536870003,
-0.059702422469854355,
0.0013268624898046255,
0.020889032632112503,
-0.0007608693558722734,
0.030396439135074615,
0.0017368480330333114,
-0.03622356057167053,
-0.02973194234073162,
-0.0459013469517231,
0.08314721286296844,
-0.04603765532374382,
-0.0024492645170539618,
-0.02003711462020874,
-0.017651744186878204,
0.05605621263384819,
-0.01942373253405094,
-0.05462498962879181,
0.036325789988040924,
0.028880024328827858,
-0.04692365229129791,
-0.0029795835725963116,
0.10120787471532822,
0.007164631504565477,
-0.006930354051291943,
-0.02840295061469078,
0.023938899859786034,
-0.04269813746213913,
0.008723641745746136,
-0.012616907246410847,
-0.05782820284366608,
0.0358487144112587,
-0.036359865218400955,
-0.006376607343554497,
-0.013792554847896099,
0.0016026709927245975,
-0.04794595390558243,
0.018265124410390854,
0.019270388409495354,
0.04198252409696579,
-0.005516170058399439,
-0.0048857503570616245,
-0.03782516345381737,
0.025182699784636497,
-0.02603461779654026,
-0.07415095716714859,
0.03358261287212372,
0.026903575286269188,
0.06017949804663658,
0.024007052183151245,
-0.03070312924683094,
-0.06293971091508865,
0.02879483252763748,
0.027176188305020332,
-0.004907048307359219,
-0.021127570420503616,
0.032798849046230316,
-0.0474688783288002,
-0.002519547939300537,
0.021212762221693993,
0.046242114156484604,
-0.02337663248181343,
0.04007422924041748,
-0.009251831099390984,
-0.0321684293448925,
0.020088229328393936,
0.025438275188207626,
0.0422210618853569,
0.027874760329723358,
0.017617667093873024,
-0.05745335668325424,
0.04525389149785042,
0.00039214856224134564,
0.02790883742272854,
0.022030603140592575,
0.00025930258561857045,
-0.0004291537625249475,
-0.08962178975343704,
0.0035205516032874584,
-0.014789299108088017,
0.0029987518209964037,
0.04341374710202217,
0.02567681297659874,
-0.011074936017394066,
0.045151662081480026,
-0.02905040793120861,
0.04470866173505783,
-0.08062553405761719,
-0.05343230441212654,
-0.06668815016746521,
-0.0293741375207901,
-0.011782027781009674,
0.04549242928624153,
-0.028522219508886337,
0.003007271094247699,
-0.005311709363013506,
-0.03516718000173569,
0.047741491347551346,
-0.019457809627056122,
0.010896032676100731,
-0.020889032632112503,
0.003494994016364217,
-0.040346842259168625,
0.025727927684783936,
0.017771011218428612,
0.014440012164413929,
0.007398908957839012,
-0.06338270753622055,
0.010444516316056252,
0.03252623230218887,
-0.024075206369161606,
-0.04617396369576454,
-0.008387134410440922,
0.05254631116986275,
-0.10243463516235352,
0.0074585434049367905,
-0.014550761319696903,
-0.021570567041635513,
-0.03249215707182884,
-0.006989988032728434,
0.044470127671957016,
0.002114886650815606,
-0.03721178323030472,
0.014414454810321331,
-0.0016495265299454331,
-0.04273221269249916,
0.03296923264861107,
0.06491616368293762,
-0.040346842259168625,
0.05411383882164955,
-0.046310268342494965,
-0.044265665113925934,
-0.04123283550143242,
-0.004378858953714371,
0.016970209777355194,
0.005217998754233122,
0.006108252797275782,
-0.007151852827519178,
-0.025080470368266106,
0.05748743563890457,
0.04201660305261612,
-0.016356827691197395,
0.02237137034535408,
0.0017656002892181277,
0.049683865159749985,
-0.05857789143919945,
-0.032441042363643646,
0.008336018770933151,
-0.004659992177039385,
0.06948244571685791,
0.05121731758117676,
-0.06576807796955109,
-0.009814096614718437,
-0.08212490379810333,
0.011577567085623741,
-0.011722393333911896,
0.037791088223457336,
-0.017328014597296715,
0.08737272024154663,
0.08369243890047073,
-0.0008391393348574638,
0.07067512720823288,
0.004953904077410698,
-0.029851211234927177,
-0.050501707941293716,
-0.04385674372315407,
0.030839435756206512,
0.008902544155716896,
0.007053881883621216,
0.00043527691741473973,
0.0656658485531807,
0.015811599791049957,
-0.0074415048584342,
-0.07306049764156342,
0.0077567147091031075,
-0.030975742265582085,
0.022200986742973328,
0.01679982617497444,
-0.049104560166597366,
0.04262998327612877,
0.021672796458005905,
0.012429485097527504,
-0.039733462035655975,
0.0612017996609211,
-0.06488208472728729,
-0.014746703207492828,
-0.0009951468091458082,
-0.004421454854309559,
-0.06426870077848434,
0.07837646454572678,
0.016007540747523308,
-0.004770741332322359,
-0.04525389149785042,
0.04215290769934654,
-0.007079439703375101,
0.0034630470909178257,
0.004278759006410837,
-0.05936165526509285,
-0.03724586218595505,
-0.0028262382838875055,
-0.030754243955016136,
-0.009814096614718437,
-0.02295067347586155,
-0.04801410436630249,
0.04072168469429016,
-0.015300449915230274,
-0.017038362100720406,
0.004689809400588274,
0.06716522574424744,
-0.036325789988040924,
-0.06212186813354492,
-0.04525389149785042,
-0.00606139749288559,
-0.022132832556962967,
-0.03109501115977764,
-0.016970209777355194,
-0.010052633471786976,
-0.012829886749386787,
0.020497150719165802,
-0.013843669556081295,
0.015590101480484009,
-0.0021297952625900507,
0.002992362482473254,
0.015930868685245514,
-0.0033054423984140158,
-0.00615084869787097,
0.046378422528505325,
0.009873731061816216,
-0.035542022436857224,
-0.0006964430795051157,
-0.0474688783288002,
-0.0006368088070303202,
0.09207531064748764,
0.04412936046719551,
0.008050626143813133,
-0.025881271809339523,
-0.02058234252035618,
0.015266372822225094,
0.0333951897919178,
-0.02869260311126709,
-0.012037603184580803,
-0.025983503088355064,
-0.00033278053160756826,
-0.04521981254220009,
0.01760062761604786,
-0.01330696139484644,
-0.0297660194337368,
-0.0454583503305912,
0.05452276021242142,
-0.05138770118355751,
-0.01689353585243225,
0.0017389778513461351,
0.011500895023345947,
-0.015002278611063957,
-0.02905040793120861,
0.028845947235822678,
0.037791088223457336,
0.009175158105790615,
-0.054965756833553314,
-0.0027602147310972214,
0.06379163265228271,
0.060452111065387726,
0.025489389896392822,
0.011483856476843357,
-0.004136062692850828,
0.06938020884990692,
-0.020854955539107323,
-0.001399275497533381,
0.02341070957481861,
0.01369884330779314,
-0.04399305209517479,
0.0021393795032054186,
0.03792739659547806,
0.061644796282052994,
-0.05356861278414726,
-0.06300786137580872,
-0.01578604243695736,
0.007594849914312363,
0.05356861278414726,
0.012676541693508625,
0.005533208139240742,
0.0265798456966877,
0.018196972087025642,
0.0072413040325045586,
0.006389386020600796,
0.04688957333564758,
0.06702891737222672,
0.056942205876111984,
-0.03264550119638443,
0.027499917894601822,
-0.004080687649548054,
0.07674078643321991,
0.05258038640022278,
-0.03550794720649719,
-0.012650984339416027,
-0.0022511936258524656,
-0.03799554705619812,
-0.0051242876797914505,
-0.007522437255829573,
-0.016297193244099617,
-0.008221009746193886,
0.04252775385975838,
0.01436333917081356,
-0.01490004826337099,
0.0361894816160202,
0.023564055562019348,
-0.02197948843240738,
0.03150393068790436,
0.052341848611831665,
0.028232567012310028,
-0.047639261931180954,
-0.025489389896392822,
0.01420147530734539,
0.004647213499993086,
-0.0038719677831977606,
0.06348493695259094,
0.0022597128991037607,
0.003580185817554593,
-0.025727927684783936,
-0.01812881790101528,
-0.030975742265582085,
-0.019696347415447235,
0.002434356138110161,
-0.041607681661844254,
0.03465602919459343,
0.019764499738812447,
-0.009481849148869514,
0.00041557630174793303,
0.006615144200623035,
-0.024109283462166786,
0.044470127671957016,
0.03734809160232544,
0.013886265456676483,
-0.028215527534484863,
0.04941125214099884,
-0.0013183433329686522,
-0.0032990530598908663,
0.03276477009057999,
-0.038915619254112244,
-0.016186444088816643,
0.006581067573279142,
0.011679797433316708,
-0.022746214643120766,
-0.015240815468132496,
-0.059702422469854355,
-0.010367843322455883,
-0.019628193229436874,
0.007573551964014769,
-0.0494794063270092,
-0.07271973043680191,
-0.023155134171247482,
-0.04610580950975418,
0.05741928145289421,
-0.01899777352809906,
-0.007995251566171646,
-0.03799554705619812,
0.003844280494377017,
-0.01650165393948555,
-0.008387134410440922,
0.07742232084274292,
0.03486048802733421,
-0.02872667834162712,
-0.00024985161144286394,
0.03796147182583809,
-0.05118324235081673,
0.016995767131447792,
-0.02025861293077469,
-0.03480937331914902,
0.0591912716627121,
0.02865852601826191,
0.000820503628347069,
0.06552954018115997,
-0.008612892590463161,
-0.007211486808955669,
-0.020088229328393936,
0.025881271809339523,
-0.022286178544163704,
-0.040414996445178986,
0.04733256995677948,
-0.029135599732398987,
0.02295067347586155,
0.0045535024255514145,
-0.03724586218595505,
-0.007671522907912731,
0.05077432096004486,
0.000627224741037935,
0.03102685883641243,
-0.022252101451158524,
0.08028476685285568,
0.011935372836887836,
-0.003799554891884327,
-0.006368088070303202,
0.028096260502934456,
-0.011875738389790058,
-0.0825338289141655,
-0.04532204568386078,
0.046446576714515686,
0.06293971091508865,
0.030123824253678322,
-0.05663551762700081,
-0.016416462138295174,
0.035030871629714966,
-0.022746214643120766,
-0.019832653924822807,
-0.04934309795498848,
0.023512940853834152,
-0.00569933233782649,
0.0066705187782645226,
0.017515435814857483,
0.0030456073582172394,
0.0015398419927805662,
-0.07019805163145065,
-0.017771011218428612,
0.027227303013205528,
-0.030123824253678322,
-0.034025609493255615,
-0.0019391786772757769,
-0.04000607505440712,
-0.05960019305348396,
0.00625733844935894,
0.06893721222877502,
-0.015930868685245514,
0.007620407734066248,
-0.0237344391644001,
0.05390937998890877,
0.02039491944015026,
-0.02276325225830078,
-0.05605621263384819,
0.03622356057167053,
-0.05452276021242142,
-0.0635530948638916,
0.04855933412909508,
0.040892068296670914,
-0.01835031621158123,
0.04620803892612457,
0.02499527856707573,
0.0001454916491638869,
0.03102685883641243,
0.022320255637168884,
0.04716218635439873,
-0.04068760946393013,
-0.013085462152957916,
0.01695317029953003,
0.0772860124707222,
0.010418958961963654,
0.011475336737930775,
0.06593846529722214,
-0.04024461284279823,
-0.07755862921476364,
-0.03755255043506622,
-0.008928101509809494,
0.08757718652486801,
0.00881735235452652,
-0.03925638645887375,
0.015411199070513248,
-0.030941667035222054,
-0.017353571951389313,
-0.04256182909011841,
0.039767537266016006,
0.04794595390558243,
-0.011117531917989254,
0.013400672003626823,
-0.005222258158028126,
0.021502412855625153,
-0.03656432777643204,
-0.03935861587524414,
0.04327744245529175,
0.06542731076478958,
-0.035644255578517914,
-0.034741222858428955,
0.011339030228555202,
-0.06655184179544449,
-0.07060697674751282,
0.0007225330336950719,
0.0442315898835659,
0.029561558738350868,
-0.01183314248919487,
0.02078680321574211,
0.012131313793361187,
-0.02908448502421379,
-0.028965216130018234,
0.006585326977074146,
0.05288707837462425,
0.030788321048021317,
-0.02022453583776951,
0.02000303752720356,
-0.01398849580436945,
0.050399474799633026
] |
18,133 | jsondiff | emit_dict_diff | null | def emit_dict_diff(self, a, b, s, added, changed, removed):
if s == 0.0:
return b
elif s == 1.0:
return {}
else:
d = {}
if added:
d[insert] = added
if changed:
d[update] = changed
if removed:
d[delete] = list(removed.keys())
return d
| (self, a, b, s, added, changed, removed) | [
-0.007318251766264439,
-0.04481872171163559,
-0.004746612627059221,
-0.0018663324881345034,
-0.03389037027955055,
-0.017203684896230698,
-0.06328816711902618,
0.03476392477750778,
-0.006957241799682379,
-0.032125432044267654,
-0.008864800445735455,
0.018202034756541252,
-0.015385264530777931,
0.0014618675922974944,
-0.028666866943240166,
-0.016365785151720047,
-0.023746434599161148,
0.034086473286151886,
-0.014440398663282394,
-0.06785205006599426,
0.0265988577157259,
-0.02346119098365307,
0.028773831203579903,
0.09405869990587234,
-0.05048791319131851,
-0.04225153848528862,
-0.008526074700057507,
-0.06193326786160469,
0.0508444681763649,
0.041288845241069794,
0.0012111661490052938,
-0.08200720697641373,
0.02823900245130062,
-0.005936608649790287,
-0.007888736203312874,
-0.028042897582054138,
0.03303464129567146,
0.03176887705922127,
-0.04431954398751259,
-0.015331781469285488,
-0.019574763253331184,
-0.018968623131513596,
-0.01571507565677166,
0.0063377306796610355,
0.03850772976875305,
0.04317857697606087,
-0.020412662997841835,
0.05230633541941643,
0.011044231243431568,
0.009644760750234127,
0.034960027784109116,
-0.035227444022893906,
0.02429909072816372,
0.0731646865606308,
-0.0014908375451341271,
-0.048990391194820404,
0.02169625461101532,
0.01651732064783573,
-0.032143257558345795,
0.018754690885543823,
0.007884279824793339,
0.005900952965021133,
-0.008976222947239876,
-0.024673471227288246,
-0.015617024153470993,
-0.030431803315877914,
-0.002446845406666398,
-0.050951432436704636,
-0.021268390119075775,
0.04168105125427246,
0.0001965220144484192,
-0.016784735023975372,
0.010892695747315884,
-0.004403430502861738,
-0.01574181765317917,
0.03972001001238823,
0.02510133571922779,
0.0256718210875988,
0.029540421441197395,
-0.04567444697022438,
0.007527726702392101,
-0.04474740847945213,
-0.013014187105000019,
0.03253546729683876,
0.022409360855817795,
0.029790008440613747,
0.004133787006139755,
0.024370402097702026,
0.04403430223464966,
-0.03201846405863762,
-0.053554270416498184,
-0.010946178808808327,
0.013531188480556011,
0.01886165700852871,
0.011810820549726486,
0.019556935876607895,
-0.061541058123111725,
-0.026081856340169907,
0.05259157717227936,
0.026349270716309547,
0.087925985455513,
-0.005620167590677738,
-0.05309075117111206,
0.010473745875060558,
0.012033665552735329,
-0.06949219107627869,
0.027044549584388733,
-0.05833208188414574,
-0.026670169085264206,
0.007616864982992411,
-0.017533496022224426,
0.04417692497372627,
-0.039006903767585754,
0.017658289521932602,
-0.004639646504074335,
0.013370740227401257,
0.0017939076060429215,
-0.053554270416498184,
0.007786227390170097,
0.014271036721765995,
-0.01914689876139164,
-0.00015445990720763803,
0.014770210720598698,
0.029843490570783615,
-0.00783971045166254,
-0.0439629927277565,
0.04078967124223709,
-0.005856384057551622,
0.03939911350607872,
0.01679364964365959,
0.04310726374387741,
-0.04934694245457649,
-0.016463838517665863,
0.05227068066596985,
0.0313766710460186,
0.008298772387206554,
-0.03303464129567146,
0.05961567163467407,
0.06770942360162735,
0.036386240273714066,
0.006765594240278006,
-0.016134025529026985,
0.007937762886285782,
0.03180453181266785,
-0.040433116257190704,
-0.0022117432672530413,
-0.011873217299580574,
0.04599534347653389,
-0.05073750019073486,
0.04242981597781181,
-0.012024751864373684,
0.043000299483537674,
-0.013914483599364758,
-0.02570747584104538,
-0.03169756755232811,
-0.03143015131354332,
-0.004675302188843489,
-0.06532052159309387,
-0.023906882852315903,
0.014235381036996841,
0.06867212057113647,
-0.01329942885786295,
0.07537531852722168,
-0.05088012292981148,
0.010028054937720299,
0.016980839893221855,
0.037010207772254944,
0.02797158807516098,
-0.016686683520674706,
-0.006992897018790245,
-0.003469706978648901,
0.05088012292981148,
-0.036136653274297714,
0.01098183449357748,
0.04841990768909454,
0.001965498784556985,
0.01973521150648594,
-0.024459540843963623,
-0.014315605163574219,
-0.020163075998425484,
0.0565493144094944,
-0.00028120336355641484,
-0.030324837192893028,
0.07808511704206467,
0.004590620752424002,
-0.02515481784939766,
0.0033315427135676146,
0.008829144760966301,
0.011204680427908897,
0.013620327226817608,
0.003026244230568409,
0.00958236400038004,
-0.011418611742556095,
0.02511916309595108,
-0.006092600524425507,
0.04474740847945213,
-0.03392602503299713,
-0.031305357813835144,
0.028345968574285507,
0.052413299679756165,
-0.09741029888391495,
-0.06243244186043739,
-0.03520961478352547,
0.009092102758586407,
0.0009671502048149705,
-0.028773831203579903,
0.029914801940321922,
-0.024138642475008965,
0.005290355999022722,
-0.005606797058135271,
-0.011650371365249157,
-0.026991067454218864,
0.013682723976671696,
-0.029843490570783615,
0.007630235515534878,
-0.038971249014139175,
0.048669494688510895,
0.045852724462747574,
-0.024709127843379974,
-0.05776159465312958,
0.0319649837911129,
-0.030699219554662704,
0.040718358010053635,
0.025475716218352318,
-0.0021604886278510094,
0.018086154013872147,
0.01029546931385994,
0.001519807381555438,
-0.036118824034929276,
-0.024102987721562386,
0.027918104082345963,
0.004973915405571461,
-0.004541594535112381,
-0.04378471523523331,
0.06738852709531784,
-0.018433792516589165,
0.0007788455695845187,
-0.06000788137316704,
0.06321685761213303,
-0.023015500977635384,
-0.011641457676887512,
0.04046877101063728,
0.036974553018808365,
0.07352124154567719,
-0.02998611330986023,
-0.07587449252605438,
0.044640444219112396,
0.00017312321870122105,
-0.06228981912136078,
0.022783741354942322,
-0.0017961360281333327,
-0.02025221474468708,
0.012648720294237137,
0.038436420261859894,
0.041538432240486145,
0.0005025169812142849,
0.017078891396522522,
0.027579380199313164,
0.009965658187866211,
-0.027204997837543488,
0.02144666761159897,
0.002725402358919382,
-0.0726655125617981,
0.02420995384454727,
-0.0029705327469855547,
-0.041502777487039566,
0.036118824034929276,
0.040361806750297546,
-0.04086098074913025,
0.07815643399953842,
0.02798941545188427,
-0.058973874896764755,
-0.026937583461403847,
-0.04246547073125839,
-0.01625881902873516,
0.01185538899153471,
0.0719880610704422,
-0.04064704850316048,
0.018487276509404182,
-0.024138642475008965,
0.0024914145469665527,
-0.02424560859799385,
-0.017765255644917488,
0.04078967124223709,
-0.009074275381863117,
0.04314292222261429,
-0.016330130398273468,
-0.04385602846741676,
0.0064179552718997,
-0.0760171115398407,
0.03342685103416443,
-0.021304044872522354,
-0.013459878042340279,
-0.01027764193713665,
-0.0011955669615417719,
0.035031337291002274,
-0.0014830379514023662,
-0.047992043197155,
0.04624493047595024,
0.05398213490843773,
-0.029362143948674202,
-0.0014808094128966331,
0.08871040493249893,
0.06000788137316704,
-0.03454999253153801,
-0.023746434599161148,
0.06464307010173798,
-0.030128734186291695,
0.02485174871981144,
-0.03629710152745247,
-0.06300292909145355,
0.03362295404076576,
0.0128359105437994,
0.062075886875391006,
0.011614715680480003,
-0.0012557352893054485,
-0.0649283155798912,
0.010447004809975624,
0.0012769056484103203,
0.0850735604763031,
-0.02283722348511219,
0.011454267427325249,
-0.06171933561563492,
0.011142282746732235,
0.013745120726525784,
-0.11466746777296066,
0.018986450508236885,
-0.013388567604124546,
0.07765726000070572,
0.013522274792194366,
-0.03397950530052185,
-0.05401778966188431,
0.05137929692864418,
0.01685604639351368,
-0.02652754820883274,
-0.007077578455209732,
0.027276309207081795,
-0.019289521500468254,
-0.03339119255542755,
-0.01800592988729477,
0.020216558128595352,
0.005704849027097225,
0.0008780119242146611,
0.024923058226704597,
0.015278298407793045,
0.0000037909876482444815,
-0.014404743909835815,
-0.009840864688158035,
0.001918701222166419,
-0.02515481784939766,
-0.03570878878235817,
0.04881211370229721,
0.00478672469034791,
0.0677807405591011,
0.07865560799837112,
0.03342685103416443,
0.004171670880168676,
-0.0741630345582962,
0.01708780601620674,
-0.011302731931209564,
0.010045882314443588,
0.07744332402944565,
0.013540102168917656,
0.0037326649762690067,
0.026384927332401276,
-0.02280156873166561,
-0.013076583854854107,
-0.050987087190151215,
-0.03428257629275322,
-0.06803032755851746,
-0.02169625461101532,
-0.00677896523848176,
0.03164408355951309,
0.000373545044567436,
0.015866611152887344,
-0.024905230849981308,
-0.03164408355951309,
0.04403430223464966,
-0.016472751274704933,
-0.006475895177572966,
-0.002919278107583523,
0.032731570303440094,
-0.05644235014915466,
0.09070710092782974,
0.03661799803376198,
-0.004626275971531868,
0.04481872171163559,
-0.06368038058280945,
0.06089926138520241,
0.02224891074001789,
-0.040718358010053635,
-0.021304044872522354,
0.01821986213326454,
0.0468154177069664,
-0.06792335957288742,
-0.02797158807516098,
-0.02082269825041294,
-0.03219674155116081,
-0.09919305890798569,
-0.023282915353775024,
0.061576712876558304,
0.002212857361882925,
-0.08592928946018219,
-0.0182466022670269,
-0.012033665552735329,
-0.06450045108795166,
0.0005855269846506417,
0.03421126678586006,
-0.03772331401705742,
0.04706500470638275,
-0.0736638605594635,
-0.03501351177692413,
-0.05191412568092346,
-0.027793310582637787,
0.022641118615865707,
-0.011694940738379955,
-0.004675302188843489,
-0.025297440588474274,
-0.04692238196730614,
0.03167973831295967,
0.04050442948937416,
-0.00785753782838583,
0.018683381378650665,
0.022712429985404015,
0.06546314060688019,
-0.021036630496382713,
-0.057797253131866455,
0.03779462352395058,
0.014369088225066662,
0.037580691277980804,
0.040361806750297546,
-0.054409995675086975,
0.023282915353775024,
-0.06218285486102104,
0.03169756755232811,
-0.014502795413136482,
0.07459089905023575,
-0.009760639630258083,
0.07084709405899048,
0.07801380753517151,
0.01681147702038288,
0.008659782819449902,
0.012684375047683716,
-0.004764440469443798,
-0.026349270716309547,
-0.03052094206213951,
0.004675302188843489,
-0.03889993950724602,
0.0354057177901268,
-0.010072624310851097,
0.10197417438030243,
-0.00957344938069582,
0.015617024153470993,
-0.02823900245130062,
0.038686007261276245,
-0.034960027784109116,
-0.023639468476176262,
-0.01600031927227974,
-0.054089099168777466,
0.01570616289973259,
0.005535486154258251,
0.005811814684420824,
-0.05423172190785408,
0.057725939899683,
-0.03447867929935455,
-0.00026546488516032696,
0.010714419186115265,
-0.03116273693740368,
-0.04250112548470497,
0.049204323440790176,
0.041288845241069794,
-0.02627796120941639,
-0.024798264726996422,
0.014351260848343372,
-0.030895322561264038,
-0.02429909072816372,
-0.004216239787638187,
-0.02971869707107544,
-0.037830278277397156,
-0.0032669175416231155,
0.004639646504074335,
0.009484311565756798,
-0.058652978390455246,
-0.023835571482777596,
0.03567313402891159,
-0.013531188480556011,
-0.005958892870694399,
0.0068814740516245365,
0.02536875009536743,
-0.009956744499504566,
-0.012844824232161045,
-0.06286030262708664,
0.007812969386577606,
-0.008147237822413445,
-0.042928989976644516,
-0.00801352970302105,
0.015902265906333923,
-0.006863646674901247,
0.02454867772758007,
-0.011079885996878147,
-0.008160607889294624,
-0.03362295404076576,
-0.037758968770504,
0.00840573851019144,
0.00034736067755147815,
-0.005682564340531826,
-0.012194114737212658,
0.01127599086612463,
-0.048705149441957474,
0.0064179552718997,
-0.027882449328899384,
-0.02736544795334339,
0.07480483502149582,
0.08485963195562363,
-0.01226542517542839,
-0.06047140061855316,
-0.034086473286151886,
-0.012185201048851013,
-0.02574313059449196,
-0.07665891200304031,
0.019307348877191544,
0.02312246523797512,
-0.008472592569887638,
-0.050345294177532196,
-0.0025716389063745737,
-0.006992897018790245,
-0.025172647088766098,
-0.03743807226419449,
0.0531977154314518,
-0.04653017595410347,
-0.06132712587714195,
0.001504208194091916,
0.007220199331641197,
0.004383374005556107,
-0.03850772976875305,
0.0565493144094944,
0.020341351628303528,
-0.008249746635556221,
-0.08899564296007156,
-0.011400784365832806,
0.07972526550292969,
0.03547703102231026,
0.06574838608503342,
-0.030788356438279152,
0.007741658482700586,
0.09134889394044876,
-0.003041843418031931,
-0.008953939191997051,
0.010518315248191357,
-0.013228118419647217,
-0.05394648015499115,
-0.03219674155116081,
0.037580691277980804,
0.013994707725942135,
-0.029914801940321922,
-0.02224891074001789,
-0.02909472957253456,
-0.01632121577858925,
0.027080204337835312,
0.012898307293653488,
0.01500197034329176,
-0.020680077373981476,
0.07323599606752396,
0.03207194805145264,
-0.03084184043109417,
0.05922346189618111,
0.06849384307861328,
0.0336407832801342,
-0.02117925137281418,
0.02483392134308815,
-0.019253864884376526,
0.05854601413011551,
0.003864143742248416,
-0.011320559307932854,
-0.04692238196730614,
-0.008365626446902752,
-0.022320222109556198,
-0.025243956595659256,
-0.020377008244395256,
-0.013468791730701923,
-0.008040271699428558,
0.03135884180665016,
0.0387573167681694,
0.03312378004193306,
0.06706763058900833,
0.01398579403758049,
-0.045531824231147766,
0.023817744106054306,
0.03235718980431557,
0.05687021464109421,
-0.06250375509262085,
-0.03312378004193306,
-0.03476392477750778,
-0.025885751470923424,
-0.008650869131088257,
-0.005383951123803854,
0.02916604094207287,
0.061291471123695374,
-0.056371040642261505,
0.0007849738467484713,
-0.04107491299510002,
-0.028684694319963455,
0.012773513793945312,
-0.030752701684832573,
0.01603597402572632,
-0.0035120476968586445,
0.05733373388648033,
-0.012880478985607624,
-0.013727293349802494,
-0.0330524705350399,
0.00736282067373395,
0.038400765508413315,
0.017907878383994102,
-0.04139580950140953,
0.07872691750526428,
-0.030110906809568405,
0.041538432240486145,
-0.009805209003388882,
-0.026099683716893196,
-0.011284904554486275,
-0.00505859637632966,
-0.001321474788710475,
-0.02192801423370838,
0.019806522876024246,
-0.05590752139687538,
-0.03226805105805397,
0.027900276705622673,
0.021803218871355057,
0.005602340213954449,
-0.06713894009590149,
-0.024102987721562386,
0.0012657634215429425,
0.05291247367858887,
-0.02365729585289955,
0.022676775231957436,
0.03711717203259468,
0.024726955220103264,
0.01797027513384819,
0.012033665552735329,
0.08043836802244186,
0.07844167202711105,
-0.03059225343167782,
0.025208301842212677,
0.003975566476583481,
-0.018433792516589165,
0.01797027513384819,
0.013682723976671696,
-0.026349270716309547,
0.035851411521434784,
0.007073121145367622,
-0.01651732064783573,
0.026153167709708214,
-0.030913149937987328,
-0.03228588029742241,
-0.040076564997434616,
0.028702521696686745,
-0.0065382919274270535,
-0.02570747584104538,
0.0015432062791660428,
-0.025796614587306976,
-0.019057761877775192,
-0.004835750907659531,
-0.06114884838461876,
-0.049525219947099686,
0.07423434406518936,
0.005776159465312958,
0.008084841072559357,
0.03501351177692413,
0.050416603684425354,
-0.005651365965604782,
-0.0018607613164931536,
-0.044390857219696045,
-0.01712346076965332,
-0.0013604727573692799,
-0.05512310191988945,
-0.038400765508413315,
0.03676062077283859,
0.06703197211027145,
0.030164388939738274,
-0.04913301020860672,
0.0033003443386405706,
0.04624493047595024,
-0.014440398663282394,
-0.03085966780781746,
-0.006703197490423918,
0.0319649837911129,
-0.021304044872522354,
-0.01027764193713665,
0.009306035004556179,
0.029005590826272964,
0.024798264726996422,
-0.06974177807569504,
-0.018683381378650665,
-0.012194114737212658,
-0.00783525314182043,
0.01070550549775362,
-0.004352175630629063,
-0.032392844557762146,
-0.024923058226704597,
0.0064179552718997,
0.05911649763584137,
0.025885751470923424,
0.018344655632972717,
-0.010669850744307041,
0.025350922718644142,
-0.03807986527681351,
-0.020715732127428055,
-0.04078967124223709,
0.00578061630949378,
-0.05565793439745903,
-0.04310726374387741,
0.05615710839629173,
-0.015456574968993664,
-0.005802900996059179,
-0.002959390403702855,
0.001280248281545937,
-0.0059945485554635525,
0.02488740347325802,
0.025297440588474274,
0.04763548821210861,
-0.06221850961446762,
-0.014645417220890522,
0.054160408675670624,
0.05911649763584137,
-0.016339043155312538,
-0.00035153902717866004,
0.04118187725543976,
-0.07494745403528214,
-0.07444828003644943,
-0.01339748129248619,
-0.0017604806926101446,
0.035869237035512924,
0.005321554373949766,
-0.008067012764513493,
-0.0015510058728978038,
0.00914558582007885,
0.007059750612825155,
-0.046672794967889786,
0.037010207772254944,
0.03922083601355553,
0.028114208951592445,
0.023782089352607727,
0.03226805105805397,
0.012042579241096973,
-0.06164802610874176,
-0.018487276509404182,
0.0022006009239703417,
0.07202371954917908,
-0.04314292222261429,
-0.010803557932376862,
0.04089663550257683,
-0.026153167709708214,
-0.04171670973300934,
0.001792793394997716,
0.012363477610051632,
-0.004973915405571461,
-0.011329473927617073,
0.010215245187282562,
0.028738176450133324,
-0.0016757993726059794,
0.005089794751256704,
0.0348174050450325,
0.03192932531237602,
0.06849384307861328,
-0.021036630496382713,
0.04078967124223709,
-0.020983148366212845,
0.05120101943612099
] |
18,134 | jsondiff | emit_list_diff | null | def emit_list_diff(self, a, b, s, inserted, changed, deleted):
if s == 0.0:
return b
elif s == 1.0:
return {}
else:
d = changed
if inserted:
d[insert] = inserted
if deleted:
d[delete] = [pos for pos, value in deleted]
return d
| (self, a, b, s, inserted, changed, deleted) | [
0.005152513273060322,
-0.046908117830753326,
-0.002346755936741829,
-0.0010698777623474598,
-0.02658606693148613,
-0.009423024021089077,
-0.03659409284591675,
0.030546078458428383,
-0.0014377536717802286,
-0.006304515991359949,
-0.018630048260092735,
-0.004286260809749365,
-0.032616082578897476,
-0.04129210487008095,
-0.02696406841278076,
-0.012492031790316105,
-0.034830089658498764,
0.02147405408322811,
-0.0028957573231309652,
-0.051300130784511566,
0.025902066379785538,
-0.0051570129580795765,
0.024732062593102455,
0.0720001831650734,
-0.028440073132514954,
-0.04086010530591011,
0.002187005477026105,
-0.06195615604519844,
0.025128064677119255,
0.03988810256123543,
0.02449806220829487,
-0.07102818042039871,
0.018432047218084335,
-0.0375840961933136,
-0.0022668808232992887,
-0.010926027782261372,
0.00729001872241497,
0.04014010354876518,
-0.00006697282515233383,
-0.008797522634267807,
-0.00008908616291591898,
-0.0453961156308651,
0.006003015208989382,
0.012321031652390957,
0.051516130566596985,
0.06858017295598984,
-0.0019395049894228578,
0.05144413188099861,
0.00674101710319519,
0.024354061111807823,
0.0509401299059391,
-0.029052073135972023,
0.010656027123332024,
0.020520051941275597,
0.0018585047218948603,
-0.02696406841278076,
0.04316411167383194,
0.021834054961800575,
0.005544014275074005,
0.03445208817720413,
0.03177008032798767,
0.021528054028749466,
-0.008757022209465504,
-0.03493808954954147,
0.0022331306245177984,
-0.026730068027973175,
0.016695043072104454,
-0.059508152306079865,
-0.0283860731869936,
0.06076815351843834,
-0.009315024130046368,
-0.018162045627832413,
0.023166058585047722,
-0.010053025558590889,
0.002684256760403514,
0.050904128700494766,
0.04338011145591736,
0.04428011178970337,
0.03155408054590225,
-0.04039210453629494,
-0.013347034342586994,
-0.022914057597517967,
0.026748068630695343,
0.051408130675554276,
0.036936093121767044,
0.024156061932444572,
0.0028350071515887976,
0.03279608488082886,
0.03439808636903763,
-0.022950058802962303,
-0.053496137261390686,
-0.021456055343151093,
-0.0065115164034068584,
-0.0011221903841942549,
-0.024336062371730804,
0.029538074508309364,
-0.06750017404556274,
-0.051516130566596985,
0.057096146047115326,
0.05122813209891319,
0.10022425651550293,
0.023022059351205826,
-0.06008415296673775,
-0.0025852564722299576,
0.020106051117181778,
-0.06753617525100708,
0.00649801641702652,
-0.05947215110063553,
-0.00849602185189724,
0.025632064789533615,
-0.026838067919015884,
0.0708121806383133,
-0.00746551901102066,
0.005674514453858137,
-0.0199800506234169,
0.01690204255282879,
0.029538074508309364,
-0.05148012936115265,
-0.004099510610103607,
-0.009900025092065334,
0.012564032338559628,
-0.04568411782383919,
0.0088155223056674,
0.03079807758331299,
-0.011052028276026249,
-0.01703704334795475,
0.042516108602285385,
-0.0031522579956799746,
0.027738070115447044,
0.006624016910791397,
0.043812111020088196,
-0.04374011233448982,
-0.027918070554733276,
0.055224139243364334,
0.026748068630695343,
-0.003316508373245597,
-0.04906812682747841,
0.028728073462843895,
0.031626079231500626,
-0.002144255442544818,
0.002684256760403514,
-0.011835030280053616,
0.04186810553073883,
0.046008117496967316,
-0.05166013166308403,
-0.00599851505830884,
-0.0017955045914277434,
0.0677521750330925,
-0.04395611211657524,
0.06861617416143417,
-0.030708078294992447,
0.05767214670777321,
0.001676254323683679,
-0.06829217076301575,
-0.037008095532655716,
-0.01188903022557497,
-0.03177008032798767,
-0.07862420380115509,
-0.01949404925107956,
0.03616209328174591,
0.06127215549349785,
-0.03369608521461487,
0.03924009948968887,
0.00727201858535409,
-0.0014310036785900593,
0.02248205803334713,
0.003438008716329932,
0.011070027947425842,
-0.04708812013268471,
-0.006192015949636698,
0.026244066655635834,
0.048924125730991364,
-0.01503003854304552,
-0.005413513630628586,
0.03177008032798767,
0.019134048372507095,
-0.007060518022626638,
0.009729024954140186,
-0.006849017459899187,
-0.050904128700494766,
0.01819804683327675,
-0.0012690032599493861,
0.0029250073712319136,
0.04327211156487465,
0.0041197603568434715,
-0.0030330077279359102,
-0.022644057869911194,
0.016767043620347977,
0.0045742616057395935,
0.015102038159966469,
-0.04316411167383194,
-0.004675511736422777,
0.0012127531226724386,
-0.0038047595880925655,
-0.03704409301280975,
0.0637921616435051,
-0.06364816427230835,
-0.006502516567707062,
0.012006030417978764,
0.03895210102200508,
-0.08863222599029541,
-0.05367613583803177,
-0.028026072308421135,
0.003510009031742811,
0.007407018914818764,
0.011232028715312481,
0.020628051832318306,
-0.026316067203879356,
0.008604021742939949,
-0.0307620782405138,
0.0011823780369013548,
-0.015993040055036545,
-0.008010020479559898,
-0.01890004798769951,
0.007006518077105284,
-0.05659214407205582,
-0.0027472570072859526,
0.03504608944058418,
-0.010503026656806469,
-0.06364816427230835,
0.03391208499670029,
-0.05108413100242615,
-0.005220013204962015,
0.0060660154558718204,
0.0024435061495751143,
0.06094815582036972,
0.024750063195824623,
-0.029322074726223946,
-0.06490816175937653,
0.0014028785517439246,
0.008415021002292633,
-0.02158205583691597,
0.0027495070826262236,
-0.03488408774137497,
0.051624130457639694,
-0.00774001982063055,
-0.0005366263794712722,
-0.0481681227684021,
0.046404119580984116,
-0.0001364065974485129,
-0.06202815845608711,
0.034722089767456055,
0.06951617449522018,
0.06966017931699753,
-0.005899515002965927,
-0.04597211629152298,
0.03258008137345314,
0.0088155223056674,
-0.06516016274690628,
0.03826809674501419,
-0.03006007708609104,
-0.0176310446113348,
0.025632064789533615,
0.009855025447905064,
0.05594414100050926,
-0.018954047933220863,
0.008910022675991058,
0.03306608274579048,
0.004765511956065893,
-0.03475808724761009,
-0.013698034919798374,
0.000035595792724052444,
-0.047520119696855545,
0.011277028359472752,
-0.005355013534426689,
-0.03834009915590286,
0.02449806220829487,
0.06127215549349785,
-0.042408108711242676,
0.09576024115085602,
0.046404119580984116,
-0.04885212332010269,
-0.045504115521907806,
-0.040716104209423065,
-0.008442021906375885,
0.02079005353152752,
0.06663616746664047,
-0.04557611793279648,
0.010962028056383133,
-0.03898809850215912,
0.012330031022429466,
-0.012123030610382557,
-0.02160005457699299,
0.04939212650060654,
-0.010980027727782726,
0.0379800982773304,
-0.00751501927152276,
-0.055008139461278915,
-0.02588406577706337,
-0.0563761442899704,
0.022356057539582253,
-0.0023355060257017612,
-0.002301755826920271,
-0.029304074123501778,
0.010215026326477528,
0.0332820862531662,
0.004743012133985758,
-0.0019856300204992294,
0.03934809938073158,
0.04158010706305504,
-0.03607209026813507,
-0.011007027700543404,
0.09100823104381561,
0.05086813122034073,
-0.039528101682662964,
-0.05734814703464508,
0.03884409740567207,
-0.04449611157178879,
0.01699204370379448,
-0.06008415296673775,
-0.0387720987200737,
0.03898809850215912,
-0.015102038159966469,
0.03299408406019211,
0.037728097289800644,
0.0033682584762573242,
-0.07466419041156769,
0.014949037693440914,
0.01639804244041443,
0.09432023763656616,
-0.015813039615750313,
0.002934007439762354,
-0.055296141654253006,
0.06087615340948105,
0.0043987613171339035,
-0.08143220841884613,
0.010818027891218662,
0.007123518269509077,
0.049932125955820084,
0.031014079228043556,
-0.01633504219353199,
-0.05968815088272095,
0.029736075550317764,
-0.01109702792018652,
-0.020610053092241287,
-0.034614089876413345,
0.04388411343097687,
-0.028116071596741676,
-0.02687406912446022,
-0.02248205803334713,
0.008374521508812904,
0.019242048263549805,
-0.015453039668500423,
0.05220013111829758,
0.03970810025930405,
0.03425408899784088,
0.01723504438996315,
0.02327405847609043,
-0.008451021276414394,
0.02377806045114994,
-0.00874802190810442,
0.02007005177438259,
-0.004950012546032667,
0.05176813155412674,
0.09028822928667068,
0.02289605885744095,
-0.008626521565020084,
-0.062604159116745,
-0.011232028715312481,
-0.0052965134382247925,
0.02187005616724491,
0.03578409180045128,
0.046116117388010025,
0.007029017899185419,
0.03567609190940857,
-0.021222054958343506,
-0.012321031652390957,
-0.06739217042922974,
-0.03888009861111641,
-0.04654811695218086,
-0.03321008384227753,
-0.0046170116402208805,
0.044136110693216324,
-0.008154020644724369,
0.0415441058576107,
-0.058716148138046265,
-0.05137212947010994,
0.03436208888888359,
-0.01703704334795475,
0.0019901301711797714,
-0.021852055564522743,
0.0008291270933113992,
-0.0009078772854991257,
0.07948820292949677,
0.012978033162653446,
0.02028605155646801,
0.034722089767456055,
-0.04143610596656799,
0.05018412694334984,
0.019818050786852837,
-0.044928114861249924,
-0.015993040055036545,
-0.01633504219353199,
0.02298605814576149,
-0.07236018776893616,
-0.02759407088160515,
-0.018522046506404877,
-0.0375840961933136,
-0.08740822225809097,
-0.03960010036826134,
0.06076815351843834,
0.007303518708795309,
-0.09244823455810547,
0.0015896291006356478,
-0.022608056664466858,
-0.05583614110946655,
-0.002819257089868188,
0.04669211804866791,
-0.07009217888116837,
0.031626079231500626,
-0.06588016450405121,
-0.017928045243024826,
-0.012861032970249653,
-0.03855609893798828,
0.040536101907491684,
-0.011718030087649822,
-0.03844809904694557,
0.015210038982331753,
-0.04359611123800278,
0.01800004579126835,
0.020826052874326706,
-0.00984602514654398,
0.06386416405439377,
0.035424090921878815,
0.052020132541656494,
-0.013491034507751465,
-0.05774414539337158,
0.049716126173734665,
-0.016659041866660118,
0.010800027288496494,
0.05886014923453331,
-0.03450608626008034,
0.013176033273339272,
-0.05655614286661148,
0.03787209466099739,
-0.013617035001516342,
0.08330421149730682,
-0.01243803184479475,
0.05979615077376366,
0.07354819029569626,
0.02719806879758835,
0.04449611157178879,
0.015129038132727146,
0.009936025366187096,
-0.008415021002292633,
-0.007155018392950296,
-0.004070260562002659,
-0.04863612353801727,
0.02428206242620945,
-0.021330054849386215,
0.0767521932721138,
0.003730509430170059,
0.040428102016448975,
-0.007645519450306892,
0.035028088837862015,
-0.036936093121767044,
-0.023346059024333954,
-0.029214074835181236,
-0.05187613144516945,
-0.0017550045158714056,
0.051624130457639694,
0.01787404529750347,
-0.03927610069513321,
0.03844809904694557,
-0.017019042745232582,
-0.0352620892226696,
0.004452761262655258,
-0.0415441058576107,
-0.02388606034219265,
0.045828115195035934,
0.06516016274690628,
-0.04518011584877968,
-0.04298410937190056,
0.004738511983305216,
-0.035316091030836105,
-0.020628051832318306,
-0.00954002421349287,
-0.0461881160736084,
-0.02358005940914154,
-0.0023175058886408806,
-0.01917004957795143,
-0.019908050075173378,
-0.04057210311293602,
-0.017865044996142387,
0.00989102479070425,
-0.02948407456278801,
-0.008442021906375885,
-0.007209018338471651,
0.00654751667752862,
-0.03924009948968887,
-0.01479603722691536,
-0.06202815845608711,
0.023256059736013412,
-0.02689206786453724,
-0.04147210717201233,
-0.0153810391202569,
0.007249518297612667,
-0.02277005836367607,
0.043704111129045486,
0.011205028742551804,
-0.0004384698695503175,
-0.03924009948968887,
-0.012510031461715698,
0.0022398806177079678,
0.020214051008224487,
-0.026244066655635834,
0.023850060999393463,
0.010494026355445385,
-0.0822962075471878,
-0.009972025640308857,
-0.015129038132727146,
-0.03150007873773575,
0.0775441974401474,
0.06742817163467407,
-0.05839214846491814,
-0.06987617909908295,
-0.03337208554148674,
0.012906032614409924,
0.009193523786962032,
-0.04906812682747841,
0.016911042854189873,
-0.0017910045571625233,
-0.04356011003255844,
-0.06494416296482086,
0.007060518022626638,
-0.024048062041401863,
-0.03906010091304779,
-0.05058012902736664,
0.05785214900970459,
-0.03616209328174591,
-0.0669601708650589,
-0.013374034315347672,
0.014877038076519966,
-0.011934030801057816,
-0.038412097841501236,
0.08632822334766388,
0.023004058748483658,
0.010683027096092701,
-0.07016418129205704,
-0.00041793857235461473,
0.055116139352321625,
0.05446814000606537,
0.029412074014544487,
-0.052128132432699203,
-0.010674026794731617,
0.07948820292949677,
-0.024156061932444572,
-0.0348660871386528,
0.003501008963212371,
-0.000341157108778134,
-0.019728049635887146,
-0.04964412748813629,
0.008428521454334259,
0.011862030252814293,
-0.038124095648527145,
-0.022464057430624962,
-0.038808099925518036,
-0.017307044938206673,
0.03607209026813507,
0.004792512394487858,
0.023130059242248535,
0.011403028853237629,
0.06386416405439377,
0.0248760636895895,
0.008802022784948349,
0.06631217151880264,
0.06609617173671722,
0.004043260123580694,
-0.003186008194461465,
0.0132300341501832,
0.0201780516654253,
0.04287610948085785,
0.0016290041385218501,
-0.008892023004591465,
-0.03306608274579048,
-0.01299603283405304,
0.02048405259847641,
-0.04316411167383194,
-0.007663519587367773,
-0.035028088837862015,
-0.007713019847869873,
0.01298703346401453,
0.016659041866660118,
0.02208605594933033,
0.09230423718690872,
0.0295740757137537,
-0.048816125839948654,
0.02797207050025463,
0.01752304472029209,
0.059616152197122574,
-0.04964412748813629,
-0.017064044252038002,
-0.03945609927177429,
-0.013104033656418324,
-0.009828025475144386,
-0.010107025504112244,
0.019620049744844437,
0.04644011706113815,
-0.07956020534038544,
0.011979030445218086,
-0.02138405479490757,
-0.009387023746967316,
0.006768017075955868,
-0.05108413100242615,
0.03245408087968826,
-0.03058207780122757,
0.0567721463739872,
-0.03666609153151512,
-0.005584514234215021,
0.002322005806490779,
0.02307605929672718,
0.05767214670777321,
0.01677604205906391,
-0.0619201585650444,
0.03884409740567207,
-0.011475029401481152,
0.04305610805749893,
0.022248055785894394,
0.014220036566257477,
0.001956379972398281,
0.0008201270829886198,
0.01677604205906391,
0.0033547584898769855,
0.001546878949739039,
-0.051516130566596985,
-0.05364013835787773,
0.019764050841331482,
0.030654078349471092,
0.010602027177810669,
-0.06764417141675949,
-0.002729256870225072,
0.017307044938206673,
0.04219210892915726,
-0.01479603722691536,
0.007195518352091312,
0.013626034371554852,
0.005269513465464115,
-0.02658606693148613,
0.020718052983283997,
0.0677521750330925,
0.06062415614724159,
-0.024804063141345978,
0.026406066492199898,
-0.012141031213104725,
-0.0141930365934968,
-0.004684512037783861,
0.011313028633594513,
-0.014229035936295986,
0.012249031104147434,
0.031230079010128975,
-0.011286028660833836,
0.06836417317390442,
-0.036612093448638916,
-0.0046170116402208805,
-0.04374011233448982,
0.051624130457639694,
-0.01569603942334652,
-0.024030061438679695,
0.009405024349689484,
-0.018279045820236206,
-0.00749701913446188,
0.00400726031512022,
-0.053712137043476105,
-0.04388411343097687,
0.0485641248524189,
0.003237758297473192,
0.03216608241200447,
0.044712115079164505,
0.04176010563969612,
0.024966062977910042,
-0.02998807653784752,
-0.06044415384531021,
-0.022212056443095207,
0.01348203420639038,
-0.0313020795583725,
-0.06278415769338608,
0.04417211189866066,
0.05248813331127167,
0.01738804392516613,
-0.027108069509267807,
0.0062010157853364944,
0.013725034892559052,
0.010242026299238205,
-0.02509206347167492,
-0.016560042276978493,
0.060300152748823166,
-0.02217605710029602,
-0.00554851396009326,
0.03187808021903038,
0.026352066546678543,
-0.0025830066297203302,
-0.03816009685397148,
-0.018468046560883522,
-0.023562060669064522,
-0.014949037693440914,
0.04575611650943756,
-0.01824304647743702,
-0.02449806220829487,
-0.012564032338559628,
0.02007005177438259,
0.05335213616490364,
0.017415044829249382,
0.0032175080850720406,
0.017091043293476105,
0.03396608680486679,
-0.05594414100050926,
-0.01254603173583746,
-0.04942812770605087,
-0.03058207780122757,
-0.031734079122543335,
-0.013392033986747265,
0.03519009053707123,
-0.017568044364452362,
-0.01044002640992403,
-0.015300039201974869,
-0.024732062593102455,
0.019116047769784927,
0.022122057154774666,
0.0387720987200737,
0.06386416405439377,
-0.044712115079164505,
-0.024660062044858932,
0.055296141654253006,
0.03805209696292877,
-0.015003038570284843,
0.0026730068493634462,
0.04806012287735939,
-0.04399211332201958,
-0.07603219151496887,
-0.04204810783267021,
0.003460508771240711,
0.05418013781309128,
0.03690009564161301,
-0.02257205732166767,
0.01798204518854618,
0.0062460158951580524,
0.004144510719925165,
-0.03247208148241043,
-0.012681032530963421,
0.0375840961933136,
0.04557611793279648,
0.01513803843408823,
0.022248055785894394,
0.04010410234332085,
-0.0889202281832695,
-0.011682029813528061,
0.005229013506323099,
0.05817614868283272,
-0.05108413100242615,
-0.02979007549583912,
0.022464057430624962,
-0.03826809674501419,
-0.05158813297748566,
-0.009018022567033768,
0.005404513794928789,
-0.008577021770179272,
0.00532351341098547,
-0.0092970235273242,
-0.008100020699203014,
-0.014229035936295986,
0.01278903242200613,
0.04176010563969612,
0.03157208114862442,
0.08611221611499786,
-0.028458071872591972,
0.05317213386297226,
-0.049608126282691956,
0.06516016274690628
] |
18,135 | jsondiff | emit_set_diff | null | def emit_set_diff(self, a, b, s, added, removed):
if s == 0.0 or len(removed) == len(a):
return b
else:
d = {}
if removed:
d[discard] = removed
if added:
d[add] = added
return d
| (self, a, b, s, added, removed) | [
-0.03013821877539158,
-0.023958737030625343,
-0.006678254809230566,
0.02524759992957115,
-0.044668830931186676,
-0.015492845326662064,
-0.036794405430555344,
0.04544568061828613,
0.03398715332150459,
-0.02658943086862564,
-0.019456543028354645,
0.000035000975913135335,
-0.00444922735914588,
-0.010937684215605259,
-0.014821929857134819,
0.006356039084494114,
-0.016393285244703293,
0.04816465079784393,
0.015280977822840214,
-0.06860990822315216,
0.030526643618941307,
-0.018644381314516068,
0.022104891017079353,
0.10169662535190582,
-0.05381446331739426,
-0.014151015318930149,
0.008342301473021507,
-0.05964083597064018,
0.005314354784786701,
0.041914548724889755,
0.022740496322512627,
-0.05123673751950264,
0.0026792471762746572,
-0.030403053387999535,
0.0005136695108376443,
-0.017231928184628487,
0.022051924839615822,
0.06352508068084717,
-0.008492374792695045,
-0.019862622022628784,
-0.03557616472244263,
-0.02099258452653885,
0.041914548724889755,
-0.011123068630695343,
0.0530376173555851,
0.03238048776984215,
0.0039857663214206696,
0.07535437494516373,
-0.0029771863482892513,
0.05095424875617027,
0.051448605954647064,
0.0035355468280613422,
0.014053909108042717,
0.06041768193244934,
0.011052445508539677,
-0.01917405053973198,
0.03813623636960983,
0.019138740375638008,
-0.007084335200488567,
0.019791999831795692,
0.007384481839835644,
0.0401136688888073,
-0.0010157524375244975,
-0.02976744994521141,
-0.02696019969880581,
-0.04315044358372688,
-0.013012224808335304,
-0.056992486119270325,
-0.026730675250291824,
0.054626625031232834,
0.00021366112923715264,
-0.007079921197146177,
0.008443821221590042,
-0.012535521760582924,
0.019332952797412872,
-0.0012182408245280385,
0.06705621629953384,
0.014292260631918907,
0.017911670729517937,
-0.047776225954294205,
0.009798893705010414,
-0.032203931361436844,
-0.008011257275938988,
0.030014628544449806,
0.033563416451215744,
0.040925830602645874,
0.024947453290224075,
0.014583578333258629,
0.012482554651796818,
-0.05681592598557472,
-0.03887777402997017,
0.006691496819257736,
0.00688129523769021,
0.03795967996120453,
0.002192612737417221,
0.05353197455406189,
-0.08276975154876709,
-0.014548267237842083,
0.0365472249686718,
0.0029308402445167303,
0.07493063807487488,
0.015378084033727646,
-0.04382135719060898,
-0.0017181168077513576,
0.03200972080230713,
-0.045975349843502045,
0.02752518095076084,
-0.07108170539140701,
-0.01647273451089859,
0.013250576332211494,
-0.009198601357638836,
0.035381950438022614,
-0.044704142957925797,
0.03153301775455475,
0.0028403550386428833,
-0.0010940994834527373,
0.0018494308460503817,
-0.06211262568831444,
-0.001973020378500223,
-0.0004747718630824238,
-0.028672799468040466,
0.007825872860848904,
0.021345697343349457,
0.0413142554461956,
-0.007128474302589893,
-0.043680112808942795,
0.05911116302013397,
0.014027425087988377,
0.05310823768377304,
-0.00862037856131792,
0.039548687636852264,
-0.041843924671411514,
-0.01766449213027954,
0.08079232275485992,
0.023941081017255783,
0.012553177773952484,
-0.03483462706208229,
0.058758050203323364,
0.04615190625190735,
0.04583410546183586,
0.010293252766132355,
0.003063257783651352,
0.028743421658873558,
0.05663936957716942,
-0.04297388717532158,
0.0019222605042159557,
-0.032203931361436844,
0.03333389386534691,
-0.03476400300860405,
0.05596845597028732,
-0.013550722040235996,
0.01164391078054905,
-0.03704158216714859,
-0.023217199370265007,
-0.024011703208088875,
-0.010452153161168098,
-0.0058572664856910706,
-0.008514444343745708,
-0.01875031553208828,
0.020321669057011604,
0.08121605962514877,
-0.0056498125195503235,
0.06550251692533493,
-0.004217496607452631,
-0.007627246901392937,
-0.008196642622351646,
0.055650655180215836,
0.04389198124408722,
-0.042691394686698914,
0.009481091983616352,
0.010513948276638985,
0.0520135872066021,
-0.038206856697797775,
0.004345500376075506,
0.011537976562976837,
-0.039160262793302536,
0.024859175086021423,
-0.019456543028354645,
-0.013400649651885033,
-0.02104555256664753,
0.05628625676035881,
-0.0009953380795195699,
-0.011140724644064903,
0.03986648842692375,
0.024099981412291527,
-0.03266298025846481,
-0.017726287245750427,
0.011229002848267555,
-0.008156917057931423,
0.011343764141201973,
0.00018828110478352755,
0.004987725056707859,
-0.014089220203459263,
0.0375712551176548,
-0.006545837502926588,
0.031797852367162704,
-0.04989490658044815,
-0.028196096420288086,
-0.006925434339791536,
0.017382001504302025,
-0.08552403748035431,
-0.03972524404525757,
-0.011767500080168247,
-0.00821871217340231,
0.024117637425661087,
-0.007455104496330023,
0.017276067286729813,
-0.018573759123682976,
-0.0015868028858676553,
-0.0006113273557275534,
0.01258848886936903,
-0.03460510075092316,
0.04569286108016968,
-0.039548687636852264,
0.0006896744016557932,
-0.03483462706208229,
0.040890518575906754,
0.04608128219842911,
0.001777704688720405,
-0.06296009570360184,
0.014027425087988377,
-0.047882162034511566,
0.05543878674507141,
0.06027643755078316,
0.0037076894659549,
0.019580131396651268,
0.007971532642841339,
-0.015272149816155434,
-0.029414337128400803,
-0.003762863576412201,
0.03200972080230713,
0.014089220203459263,
0.016825847327709198,
-0.04064333811402321,
0.025741958990693092,
-0.0027763531543314457,
-0.0032376074232161045,
-0.06225387379527092,
0.06687965989112854,
-0.015704713761806488,
-0.05183703079819679,
0.0242235716432333,
0.05501504987478256,
0.08291099965572357,
-0.024099981412291527,
-0.03658253699541092,
0.027330968528985977,
0.006338383536785841,
-0.030809134244918823,
0.03460510075092316,
0.00889845471829176,
-0.019491853192448616,
-0.010487464256584644,
0.013471271842718124,
0.04357418045401573,
-0.015175043605268002,
-0.01647273451089859,
0.00984303280711174,
0.011979368515312672,
-0.03222158923745155,
0.018079400062561035,
0.022175515070557594,
-0.02565368078649044,
0.010637537576258183,
-0.029449647292494774,
-0.030809134244918823,
0.04632846266031265,
0.033616386353969574,
-0.07591935992240906,
0.0532141737639904,
-0.02102789655327797,
-0.03430495411157608,
0.006541423499584198,
-0.027154412120580673,
-0.040572717785835266,
0.007349170278757811,
0.0251593217253685,
-0.025512434542179108,
0.005486497655510902,
-0.024806208908557892,
0.020745405927300453,
-0.002315098885446787,
-0.0012833460932597518,
0.051978275179862976,
0.0029793933499604464,
0.056074388325214386,
0.00959585327655077,
-0.04569286108016968,
-0.02934371493756771,
-0.08163978904485703,
0.010434498079121113,
-0.027207378298044205,
0.0032111238688230515,
-0.04728186875581741,
0.005777816288173199,
0.03599989786744118,
0.004886205308139324,
-0.04837651923298836,
0.028531553223729134,
0.05688655003905296,
-0.04795278608798981,
-0.020957274362444878,
0.040007736533880234,
0.030420709401369095,
-0.042762018740177155,
-0.052296075969934464,
0.06009988114237785,
-0.020374637097120285,
0.04392729327082634,
-0.05113080516457558,
-0.03442854434251785,
0.04166736826300621,
-0.011202518828213215,
0.0197213776409626,
0.022193169221282005,
0.03442854434251785,
-0.05293168127536774,
0.02568899095058441,
0.009507575072348118,
0.08065107464790344,
0.012464898638427258,
-0.017585041001439095,
-0.07486001402139664,
0.016499217599630356,
-0.006890122778713703,
-0.06264229863882065,
-0.0011156173422932625,
-0.019403574988245964,
0.07083452492952347,
0.012765045277774334,
-0.04724655672907829,
-0.0384187251329422,
0.022193169221282005,
0.016225555911660194,
-0.005751332733780146,
-0.016684602946043015,
0.04177330061793327,
-0.039548687636852264,
0.008554168976843357,
-0.01672874204814434,
0.0178498774766922,
0.01398328598588705,
-0.019509509205818176,
0.018891559913754463,
0.01754090189933777,
0.032786570489406586,
-0.05589783191680908,
-0.00025076561723835766,
-0.0072255805134773254,
0.0010527189588174224,
0.009225084446370602,
0.0530376173555851,
-0.013215264305472374,
0.020304014906287193,
0.09964857250452042,
0.05476786941289902,
-0.0158106479793787,
-0.0171701330691576,
0.012235375121235847,
-0.020851340144872665,
-0.0004458055191207677,
0.038630593568086624,
0.042797330766916275,
-0.010019589215517044,
0.00043256377102807164,
-0.03306905925273895,
-0.02424122765660286,
-0.057451531291007996,
-0.05957021191716194,
-0.10367406159639359,
-0.02153990976512432,
0.0004482883377932012,
0.04710531234741211,
-0.013594861142337322,
0.014954348094761372,
-0.011440870352089405,
-0.03575272113084793,
0.03112693689763546,
-0.02648349665105343,
-0.0037496217992156744,
-0.03126818314194679,
0.04343293607234955,
-0.05939365550875664,
0.08269913494586945,
0.02051588147878647,
0.00862037856131792,
0.04078458622097969,
-0.06345445662736893,
0.08849018812179565,
0.05812244862318039,
-0.0033082300797104836,
-0.061582956463098526,
0.03622942417860031,
0.043680112808942795,
-0.06673841178417206,
-0.058793362230062485,
-0.033157337456941605,
-0.02971448376774788,
-0.0701989233493805,
-0.0182736124843359,
0.08185166120529175,
-0.01730255037546158,
-0.06366632878780365,
0.00838202703744173,
0.01212061382830143,
-0.00787001196295023,
-0.01235896535217762,
0.02512400969862938,
-0.04152612388134003,
0.028902322053909302,
-0.0848178118467331,
-0.05670999363064766,
-0.0054247030057013035,
-0.06190076097846031,
-0.009913655929267406,
-0.03153301775455475,
-0.014574751257896423,
-0.033704664558172226,
0.0000857954946695827,
-0.010743471793830395,
0.03803030028939247,
-0.02611272782087326,
0.01235896535217762,
-0.008329059928655624,
0.0576280876994133,
-0.040537405759096146,
-0.04805871844291687,
0.030915068462491035,
-0.014239293523132801,
0.03393418714404106,
0.03806561231613159,
-0.06299541145563126,
0.05293168127536774,
-0.05254325643181801,
0.019897934049367905,
-0.015413395129144192,
0.05399101972579956,
-0.00889845471829176,
0.07192917913198471,
0.10176724940538406,
0.008761623874306679,
-0.00962233729660511,
-0.012429587543010712,
-0.014495300129055977,
-0.012023507617413998,
-0.04166736826300621,
-0.02835499681532383,
0.0020370222628116608,
0.03607052192091942,
-0.002315098885446787,
0.07387129962444305,
-0.00862037856131792,
-0.01698474958539009,
-0.04247952997684479,
0.04608128219842911,
-0.034516822546720505,
-0.02067478373646736,
-0.019456543028354645,
-0.07556623965501785,
0.029590893536806107,
0.03148004785180092,
0.0042064618319272995,
-0.048235274851322174,
0.07214104384183884,
-0.0324687659740448,
0.025441812351346016,
0.024965109303593636,
-0.04834120720624924,
-0.041879236698150635,
0.05070706829428673,
0.04622253030538559,
-0.07521312683820724,
-0.022140203043818474,
-0.0022577180061489344,
-0.04106707498431206,
-0.0448806993663311,
-0.03746531903743744,
-0.018891559913754463,
-0.03562913089990616,
0.018538447096943855,
0.014733651652932167,
0.02148694358766079,
-0.04244421795010567,
-0.03520539402961731,
0.016781708225607872,
-0.0220166128128767,
0.014636545442044735,
-0.020462915301322937,
0.016534529626369476,
0.02010980248451233,
-0.006210379768162966,
-0.08707773685455322,
-0.0013815556885674596,
-0.005888164043426514,
-0.02560071274638176,
-0.00764490244910121,
0.02877873368561268,
-0.023693902418017387,
0.05667468160390854,
-0.01327705942094326,
-0.009445779956877232,
-0.034975871443748474,
-0.026765987277030945,
0.003762863576412201,
0.02930840291082859,
-0.00913680624216795,
-0.018891559913754463,
0.0007790561649017036,
-0.04481007531285286,
-0.025900859385728836,
-0.023164231330156326,
-0.049153368920087814,
0.06822148710489273,
0.08877267688512802,
-0.0013771418016403913,
-0.053743842989206314,
-0.04816465079784393,
-0.018891559913754463,
-0.0027940089348703623,
-0.045516300946474075,
0.0037275522481650114,
0.023464377969503403,
-0.002247786847874522,
-0.04173799231648445,
-0.008505616337060928,
-0.022193169221282005,
-0.0457281693816185,
-0.03887777402997017,
0.028972946107387543,
-0.05720435082912445,
-0.07267071306705475,
-0.00005893267734791152,
-0.019085772335529327,
-0.003899694886058569,
-0.013850868679583073,
0.07436566054821014,
0.011458526365458965,
-0.003930592443794012,
-0.041843924671411514,
0.011158379726111889,
0.07528375089168549,
0.03990180045366287,
0.08778396248817444,
-0.013374165631830692,
-0.02831968478858471,
0.09166821092367172,
-0.026765987277030945,
0.014186326414346695,
0.016313834115862846,
0.0006769843748770654,
-0.0734475627541542,
-0.030809134244918823,
0.030367743223905563,
0.0319567508995533,
-0.007088749203830957,
-0.06843335181474686,
-0.03693564981222153,
0.029025912284851074,
0.01374493446201086,
0.029555581510066986,
0.02427653782069683,
-0.02247565984725952,
0.07337693870067596,
0.01575767993927002,
-0.033581074327230453,
0.03234517574310303,
0.05752215534448624,
-0.02646584063768387,
-0.0028491828124970198,
0.011458526365458965,
-0.02881404384970665,
0.0440332256257534,
-0.05024801939725876,
0.003301609307527542,
-0.06002925708889961,
0.017708631232380867,
-0.01258848886936903,
-0.03578803315758705,
-0.02152225561439991,
0.011281969957053661,
-0.03968993201851845,
0.029096534475684166,
0.04537505656480789,
0.03398715332150459,
0.05667468160390854,
0.022987674921751022,
-0.019121084362268448,
0.0005296699237078428,
-0.011334936134517193,
0.0972473993897438,
-0.016781708225607872,
-0.049153368920087814,
0.015766508877277374,
-0.017523247748613358,
-0.02007449045777321,
-0.013074018992483616,
0.051060181111097336,
0.036865025758743286,
-0.05409695580601692,
0.007755250670015812,
-0.014592406339943409,
-0.043256375938653946,
0.02153990976512432,
-0.024912143126130104,
0.02563602477312088,
-0.007790561765432358,
0.029184812679886818,
-0.014892552979290485,
-0.02192833460867405,
-0.027189722284674644,
-0.005574775859713554,
0.060629550367593765,
0.02289939671754837,
-0.03930150717496872,
0.0613710880279541,
-0.03532898426055908,
0.03700627386569977,
0.012853323481976986,
-0.043680112808942795,
-0.026854265481233597,
0.010902373120188713,
-0.015395739115774632,
-0.018185334280133247,
0.003063257783651352,
-0.04240890592336655,
0.003418578067794442,
0.023888112977147102,
0.037288762629032135,
-0.0173378624022007,
-0.0343402661383152,
-0.025865547358989716,
-0.003597341710701585,
0.04435103014111519,
0.006047064904123545,
0.032715946435928345,
0.02376452460885048,
0.03517008200287819,
0.004970069508999586,
-0.011432042345404625,
0.04223234951496124,
0.046858131885528564,
-0.029537927359342575,
0.016004860401153564,
0.01054043136537075,
-0.04209110513329506,
0.02330547757446766,
-0.011326109059154987,
-0.010681676678359509,
0.019827311858534813,
0.012765045277774334,
-0.007940635085105896,
0.030438365414738655,
-0.002365858992561698,
-0.045057255774736404,
-0.01744379661977291,
0.039089642465114594,
0.009887171909213066,
0.00742862094193697,
0.004563989117741585,
-0.026818953454494476,
0.023075953125953674,
0.009207429364323616,
-0.008721898309886456,
-0.03852466121315956,
0.04357418045401573,
0.012023507617413998,
0.019491853192448616,
0.02007449045777321,
0.04498663172125816,
0.013806729577481747,
-0.02839030884206295,
-0.03993711248040199,
-0.03608817607164383,
0.0001575216301716864,
-0.05914647504687309,
-0.04498663172125816,
0.02293470874428749,
0.038242168724536896,
0.009242740459740162,
-0.06278353929519653,
-0.01351541094481945,
0.04435103014111519,
-0.004043146967887878,
-0.039654623717069626,
-0.016719914972782135,
0.036300044506788254,
-0.03693564981222153,
-0.014345226809382439,
0.03898370638489723,
0.006951917894184589,
0.03743000701069832,
-0.08036858588457108,
-0.0035223050508648157,
-0.002041436266154051,
-0.01781456544995308,
0.07493063807487488,
-0.009251568466424942,
-0.056604061275720596,
-0.0024916555266827345,
0.01836189068853855,
0.043291687965393066,
0.030844446271657944,
0.01973903365433216,
-0.028107818216085434,
0.016128448769450188,
-0.051024869084358215,
-0.022281449288129807,
-0.01030207984149456,
0.0018130160169675946,
-0.03241579979658127,
-0.04071396216750145,
0.016516873612999916,
-0.016225555911660194,
0.010875889100134373,
-0.013718451373279095,
-0.0611945316195488,
0.012614971958100796,
0.003511270275339484,
0.023040641099214554,
0.0693514496088028,
-0.06394881755113602,
-0.0005520153790712357,
0.051095493137836456,
0.05776933208107948,
-0.022140203043818474,
-0.0014466609572991729,
0.04265608638525009,
-0.0814279243350029,
-0.06271292269229889,
-0.041384875774383545,
-0.009728271514177322,
0.06666778773069382,
0.004908274859189987,
0.024506062269210815,
0.010637537576258183,
0.0031493292190134525,
0.00008379543578485027,
-0.030456021428108215,
0.03448151424527168,
0.025847893208265305,
0.038630593568086624,
0.00003415612445678562,
0.016516873612999916,
0.01572236977517605,
-0.10000168532133102,
-0.010716988705098629,
-0.01506028138101101,
0.07796741276979446,
-0.06115921959280968,
-0.029926350340247154,
0.03109162487089634,
-0.03675909340381622,
-0.04798809438943863,
0.02055119350552559,
0.0093928137794137,
-0.0024982765316963196,
0.0018019812414422631,
0.007569866254925728,
0.033210303634405136,
-0.006064720917493105,
0.000497393193654716,
0.03508180379867554,
0.046893443912267685,
0.05547409877181053,
-0.010822921991348267,
0.05674530565738678,
-0.03282187879085541,
0.06299541145563126
] |
18,136 | jsondiff | emit_value_diff | null | def emit_value_diff(self, a, b, s):
if s == 1.0:
return {}
else:
return b
| (self, a, b, s) | [
0.016467588022351265,
-0.07290571928024292,
0.045626427978277206,
0.01167388167232275,
-0.02179584465920925,
-0.0060136872343719006,
-0.05273076891899109,
0.03683221712708473,
-0.005272214766591787,
-0.015536435879766941,
0.023865070194005966,
0.05383435636758804,
0.004235446453094482,
-0.02302013523876667,
-0.03559068217873573,
0.0036556320264935493,
-0.01104449201375246,
0.01791604608297348,
0.028693262487649918,
-0.0010588616132736206,
-0.0001918344642035663,
-0.01917482540011406,
0.010794460773468018,
0.0689397007226944,
-0.03379735350608826,
-0.05873152241110802,
0.0031340147834271193,
-0.054489608854055405,
-0.005944713018834591,
0.023571928963065147,
-0.036901190876960754,
-0.09290823340415955,
0.020588796585798264,
0.001111131045036018,
0.014915668405592442,
-0.035694144666194916,
-0.020588796585798264,
0.03655632212758064,
-0.11877355724573135,
-0.007190559525042772,
-0.012449841015040874,
-0.017847072333097458,
-0.04055682197213173,
0.022571804001927376,
-0.01635550521314144,
0.019243799149990082,
-0.009294272400438786,
0.033762864768505096,
-0.01819194294512272,
-0.010035744868218899,
0.05521383881568909,
0.0005243116174824536,
-0.008414851501584053,
0.05597255378961563,
0.002569288481026888,
0.008699369616806507,
0.0274689719080925,
0.03679773211479187,
-0.02170962654054165,
0.04372963681817055,
0.0024356511421501637,
0.04255707561969757,
-0.003927217796444893,
-0.014355253428220749,
-0.000889659277163446,
-0.014725989662110806,
0.010147827677428722,
-0.0140448696911335,
-0.02712409943342209,
0.055420760065317154,
-0.008992509916424751,
-0.019381746649742126,
-0.01756255328655243,
0.03036588802933693,
0.0005744256777688861,
0.006798268761485815,
0.011078978888690472,
0.05793831869959831,
0.013432723470032215,
-0.048695776611566544,
-0.0009855765383690596,
-0.000012124369277444202,
0.01119106262922287,
-0.02552044950425625,
-0.03002101555466652,
0.02752070128917694,
-0.008358810096979141,
0.04566091299057007,
0.04179836064577103,
0.04276399686932564,
-0.05659332126379013,
-0.02938300557434559,
0.01182045228779316,
0.03205575421452522,
0.012311892583966255,
0.06814649701118469,
-0.017812585458159447,
-0.044626299291849136,
0.04441937804222107,
0.019709374755620956,
0.08801106363534927,
0.006742226891219616,
-0.06355971843004227,
-0.00010292242222931236,
0.026399871334433556,
-0.04021195322275162,
0.022933918982744217,
-0.057041656225919724,
0.038177214562892914,
0.012458463199436665,
-0.02622743509709835,
0.008160509169101715,
-0.04179836064577103,
-0.010052988305687904,
-0.049695905297994614,
0.020830204710364342,
0.016493452712893486,
-0.022830456495285034,
0.01955418288707733,
0.02783108502626419,
0.017200438305735588,
0.0014031936880201101,
0.02305462397634983,
0.04348822683095932,
0.01313096098601818,
0.01788155920803547,
0.03545273467898369,
-0.029848581179976463,
0.017459092661738396,
0.051592692732810974,
0.07428520172834396,
-0.01917482540011406,
0.006155946291983128,
0.058662548661231995,
-0.01692454144358635,
0.025968782603740692,
-0.05828319117426872,
0.03572862967848778,
0.05924883112311363,
0.02557218074798584,
0.009794334881007671,
-0.006453397683799267,
0.011311767622828484,
-0.014131086878478527,
0.017183195799589157,
0.02303737960755825,
0.009156323969364166,
0.09987463057041168,
-0.06266304850578308,
0.05952472612261772,
-0.005776588339358568,
0.06162843853235245,
0.018002264201641083,
-0.02176135778427124,
-0.015277783386409283,
-0.043039895594120026,
0.03172812610864639,
-0.045626427978277206,
0.005569665692746639,
-0.004690244793891907,
0.0793892964720726,
-0.0434192530810833,
0.09435669332742691,
-0.02969338931143284,
-0.008074291050434113,
0.029503710567951202,
0.0038151349872350693,
0.0800100639462471,
-0.007259533740580082,
-0.011027248576283455,
-0.015234674327075481,
0.018053993582725525,
-0.04638514295220375,
0.019709374755620956,
0.03686670586466789,
0.020864691585302353,
0.01390692126005888,
0.02593429572880268,
-0.010837569832801819,
-0.011311767622828484,
0.01376035064458847,
-0.025416988879442215,
-0.07414725422859192,
0.046833474189043045,
0.013553428463637829,
-0.008255348540842533,
0.007048300001770258,
-0.012837820686399937,
0.004586783703416586,
0.0014096599770709872,
0.0053498107008636,
0.020692257210612297,
-0.01199288759380579,
0.01914033852517605,
0.014657014980912209,
0.011872182600200176,
-0.009113214910030365,
-0.04276399686932564,
0.014406983740627766,
0.018950657919049263,
-0.07614750415086746,
-0.08111364394426346,
-0.04959244281053543,
0.0007711098878644407,
0.011518689803779125,
-0.015579544939100742,
0.035021644085645676,
0.011949778534471989,
-0.03779785707592964,
-0.03686670586466789,
-0.04531604424118996,
-0.029348518699407578,
-0.026089487597346306,
0.0005208090296946466,
-0.008552799932658672,
-0.048695776611566544,
0.046178221702575684,
0.010682377964258194,
-0.032469600439071655,
-0.025072118267416954,
0.05624845251441002,
-0.06314586848020554,
0.07973416149616241,
0.01819194294512272,
0.027244804427027702,
0.05604153126478195,
-0.0027266358956694603,
-0.02143372967839241,
-0.03450433909893036,
0.0005121872527524829,
0.03134876862168312,
0.02433064579963684,
0.03938426077365875,
-0.03562517091631889,
-0.008772654458880424,
0.006229231599718332,
0.0460747592151165,
-0.028607046231627464,
-0.0059188478626310825,
-0.01625204272568226,
-0.043660663068294525,
0.021261293441057205,
0.014734610915184021,
0.06083523482084274,
-0.0010065920650959015,
-0.0868385061621666,
0.045936811715364456,
0.019088607281446457,
-0.07421623170375824,
0.041384514421224594,
0.004121207632124424,
-0.024123722687363625,
0.026934420689940453,
-0.004179405048489571,
0.05155820772051811,
-0.04348822683095932,
0.03072800114750862,
0.030486591160297394,
0.04986833781003952,
-0.020295655354857445,
0.007212113589048386,
-0.0054662046022713184,
-0.06076626107096672,
0.009026996791362762,
-0.05169615522027016,
-0.03941874951124191,
-0.035021644085645676,
0.042970921844244,
-0.005802453961223364,
0.102081798017025,
-0.020295655354857445,
-0.07890647649765015,
-0.05880049616098404,
-0.03298690542578697,
-0.010285776108503342,
0.01728665642440319,
0.09304618090391159,
-0.054179225116968155,
0.05876601114869118,
-0.0178988017141819,
0.01853681355714798,
0.0010340739972889423,
-0.0079966951161623,
0.03296966105699539,
-0.0023365006782114506,
0.043971046805381775,
0.02138199843466282,
-0.07725109159946442,
0.013182692229747772,
-0.06552547961473465,
0.009018375538289547,
-0.013148205354809761,
-0.010647890157997608,
-0.007259533740580082,
0.013837946578860283,
-0.0011542399879544973,
0.028555314987897873,
-0.04928205907344818,
0.035056132823228836,
0.009509816765785217,
-0.022778727114200592,
-0.04317784309387207,
0.05531730130314827,
0.05628293752670288,
-0.03177985921502113,
-0.03324555978178978,
0.03934977576136589,
-0.022278662770986557,
0.023485710844397545,
-0.02179584465920925,
-0.06104215979576111,
0.044626299291849136,
0.019002389162778854,
0.0018224273808300495,
0.002258904743939638,
0.022726995870471,
-0.03350421413779259,
0.01664864458143711,
0.011027248576283455,
0.06580137461423874,
-0.014053490944206715,
-0.011837695725262165,
-0.016777971759438515,
0.02303737960755825,
-0.003584502497687936,
-0.06017998233437538,
-0.021278537809848785,
-0.007268155459314585,
0.04828193411231041,
0.0033538700081408024,
-0.049385521560907364,
-0.04431591555476189,
0.07373341172933578,
-0.005457582883536816,
0.0031534137669950724,
-0.007087097968906164,
0.016131339594721794,
-0.023537442088127136,
-0.029555439949035645,
-0.030831463634967804,
0.010501320473849773,
-0.034314658492803574,
-0.0002756273315753788,
0.02552044950425625,
0.05490345507860184,
0.022726995870471,
-0.006280962377786636,
-0.014131086878478527,
0.0635252296924591,
0.0040285238064825535,
-0.0446607880294323,
0.04328130558133125,
0.02845185250043869,
0.055179353803396225,
0.07228495180606842,
0.05538627505302429,
-0.005759344901889563,
-0.03648734837770462,
-0.018019506707787514,
-0.00021662206563632935,
0.010320262983441353,
0.07131931185722351,
0.007479388732463121,
0.0037547824904322624,
0.02657230757176876,
-0.023089110851287842,
-0.019450722262263298,
-0.010828947648406029,
-0.025710130110383034,
-0.03745298460125923,
-0.04324681684374809,
-0.004793706350028515,
0.0023903867695480585,
-0.054213713854551315,
0.0020853914320468903,
0.0014463025145232677,
-0.015088103711605072,
0.022140715271234512,
-0.015303648076951504,
-0.030193451792001724,
0.003409911412745714,
-0.0028387189377099276,
-0.0940118208527565,
0.09911590814590454,
0.023209815844893456,
0.0076733785681426525,
0.03607350215315819,
-0.06738778203725815,
0.02400301769375801,
0.03410773724317551,
0.0005534100928343832,
-0.015734737738966942,
0.009302893653512001,
0.032779984176158905,
-0.03271101042628288,
-0.01984732411801815,
0.020899180322885513,
-0.03450433909893036,
-0.08173441886901855,
-0.004526431206613779,
0.04066028445959091,
0.01605374366044998,
-0.0800100639462471,
-0.016864189878106117,
-0.032435111701488495,
-0.06107664480805397,
0.02558942511677742,
0.022209689021110535,
-0.053868841379880905,
0.029900310561060905,
-0.05531730130314827,
-0.057041656225919724,
-0.05690370500087738,
-0.04386758431792259,
-0.006630144082009792,
-0.0008842706447467208,
-0.029865823686122894,
0.0025563559029251337,
-0.061593953520059586,
0.002459360985085368,
0.012104970403015614,
-0.027417240664362907,
0.043350279331207275,
0.03388357162475586,
0.07869955152273178,
-0.017381496727466583,
-0.029796849936246872,
0.029969286173582077,
0.019605914130806923,
0.04890270158648491,
0.019985271617770195,
-0.041074130684137344,
-0.02524455450475216,
-0.07152623683214188,
0.04128105193376541,
-0.013044743798673153,
0.01855405792593956,
-0.03241787105798721,
0.053248073905706406,
0.06014549359679222,
0.03159017860889435,
0.03100389800965786,
0.014113843441009521,
0.029469221830368042,
-0.023451223969459534,
-0.05252384394407272,
0.010984139516949654,
-0.03583209216594696,
-0.031228065490722656,
-0.04817847162485123,
0.037246063351631165,
-0.028865698724985123,
0.011458337306976318,
-0.01695902831852436,
0.04438489302992821,
-0.026382626965641975,
-0.04021195322275162,
-0.025054873898625374,
-0.013191313482820988,
-0.01595890335738659,
0.015795089304447174,
0.021364755928516388,
-0.0555587112903595,
0.024468593299388885,
-0.03676324337720871,
-0.021019885316491127,
0.03424568474292755,
-0.04852334409952164,
-0.032124727964401245,
0.02910710871219635,
0.022795969620347023,
-0.02848634123802185,
-0.013251665979623795,
0.013579294085502625,
-0.006418910343199968,
-0.030210696160793304,
-0.0460747592151165,
-0.029658902436494827,
-0.022295907139778137,
-0.026072243228554726,
-0.04445386677980423,
0.006556858774274588,
-0.027727624401450157,
-0.005716235842555761,
0.03869451954960823,
-0.0037073628045618534,
-0.0008567887707613409,
-0.03900490328669548,
0.014794963411986828,
-0.004983385093510151,
-0.03490094095468521,
0.0014538465766236186,
0.02558942511677742,
-0.030607296153903008,
-0.07228495180606842,
-0.015467462129890919,
0.04441937804222107,
-0.012949904426932335,
0.018036751076579094,
0.022140715271234512,
-0.01853681355714798,
0.007143139373511076,
-0.06331830471754074,
-0.029520953074097633,
0.017200438305735588,
-0.02298564836382866,
0.011380741372704506,
-0.02076123096048832,
-0.06759470701217651,
0.01167388167232275,
-0.0068715536035597324,
0.0004935965407639742,
0.022244175896048546,
0.0878041461110115,
-0.03776336833834648,
-0.06207676976919174,
0.00022228009765967727,
-0.026951665058732033,
-0.04966141656041145,
-0.0812515988945961,
-0.008526934310793877,
0.0037073628045618534,
-0.03102114237844944,
-0.04248810186982155,
-0.000969949527643621,
-0.028986403718590736,
-0.04538501799106598,
-0.039522211998701096,
0.036280423402786255,
-0.043660663068294525,
-0.055489737540483475,
-0.021019885316491127,
-0.017528066411614418,
0.03388357162475586,
-0.03807375207543373,
0.012070483528077602,
0.002696459647268057,
0.015070860274136066,
-0.11691125482320786,
-0.005173064302653074,
0.02971063181757927,
0.011768721044063568,
0.04069477319717407,
-0.01826091669499874,
0.037901315838098526,
0.05476550757884979,
-0.0036620984319597483,
0.05028218403458595,
0.009682252071797848,
-0.02008873224258423,
-0.0320729985833168,
-0.06083523482084274,
0.05062705650925636,
0.013579294085502625,
-0.030572809278964996,
0.004854058846831322,
-0.02362366020679474,
0.019761105999350548,
0.012268784455955029,
0.0007247678586281836,
0.025830835103988647,
-0.0024528945796191692,
0.10228872299194336,
-0.0015335980569943786,
-0.06207676976919174,
0.044971171766519547,
0.0656634271144867,
0.004328130278736353,
-0.007350062020123005,
0.009716738946735859,
-0.002306324429810047,
0.023485710844397545,
-0.012734360061585903,
-0.01600201241672039,
-0.027279291301965714,
0.02081296220421791,
-0.013044743798673153,
-0.020933667197823524,
-0.02200276590883732,
0.007802705280482769,
-0.009397733025252819,
0.017053868621587753,
0.03174537047743797,
0.006651698611676693,
0.08166544139385223,
0.04797155037522316,
-0.045902322977781296,
0.021037127822637558,
-0.00034433210385032,
0.08166544139385223,
-0.05562768504023552,
-0.027658650651574135,
-0.05755896121263504,
-0.02076123096048832,
-0.009311515837907791,
-0.008069979958236217,
0.019571427255868912,
0.022623535245656967,
-0.026658523827791214,
0.02393404394388199,
-0.04197079315781593,
0.018450595438480377,
-0.005013561341911554,
-0.01101000513881445,
0.008100156672298908,
0.01313096098601818,
0.06797406077384949,
0.019899053499102592,
-0.01376897282898426,
-0.012199809774756432,
0.03162466734647751,
0.049351032823324203,
0.0055136242881417274,
-0.04990282654762268,
0.06162843853235245,
0.011906669475138187,
0.01596752554178238,
-0.004655757918953896,
-0.04286745935678482,
0.022502830252051353,
0.009156323969364166,
0.03362491726875305,
-0.03457331284880638,
0.030934924259781837,
-0.013863812200725079,
-0.0076776896603405476,
0.05473101884126663,
0.0049575199373066425,
-0.0011779498308897018,
-0.08739029616117477,
-0.013820703141391277,
0.018605787307024002,
0.03876349329948425,
-0.05790383368730545,
-0.017795341089367867,
0.05497242882847786,
0.011872182600200176,
0.009794334881007671,
0.023106353357434273,
0.08628670871257782,
0.03460780158638954,
-0.011208306066691875,
0.019036876037716866,
0.033693891018629074,
-0.021537190303206444,
0.009992635808885098,
-0.013751729391515255,
-0.016829703003168106,
-0.0003510678361635655,
-0.001397805055603385,
-0.009811578318476677,
0.04317784309387207,
-0.01950245164334774,
-0.020037002861499786,
-0.007453523576259613,
0.032176461070775986,
0.03576311841607094,
-0.010001257993280888,
-0.025986026972532272,
0.005686059594154358,
-0.04700591042637825,
0.0025175579357892275,
-0.03293517604470253,
-0.004776462446898222,
0.05269628018140793,
-0.008845940232276917,
0.004198804032057524,
0.025072118267416954,
0.02524455450475216,
-0.028055252507328987,
-0.01073410827666521,
-0.027331022545695305,
-0.02112334594130516,
0.017140086740255356,
-0.04479873552918434,
-0.03686670586466789,
0.03417671099305153,
0.045557454228401184,
0.007488010451197624,
-0.02177860029041767,
0.02424442768096924,
0.030469348654150963,
-0.008526934310793877,
-0.008406229317188263,
-0.012510193511843681,
-0.007500943262130022,
-0.03326280415058136,
0.02274423837661743,
0.012665385380387306,
-0.003972482401877642,
-0.008772654458880424,
-0.0728367418050766,
-0.03672875463962555,
-0.013932785950601101,
-0.0028451853431761265,
0.027313780039548874,
-0.022813213989138603,
0.0020207283087074757,
-0.009035618975758553,
0.03295242041349411,
0.034762993454933167,
-0.009863309562206268,
-0.007763907313346863,
0.0245892982929945,
0.0434192530810833,
-0.05155820772051811,
0.02681371569633484,
-0.048730265349149704,
0.002312790835276246,
-0.07766494154930115,
-0.03202126920223236,
0.08470030874013901,
-0.05176512897014618,
0.01505361683666706,
-0.05666229873895645,
0.032141972333192825,
-0.058317676186561584,
0.03972913324832916,
0.03586657717823982,
0.07111238688230515,
-0.07766494154930115,
-0.02236488088965416,
0.04079823195934296,
0.03686670586466789,
-0.042108744382858276,
0.038832470774650574,
0.03745298460125923,
-0.02977960743010044,
-0.008432094939053059,
-0.011648016050457954,
-0.011863560415804386,
0.023485710844397545,
-0.004140607081353664,
-0.00798807293176651,
0.002414096612483263,
0.023227058351039886,
-0.011406606994569302,
-0.02146821655333042,
0.020019758492708206,
0.01007023174315691,
0.054868970066308975,
0.03064178302884102,
0.02881396748125553,
-0.022554559633135796,
-0.06562893837690353,
-0.010639268904924393,
-0.004144917707890272,
0.10380615293979645,
-0.06114561855792999,
-0.030003773048520088,
0.0126050328835845,
0.00042489179759286344,
0.0048152608796954155,
0.00703536719083786,
0.045522965490818024,
-0.02527904137969017,
-0.011768721044063568,
0.01167388167232275,
-0.0005711925332434475,
0.02883121185004711,
0.012915417551994324,
0.06966393440961838,
0.031072871759533882,
0.11118639260530472,
-0.04738526791334152,
0.060938697308301926,
-0.0460747592151165,
0.06128356605768204
] |
18,137 | jsondiff | JsonDiffSyntax | null | class JsonDiffSyntax(object):
def emit_set_diff(self, a, b, s, added, removed):
raise NotImplementedError()
def emit_list_diff(self, a, b, s, inserted, changed, deleted):
raise NotImplementedError()
def emit_dict_diff(self, a, b, s, added, changed, removed):
raise NotImplementedError()
def emit_value_diff(self, a, b, s):
raise NotImplementedError()
def patch(self, a, d):
raise NotImplementedError()
def unpatch(self, a, d):
raise NotImplementedError()
| () | [
-0.0034637507051229477,
-0.08691627532243729,
0.041079163551330566,
-0.012129410170018673,
-0.07498790323734283,
-0.025180254131555557,
-0.06114965304732323,
0.014801566489040852,
0.009440501220524311,
-0.010789143852889538,
-0.0018208774272352457,
-0.025331033393740654,
-0.01607481949031353,
0.011869734153151512,
-0.043190084397792816,
-0.02896650694310665,
-0.01893126219511032,
0.020908154547214508,
0.026721559464931488,
-0.04188332334160805,
0.020221268758177757,
-0.0006868864875286818,
0.04285501688718796,
0.0890607014298439,
0.0011245672358199954,
0.014123056083917618,
0.032870031893253326,
-0.0368238165974617,
0.06359563767910004,
0.02512999437749386,
-0.05461585149168968,
-0.07900869846343994,
0.014190069399774075,
0.01217129360884428,
-0.045401521027088165,
-0.0552859865128994,
-0.011610057204961777,
0.08751939237117767,
-0.05773197114467621,
-0.018679961562156677,
-0.02781052701175213,
0.0036962032318115234,
-0.03350665792822838,
-0.011802720837295055,
0.049288295209407806,
0.01362045668065548,
-0.052136361598968506,
0.054515331983566284,
-0.040107470005750656,
-0.01857944205403328,
0.05461585149168968,
-0.037527456879615784,
-0.01481832005083561,
0.06644370406866074,
-0.028748713433742523,
0.0004489368584472686,
0.028932999819517136,
0.09422072023153305,
-0.014608902856707573,
0.05421377345919609,
-0.02559908665716648,
0.015605726279318333,
-0.017473721876740456,
-0.02360544167459011,
-0.02035529538989067,
-0.03441133722662926,
-0.042318910360336304,
-0.019986720755696297,
-0.00029632452060468495,
0.017071641981601715,
-0.040040455758571625,
0.02337089367210865,
0.02605142630636692,
0.032350677996873856,
0.025615841150283813,
0.023873494938015938,
-0.04513346776366234,
0.07270944863557816,
0.007451042998582125,
0.002942303428426385,
-0.020321788266301155,
-0.04550204053521156,
-0.0048794071190059185,
0.0018125007627531886,
-0.005507656838744879,
0.0025025284849107265,
-0.019450614228844643,
-0.03174755722284317,
0.006646883208304644,
-0.02166205458343029,
-0.076395183801651,
0.011610057204961777,
-0.0439942441880703,
-0.004223932977765799,
-0.011936747469007969,
0.013972276821732521,
-0.034980952739715576,
-0.04017448425292969,
0.001895220368169248,
0.03725940361618996,
0.04788101464509964,
0.06553902477025986,
-0.030340278521180153,
-0.027844032272696495,
0.007995526306331158,
-0.009021667763590813,
0.010445700958371162,
-0.03350665792822838,
-0.027257665991783142,
-0.001664862036705017,
-0.018964769318699837,
0.02616870030760765,
-0.020891401916742325,
-0.012380709871649742,
0.08068403601646423,
0.042151376605033875,
-0.010420571081340313,
-0.045636069029569626,
0.017063265666365623,
-0.004975738935172558,
0.00861121155321598,
0.03245119750499725,
0.019199315458536148,
0.033422891050577164,
0.027056626975536346,
-0.014089549891650677,
0.028112085536122322,
0.006806040182709694,
0.012983829714357853,
0.009934724308550358,
-0.014206822961568832,
-0.00004760955926030874,
-0.011584927327930927,
0.04349164292216301,
0.02569960616528988,
0.04891972243785858,
-0.051332201808691025,
0.01623397506773472,
0.0254818145185709,
0.0017088395543396473,
0.01607481949031353,
0.013679093681275845,
0.027575979009270668,
0.007844746112823486,
-0.10836053639650345,
-0.00721230823546648,
-0.04054305702447891,
-0.016200469806790352,
-0.015337673015892506,
0.05843561142683029,
0.0008099187398329377,
0.008054163306951523,
0.02223166823387146,
-0.0027705817483365536,
0.006416525226086378,
0.010378687642514706,
-0.07371465116739273,
-0.07029696553945541,
-0.007044774945825338,
-0.011333627626299858,
0.023069335147738457,
-0.02839689329266548,
0.08262741565704346,
0.014156563207507133,
0.03813057765364647,
0.044027749449014664,
0.016560666263103485,
-0.04476489499211311,
-0.0609821192920208,
0.009448877535760403,
0.011559797450900078,
0.05732989311218262,
-0.016594173386693,
0.02166205458343029,
0.0905349925160408,
0.061585236340761185,
-0.002282641129568219,
0.05069557577371597,
0.0009449924691580236,
-0.01789255626499653,
-0.014290589839220047,
-0.015982676297426224,
-0.0076814014464616776,
0.027039872482419014,
0.0046113538555800915,
-0.039303310215473175,
-0.01847892254590988,
-0.014784812927246094,
0.03179781883955002,
0.0177250225096941,
0.02382323332130909,
-0.010135764256119728,
0.012363957241177559,
0.032870031893253326,
0.0009046797640621662,
-0.01807684265077114,
-0.02667129971086979,
-0.009725307114422321,
0.07371465116739273,
0.027408447116613388,
-0.09261240065097809,
-0.04463087022304535,
0.004628106951713562,
0.0038511715829372406,
0.0009633164154365659,
0.015999428927898407,
0.03454536572098732,
-0.027827279642224312,
0.008385040797293186,
-0.050762586295604706,
0.004519210662692785,
0.0046113538555800915,
0.03591913729906082,
0.027609486132860184,
0.02125997468829155,
-0.02410804107785225,
0.05602313205599785,
0.0020334352739155293,
-0.03762797638773918,
-0.013008960522711277,
0.10165920108556747,
-0.02166205458343029,
-0.018227621912956238,
0.03618719056248665,
0.0009784991852939129,
0.017013005912303925,
0.02462739311158657,
0.019467368721961975,
-0.02678857371211052,
-0.05186830833554268,
0.012405840680003166,
0.010336804203689098,
0.05980938673019409,
-0.010680247098207474,
-0.010579727590084076,
-0.027844032272696495,
-0.00599769176915288,
-0.05753093212842941,
0.06543850153684616,
-0.020908154547214508,
-0.02251647412776947,
0.01846216805279255,
0.04067708179354668,
0.04412826895713806,
-0.009876087307929993,
-0.0327024981379509,
0.021762574091553688,
0.0074636079370975494,
-0.011961877346038818,
-0.0004060064675286412,
-0.000427733437390998,
0.010278167203068733,
0.009440501220524311,
0.06446681171655655,
0.0054238904267549515,
-0.002098354510962963,
0.044496841728687286,
0.0034176791086792946,
0.03632121905684471,
-0.002764299279078841,
0.01385500282049179,
-0.01052109058946371,
-0.07096710056066513,
0.05414675921201706,
-0.034746404737234116,
-0.07686427235603333,
0.061752770096063614,
0.0026868151035159826,
-0.038398630917072296,
0.06111614406108856,
0.05699482560157776,
-0.051834799349308014,
-0.010898040607571602,
0.0022449460811913013,
-0.053778186440467834,
0.004284664057195187,
0.013779613189399242,
-0.01732294261455536,
0.019651655107736588,
-0.0694257989525795,
-0.006864676717668772,
-0.04419528320431709,
-0.004912913776934147,
0.005243792198598385,
-0.007924324832856655,
0.011869734153151512,
0.002755922731012106,
-0.014324096031486988,
-0.039303310215473175,
-0.03823109716176987,
0.11070600152015686,
-0.03900175169110298,
-0.019165808334946632,
0.0010764014441519976,
0.021008674055337906,
0.06396421045064926,
-0.03823109716176987,
-0.018545934930443764,
0.056123651564121246,
0.007668836507946253,
-0.02827961929142475,
-0.015262282453477383,
0.07458581775426865,
-0.006420713383704424,
-0.03276951238512993,
-0.025682853534817696,
0.03266899287700653,
-0.03866668418049812,
-0.020673608407378197,
0.008753614500164986,
-0.03813057765364647,
0.024024274200201035,
-0.06594110280275345,
-0.021812833845615387,
-0.020824387669563293,
0.014642409980297089,
-0.05082960054278374,
0.03266899287700653,
0.01171895395964384,
0.04245293512940407,
-0.029485858976840973,
-0.027827279642224312,
-0.01948412135243416,
0.005407136864960194,
-0.01325188297778368,
-0.05679378658533096,
0.019651655107736588,
0.02787753939628601,
0.03859966993331909,
0.019534381106495857,
-0.03112768568098545,
-0.055554039776325226,
0.057832490652799606,
0.01755748875439167,
-0.024811681360006332,
-0.023153100162744522,
0.023907000198960304,
-0.03632121905684471,
-0.00473281554877758,
0.03521549701690674,
0.042151376605033875,
-0.015991052612662315,
0.03568458929657936,
-0.011132587678730488,
-0.020204514265060425,
0.020221268758177757,
0.024610640481114388,
0.05692781135439873,
0.037192389369010925,
0.01760774850845337,
-0.04530100151896477,
0.04335761442780495,
-0.0015413062646985054,
0.0205730888992548,
0.0082970866933465,
-0.016049688681960106,
-0.006793474778532982,
-0.08993186801671982,
-0.00994310062378645,
-0.04429580271244049,
0.0009497043211013079,
0.027458706870675087,
0.029000012204051018,
0.0035202933941036463,
0.024895446375012398,
-0.017071641981601715,
0.044429827481508255,
-0.09482384473085403,
-0.02206413447856903,
-0.0524379201233387,
-0.02873195894062519,
-0.005524410400539637,
0.01510312594473362,
-0.02951936610043049,
-0.009356734342873096,
-0.03598615154623985,
-0.022985568270087242,
0.045401521027088165,
-0.03823109716176987,
0.019249575212597847,
-0.007174613419920206,
-0.015119879506528378,
-0.02109244093298912,
0.016719821840524673,
0.007597634568810463,
0.03364068642258644,
0.00434748874977231,
-0.04081111028790474,
-0.017942816019058228,
0.05910574644804001,
-0.02821260690689087,
-0.05773197114467621,
-0.04590412229299545,
0.038499150425195694,
-0.10661818832159042,
-0.0030595767311751842,
-0.027911046519875526,
-0.010261413641273975,
-0.04211787134408951,
-0.010361934080719948,
0.033707696944475174,
0.0034490916877985,
-0.01864645443856716,
0.02439284697175026,
0.006969384849071503,
-0.03214963898062706,
0.046708282083272934,
0.07411672919988632,
-0.030859632417559624,
0.0198359414935112,
-0.02280128188431263,
-0.04325709491968155,
-0.07083307206630707,
-0.009859333746135235,
0.023454660549759865,
-0.003080518450587988,
0.015379556454718113,
0.0007779826992191374,
-0.03421029821038246,
0.05796651914715767,
0.026118440553545952,
-0.011124210432171822,
0.028246112167835236,
0.025347787886857986,
0.033891983330249786,
-0.048082053661346436,
-0.031898338347673416,
0.00784055795520544,
-0.0038637365214526653,
0.05431429296731949,
0.05216986685991287,
-0.045401521027088165,
-0.010177647694945335,
-0.06094861030578613,
0.017875801771879196,
-0.038398630917072296,
0.016719821840524673,
-0.050997134298086166,
0.08423574268817902,
0.06379667669534683,
-0.001816689153201878,
0.07505491375923157,
0.01966840773820877,
-0.0425199493765831,
-0.04298904165625572,
-0.052705973386764526,
0.036689791828393936,
0.014558643102645874,
0.029653392732143402,
-0.01824437454342842,
0.07002891600131989,
0.03350665792822838,
0.005805028602480888,
-0.043123070150613785,
0.026436753571033478,
-0.049154266715049744,
0.01624235324561596,
0.005055317189544439,
-0.021394001320004463,
0.03477990999817848,
0.019768929108977318,
0.00843530148267746,
-0.03642173856496811,
0.04201734811067581,
-0.06523746252059937,
-0.021192962303757668,
-0.01071375422179699,
-0.0166444331407547,
-0.04932180047035217,
0.06483538448810577,
0.03025651164352894,
0.009381864219903946,
-0.05525248125195503,
0.018395155668258667,
-0.006898183375597,
0.02434258721768856,
0.023337388411164284,
-0.06359563767910004,
-0.043692681938409805,
-0.022131148725748062,
-0.05062856152653694,
-0.025515319779515266,
-0.029502613469958305,
-0.031613532453775406,
0.03689083084464073,
-0.01744021475315094,
-0.002257511019706726,
-0.010847780853509903,
0.05605664104223251,
-0.05066206678748131,
-0.048484135419130325,
-0.02451012097299099,
-0.00236640777438879,
-0.0410456545650959,
-0.018763728439807892,
-0.026420000940561295,
-0.024141548201441765,
-0.027793772518634796,
-0.009951477870345116,
-0.0056919436901807785,
0.020439062267541885,
0.0008889735327102244,
0.023002320900559425,
0.0176245030015707,
0.01760774850845337,
-0.02353842742741108,
0.0738486722111702,
0.013989029452204704,
-0.043290603905916214,
-0.0026239901781082153,
-0.05220337212085724,
0.008259391412138939,
0.08725133538246155,
0.03883421793580055,
0.007220685016363859,
-0.0369243361055851,
-0.023404400795698166,
0.04315657541155815,
0.040844615548849106,
0.005411325488239527,
0.0109483003616333,
-0.03528251126408577,
0.02382323332130909,
-0.04707685485482216,
0.02182958833873272,
-0.029217805713415146,
-0.015949169173836708,
-0.032870031893253326,
0.04097864404320717,
-0.026068180799484253,
-0.0027705817483365536,
-0.012095903977751732,
0.0015549183590337634,
-0.007501303218305111,
-0.03585212305188179,
0.04838361591100693,
0.023571934551000595,
0.024493366479873657,
-0.04533451050519943,
-0.00033087824704125524,
0.03823109716176987,
0.06155173107981682,
-0.00538619514554739,
0.02018776163458824,
-0.03347315266728401,
0.05796651914715767,
-0.03792953863739967,
-0.019366849213838577,
0.026989612728357315,
0.002609330927953124,
-0.02451012097299099,
0.004380995407700539,
0.010596481151878834,
0.08135416358709335,
-0.049589853733778,
-0.05679378658533096,
-0.0127660371363163,
0.012012137100100517,
0.05397922545671463,
0.0069861384108662605,
0.0003230251313652843,
0.033087823539972305,
-0.01129174418747425,
0.012028890661895275,
0.02246621437370777,
0.06329407542943954,
0.06537149101495743,
0.0594073049724102,
-0.0368238165974617,
0.0061191534623503685,
0.0001718525163596496,
0.08108611404895782,
0.061987318098545074,
-0.04235241562128067,
0.004737003706395626,
0.004628106951713562,
-0.023571934551000595,
-0.001002582022920251,
-0.01490208599716425,
-0.02838013879954815,
-0.03169729933142662,
0.046708282083272934,
-0.007790298201143742,
-0.031546518206596375,
0.023454660549759865,
0.023303881287574768,
-0.03003871999680996,
0.040844615548849106,
0.062221866101026535,
0.028765466064214706,
-0.04265397787094116,
-0.019852694123983383,
0.00866147130727768,
-0.019015029072761536,
-0.01109070423990488,
0.08128715306520462,
-0.008401794359087944,
-0.012112656608223915,
-0.032736003398895264,
-0.03147950395941734,
-0.020941661670804024,
0.006567304953932762,
0.0019800341688096523,
-0.047445427626371384,
0.04040902853012085,
0.029787419363856316,
-0.029033519327640533,
0.0016858037561178207,
-0.0018533370457589626,
-0.018093595281243324,
0.04091162979602814,
0.03709186986088753,
0.0006779863033443689,
-0.054816894233226776,
0.03335587680339813,
-0.009147318080067635,
0.011149340309202671,
0.050762586295604706,
-0.02844715304672718,
-0.019182560965418816,
0.009390240535140038,
0.01504448987543583,
-0.028715206310153008,
-0.012791167013347149,
-0.056291185319423676,
-0.016175338998436928,
-0.038097068667411804,
0.015337673015892506,
-0.050360508263111115,
-0.08892667293548584,
-0.024778174236416817,
-0.039068762212991714,
0.048484135419130325,
-0.03772849589586258,
-0.003838606644421816,
-0.0525384396314621,
0.017590995877981186,
-0.026084933429956436,
-0.02177932858467102,
0.0667787715792656,
0.023052580654621124,
-0.02007048763334751,
0.0011538855032995343,
0.016627678647637367,
-0.05200233310461044,
0.026755066588521004,
-0.03518199175596237,
-0.02085789479315281,
0.05250493437051773,
-0.0008167247870005667,
0.011199600994586945,
0.06453382223844528,
-0.027056626975536346,
0.014089549891650677,
-0.024258820340037346,
0.03246795013546944,
-0.016217222437262535,
-0.034059517085552216,
0.07371465116739273,
-0.02033854089677334,
-0.0029108908493071795,
0.02514674700796604,
-0.015312543138861656,
0.0046029770746827126,
0.03350665792822838,
0.0009072974789887667,
0.01501935999840498,
-0.03675680235028267,
0.08999888598918915,
0.04037552326917648,
-0.006575681734830141,
0.010697000660002232,
0.033707696944475174,
0.0148769561201334,
-0.06902371346950531,
-0.059541333466768265,
0.06326057016849518,
0.048249587416648865,
0.04148124158382416,
-0.037192389369010925,
-0.03471289947628975,
0.016543911769986153,
-0.020606594160199165,
-0.015655986964702606,
-0.06416524946689606,
0.04707685485482216,
0.007002891506999731,
0.018194114789366722,
0.03186483308672905,
-0.0027245101518929005,
-0.003581024007871747,
-0.060781076550483704,
-0.029201053082942963,
0.0382981114089489,
-0.014030912891030312,
-0.037661485373973846,
-0.008426924236118793,
-0.0780705139040947,
-0.05679378658533096,
0.018194114789366722,
0.06553902477025986,
0.01194512378424406,
-0.004135977942496538,
-0.008338969200849533,
0.05582209303975105,
0.011777590028941631,
-0.015614102594554424,
-0.0553865060210228,
0.06624266505241394,
-0.06064705178141594,
-0.05779898539185524,
0.025448307394981384,
0.05079609528183937,
-0.017029758542776108,
0.07518894225358963,
0.005227038636803627,
0.01886424794793129,
0.029569625854492188,
0.02923456020653248,
0.04050954803824425,
-0.03444484621286392,
-0.013989029452204704,
0.014692669734358788,
0.05056154727935791,
0.011057197116315365,
0.00433073565363884,
0.030223006382584572,
-0.025012720376253128,
-0.04798153415322304,
-0.013067596592009068,
-0.003459562547504902,
0.06600811332464218,
0.00773584982380271,
-0.04503294825553894,
0.013586949557065964,
-0.031998857855796814,
-0.04342462867498398,
-0.030122485011816025,
0.060781076550483704,
0.05424727872014046,
-0.021745821461081505,
0.012590127065777779,
0.01750722900032997,
0.007719096262007952,
-0.01699625328183174,
-0.053778186440467834,
0.044496841728687286,
0.0719723030924797,
-0.04553554952144623,
-0.0138466265052557,
0.004917101934552193,
-0.04308956116437912,
-0.05609014630317688,
-0.011576550081372261,
0.055721573531627655,
0.01607481949031353,
-0.0035119166132062674,
0.019249575212597847,
0.007388218306005001,
-0.025900647044181824,
-0.05049453303217888,
0.017013005912303925,
0.037996549159288406,
-0.006190354935824871,
-0.0052019087597727776,
-0.0012219459749758244,
-0.004481515381485224,
0.0482160821557045
] |
18,138 | jsondiff | emit_dict_diff | null | def emit_dict_diff(self, a, b, s, added, changed, removed):
raise NotImplementedError()
| (self, a, b, s, added, changed, removed) | [
-0.01793563738465309,
-0.05025315657258034,
-0.007900022901594639,
0.006461001001298428,
-0.055692240595817566,
-0.01438187900930643,
-0.05665993317961693,
0.039041295647621155,
0.02000449225306511,
-0.03200051560997963,
-0.0021939873695373535,
-0.00901787169277668,
0.018436167389154434,
0.02337472513318062,
-0.04354606196284294,
-0.015499727800488472,
-0.04244489595293999,
0.04094330593943596,
-0.010677961632609367,
-0.06947348266839981,
0.015007540583610535,
-0.024275677278637886,
0.028480125591158867,
0.0830211490392685,
-0.020404916256666183,
-0.03163345903158188,
-0.022407034412026405,
-0.06443481892347336,
0.07080823183059692,
0.05369012430310249,
-0.04768377169966698,
-0.10324253886938095,
0.0183861143887043,
-0.020304810255765915,
-0.004500593990087509,
-0.040309302508831024,
0.011779125779867172,
0.03583790734410286,
-0.015783362090587616,
-0.007028267253190279,
-0.014056534506380558,
0.010602882131934166,
-0.007466230541467667,
0.004967754706740379,
0.04988609999418259,
0.05959637090563774,
-0.04745018854737282,
0.07948407530784607,
-0.010511117987334728,
-0.006903135217726231,
0.02689511515200138,
-0.027879489585757256,
0.008926108479499817,
0.07608047127723694,
0.01047774963080883,
-0.026494691148400307,
0.023191196843981743,
0.022774089127779007,
-0.011203517206013203,
0.03930824622511864,
0.0009483990143053234,
-0.0073035587556660175,
0.006431803107261658,
-0.06613662093877792,
-0.008859370835125446,
-0.04534796625375748,
-0.0050803739577531815,
-0.044613856822252274,
-0.011387044563889503,
0.03527064248919487,
-0.00008081465057330206,
-0.02150608040392399,
0.025743898004293442,
0.011487150564789772,
-0.014448616653680801,
0.038106974214315414,
0.02047165296971798,
0.03083261288702488,
0.016409022733569145,
-0.0677049458026886,
0.016817789524793625,
-0.05062020942568779,
-0.026911798864603043,
0.024359099566936493,
-0.018069112673401833,
0.018235955387353897,
-0.0075287967920303345,
-0.013948086649179459,
0.03713928535580635,
-0.03914140164852142,
-0.03386915847659111,
0.019337119534611702,
-0.014932461082935333,
0.017952322959899902,
0.005280585493892431,
0.006093945819884539,
-0.06803863495588303,
-0.029030706733465195,
0.03308499604463577,
0.01918696239590645,
0.07988449931144714,
-0.025560369715094566,
-0.013180608861148357,
0.023474831134080887,
0.002711201086640358,
-0.04354606196284294,
0.0027257998008280993,
-0.05529181659221649,
-0.036371804773807526,
0.018202587962150574,
-0.030198609456419945,
0.07434530556201935,
-0.02315782755613327,
0.015182726085186005,
0.012371418997645378,
0.021239131689071655,
0.008692528121173382,
-0.06483524292707443,
0.016333943232893944,
0.011211859062314034,
-0.00231494870968163,
0.01320563443005085,
0.04017582908272743,
0.021806398406624794,
-0.015499727800488472,
-0.031616777181625366,
0.030465558171272278,
0.000057482677220832556,
0.04104341194033623,
-0.010394328273832798,
0.021489396691322327,
-0.046716079115867615,
-0.017134791240096092,
0.041944365948438644,
0.06616999208927155,
0.00861744862049818,
-0.017151474952697754,
0.05856194347143173,
0.034403055906295776,
0.03970867022871971,
0.014807329513132572,
-0.008204511366784573,
0.02944781444966793,
0.05629287660121918,
-0.05829499289393425,
-0.012313024140894413,
-0.05065357685089111,
0.04798408970236778,
-0.02245708741247654,
0.021155711263418198,
0.004258671309798956,
0.011553888209164143,
-0.03073250688612461,
-0.011362018063664436,
-0.036939073354005814,
0.009885456413030624,
-0.03990887850522995,
-0.04141046851873398,
-0.011570571921765804,
0.015291173942387104,
0.045448072254657745,
-0.037406232208013535,
0.09336542338132858,
-0.01630057580769062,
-0.002971893409267068,
0.030415505170822144,
0.048017457127571106,
-0.004458882845938206,
-0.020188020542263985,
-0.008976161479949951,
-0.006294157821685076,
0.022774089127779007,
-0.015975231304764748,
0.025443580001592636,
0.07948407530784607,
0.018085796386003494,
0.02489299699664116,
-0.003906215075403452,
-0.012488209642469883,
-0.011962653137743473,
0.0246594175696373,
-0.014298457652330399,
-0.045448072254657745,
0.07254339754581451,
0.005013636313378811,
-0.03420284390449524,
-0.028079701587557793,
0.009226425550878048,
0.038574136793613434,
0.006014695391058922,
0.017051368951797485,
-0.008934450335800648,
-0.015524754300713539,
0.027996279299259186,
-0.013405846431851387,
0.011153464205563068,
-0.05168800801038742,
-0.03178361803293228,
0.02150608040392399,
0.04805082455277443,
-0.07581352442502975,
-0.0516546368598938,
-0.038941189646720886,
0.0218898206949234,
-0.01140372920781374,
-0.004244072362780571,
0.029881607741117477,
-0.02070523425936699,
0.015107646584510803,
-0.010002246126532555,
0.022507140412926674,
-0.0375063382089138,
0.03231751546263695,
-0.041610680520534515,
0.032634519040584564,
-0.04808419570326805,
0.007153399754315615,
0.016025284305214882,
-0.04267847537994385,
-0.0437796413898468,
0.06530240923166275,
-0.00983540341258049,
0.01606699451804161,
0.023574937134981155,
0.006590304430574179,
-0.0012951198732480407,
0.029047392308712006,
-0.021389290690422058,
-0.018653063103556633,
-0.01920364610850811,
0.04050951451063156,
0.019754229113459587,
0.0021355922799557447,
-0.022957617416977882,
0.061865437775850296,
0.012287997640669346,
-0.0145570645108819,
-0.07000738382339478,
0.04564828425645828,
-0.005422402173280716,
-0.029347708448767662,
0.056960251182317734,
0.04094330593943596,
0.06633683294057846,
-0.025059839710593224,
-0.06486861407756805,
0.04337921738624573,
0.02898065373301506,
-0.03200051560997963,
0.009535085409879684,
0.026478007435798645,
-0.026394585147500038,
-0.01548304408788681,
0.04908525198698044,
0.025643792003393173,
-0.006239933427423239,
0.00797510240226984,
0.014790644869208336,
0.029180865734815598,
-0.025927424430847168,
0.025877371430397034,
0.008800975978374481,
-0.08188661187887192,
0.03430294990539551,
0.010986621491611004,
-0.035771168768405914,
0.04621555283665657,
0.030231976881623268,
-0.04978599399328232,
0.06350050121545792,
-0.0034974494483321905,
-0.06146501377224922,
-0.034052684903144836,
-0.0019927327521145344,
-0.0367722287774086,
0.007950075902044773,
0.04181089252233505,
-0.053823597729206085,
0.02270735241472721,
-0.026911798864603043,
0.01735168695449829,
-0.026461321860551834,
0.0009588266839273274,
0.017485162243247032,
-0.008826002478599548,
0.018336061388254166,
-0.009701929055154324,
-0.04468059539794922,
-0.0109449103474617,
-0.0782160684466362,
0.0642012432217598,
-0.03143324702978134,
-0.008750922977924347,
-0.0009223297820426524,
0.017284950241446495,
0.03967529907822609,
0.004971925634890795,
-0.026227742433547974,
0.027862805873155594,
0.03258446604013443,
-0.02816312201321125,
0.0026256940327584743,
0.06947348266839981,
0.031349826604127884,
-0.05015305057168007,
-0.042878687381744385,
0.06189880520105362,
-0.010177431628108025,
-0.00004959673242410645,
-0.02549363300204277,
-0.0512208454310894,
0.03907466307282448,
-0.016967948526144028,
0.04491417482495308,
-0.0009948022197932005,
-0.013889691792428493,
-0.05015305057168007,
0.03907466307282448,
-0.00995219312608242,
0.06803863495588303,
-0.04471396282315254,
-0.0026611480861902237,
-0.07534636557102203,
-0.006177367642521858,
0.03024866245687008,
-0.07848301529884338,
0.047183241695165634,
0.002928097266703844,
0.1017075777053833,
-0.006377579178661108,
-0.04004235565662384,
-0.04064299166202545,
0.06647031009197235,
0.011428755708038807,
-0.03490358591079712,
-0.01233805064111948,
0.0033639748580753803,
-0.026244426146149635,
-0.017268264666199684,
-0.021806398406624794,
0.007412006612867117,
-0.003359803929924965,
0.0036997466813772917,
0.004967754706740379,
0.004892675206065178,
0.01366445329040289,
-0.06146501377224922,
0.02012128382921219,
0.0027758528012782335,
-0.018352745100855827,
-0.03211730718612671,
0.06296660006046295,
0.009860429912805557,
0.06580293923616409,
0.04908525198698044,
0.03049892745912075,
-0.006736292038112879,
-0.054891396313905716,
-0.0036893191281706095,
-0.018886644393205643,
0.003107453463599086,
0.026394585147500038,
0.005355664994567633,
-0.0013326596235856414,
0.027445698156952858,
-0.02315782755613327,
-0.00890942383557558,
-0.07020759582519531,
-0.02430904656648636,
-0.07014086097478867,
-0.028113069012761116,
-0.005489139351993799,
0.030882665887475014,
-0.014882408082485199,
0.00770815322175622,
-0.049285463988780975,
-0.0061731962487101555,
0.04755029454827309,
-0.03233420103788376,
0.019720859825611115,
0.0038978729862719774,
0.03236756846308708,
-0.039274875074625015,
0.07214297354221344,
0.02384188584983349,
0.0057894568890333176,
0.05055347457528114,
-0.051254212856292725,
0.06286649405956268,
0.04247826337814331,
-0.036238331347703934,
-0.02697853557765484,
-0.009802035056054592,
0.05252222344279289,
-0.07861649245023727,
-0.03840729221701622,
-0.05832836404442787,
-0.013314083218574524,
-0.07608047127723694,
-0.024842943996191025,
0.046482499688863754,
0.006352552678436041,
-0.0735444575548172,
-0.010953252203762531,
0.005134597886353731,
-0.03375236690044403,
-0.008817660622298717,
0.05342317372560501,
-0.017768794670701027,
0.020054545253515244,
-0.02767927758395672,
-0.029714763164520264,
-0.059629738330841064,
-0.03533737733960152,
0.0144819850102067,
-0.024976419284939766,
-0.008354670368134975,
-0.04828440770506859,
-0.023458145558834076,
0.048351142555475235,
0.033101681619882584,
0.0004523013485595584,
0.015541438944637775,
0.03061571717262268,
0.03987551108002663,
-0.03900792822241783,
-0.06994064897298813,
0.04060962051153183,
0.02849680930376053,
0.024525942280888557,
0.06583630293607712,
-0.040442779660224915,
0.022190138697624207,
-0.02267398312687874,
0.012563289143145084,
-0.0221067164093256,
0.04374627396464348,
-0.02794622629880905,
0.07714827358722687,
0.07614721357822418,
0.009384927339851856,
-0.005760259460657835,
0.011679019778966904,
-0.007791575044393539,
-0.01158725656569004,
-0.00925979483872652,
-0.015783362090587616,
-0.015474701300263405,
0.06019700691103935,
0.009143004193902016,
0.11899252980947495,
0.004875991027802229,
-0.013122213073074818,
-0.03547085076570511,
-0.005722719710320234,
-0.0544242337346077,
0.005122084636241198,
-0.021339237689971924,
-0.048718199133872986,
0.03456990048289299,
0.002279494423419237,
0.003428626572713256,
-0.05726056545972824,
0.023808516561985016,
-0.009143004193902016,
-0.003639266127720475,
-0.034870218485593796,
-0.013339109718799591,
-0.04861809313297272,
0.05652645602822304,
0.05168800801038742,
-0.019871018826961517,
-0.02512657828629017,
-0.002571469871327281,
-0.040209196507930756,
0.006886450573801994,
0.0050094653852283955,
-0.03233420103788376,
-0.04331247881054878,
0.01029422227293253,
0.015808388590812683,
0.02816312201321125,
-0.04134372994303703,
-0.03308499604463577,
0.03320178762078285,
-0.010269195772707462,
0.004901017528027296,
-0.0057894568890333176,
0.03733949735760689,
0.003230500500649214,
-0.011487150564789772,
-0.07554657757282257,
-0.029247602447867393,
-0.007591363042593002,
-0.021789714694023132,
-0.046482499688863754,
0.016717683523893356,
-0.012955370359122753,
0.022023295983672142,
-0.016250522807240486,
-0.02430904656648636,
-0.03680559620261192,
0.007457888685166836,
0.02876375801861286,
0.022173453122377396,
0.007891681045293808,
-0.008388038724660873,
0.024592678993940353,
-0.043479323387145996,
-0.011019989848136902,
-0.016217153519392014,
-0.029014023020863533,
0.11625630408525467,
0.054157283157110214,
0.01559149194508791,
-0.09069593250751495,
-0.061498384922742844,
0.012888632714748383,
-0.022039979696273804,
-0.04167741909623146,
0.023574937134981155,
0.006256618071347475,
0.00570186460390687,
-0.054624445736408234,
-0.0018102481262758374,
-0.03947508707642555,
-0.037639811635017395,
-0.026010846719145775,
0.03453652933239937,
-0.04501428082585335,
-0.04211121052503586,
-0.015291173942387104,
0.022623930126428604,
-0.023091090843081474,
-0.02617768943309784,
0.09269805252552032,
0.02732890658080578,
0.004433856345713139,
-0.059296052902936935,
0.012696763500571251,
0.06016363948583603,
0.043112266808748245,
0.04151057451963425,
-0.011019989848136902,
-0.025076525285840034,
0.07641416043043137,
-0.024142203852534294,
-0.011203517206013203,
0.0001261099532712251,
0.009693586267530918,
-0.06593640893697739,
-0.01910354010760784,
0.03420284390449524,
0.040309302508831024,
-0.03713928535580635,
-0.02721211686730385,
-0.017601951956748962,
-0.006143998820334673,
0.03610485792160034,
0.009343216195702553,
0.027879489585757256,
0.011712389066815376,
0.04524786025285721,
0.03084929659962654,
0.01251323614269495,
0.07848301529884338,
0.0758802592754364,
0.025410210713744164,
-0.04224468395113945,
0.010744698345661163,
-0.0060355509631335735,
0.054624445736408234,
-0.024976419284939766,
-0.021005552262067795,
-0.02315782755613327,
0.02177303098142147,
-0.008600763976573944,
-0.013347451575100422,
0.011428755708038807,
-0.02697853557765484,
-0.05018641799688339,
0.05892900004982948,
0.05041999742388725,
0.024709470570087433,
0.061298172920942307,
0.020888762548565865,
-0.046148814260959625,
0.025543686002492905,
0.03463663533329964,
0.05375686287879944,
-0.07180929183959961,
-0.04141046851873398,
-0.030565664172172546,
-0.05702698603272438,
-0.010244169272482395,
0.0034974494483321905,
0.028313281014561653,
0.026945168152451515,
-0.07521288841962814,
-0.003426541108638048,
-0.005455770995467901,
-0.02455931156873703,
0.036605384200811386,
-0.0344364233314991,
0.015474701300263405,
0.005818654783070087,
0.0246594175696373,
-0.00654442235827446,
-0.011962653137743473,
0.011787468567490578,
-0.012221259996294975,
0.056860145181417465,
0.035103797912597656,
-0.09136330336332321,
0.06913980096578598,
-0.040576253086328506,
0.04571502283215523,
0.012713447213172913,
0.00919305719435215,
-0.0051554529927670956,
0.01815253496170044,
-0.024375783279538155,
-0.04234478995203972,
0.03131645917892456,
-0.08242051303386688,
-0.008221196010708809,
-0.0021585330832749605,
0.06576956808567047,
-0.0008920894470065832,
-0.0500529445707798,
-0.02732890658080578,
-0.013222319073975086,
0.04651586711406708,
-0.023891938850283623,
0.04564828425645828,
0.014615459367632866,
0.030548980459570885,
0.014114930294454098,
-0.01343921571969986,
0.0598299503326416,
0.058695416897535324,
-0.04501428082585335,
0.01978759653866291,
0.01731831766664982,
-0.0398421436548233,
0.04911862313747406,
0.010043957270681858,
-0.021672924980521202,
0.04060962051153183,
-0.01840279810130596,
0.008283762261271477,
0.0036058975383639336,
-0.04014246165752411,
-0.029864922165870667,
-0.03138319402933121,
0.037639811635017395,
-0.009409952908754349,
-0.029581289738416672,
0.01955401711165905,
-0.01180415228009224,
0.0036309240385890007,
0.003265954554080963,
-0.030115187168121338,
-0.04851798713207245,
0.08115250617265701,
0.0028175637125968933,
0.01920364610850811,
0.033919211477041245,
0.05275580286979675,
0.014273431152105331,
-0.018803222104907036,
-0.05302274972200394,
-0.019737543538212776,
0.010669618844985962,
-0.05155453085899353,
-0.03980877250432968,
0.02956460602581501,
0.05212179943919182,
0.031149614602327347,
-0.06059743091464043,
-0.02072191797196865,
0.034152790904045105,
-0.02058844454586506,
-0.03156672418117523,
-0.019704176113009453,
0.049385569989681244,
-0.023808516561985016,
-0.010394328273832798,
0.026361217722296715,
0.011211859062314034,
0.02746238186955452,
-0.062432706356048584,
-0.01745179295539856,
-0.002233612583950162,
0.014790644869208336,
0.00016658245294820517,
0.012404787354171276,
-0.10577855259180069,
-0.025693845003843307,
0.014515353366732597,
0.06136490777134895,
0.04444701224565506,
0.052288640290498734,
-0.017401739954948425,
0.037539709359407425,
-0.030932718887925148,
-0.045681651681661606,
-0.03680559620261192,
0.01645907573401928,
-0.055458661168813705,
-0.028446756303310394,
0.022440403699874878,
0.0038394778966903687,
-0.03175025060772896,
0.020505022257566452,
-0.029047392308712006,
0.010194116272032261,
0.010536144487559795,
0.04004235565662384,
0.03957519307732582,
-0.05082042142748833,
-0.0013128470163792372,
0.028313281014561653,
0.04658260568976402,
-0.008634132333099842,
-0.0014139956329017878,
0.018552957102656364,
-0.050319891422986984,
-0.05956300348043442,
0.003338948357850313,
0.016392339020967484,
0.026628166437149048,
-0.018803222104907036,
0.01873648539185524,
0.006644528359174728,
0.012771843001246452,
-0.04424680024385452,
-0.020638497546315193,
0.058461837470531464,
0.05175474286079407,
0.040075723081827164,
0.016776077449321747,
0.04791735112667084,
0.01605031080543995,
-0.026711586862802505,
-0.034836847335100174,
-0.0038186225574463606,
0.06426797807216644,
-0.04908525198698044,
-0.0005323339137248695,
0.040442779660224915,
-0.0017111849738284945,
-0.06476850807666779,
0.006694581359624863,
0.02185645140707493,
0.004354605916887522,
-0.0069114770740270615,
0.0015547695802524686,
0.021672924980521202,
-0.018319377675652504,
-0.005188821814954281,
0.05459107831120491,
0.04458048939704895,
0.025109892711043358,
0.022957617416977882,
0.03330188989639282,
-0.02314114384353161,
0.04618218168616295
] |
18,139 | jsondiff | emit_list_diff | null | def emit_list_diff(self, a, b, s, inserted, changed, deleted):
raise NotImplementedError()
| (self, a, b, s, inserted, changed, deleted) | [
-0.02346857078373432,
-0.04663475230336189,
-0.0026101854164153337,
0.016219688579440117,
-0.036756787449121475,
-0.0026437840424478054,
-0.02439253032207489,
0.01915115863084793,
-0.002075758995488286,
-0.0008777614566497505,
-0.009197596460580826,
-0.037899136543273926,
-0.003471147734671831,
-0.02528288960456848,
-0.04270372539758682,
-0.010953119024634361,
-0.050364188849925995,
0.011095913127064705,
0.001570731052197516,
-0.04031823202967644,
0.00029766192892566323,
0.005963738076388836,
0.019419947639107704,
0.051170554012060165,
0.0015203332295641303,
-0.02561887539923191,
-0.010020759887993336,
-0.054597605019807816,
0.031381022185087204,
0.05832704156637192,
-0.011448697187006474,
-0.081980399787426,
0.002136656315997243,
-0.06954894959926605,
0.0022217025980353355,
-0.005627753213047981,
-0.0020432104356586933,
0.05506798252463341,
0.023854952305555344,
-0.0002850625023711473,
0.02227582223713398,
-0.029684297740459442,
0.02687882073223591,
0.016925256699323654,
0.04737392067909241,
0.06447557359933853,
-0.030238673090934753,
0.05671431124210358,
-0.02696281671524048,
0.00515737384557724,
0.04663475230336189,
-0.004581999033689499,
0.00027692533330991864,
0.028138764202594757,
0.01864718087017536,
0.004472803790122271,
0.04663475230336189,
0.02687882073223591,
0.03173380717635155,
0.0378655381500721,
0.019083961844444275,
0.014254174195230007,
0.015572916716337204,
-0.06521473824977875,
0.027920374646782875,
-0.03672318905591965,
0.0003740460961125791,
-0.05547116696834564,
-0.020663093775510788,
0.07210243493318558,
-0.017353639006614685,
-0.019520742818713188,
0.021419059485197067,
0.013666200451552868,
0.01327141746878624,
0.035144057124853134,
0.056411925703287125,
0.04734032228589058,
0.013741796836256981,
-0.06534913182258606,
0.005518557969480753,
-0.024274934083223343,
0.02400614693760872,
0.051976919174194336,
0.015203332528471947,
-0.0012746440479531884,
-0.02071349136531353,
-0.007643664721399546,
0.02350216917693615,
-0.03128022700548172,
-0.04801229387521744,
-0.010096357204020023,
-0.038739100098609924,
0.011709085665643215,
-0.0293315127491951,
0.027550790458917618,
-0.07479032129049301,
-0.06511393934488297,
0.03551364317536354,
0.04865066334605217,
0.08251798152923584,
0.025803668424487114,
-0.02235981822013855,
0.0022469013929367065,
0.024711715057492256,
-0.04223334789276123,
-0.022326219826936722,
-0.053791239857673645,
-0.03961266204714775,
0.03813432529568672,
-0.035782430320978165,
0.10932960361242294,
0.009474784135818481,
-0.008609621785581112,
-0.010751527734100819,
0.017269641160964966,
0.03947826847434044,
-0.03833591938018799,
0.005396763328462839,
-0.01750483177602291,
0.04492122679948807,
-0.039075084030628204,
0.019638337194919586,
0.00923959445208311,
-0.00950838252902031,
-0.0007927152328193188,
0.030994638800621033,
-0.0024862908758223057,
0.021923037245869637,
-0.029146721586585045,
0.014119780622422695,
-0.032103389501571655,
-0.023653361946344376,
0.05436241254210472,
0.05500078573822975,
-0.007143886294215918,
-0.02612285315990448,
0.022460613399744034,
-0.001942414790391922,
-0.0012273960746824741,
0.0007822156767360866,
-0.00929839164018631,
0.07304319739341736,
0.06716345250606537,
-0.07707501947879791,
-0.005182572640478611,
-0.04744111746549606,
0.0509689636528492,
-0.015757707878947258,
0.04895305261015892,
-0.009928364306688309,
0.02561887539923191,
-0.01657247357070446,
-0.045929186046123505,
-0.04818028584122658,
0.03736155852675438,
-0.07035531103610992,
-0.06259405612945557,
-0.0008042646804824471,
0.017135247588157654,
0.022645406424999237,
-0.06276204437017441,
0.059167005121707916,
0.058360639959573746,
-0.012633045203983784,
0.034808073192834854,
0.005682350602000952,
-0.010600334964692593,
-0.05980537459254265,
0.0009948313236236572,
0.025047700852155685,
0.034169699996709824,
0.009474784135818481,
0.005127974785864353,
0.03662239387631416,
0.020226312801241875,
-0.004611397627741098,
0.023401372134685516,
0.002288899617269635,
-0.05436241254210472,
-0.010675931349396706,
-0.014170178212225437,
-0.00011017954238923267,
0.022544611245393753,
0.0031141634099185467,
-0.00453160097822547,
-0.04945702850818634,
-0.002902072621509433,
0.027718784287571907,
-0.00019936000171583146,
-0.03418650105595589,
-0.01973913423717022,
-0.009558780118823051,
-0.010146754793822765,
-0.05681510642170906,
0.03598402068018913,
-0.07949411123991013,
0.003521545557305217,
0.006698706187307835,
0.022343019023537636,
-0.045458804816007614,
-0.030490661039948463,
-0.011868678964674473,
-0.001138149993494153,
0.019537542015314102,
0.03507686033844948,
0.011356301605701447,
-0.017807219177484512,
0.003916328307241201,
-0.03314494714140892,
0.03974705561995506,
-0.0210998747497797,
0.002100957790389657,
-0.014850548468530178,
0.028340356424450874,
-0.04492122679948807,
-0.0280715674161911,
-0.0029881689697504044,
-0.009373988956212997,
-0.04112459346652031,
0.07371516525745392,
-0.04371168091893196,
-0.04270372539758682,
0.005031379405409098,
0.013405811972916126,
0.04109099507331848,
0.041023798286914825,
-0.047575511038303375,
-0.037764742970466614,
-0.00663570873439312,
0.012423055246472359,
-0.00368743808940053,
0.008315634913742542,
-0.012196265161037445,
0.027315601706504822,
0.006757503375411034,
-0.0254844818264246,
-0.04371168091893196,
0.014077781699597836,
0.01519493293017149,
-0.10220671445131302,
0.046097178012132645,
0.07398395240306854,
0.054429613053798676,
0.011129511520266533,
-0.04287171736359596,
0.01931915245950222,
0.02924751676619053,
-0.03867190331220627,
0.022242223843932152,
-0.008555024862289429,
-0.028054768219590187,
0.0019487144891172647,
0.004854986909776926,
0.0361856110394001,
-0.016589272767305374,
0.0013292416697368026,
0.007845255546271801,
0.014094581827521324,
-0.022427015006542206,
0.003177160630002618,
0.012775839306414127,
-0.052178509533405304,
0.019117560237646103,
-0.003916328307241201,
-0.04451804608106613,
0.011028716340661049,
0.05291767790913582,
-0.0432749018073082,
0.09716693311929703,
0.028373954817652702,
-0.0376303493976593,
-0.05584074929356575,
-0.00025697622913867235,
-0.03314494714140892,
0.0017261242028325796,
0.03148181736469269,
-0.04878506064414978,
-0.006799501366913319,
-0.052010517567396164,
0.02358616515994072,
-0.005627753213047981,
-0.01678246259689331,
0.026240447536110878,
-0.019604738801717758,
0.01166708767414093,
0.008445829153060913,
-0.05426161736249924,
-0.06041014939546585,
-0.049389831721782684,
0.039243075996637344,
0.001438436913304031,
0.0250645000487566,
-0.023132584989070892,
0.0212174691259861,
0.045626796782016754,
0.01090272143483162,
0.03373292088508606,
0.018193600699305534,
0.018546385690569878,
-0.03415290266275406,
-0.014464165084064007,
0.05762147158384323,
0.023266978561878204,
-0.052010517567396164,
-0.07667183876037598,
0.03695837780833244,
-0.025719670578837395,
-0.000434943416621536,
-0.05090176686644554,
-0.02358616515994072,
0.04236774146556854,
-0.05137214437127113,
0.026643630117177963,
0.04001584276556969,
0.005329566076397896,
-0.06064533814787865,
0.04317410662770271,
-0.001120300847105682,
0.07028811424970627,
-0.037899136543273926,
0.011725885793566704,
-0.04602998122572899,
0.04996100813150406,
0.011927476152777672,
-0.048852257430553436,
0.029650699347257614,
0.023132584989070892,
0.04818028584122658,
0.024661317467689514,
-0.023518968373537064,
-0.0424349382519722,
0.041359785944223404,
-0.016337282955646515,
-0.017891215160489082,
-0.03833591938018799,
0.02734920009970665,
-0.038739100098609924,
0.008643221110105515,
-0.013011028990149498,
-0.003149861702695489,
0.024594120681285858,
-0.01581650599837303,
0.045593198388814926,
0.028894731774926186,
0.046601153910160065,
-0.01555611751973629,
0.05432881414890289,
-0.012045071460306644,
0.015043740160763264,
0.01321262028068304,
0.022930992767214775,
-0.02104947529733181,
0.048247482627630234,
0.065752312541008,
0.0353456474840641,
-0.024661317467689514,
-0.033111345022916794,
-0.03668959066271782,
-0.016967255622148514,
-0.0037903336342424154,
-0.006345921661704779,
0.05123775079846382,
-0.007303479593247175,
0.02556847780942917,
-0.02024311199784279,
0.001720874453894794,
-0.08372752368450165,
-0.031078636646270752,
-0.038739100098609924,
-0.057890258729457855,
0.002866374095901847,
0.054631203413009644,
-0.033716119825839996,
0.012187865562736988,
-0.06544993072748184,
-0.021704647690057755,
0.03880629688501358,
-0.02430853247642517,
0.027198005467653275,
-0.022763000801205635,
0.003937327302992344,
0.02798757143318653,
0.04502202570438385,
0.0035614436492323875,
0.03317854553461075,
0.037932734936475754,
-0.02202383428812027,
0.034640081226825714,
0.03877269849181175,
-0.025081299245357513,
-0.027298802509903908,
-0.0629972368478775,
0.017891215160489082,
-0.09031283855438232,
-0.032607369124889374,
-0.03102823905646801,
-0.012271861545741558,
-0.0700865238904953,
-0.04048622399568558,
0.039545465260744095,
0.019554341211915016,
-0.06531553715467453,
0.021570254117250443,
-0.01155789289623499,
-0.017992010340094566,
-0.008101444691419601,
0.05022979527711868,
-0.05812544748187065,
0.01965513825416565,
-0.02718120627105236,
-0.0035068460274487734,
-0.014833749271929264,
-0.019419947639107704,
0.03507686033844948,
-0.017941612750291824,
-0.05268248915672302,
0.0035173455253243446,
-0.018411992117762566,
0.03191860020160675,
0.007597466465085745,
-0.0021692048758268356,
0.07519350200891495,
0.05483279377222061,
0.03500966355204582,
-0.03272496536374092,
-0.06293004006147385,
0.052648890763521194,
-0.010465940460562706,
-0.016648069024086,
0.07942691445350647,
-0.009415986947715282,
-0.0016274285735562444,
-0.015841703861951828,
0.022544611245393753,
-0.019117560237646103,
0.05120415240526199,
-0.03843671455979347,
0.06514754146337509,
0.06786902248859406,
0.027399597689509392,
0.03605121746659279,
0.02244381420314312,
-0.00450220238417387,
-0.002992368768900633,
0.00012179465556982905,
-0.02185584045946598,
-0.026257246732711792,
0.032036192715168,
0.006938095670193434,
0.08332434296607971,
0.026727626100182533,
0.025988459587097168,
-0.014858948066830635,
-0.019940724596381187,
-0.060040563344955444,
0.005934339482337236,
-0.04206535220146179,
-0.05033059045672417,
0.007009492255747318,
0.05466480180621147,
0.017303241416811943,
-0.030423464253544807,
-0.007202683947980404,
0.00965957622975111,
-0.03974705561995506,
-0.026862021535634995,
-0.02815556339919567,
-0.030759450048208237,
0.05046498402953148,
0.07620145380496979,
-0.041527777910232544,
-0.042334143072366714,
-0.01526213064789772,
-0.03351452946662903,
-0.003292655572295189,
-0.021150272339582443,
-0.05080097168684006,
-0.017236042767763138,
0.0016211288748309016,
-0.03196899592876434,
-0.013204220682382584,
-0.023132584989070892,
-0.005232970230281353,
0.003034366760402918,
-0.022595008835196495,
0.009197596460580826,
-0.03055785968899727,
0.005946938879787922,
-0.05059937760233879,
-0.013027828186750412,
-0.08003168553113937,
-0.00030527409398928285,
-0.04088940471410751,
-0.017135247588157654,
-0.03880629688501358,
-0.005808345042169094,
-0.043308500200510025,
0.0367903858423233,
0.0121122682467103,
-0.013389012776315212,
-0.03500966355204582,
0.016774063929915428,
0.020528698340058327,
0.04781070351600647,
-0.01105391513556242,
0.04586198553442955,
0.014926144853234291,
-0.08466828614473343,
-0.027500392869114876,
0.004405606538057327,
-0.03457288444042206,
0.10455860942602158,
0.04125899076461792,
-0.02210783027112484,
-0.09246314316987991,
-0.0515737347304821,
0.022544611245393753,
0.027030013501644135,
-0.008836411871016026,
0.013019428588449955,
-0.014044183306396008,
-0.045593198388814926,
-0.05960378423333168,
0.028726739808917046,
-0.05016259849071503,
-0.05533676967024803,
-0.027886776253581047,
0.044114865362644196,
-0.029768293723464012,
-0.049692220985889435,
-0.02193983644247055,
0.03331293910741806,
-0.04361088573932648,
-0.0322209857404232,
0.10308027267456055,
0.018361594527959824,
0.020814286544919014,
-0.03910868242383003,
0.023770956322550774,
0.030121078714728355,
0.060342952609062195,
0.003979325294494629,
-0.03941107168793678,
-0.058864615857601166,
0.05033059045672417,
-0.04710513353347778,
-0.03280895948410034,
-0.0020684092305600643,
0.021536655724048615,
-0.008504626341164112,
-0.03689118102192879,
0.0019980622455477715,
0.04619797319173813,
-0.04048622399568558,
-0.028945129364728928,
-0.03233858197927475,
-0.001818520133383572,
0.03749595582485199,
0.003511045826599002,
0.02941550873219967,
0.03605121746659279,
0.03129702806472778,
0.027920374646782875,
0.05177532881498337,
0.07707501947879791,
0.08426510542631149,
-0.025266090407967567,
-0.006639908533543348,
0.002717280760407448,
0.032036192715168,
0.037899136543273926,
-0.017656024545431137,
-0.0280715674161911,
-0.02405654452741146,
0.013405811972916126,
0.0370255745947361,
-0.027567589655518532,
0.010877522639930248,
-0.05963738262653351,
-0.03736155852675438,
0.02146945707499981,
0.02299819141626358,
0.007580667268484831,
0.08312275260686874,
0.039377473294734955,
-0.03927667438983917,
0.012439854443073273,
0.026190049946308136,
0.05123775079846382,
-0.05093536525964737,
-0.017572028562426567,
-0.03153221681714058,
-0.047743503004312515,
-0.018462389707565308,
0.006270324811339378,
0.0055059585720300674,
0.019554341211915016,
-0.0780157744884491,
0.0061821285635232925,
0.012196265161037445,
0.007467272225767374,
0.03173380717635155,
-0.05862942710518837,
0.048549868166446686,
-0.02713080868124962,
0.01202827226370573,
-0.04925543814897537,
-0.007131286896765232,
0.0638372004032135,
0.015421723015606403,
0.0848698765039444,
0.030171476304531097,
-0.11618369817733765,
0.01804240792989731,
-0.021503055468201637,
0.03867190331220627,
0.052984874695539474,
0.06044374778866768,
0.026257246732711792,
0.026089254766702652,
0.017857616767287254,
-0.007521870080381632,
0.016228087246418,
-0.07700782269239426,
-0.004218714777380228,
-0.019268754869699478,
0.0524136982858181,
0.025669272989034653,
-0.0242245364934206,
-0.0025366886984556913,
-0.01469095516949892,
0.038235120475292206,
-0.013993785716593266,
0.026005258783698082,
-0.030406665056943893,
0.004598798230290413,
-0.04196455702185631,
0.00018229824490845203,
0.0384703129529953,
0.037260763347148895,
-0.032943353056907654,
0.015791306272149086,
-0.004623997025191784,
-0.0159005019813776,
0.0029461707454174757,
-0.008513025939464569,
-0.020108716562390327,
0.01597609929740429,
0.010129955597221851,
0.007337077986449003,
0.04949062690138817,
-0.02840755321085453,
0.0042481133714318275,
-0.04072141274809837,
0.051170554012060165,
-0.022729402408003807,
-0.022981392219662666,
0.03410250321030617,
-0.005997336935251951,
0.02193983644247055,
0.014178577810525894,
-0.005694949999451637,
-0.03863830491900444,
0.03685758262872696,
0.001483584870584309,
0.04277092218399048,
0.0367903858423233,
0.019839929416775703,
0.03779834136366844,
-0.03378331661224365,
-0.049188241362571716,
-0.014186977408826351,
0.040049441158771515,
-0.024594120681285858,
-0.06279564648866653,
0.032187387347221375,
0.02634124457836151,
0.006723904982209206,
-0.03927667438983917,
-0.009331990033388138,
-0.003592942375689745,
0.0036979378201067448,
-0.03981425240635872,
-0.03705917298793793,
0.06760023534297943,
-0.030961040407419205,
0.002885273424908519,
0.06645788252353668,
-0.00457779923453927,
-0.008437429554760456,
-0.020343907177448273,
-0.019050363451242447,
-0.007845255546271801,
0.0035425445530563593,
0.048583466559648514,
-0.006014136131852865,
-0.0940086767077446,
-0.014153379015624523,
0.03393451124429703,
0.05432881414890289,
0.03652159869670868,
0.025383686646819115,
0.03984785079956055,
0.034472085535526276,
-0.028373954817652702,
-0.031162632629275322,
-0.04018383473157883,
-0.01839519292116165,
-0.03163301199674606,
0.006988493259996176,
0.006807901430875063,
0.0035089459270238876,
-0.03964626044034958,
0.012137467041611671,
-0.06128371134400368,
0.052951276302337646,
0.01614409126341343,
0.05335445702075958,
0.05973817780613899,
-0.034472085535526276,
-0.03292655572295189,
0.040990199893713,
0.00561095355078578,
-0.01339741237461567,
0.012624645605683327,
0.020898282527923584,
-0.02151985466480255,
-0.035312049090862274,
-0.02949950471520424,
0.023989347741007805,
0.04670194908976555,
0.019839929416775703,
0.00908840075135231,
0.04146058112382889,
-0.005379963666200638,
-0.03089384362101555,
-0.003966725897043943,
0.01363260205835104,
0.03581602871417999,
0.057251885533332825,
-0.010877522639930248,
0.028172364458441734,
0.03060825727880001,
-0.058864615857601166,
-0.021822242066264153,
0.007307679392397404,
0.04122539237141609,
-0.05453040823340416,
-0.018546385690569878,
0.029986683279275894,
-0.021486256271600723,
-0.06682746857404709,
0.00031918598688207567,
0.03275856375694275,
0.012036671862006187,
0.01893276907503605,
-0.004401406738907099,
-0.034640081226825714,
-0.05147293955087662,
0.02291419357061386,
0.06790261715650558,
0.04767630621790886,
0.045794788748025894,
0.001350240781903267,
0.04710513353347778,
-0.05147293955087662,
0.0644419714808464
] |
18,140 | jsondiff | emit_set_diff | null | def emit_set_diff(self, a, b, s, added, removed):
raise NotImplementedError()
| (self, a, b, s, added, removed) | [
-0.05285487323999405,
-0.02271394059062004,
0.0048000686801970005,
0.043729331344366074,
-0.05042361468076706,
-0.012397748418152332,
-0.03403760492801666,
0.045661017298698425,
0.03283863142132759,
-0.014337758533656597,
-0.010041426867246628,
-0.022181062027812004,
0.015286948531866074,
0.00724797835573554,
-0.04386255145072937,
-0.0029724622145295143,
-0.03626903519034386,
0.03413752093911171,
0.014321106486022472,
-0.05155598372220993,
0.0005175268743187189,
0.0020087016746401787,
0.020116157829761505,
0.0690077468752861,
-0.011623409576714039,
-0.0017328955000266433,
-0.021531617268919945,
-0.05968237668275833,
0.02078225649893284,
0.040831804275512695,
-0.029591402038931847,
-0.06224685534834862,
-0.013971405103802681,
-0.07060638815164566,
0.0032139227259904146,
-0.02687705308198929,
0.025095241144299507,
0.08399495482444763,
0.03710165619850159,
0.003432486206293106,
-0.022580720484256744,
-0.011964784935116768,
0.054986387491226196,
0.0020753114949911833,
0.057117901742458344,
0.03626903519034386,
-0.005378741305321455,
0.07053977251052856,
-0.03180617839097977,
0.020399250090122223,
0.05651841312646866,
0.01984971947968006,
0.012755775824189186,
0.03580276668071747,
0.022147757932543755,
0.010224604047834873,
0.042530354112386703,
0.029907798394560814,
0.03173956647515297,
0.03783436492085457,
0.008222146891057491,
0.0406985841691494,
0.02209779992699623,
-0.04959099367260933,
-0.003161883680149913,
-0.05395393446087837,
-0.01258925162255764,
-0.041964173316955566,
-0.00875918846577406,
0.07893260568380356,
-0.021431701257824898,
-0.00903395377099514,
0.026244260370731354,
0.014554240740835667,
0.023213515058159828,
0.0010886539239436388,
0.051722507923841476,
0.03127329796552658,
0.004111073445528746,
-0.06221355125308037,
0.030523939058184624,
-0.019716499373316765,
0.0030099302530288696,
0.03127329796552658,
0.00629462581127882,
0.014604197815060616,
-0.011448558419942856,
-0.01813451759517193,
0.013879816047847271,
-0.0508565790951252,
-0.035602934658527374,
0.014112950302660465,
-0.020049549639225006,
0.04093172028660774,
-0.002470807172358036,
0.05678485333919525,
-0.09265422821044922,
-0.032522235065698624,
0.02259737439453602,
0.00038873060839250684,
0.06794199347496033,
0.02724340744316578,
0.013063846156001091,
0.019633237272500992,
0.022330934181809425,
-0.02308029495179653,
-0.006681795231997967,
-0.06361235678195953,
-0.037201572209596634,
0.011956458911299706,
-0.028925303369760513,
0.08372851461172104,
-0.00943361222743988,
0.004612728487700224,
-0.0039945063181221485,
-0.020832214504480362,
0.007539396174252033,
-0.0528881773352623,
-0.0036094184033572674,
-0.01129868719726801,
-0.0004282801819499582,
0.005274663213640451,
0.036801911890506744,
0.0404987558722496,
-0.011257055215537548,
-0.03198935464024544,
0.05638519302010536,
0.03225579485297203,
0.0325055792927742,
-0.051356151700019836,
0.01631939969956875,
-0.04133138060569763,
-0.017718205228447914,
0.07500263303518295,
0.04419559985399246,
0.011390275321900845,
-0.01222289726138115,
0.042896710336208344,
0.015761543065309525,
0.03783436492085457,
0.009150520898401737,
0.003651049453765154,
0.04992404207587242,
0.07686770707368851,
-0.06967385113239288,
0.005915782414376736,
-0.055852316319942474,
0.018151169642806053,
-0.018001297488808632,
0.039266474545001984,
-0.01785142533481121,
-0.01631939969956875,
-0.029974408447742462,
-0.02825920656323433,
-0.03943299874663353,
0.028758779168128967,
-0.031040165573358536,
-0.004929124843329191,
-0.005990718491375446,
0.01222289726138115,
0.030823683366179466,
-0.04539457708597183,
0.06967385113239288,
0.04382924735546112,
-0.015236991457641125,
0.022330934181809425,
0.0404987558722496,
0.01308049913495779,
-0.05481986328959465,
0.005482818931341171,
0.015220338478684425,
0.05112301930785179,
-0.012064699083566666,
0.012472684495151043,
0.025295069441199303,
-0.040065791457891464,
0.03287193551659584,
0.021165262907743454,
-0.004675175063312054,
-0.023063642904162407,
0.03202265873551369,
-0.014504283666610718,
-0.02209779992699623,
0.024762192741036415,
0.028825389221310616,
-0.034803617745637894,
-0.03402095288038254,
-0.008576011285185814,
0.007676779292523861,
-0.0157448910176754,
0.006877461448311806,
-0.02056577429175377,
-0.01763494312763214,
0.03207261860370636,
-0.00389459147118032,
0.015228664502501488,
-0.058283571153879166,
-0.031656306236982346,
-0.003863368183374405,
0.006186384707689285,
-0.05255512893199921,
-0.016019655391573906,
0.00725630484521389,
0.006228016223758459,
0.03423743695020676,
0.015861457213759422,
0.02357986755669117,
-0.01402136217802763,
0.005416208878159523,
-0.0015830234624445438,
0.06131431832909584,
-0.046926602721214294,
0.04143129289150238,
-0.03497014194726944,
0.024828800931572914,
-0.03933308646082878,
0.0058450098149478436,
0.0045586079359054565,
-0.020698994398117065,
-0.035103362053632736,
0.04915802925825119,
-0.022297630086541176,
0.01991632953286171,
0.047692615538835526,
0.0008747739484533668,
0.004954103846102953,
0.027226753532886505,
-0.04752609133720398,
-0.018967140465974808,
-0.015378536656498909,
0.03893342614173889,
0.008242961950600147,
0.020149463787674904,
-0.0366353876888752,
-0.0025811295490711927,
0.021598227322101593,
-0.007510254625231028,
-0.04919133335351944,
0.03929977864027023,
0.0015809418400749564,
-0.09465251863002777,
0.0325055792927742,
0.06780876964330673,
0.06674301624298096,
-0.004425388295203447,
-0.03323828801512718,
0.02524511329829693,
0.027126839384436607,
-0.00972503051161766,
0.029258353635668755,
0.026310870423913002,
-0.05188903212547302,
-0.03536980226635933,
0.007289609871804714,
0.048924896866083145,
-0.01973315142095089,
-0.019133664667606354,
0.004621054511517286,
0.028142638504505157,
-0.022364240139722824,
0.0022897117305547,
0.02804272435605526,
-0.018051255494356155,
0.03084033541381359,
-0.02499532699584961,
-0.0335213802754879,
0.03112342767417431,
0.034337349236011505,
-0.07753380388021469,
0.0689411386847496,
-0.030973555520176888,
-0.02086551859974861,
-0.03137321397662163,
0.010324518196284771,
-0.06124770641326904,
0.02049916423857212,
-0.012888995930552483,
-0.046793382614851,
-0.011789933778345585,
-0.03666869178414345,
0.027226753532886505,
-0.009408634155988693,
0.015045488253235817,
0.03773444890975952,
-0.009758335538208485,
0.016827300190925598,
0.015028835274279118,
-0.0728045105934143,
-0.04229722172021866,
-0.06727589666843414,
0.02471223473548889,
-0.026943663135170937,
0.007531070150434971,
-0.043696027249097824,
0.027776286005973816,
0.026643918827176094,
0.012064699083566666,
-0.02524511329829693,
0.01313045620918274,
0.03700174391269684,
-0.0384671576321125,
-0.04213069751858711,
-0.00015234388411045074,
0.021831361576914787,
-0.04209739342331886,
-0.06441166996955872,
0.06048169732093811,
-0.015919741243124008,
0.017768163233995438,
-0.047326259315013885,
-0.029408225789666176,
0.04582754150032997,
-0.06054830551147461,
0.0063196043483912945,
0.03228909894824028,
0.03490353375673294,
-0.041997477412223816,
0.04239713400602341,
-0.010024774819612503,
0.07913243770599365,
-0.025594813749194145,
-0.018550828099250793,
-0.06667640805244446,
0.0059574139304459095,
-0.005482818931341171,
-0.03402095288038254,
0.0071813687682151794,
-0.0012291589519008994,
0.056684937328100204,
0.009758335538208485,
-0.052988093346357346,
-0.026177650317549706,
0.03896673023700714,
0.01828438974916935,
-0.01175662875175476,
-0.020232725888490677,
0.038733597844839096,
-0.04419559985399246,
0.039632830768823624,
-0.006769220810383558,
0.018201127648353577,
0.03530319407582283,
-0.01988302357494831,
-0.0006994028808549047,
0.02289711683988571,
0.05781730264425278,
-0.0729377269744873,
0.03000771254301071,
-0.003698925254866481,
0.020182767882943153,
0.024079442024230957,
0.0548531673848629,
-0.023246819153428078,
0.010191299021244049,
0.0771341472864151,
0.05328783765435219,
-0.029225047677755356,
0.012456032447516918,
-0.018450913950800896,
-0.0386669859290123,
0.0013082580408081412,
-0.01054100040346384,
0.05358758196234703,
-0.014737417921423912,
0.010033100843429565,
-0.03405425697565079,
-0.01614454947412014,
-0.06654318422079086,
-0.045327965170145035,
-0.09265422821044922,
-0.039266474545001984,
0.0049957348965108395,
0.03566954657435417,
-0.0335879884660244,
-0.0030578060541301966,
-0.017435114830732346,
-0.021997885778546333,
0.041664429008960724,
-0.03686852380633354,
0.011257055215537548,
-0.017834773287177086,
0.040398843586444855,
-0.031539738178253174,
0.06091465801000595,
0.008005664683878422,
0.012547620572149754,
0.044095683842897415,
-0.029541444033384323,
0.07573533803224564,
0.07633482664823532,
0.012780754826962948,
-0.06267981976270676,
-0.013688312843441963,
0.024495752528309822,
-0.07360382378101349,
-0.05521951988339424,
-0.03966613486409187,
-0.011989763006567955,
-0.062380075454711914,
-0.007514417637139559,
0.04596076160669327,
0.0030619690660387278,
-0.051356151700019836,
0.019816415384411812,
0.014754069969058037,
0.008734209463000298,
-0.018450913950800896,
0.018967140465974808,
-0.030390718951821327,
0.012555946595966816,
-0.05362088605761528,
-0.02209779992699623,
-0.01651090383529663,
-0.04502822086215019,
-0.010474390350282192,
-0.0507233589887619,
-0.02499532699584961,
-0.03986596316099167,
0.014878963120281696,
0.01135697029531002,
0.018667396157979965,
-0.003986179828643799,
0.029558097943663597,
0.015087119303643703,
0.04519474878907204,
-0.04059867188334465,
-0.053021397441625595,
0.03380447253584862,
-0.009983142837882042,
0.015220338478684425,
0.05738433822989464,
-0.03260549530386925,
0.01795133948326111,
-0.005191401112824678,
0.0035365638323128223,
-0.026427436619997025,
0.01034117117524147,
-0.031140079721808434,
0.07273789495229721,
0.0935201570391655,
-0.011615083552896976,
-0.007189694792032242,
-0.00397160928696394,
-0.034304045140743256,
-0.0012635046150535345,
-0.03272206336259842,
-0.03946630284190178,
0.007581027690321207,
0.03497014194726944,
0.019749805331230164,
0.08705900609493256,
0.028642212972044945,
-0.026477394625544548,
-0.03939969465136528,
0.005495308432728052,
-0.04995734617114067,
-0.0014144174056127667,
-0.03450387343764305,
-0.08153039216995239,
0.03540310636162758,
0.0346037894487381,
0.011107183992862701,
-0.056618329137563705,
0.0425969660282135,
0.0011885685380548239,
0.0018067907076328993,
0.0037405563052743673,
-0.0345371812582016,
-0.04795905202627182,
0.04599406570196152,
0.06567726284265518,
-0.08772510290145874,
-0.031106775626540184,
-0.009908207692205906,
-0.057950522750616074,
-0.01741846278309822,
-0.05725112184882164,
-0.027493193745613098,
-0.02687705308198929,
0.014379389584064484,
0.004450366832315922,
0.026094388216733932,
-0.0346703976392746,
-0.01850087195634842,
0.00649445503950119,
-0.016244463622570038,
0.034337349236011505,
-0.041964173316955566,
0.0009491895907558501,
-0.0016610817983746529,
0.0012145880609750748,
-0.08892408013343811,
-0.027693023905158043,
-0.02884204126894474,
-0.0037010067608207464,
-0.029541444033384323,
0.012447705492377281,
-0.04096502438187599,
0.026327522471547127,
-0.010016447864472866,
-0.015187033452093601,
-0.027409931644797325,
0.004094420932233334,
0.01059095747768879,
0.05721781402826309,
0.0013363590696826577,
0.0243791863322258,
0.007780856918543577,
-0.05811704695224762,
-0.04509483277797699,
0.004142296966165304,
-0.07486940920352936,
0.08885747194290161,
0.048525236546993256,
0.022980380803346634,
-0.08719222247600555,
-0.062846340239048,
0.0021179832983762026,
-0.00017185848264489323,
-0.003913325723260641,
-0.005149770062416792,
-0.005370414815843105,
-0.02557816170156002,
-0.03367125242948532,
0.006490292027592659,
-0.05658502131700516,
-0.05455342307686806,
-0.025877906009554863,
0.025045283138751984,
-0.05435359477996826,
-0.03993257135152817,
-0.023463301360607147,
-0.00014518854732159525,
-0.025411637499928474,
-0.002111738780513406,
0.10104706138372421,
0.012930626980960369,
0.010915680788457394,
0.0006962805055081844,
0.03863368183374405,
0.04086511209607124,
0.051422763615846634,
0.05088988319039345,
0.001855707261711359,
-0.06331261247396469,
0.060781437903642654,
-0.03526988625526428,
0.0019067054381594062,
0.01871735230088234,
0.036835215985774994,
-0.052222080528736115,
-0.026793790981173515,
0.017734859138727188,
0.05941594019532204,
0.0035011775325983763,
-0.06467811018228531,
-0.028242554515600204,
0.045694321393966675,
0.018400955945253372,
0.034770313650369644,
0.012938953004777431,
0.0063196043483912945,
0.06267981976270676,
0.02209779992699623,
0.01402136217802763,
0.05438689887523651,
0.07999836653470993,
-0.04213069751858711,
-0.0012780755059793591,
-0.0004896860918961465,
-0.006302951835095882,
0.0589163638651371,
-0.06787538528442383,
-0.017002150416374207,
-0.06024856120347977,
0.04805896803736687,
0.007443644572049379,
-0.028325816616415977,
-0.011864869855344296,
-0.0019368879729881883,
-0.0692075788974762,
0.04116485267877579,
0.05598553270101547,
0.025777991861104965,
0.06564395129680634,
0.04026562348008156,
-0.01825108379125595,
-0.005166422575712204,
-0.009733356535434723,
0.07993175834417343,
-0.024762192741036415,
-0.053787410259246826,
0.0076892683282494545,
-0.05118962749838829,
-0.024212660267949104,
-0.01525364350527525,
0.042796794325113297,
-0.004820884205400944,
-0.05252182483673096,
-0.004829210229218006,
0.02619430236518383,
-0.0203492920845747,
0.03850046172738075,
-0.028342468664050102,
0.032339055091142654,
-0.014620850794017315,
-0.006756731308996677,
-0.023463301360607147,
-0.024579014629125595,
0.03726818040013313,
-0.012755775824189186,
0.06634335964918137,
0.033904384821653366,
-0.07826650887727737,
0.035602934658527374,
-0.024462448433041573,
0.035136666148900986,
0.039166562259197235,
0.0033866919111460447,
-0.002206449629738927,
0.0344039611518383,
-0.01563664898276329,
-0.03115673176944256,
0.0046876645646989346,
-0.05728442594408989,
0.026860401034355164,
-0.003299266565591097,
0.05691806972026825,
0.009225456975400448,
-0.022663982585072517,
-0.022364240139722824,
-0.02536167949438095,
0.034304045140743256,
-0.00567848514765501,
0.038034193217754364,
-0.017568333074450493,
0.02213110588490963,
-0.0010782460449263453,
-0.02474553883075714,
0.03325494006276131,
0.044861696660518646,
-0.0253283753991127,
0.015503429807722569,
0.01492892112582922,
-0.049357861280441284,
0.02601112611591816,
-0.022614026442170143,
-0.01046606432646513,
0.01853417605161667,
-0.00345121999271214,
0.017501724883913994,
0.02471223473548889,
-0.013163761235773563,
-0.03177287429571152,
-0.011964784935116768,
0.03157304227352142,
-0.0018796451622620225,
-0.001257259864360094,
0.02920839563012123,
-0.022047841921448708,
0.03255553916096687,
0.021997885778546333,
0.031439825892448425,
-0.023380039259791374,
0.03856707364320755,
0.019250230863690376,
0.04676007851958275,
0.017152022570371628,
0.029141785576939583,
0.03105681762099266,
-0.041597817093133926,
-0.05328783765435219,
-0.035969290882349014,
0.0030661323107779026,
-0.06534420698881149,
-0.0506567507982254,
0.028375772759318352,
0.014279475435614586,
-0.01646927185356617,
-0.06587708741426468,
-0.01422119140625,
0.03733479231595993,
-0.007805835455656052,
-0.056185364723205566,
-0.017351852729916573,
0.05088988319039345,
-0.04822549223899841,
-0.010091383941471577,
0.05555257201194763,
-0.0173351988196373,
0.013355264440178871,
-0.04216400161385536,
-0.008222146891057491,
0.01694386638700962,
0.015461798757314682,
0.07613499462604523,
-0.004362941719591618,
-0.12096339464187622,
0.0067733838222920895,
0.022397544234991074,
0.059882208704948425,
0.041298072785139084,
0.020665690302848816,
0.008576011285185814,
0.024362532421946526,
-0.03786766901612282,
-0.036801911890506744,
-0.008409487083554268,
0.018267737701535225,
-0.02601112611591816,
-0.011265382170677185,
0.0007654922665096819,
-0.002470807172358036,
-0.003929978236556053,
0.014720764942467213,
-0.09198813140392303,
0.02659396082162857,
-0.0029807884711772203,
0.03387108072638512,
0.0728711187839508,
-0.05395393446087837,
-0.015486777760088444,
0.029974408447742462,
0.019566627219319344,
-0.02412939816713333,
0.011465211398899555,
0.03342146426439285,
-0.04792574793100357,
-0.03320498391985893,
-0.032488927245140076,
-0.0057825627736747265,
0.057117901742458344,
-0.0086342953145504,
0.04669346660375595,
0.0244457945227623,
-0.008234635926783085,
-0.03736809641122818,
-0.013355264440178871,
0.04542788118124008,
0.02829251065850258,
0.0446285642683506,
-0.016352705657482147,
0.026210954412817955,
0.008692578412592411,
-0.06337922066450119,
-0.02727671153843403,
-0.012555946595966816,
0.07127248495817184,
-0.06760894507169724,
-0.022913770750164986,
0.0325055792927742,
-0.014038014225661755,
-0.04586084559559822,
0.019649889320135117,
0.036368947476148605,
0.009217130951583385,
0.019999591633677483,
0.008792493492364883,
0.01149851642549038,
-0.0314897820353508,
-0.004102746956050396,
0.0465935543179512,
0.05938263237476349,
0.00855935923755169,
0.027160145342350006,
0.05212216451764107,
-0.03203931078314781,
0.06484463810920715
] |
18,141 | jsondiff | emit_value_diff | null | def emit_value_diff(self, a, b, s):
raise NotImplementedError()
| (self, a, b, s) | [
-0.005440691020339727,
-0.08235809952020645,
0.05063106119632721,
0.045541517436504364,
-0.02483632043004036,
-0.0004745629266835749,
-0.056745126843452454,
0.019878970459103584,
0.00015582084597554058,
-0.01129449438303709,
0.016731053590774536,
0.03090081177651882,
0.04008843004703522,
0.0007384385098703206,
-0.04997008293867111,
0.02245679311454296,
-0.022291548550128937,
0.01074918545782566,
0.01953195594251156,
0.008245724253356457,
-0.018143897876143456,
-0.010724399238824844,
-0.012971730902791023,
0.0317600853741169,
-0.01427716575562954,
-0.006312358193099499,
-0.01100531592965126,
-0.06028136983513832,
0.01900317333638668,
0.027794204652309418,
-0.046301644295454025,
-0.09062034636735916,
0.005994261708110571,
-0.05644768476486206,
0.014103658497333527,
-0.054299499839544296,
-0.013178287073969841,
0.06133893504738808,
-0.06623018532991409,
0.010162565857172012,
0.011550623923540115,
-0.013145238161087036,
0.0024146423675119877,
0.013170024380087852,
-0.0021894960664212704,
0.005395248532295227,
-0.04395516589283943,
0.030372027307748795,
-0.04141039028763771,
-0.020242510363459587,
0.05221741273999214,
0.0056224605068564415,
0.00020474885241128504,
0.03109910525381565,
0.03187575563788414,
0.055588409304618835,
0.04263320565223694,
0.05241570621728897,
-0.007225336506962776,
0.05377071723341942,
-0.007580613251775503,
0.02759591117501259,
0.02668706327676773,
-0.032536737620830536,
0.007605399936437607,
-0.02450583130121231,
0.005023447331041098,
-0.040352825075387955,
-0.018639633432030678,
0.08156491816043854,
0.019184941425919533,
-0.01286432147026062,
-0.0009103965712711215,
0.017268100753426552,
0.008253986947238445,
0.018870975822210312,
0.01900317333638668,
0.06946898996829987,
0.011253182776272297,
-0.0676182433962822,
0.022159351035952568,
-0.016937609761953354,
0.013525301590561867,
-0.027116701006889343,
-0.0229029543697834,
-0.006056228652596474,
-0.047524455934762955,
-0.00287319696508348,
0.037345364689826965,
0.01855701021850109,
-0.051622532308101654,
-0.013938413932919502,
-0.01740029640495777,
0.03866732493042946,
-0.00293722958303988,
0.057505253702402115,
-0.03463534638285637,
-0.0392952561378479,
0.021019160747528076,
0.041112951934337616,
0.10608727484941483,
0.039262205362319946,
-0.021267028525471687,
-0.007572351023554802,
0.025827789679169655,
-0.03394131734967232,
-0.007609531283378601,
-0.041179049760103226,
0.008039168082177639,
0.01664016954600811,
-0.029711047187447548,
0.06788263469934464,
-0.007894579321146011,
-0.0113605922088027,
-0.06758520007133484,
0.04184002801775932,
0.025117237120866776,
-0.013558350503444672,
0.021878434345126152,
0.017631638795137405,
0.03879952058196068,
0.007328614592552185,
0.037808049470186234,
0.02855433151125908,
-0.0058785900473594666,
0.011773704551160336,
0.022936003282666206,
-0.0040546986274421215,
0.011120987124741077,
0.0008954212535172701,
0.04160868749022484,
-0.03466839715838432,
0.01740029640495777,
0.06741995364427567,
0.022374169901013374,
0.03397436812520027,
-0.010005583055317402,
0.05043276771903038,
0.03559376671910286,
0.021349651739001274,
0.010170828551054,
0.001045174547471106,
0.03959269821643829,
0.01658233441412449,
-0.008791033178567886,
0.032404541969299316,
-0.010658301413059235,
0.09855210781097412,
-0.02951275371015072,
0.04081550985574722,
0.006886584684252739,
0.048548974096775055,
0.008320084773004055,
-0.0074112373404204845,
-0.0020696932915598154,
0.003641586285084486,
0.006167768966406584,
-0.03589120879769325,
-0.002842213725671172,
0.006787437479943037,
0.04230271279811859,
-0.060578808188438416,
0.10536019504070282,
0.021134832873940468,
-0.007634317968040705,
0.0635201707482338,
0.02561297081410885,
0.053274981677532196,
-0.02182886190712452,
-0.01545040588825941,
-0.007188156712800264,
0.010666563175618649,
-0.020457329228520393,
0.02931445837020874,
0.051424238830804825,
-0.012996518053114414,
0.006923764478415251,
0.0227211844176054,
0.007212943397462368,
-0.040683314204216,
-0.01773078553378582,
-0.02265508659183979,
-0.06276004016399384,
0.020655622705817223,
0.005440691020339727,
-0.018573535606265068,
-0.024687599390745163,
-0.020060740411281586,
0.03207404911518097,
-0.03559376671910286,
0.0038749948143959045,
-0.01569001004099846,
-0.025827789679169655,
0.011864589527249336,
-0.00009275665070163086,
0.00486233364790678,
-0.029810193926095963,
-0.03384217247366905,
0.027248896658420563,
0.030818188562989235,
-0.037080973386764526,
-0.033313386142253876,
-0.04722701385617256,
0.016656693071126938,
0.01257514301687479,
-0.004581416957080364,
0.03949354961514473,
-0.001964349765330553,
-0.01991201937198639,
-0.04501273110508919,
0.01302130427211523,
-0.03275155648589134,
0.005663771647959948,
0.0027678534388542175,
0.005676165223121643,
-0.03569291532039642,
0.024985041469335556,
-0.005465477705001831,
-0.017449868842959404,
-0.007452548481523991,
0.12347105145454407,
-0.06054576113820076,
0.03684962913393974,
0.01663190685212612,
0.047326162457466125,
0.01850743778049946,
0.021300077438354492,
-0.05895940959453583,
-0.019945068284869194,
-0.016078336164355278,
0.03641999512910843,
0.05241570621728897,
0.024109242483973503,
0.005180430132895708,
-0.005155643448233604,
0.021911485120654106,
0.008551428094506264,
-0.03615560010075569,
-0.025249432772397995,
-0.01107141375541687,
-0.09848600625991821,
0.018540486693382263,
0.030388550832867622,
0.060843199491500854,
0.00435420498251915,
-0.07680586725473404,
0.03906391188502312,
0.05089545249938965,
-0.05106069892644882,
0.03134697303175926,
0.02541467733681202,
-0.04798714071512222,
-0.010823545977473259,
0.00831595342606306,
0.02548077516257763,
-0.04418650642037392,
0.018358716741204262,
0.024985041469335556,
0.06328883022069931,
-0.008109397254884243,
-0.008683623746037483,
-0.006585012190043926,
-0.084010548889637,
-0.0023423475213348866,
-0.02508418820798397,
-0.04983788728713989,
-0.030950384214520454,
0.02260551229119301,
-0.021746238693594933,
0.09756063669919968,
-0.040352825075387955,
-0.04808628931641579,
-0.09128132462501526,
0.010575678199529648,
-0.042534057050943375,
0.024406682699918747,
0.05324193090200424,
-0.042071372270584106,
0.03559376671910286,
-0.052118267863988876,
0.027695057913661003,
0.006428029853850603,
-0.014392837882041931,
0.003569291438907385,
-0.009038900025188923,
0.0024125766940414906,
0.038237687200307846,
-0.10562459379434586,
-0.006560225505381823,
-0.0673208013176918,
0.030239831656217575,
-0.028901346027851105,
0.015764370560646057,
0.009311554953455925,
0.04184002801775932,
0.020490378141403198,
0.03860122710466385,
-0.011401903815567493,
0.018672682344913483,
-0.005134987644851208,
-0.04127819463610649,
-0.04911080747842789,
0.009799026884138584,
0.03913000971078873,
-0.03955964744091034,
-0.06411505490541458,
0.05555536225438118,
-0.015549552626907825,
-0.002833951497450471,
-0.017631638795137405,
-0.050333619117736816,
0.05198607221245766,
-0.016408827155828476,
-0.005349806044250727,
0.02220892533659935,
0.019168417900800705,
-0.03737841546535492,
0.031578317284584045,
-0.005655509419739246,
0.0464668869972229,
-0.014516771771013737,
-0.02214282751083374,
-0.02873610146343708,
0.01569001004099846,
-0.007510384079068899,
-0.0016472858842462301,
-0.0025716249365359545,
-0.0051267254166305065,
0.06517262011766434,
-0.013459203764796257,
-0.048879463225603104,
-0.024092717096209526,
0.09233889728784561,
0.005957081448286772,
0.006279309280216694,
-0.004238533787429333,
0.005172167904675007,
-0.02029208280146122,
0.008923228830099106,
-0.00647760322317481,
0.008948015980422497,
0.016202270984649658,
-0.019284088164567947,
0.014640704728662968,
0.05172167718410492,
0.041707832366228104,
-0.06199991703033447,
0.015194275416433811,
0.04309589043259621,
0.0059075080789625645,
-0.02144879847764969,
0.04464919492602348,
-0.017168954014778137,
0.021019160747528076,
0.05902550742030144,
0.06018222123384476,
-0.0031169333960860968,
-0.024158816784620285,
-0.0336604006588459,
-0.011253182776272297,
-0.021911485120654106,
0.015698272734880447,
0.0389317162334919,
-0.0127321258187294,
0.019102320075035095,
-0.03833683580160141,
-0.025877363979816437,
-0.04223661497235298,
-0.013459203764796257,
-0.02214282751083374,
-0.05816623196005821,
-0.00287319696508348,
0.044252604246139526,
-0.06309053301811218,
-0.016367515549063683,
-0.013864053413271904,
0.0022390694357454777,
0.02067214623093605,
-0.016177482903003693,
-0.010220401920378208,
0.007968938909471035,
-0.018837926909327507,
-0.05856281891465187,
0.0676182433962822,
0.028306465595960617,
0.030702516436576843,
0.052316561341285706,
-0.05314278602600098,
0.042467959225177765,
0.06632933765649796,
-0.010336073115468025,
-0.03982403874397278,
-0.03111562877893448,
0.012120719067752361,
-0.0447813905775547,
-0.034205712378025055,
0.0016286958707496524,
-0.014425886794924736,
-0.0591246522963047,
-0.015318209305405617,
0.01421106792986393,
0.03539547324180603,
-0.054828282445669174,
0.0058372789062559605,
-0.00837792083621025,
-0.03027288056910038,
0.02047385275363922,
0.021068735048174858,
-0.059884779155254364,
0.025232907384634018,
-0.06794873625040054,
-0.037808049470186234,
-0.05172167718410492,
-0.03899781405925751,
0.008592738769948483,
-0.05188692361116409,
-0.05049886554479599,
-0.03450315073132515,
-0.03992318734526634,
0.001603909069672227,
-0.009898174554109573,
-0.034470103681087494,
0.043426379561424255,
0.03473449498414993,
0.051490336656570435,
-0.030239831656217575,
-0.04012148082256317,
0.035031937062740326,
0.019614579156041145,
0.028653480112552643,
0.055456213653087616,
-0.009964272379875183,
-0.04184002801775932,
-0.01592961512506008,
0.021035686135292053,
-0.017747310921549797,
0.017317673191428185,
-0.047458358108997345,
0.0874476432800293,
0.058926358819007874,
0.007774776313453913,
0.023183871060609818,
0.030487699434161186,
0.0368826799094677,
-0.027100175619125366,
-0.04121209681034088,
-0.0003929732192773372,
-0.03147916868329048,
-0.03328033909201622,
-0.03291679918766022,
0.0676843449473381,
0.01715242862701416,
-0.009534635581076145,
-0.021812336519360542,
-0.020060740411281586,
-0.05208521708846092,
-0.02777768112719059,
-0.059686485677957535,
-0.02445625700056553,
0.0014252379769459367,
0.016243580728769302,
0.021233979612588882,
-0.07687196135520935,
-0.005535706877708435,
-0.032784603536129,
-0.023464787751436234,
0.008415100164711475,
-0.04742530733346939,
-0.026290476322174072,
0.04388906806707382,
0.03853512927889824,
-0.03675048425793648,
-0.011385379359126091,
0.0059075080789625645,
-0.03071904182434082,
-0.016854988411068916,
-0.05049886554479599,
-0.04223661497235298,
-0.0358581617474556,
-0.01663190685212612,
-0.03526327759027481,
0.011881113983690739,
-0.015772633254528046,
0.004804497584700584,
0.03787415102124214,
0.00056389847304672,
0.022308072075247765,
-0.04858202487230301,
0.022555939853191376,
-0.02060604840517044,
-0.011848065070807934,
-0.02118440717458725,
0.0024890024214982986,
-0.0351971797645092,
-0.06758520007133484,
-0.03718012198805809,
0.02880219928920269,
-0.035428524017333984,
0.007898709736764431,
0.011311018839478493,
-0.03992318734526634,
-0.013963201083242893,
-0.008427494205534458,
-0.006006654817610979,
0.05115984380245209,
0.016028763726353645,
0.04312894120812416,
0.01452503353357315,
-0.05621634051203728,
-0.018061276525259018,
-0.01098052877932787,
-0.033511683344841,
0.06907240301370621,
0.05843062326312065,
-0.015400831587612629,
-0.12135591357946396,
-0.03979099169373512,
-0.0031169333960860968,
-0.03853512927889824,
-0.06583359837532043,
0.002660444239154458,
-0.015243849717080593,
-0.05115984380245209,
-0.05790184065699577,
0.020969588309526443,
-0.04699567332863808,
-0.0621982105076313,
-0.028785675764083862,
0.020837392657995224,
-0.03400741517543793,
-0.05998392775654793,
-0.035362426191568375,
0.018854452297091484,
-0.0004162107943557203,
-0.012492520734667778,
0.052382659167051315,
0.009906436316668987,
0.035164132714271545,
-0.08368005603551865,
0.03243758901953697,
0.018474388867616653,
0.040551118552684784,
0.004436827730387449,
-0.00965856947004795,
-0.019284088164567947,
0.02624090202152729,
-0.023134296759963036,
0.02042428031563759,
0.015086866915225983,
0.008043299429118633,
-0.014326740056276321,
-0.03334643691778183,
0.036651335656642914,
0.04920995607972145,
-0.03374302387237549,
-0.004688826389610767,
-0.04210441932082176,
0.047127868980169296,
0.0225394144654274,
0.01452503353357315,
0.04564066231250763,
0.021994106471538544,
0.07416194677352905,
-0.0026191328652203083,
-0.025943461805582047,
0.06394980847835541,
0.09412354230880737,
-0.03840293362736702,
-0.038303785026073456,
-0.003682897426187992,
0.0016854987479746342,
0.04871422052383423,
-0.05145728588104248,
-0.03138002008199692,
-0.021597519516944885,
0.04190612584352493,
-0.01036912202835083,
-0.010286499746143818,
0.009807289578020573,
0.0005396281485445797,
-0.05479523539543152,
0.04484748840332031,
0.029330983757972717,
-0.005853803362697363,
0.09114912897348404,
0.08328346908092499,
-0.04474833980202675,
0.009931223466992378,
0.018606584519147873,
0.05221741273999214,
-0.06741995364427567,
-0.06018222123384476,
-0.07469072937965393,
-0.056745126843452454,
-0.007572351023554802,
0.01901969686150551,
0.005213479045778513,
0.008543165400624275,
-0.023464787751436234,
0.001465516397729516,
-0.017631638795137405,
0.01423585508018732,
0.021068735048174858,
-0.02495199255645275,
0.026918407529592514,
0.01423585508018732,
0.026059133931994438,
0.007332745939493179,
-0.01735072210431099,
0.05710866302251816,
0.03489973768591881,
0.07125363498926163,
0.02668706327676773,
-0.08381225168704987,
0.03661828860640526,
0.011253182776272297,
0.02515028603374958,
0.020060740411281586,
-0.018474388867616653,
0.028372563421726227,
0.027942925691604614,
0.04309589043259621,
-0.04987093433737755,
0.019746774807572365,
-0.05063106119632721,
0.05172167718410492,
0.012971730902791023,
0.053274981677532196,
0.007898709736764431,
-0.048152387142181396,
-0.015433881431818008,
0.013070877641439438,
0.03684962913393974,
-0.04481443762779236,
-0.01074918545782566,
0.0016080401837825775,
0.013649235479533672,
0.0038026999682188034,
-0.005362199619412422,
0.060777101665735245,
0.021085258573293686,
-0.016086598858237267,
-0.0030611632391810417,
0.029843242838978767,
-0.034965839236974716,
0.01293041929602623,
-0.024340584874153137,
-0.013839267194271088,
-0.015210799872875214,
-0.0029186394531279802,
0.02759591117501259,
0.03450315073132515,
-0.003503193613141775,
-0.02060604840517044,
0.002513789338991046,
0.016268368810415268,
0.027628960087895393,
-0.013913626782596111,
0.03787415102124214,
0.0034990624990314245,
-0.017482919618487358,
0.017747310921549797,
0.014640704728662968,
-0.016937609761953354,
0.029364032670855522,
-0.012905633077025414,
0.02842213585972786,
0.0293805580586195,
0.02759591117501259,
-0.004263320472091436,
-0.005201085936278105,
-0.030636418610811234,
-0.03354473039507866,
0.03757670894265175,
-0.037675853818655014,
-0.058661967515945435,
0.033759549260139465,
0.015549552626907825,
-0.010203877463936806,
-0.037080973386764526,
0.017301149666309357,
0.01868920773267746,
-0.01174065563827753,
-0.05287839472293854,
-0.03936135396361351,
0.002798836911097169,
-0.029909340664744377,
0.03460229933261871,
0.04263320565223694,
-0.03718012198805809,
-0.005705082789063454,
-0.05509267747402191,
-0.03810549154877663,
-0.01721852645277977,
0.012996518053114414,
0.026934931054711342,
0.006456947419792414,
-0.06391675770282745,
-0.0054778712801635265,
0.03476754203438759,
0.026406148448586464,
0.002270052907988429,
0.02149837091565132,
0.0336604006588459,
0.043426379561424255,
-0.02860390581190586,
0.006956813391298056,
-0.054696086794137955,
0.0152934230864048,
-0.07396364957094193,
-0.00318303145468235,
0.01513644028455019,
-0.03916306048631668,
-0.027744632214307785,
-0.011542362160980701,
-0.024357110261917114,
-0.035164132714271545,
0.02700102888047695,
0.030322453007102013,
0.09220670163631439,
-0.06361931562423706,
-0.014202806167304516,
0.03982403874397278,
-0.0000955322539084591,
-0.05895940959453583,
0.03493278846144676,
0.00908847339451313,
-0.007245992310345173,
0.027744632214307785,
0.0014851392479613423,
-0.0023836588952690363,
0.042666252702474594,
-0.0037965034134685993,
0.012715601362287998,
0.01151757501065731,
0.032288867980241776,
-0.04160868749022484,
-0.01098052877932787,
0.03575901314616203,
0.03182618319988251,
0.06758520007133484,
0.0038171589840203524,
0.023828325793147087,
-0.041245147585868835,
-0.03876647353172302,
0.015095128677785397,
-0.01996159367263317,
0.08592738956212997,
-0.06718860566616058,
-0.03410656377673149,
0.030487699434161186,
0.008501853793859482,
-0.03896476700901985,
0.015384307131171227,
0.08149882405996323,
-0.014467197470366955,
0.02496851608157158,
0.0011918294476345181,
-0.030768614262342453,
-0.01850743778049946,
0.007237730082124472,
0.09214060008525848,
0.0509285032749176,
0.06457773596048355,
-0.009385914541780949,
0.05188692361116409,
-0.06233040615916252,
0.07667367160320282
] |
18,142 | jsondiff | patch | null | def patch(self, a, d):
raise NotImplementedError()
| (self, a, d) | [
-0.0027177638839930296,
-0.024223193526268005,
0.0010671099880710244,
0.08252861350774765,
-0.06349610537290573,
-0.04593266174197197,
-0.06049269437789917,
0.0754118263721466,
0.0034869809169322252,
-0.005468173883855343,
0.0007921710493974388,
-0.039991121739149094,
-0.010022264905273914,
0.04296189174056053,
-0.07854583114385605,
-0.022411352023482323,
-0.017873583361506462,
0.0674462541937828,
-0.01935896836221218,
-0.041068434715270996,
-0.001959769055247307,
0.012617606669664383,
0.021431976929306984,
0.03597568720579147,
-0.010634373873472214,
0.07273487001657486,
0.008463427424430847,
-0.00952441617846489,
0.09401994198560715,
-0.000604457629378885,
-0.02332543395459652,
-0.024027319625020027,
0.011287289671599865,
0.06143942102789879,
0.03894645720720291,
-0.032955948263406754,
-0.017188020050525665,
0.06049269437789917,
-0.04821786656975746,
0.028450826182961464,
-0.05174361541867256,
0.018477531149983406,
0.039795245975255966,
-0.03871793672442436,
0.049066659063100815,
0.023243820294737816,
0.0016496337484568357,
0.08879661560058594,
0.003317630849778652,
0.030344283208251,
0.0401543527841568,
-0.05125392600893974,
0.02236238308250904,
0.013915278017520905,
-0.03421281278133392,
0.0781540796160698,
0.06751154363155365,
0.06920912861824036,
0.019734393805265427,
0.017220666632056236,
0.004260278772562742,
-0.013262362219393253,
0.02564328722655773,
-0.06653216481208801,
-0.015596537850797176,
-0.043288350105285645,
-0.013082809746265411,
-0.007292258553206921,
0.0046805934980511665,
0.05115599185228348,
-0.022019600495696068,
-0.015188464894890785,
-0.0009650918655097485,
0.0038828114047646523,
0.055791694670915604,
0.08357328176498413,
0.003691017394885421,
-0.027259254828095436,
0.05089482292532921,
-0.022917361930012703,
0.0042521171271800995,
-0.025039339438080788,
0.003040141426026821,
0.06979674845933914,
-0.02637781761586666,
-0.022395027801394463,
0.0381629578769207,
-0.037477392703294754,
0.014502902515232563,
-0.0401543527841568,
-0.021252425387501717,
0.013539851643145084,
-0.025512702763080597,
-0.0013527609407901764,
0.0046805934980511665,
0.012568638660013676,
0.012870611622929573,
-0.024255840107798576,
0.009940650314092636,
0.02738983742892742,
0.04110107943415642,
-0.0010977154597640038,
-0.011736170388758183,
-0.02531682886183262,
0.033527251332998276,
-0.03114410676062107,
0.0177756454795599,
-0.042015161365270615,
-0.08396503329277039,
0.03989318385720253,
-0.03160114958882332,
0.03155218064785004,
-0.07606474310159683,
0.0060721212066709995,
-0.030523836612701416,
0.003893013345077634,
-0.004013394936919212,
-0.06271260976791382,
0.06545485556125641,
0.0315685011446476,
-0.021236101165413857,
0.030556481331586838,
-0.014829360879957676,
0.013433752581477165,
0.025039339438080788,
0.015261918306350708,
-0.012519669719040394,
0.047532305121421814,
0.0355512909591198,
-0.07502008229494095,
-0.010063071735203266,
0.015743443742394447,
-0.006635261699557304,
0.04746701195836067,
0.04926253482699394,
0.02706337906420231,
-0.001217076787725091,
-0.004692835733294487,
0.009100020863115788,
-0.022509288042783737,
-0.037053000181913376,
-0.04345157742500305,
0.06685862690210342,
0.021693143993616104,
-0.031519532203674316,
0.0005580394063144922,
0.01555573008954525,
0.003319671144708991,
-0.08487911522388458,
0.03591039404273033,
0.023668214678764343,
0.03287433460354805,
0.002842226065695286,
-0.01710640639066696,
-0.020419957116246223,
0.00043918821029365063,
-0.03796708211302757,
-0.0631370022892952,
-0.008414458483457565,
-0.01784093677997589,
-0.0007870701374486089,
-0.06698921322822571,
0.029511814936995506,
-0.004443911369889975,
0.015057881362736225,
0.023651892319321632,
0.0031054329592734575,
-0.06013358756899834,
-0.0057089366018772125,
0.02915271185338497,
0.008683786727488041,
0.012380925007164478,
0.021529914811253548,
0.06072121486067772,
0.05804425850510597,
0.061341483145952225,
-0.0002708582323975861,
-0.011752492748200893,
0.0025239295791834593,
-0.010569082573056221,
0.037477392703294754,
0.0062883999198675156,
-0.02606768161058426,
0.059121567755937576,
0.02611665055155754,
0.02412525564432144,
-0.026524724438786507,
-0.014894652180373669,
0.0023627406917512417,
0.007843156345188618,
0.03773856163024902,
-0.016118871048092842,
0.02939755469560623,
0.016877885907888412,
-0.04387597367167473,
-0.02035466581583023,
-0.04358216002583504,
-0.02409261092543602,
0.01154029555618763,
0.08311624079942703,
-0.0021505430340766907,
-0.02936490997672081,
0.022884715348482132,
0.045051224529743195,
0.04038287326693535,
0.01908147893846035,
0.03604097664356232,
-0.02286839298903942,
-0.036530666053295135,
-0.04462682828307152,
0.014862006530165672,
-0.01728595793247223,
0.016926854848861694,
-0.008691947907209396,
0.015898510813713074,
-0.03285801038146019,
0.03613891452550888,
0.008381812833249569,
-0.00814513023942709,
0.01380101777613163,
-0.0034604561515152454,
0.05970919504761696,
-0.004745885264128447,
0.016616718843579292,
-0.008626656606793404,
-0.009132666513323784,
0.05539994686841965,
-0.01328684575855732,
0.0027402080595493317,
-0.07129845768213272,
0.005504900123924017,
-0.0445941798388958,
0.0013476599706336856,
-0.03737945854663849,
0.03835882991552353,
-0.031258367002010345,
-0.0077044120989739895,
-0.014396803453564644,
-0.006900508888065815,
0.031503211706876755,
0.0050437781028449535,
0.0432230569422245,
0.07227782905101776,
0.10760059952735901,
-0.01242173183709383,
-0.024304809048771858,
-0.03204186633229256,
-0.0003971057303715497,
0.04364745318889618,
-0.0020362825598567724,
0.0009523396147415042,
-0.050535719841718674,
-0.025218890979886055,
0.06548750400543213,
0.005227410700172186,
-0.01018549408763647,
0.031780701130628586,
0.010218139737844467,
0.032498907297849655,
-0.00813288800418377,
-0.033494606614112854,
-0.00620270473882556,
-0.008071677759289742,
0.043810680508613586,
-0.007137191016227007,
-0.03937084972858429,
0.0075534251518547535,
0.02388041280210018,
-0.0038624077569693327,
0.04449624568223953,
0.04083991423249245,
-0.018183717504143715,
-0.02484346367418766,
0.028042754158377647,
-0.030736032873392105,
0.02884257584810257,
0.018706051632761955,
0.039991121739149094,
0.030050471425056458,
-0.04292924329638481,
0.057619862258434296,
0.006068040616810322,
-0.008312440477311611,
0.039044395089149475,
-0.08461795002222061,
-0.020713768899440765,
0.006712795235216618,
0.05990506708621979,
-0.024647589772939682,
-0.024484360590577126,
0.015751605853438377,
0.037281520664691925,
0.010936347767710686,
-0.0026973604690283537,
0.0487402006983757,
0.027536744251847267,
-0.08553203195333481,
0.022688841447234154,
0.0502745546400547,
-0.012144242413341999,
0.00035221772850491107,
-0.041296955198049545,
-0.023456016555428505,
0.060394756495952606,
-0.002993213012814522,
-0.054551154375076294,
0.06920912861824036,
0.01003042608499527,
-0.057554569095373154,
0.022280767560005188,
0.049850158393383026,
0.018477531149983406,
-0.09473814815282822,
0.0037787528708577156,
0.03217244893312454,
-0.06078650429844856,
-0.03258052095770836,
0.0075289406813681126,
-0.008079838939011097,
0.05389823764562607,
-0.06127619370818138,
-0.002299489453434944,
-0.020909642800688744,
0.0045296065509319305,
0.048021990805864334,
-0.000056620083341840655,
0.0718860849738121,
0.027406159788370132,
-0.008308359421789646,
-0.023211173713207245,
-0.05595492571592331,
-0.011377066373825073,
0.03532277047634125,
-0.03688976913690567,
-0.0496542826294899,
-0.05167832225561142,
-0.016992146149277687,
-0.08814369887113571,
0.015017074532806873,
0.0005088156322017312,
0.01660039648413658,
0.04289659857749939,
-0.0472058467566967,
0.006341449450701475,
0.02936490997672081,
0.03966466337442398,
0.037477392703294754,
0.03316814824938774,
0.04299453645944595,
0.018395915627479553,
-0.008381812833249569,
-0.03793443739414215,
-0.00891230721026659,
0.03457191586494446,
0.01780829206109047,
-0.00439494289457798,
-0.0028157015331089497,
-0.013915278017520905,
-0.01356433518230915,
-0.06894795596599579,
0.016184162348508835,
-0.012699221260845661,
0.03972995653748512,
0.013050164096057415,
-0.014470256865024567,
-0.026230910792946815,
-0.0812227874994278,
-0.035028956830501556,
0.009132666513323784,
-0.03282536566257477,
-0.008806208148598671,
-0.014111152850091457,
-0.01682891696691513,
-0.004182744771242142,
0.028254952281713486,
-0.057326048612594604,
-0.01402953825891018,
0.03515954315662384,
-0.04110107943415642,
0.0789375752210617,
0.03338034451007843,
-0.04364745318889618,
-0.011589263565838337,
0.013849986717104912,
-0.01958748884499073,
-0.025153599679470062,
0.06277789920568466,
-0.009842712432146072,
0.027699973434209824,
-0.0035175865050405264,
-0.009157150983810425,
-0.05804425850510597,
-0.025006692856550217,
0.020011883229017258,
-0.10596831142902374,
-0.03767326846718788,
0.001583321951329708,
-0.014764069579541683,
-0.07671765983104706,
-0.019163092598319054,
0.03140527382493019,
0.011874915100634098,
0.023782474920153618,
0.006284319330006838,
0.04397391155362129,
-0.01603725552558899,
0.04913194850087166,
0.04926253482699394,
-0.020126143470406532,
0.02608400583267212,
-0.058566588908433914,
0.04217839241027832,
-0.02814069204032421,
-0.021742111071944237,
0.054322633892297745,
-0.017514478415250778,
0.02159520611166954,
-0.053800299763679504,
-0.025512702763080597,
0.03290697932243347,
0.0064353058114647865,
-0.00739835761487484,
-0.02185637317597866,
0.09388936311006546,
0.013368460349738598,
-0.025545349344611168,
-0.025806516408920288,
0.018526500090956688,
-0.02454965189099312,
0.0316501148045063,
0.02882625348865986,
0.00017292080156039447,
-0.01935896836221218,
0.009981457144021988,
0.021480945870280266,
-0.04315776750445366,
-0.009132666513323784,
-0.02032201923429966,
-0.018640760332345963,
0.022248122841119766,
0.012984872795641422,
0.02381512150168419,
0.0346372090280056,
-0.03496366739273071,
0.011385227553546429,
-0.05451850965619087,
0.013662273064255714,
0.0068025714717805386,
0.006712795235216618,
-0.0200771763920784,
0.05242917686700821,
0.009712129831314087,
0.08226744830608368,
0.031503211706876755,
-0.050568364560604095,
-0.054551154375076294,
-0.03966466337442398,
-0.049295179545879364,
0.03036060743033886,
0.013368460349738598,
0.013213393278419971,
-0.0048560649156570435,
-0.07508537173271179,
-0.05295151099562645,
0.011523972265422344,
0.0793946161866188,
-0.029511814936995506,
-0.04665086790919304,
-0.060623276978731155,
0.0026585934683680534,
0.12026717513799667,
-0.04426772519946098,
0.00033614985295571387,
-0.052331238985061646,
-0.03832618519663811,
0.03914232924580574,
-0.04420243203639984,
0.008234906941652298,
-0.014992590062320232,
-0.010683342814445496,
-0.01632290706038475,
-0.04263543337583542,
0.009842712432146072,
0.03163379430770874,
0.0029952533077448606,
-0.052331238985061646,
0.025822838768363,
0.015669990330934525,
0.029658721759915352,
-0.01986497826874256,
0.0018679526401683688,
0.014894652180373669,
-0.0017802170477807522,
-0.022215476259589195,
0.046030595898628235,
-0.0013843865599483252,
-0.02533315122127533,
-0.034702498465776443,
0.031046168878674507,
-0.034702498465776443,
-0.01828165538609028,
-0.05288621783256531,
-0.0036379678640514612,
-0.017171697691082954,
0.07580357789993286,
-0.0487402006983757,
0.0005626301863230765,
0.03311917930841446,
-0.01405402272939682,
0.027357192710042,
-0.0357145220041275,
0.03656331077218056,
0.04900136590003967,
0.0076799276284873486,
0.045834723860025406,
-0.034996312111616135,
-0.04599795117974281,
0.002374982926994562,
-0.0381629578769207,
-0.04217839241027832,
0.06362669169902802,
0.01118119154125452,
0.03538806363940239,
-0.07874169945716858,
0.009875359013676643,
-0.03143791854381561,
-0.015988286584615707,
0.01318890880793333,
0.05001338571310043,
0.013156263157725334,
-0.0009502992616035044,
0.01627393811941147,
0.022280767560005188,
0.017873583361506462,
0.03773856163024902,
0.06205969303846359,
-0.032270386815071106,
-0.02136668562889099,
-0.02805907651782036,
-0.022182829678058624,
0.003788954811170697,
0.030670741572976112,
-0.009491770528256893,
-0.03545335307717323,
-0.05526936426758766,
0.006276157684624195,
-0.06476929783821106,
-0.02962607517838478,
0.011972852051258087,
-0.046781450510025024,
-0.019489550963044167,
-0.011997336521744728,
-0.004164381418377161,
0.09408523887395859,
-0.03011576272547245,
-0.061112962663173676,
0.02461494319140911,
-0.04211309924721718,
0.006929073948413134,
0.019375290721654892,
-0.007990063168108463,
0.024402745068073273,
0.07293074578046799,
0.001268085790798068,
-0.0016006650403141975,
0.04635705426335335,
0.049034010618925095,
0.03966466337442398,
-0.03940349817276001,
-0.04113372415304184,
-0.005455931648612022,
-0.007818672806024551,
-0.0036359275691211224,
0.010332399979233742,
-0.03868528828024864,
0.03764062374830246,
0.005549788475036621,
-0.039501436054706573,
-0.027357192710042,
-0.07175549864768982,
-0.03992582857608795,
0.013531689532101154,
-0.013376622460782528,
-0.053571779280900955,
0.013482721522450447,
-0.055856987833976746,
-0.021497268229722977,
0.06764212250709534,
0.029185358434915543,
-0.009222442284226418,
-0.08207157254219055,
-0.015931157395243645,
-0.030311638489365578,
-0.11106105893850327,
-0.011319936253130436,
0.04586736857891083,
-0.05451850965619087,
-0.011679040268063545,
-0.016118871048092842,
-0.025218890979886055,
-0.015188464894890785,
-0.0115321334451437,
0.013825502246618271,
0.005957860965281725,
-0.004782611504197121,
-0.008279794827103615,
-0.0100385881960392,
-0.006602616049349308,
-0.03282536566257477,
-0.04547561705112457,
-0.0020821907091885805,
0.045018576085567474,
0.03757533058524132,
-0.055334653705358505,
0.026002390310168266,
-0.04958898946642876,
-0.026704275980591774,
0.03584510460495949,
0.02358660101890564,
0.01710640639066696,
-0.030181054025888443,
-0.015645505860447884,
-0.024435391649603844,
-0.004762208089232445,
-0.03480043634772301,
-0.0028218224178999662,
0.013352137990295887,
0.0045296065509319305,
-0.01265841443091631,
-0.044561535120010376,
0.028548764064908028,
0.04057874530553818,
0.0009829450864344835,
-0.03369047865271568,
0.013596981763839722,
-0.04221103712916374,
-0.009246926754713058,
-0.033494606614112854,
-0.03336402028799057,
0.05464909225702286,
0.03780385106801987,
-0.02386409044265747,
0.00916531216353178,
-0.025447411462664604,
-0.03338034451007843,
-0.016763625666499138,
-0.027683649212121964,
-0.05536729842424393,
0.014355996623635292,
-0.013531689532101154,
-0.05344119668006897,
0.021383007988333702,
-0.053180031478405,
-0.013956085778772831,
0.01707375980913639,
0.05850129947066307,
0.02685118094086647,
0.030931908637285233,
0.022672517225146294,
0.00022112438455224037,
-0.035290125757455826,
0.037542685866355896,
-0.00426435936242342,
-0.008471588604152203,
0.028173336759209633,
0.0064353058114647865,
-0.004439830780029297,
-0.03036060743033886,
0.04851168021559715,
0.004594898317009211,
-0.013621466234326363,
-0.00888782273977995,
-0.02105654962360859,
0.028173336759209633,
-0.01878766529262066,
-0.08350799232721329,
0.01140971202403307,
-0.021415654569864273,
0.050111323595047,
0.017220666632056236,
-0.020681122317910194,
-0.007357550319284201,
-0.013499043881893158,
0.0034951423294842243,
-0.01886928081512451,
0.07253900170326233,
0.0198486540466547,
0.002678997116163373,
-0.013939762488007545,
-0.0306544192135334,
0.03744474798440933,
-0.022639872506260872,
-0.010748634114861488,
0.01305832527577877,
0.016624880954623222,
-0.02510463073849678,
-0.05428998917341232,
-0.05954596400260925,
0.007218805607408285,
0.024239515885710716,
0.0487402006983757,
0.03217244893312454,
-0.00940199475735426,
0.027406159788370132,
0.038522060960531235,
0.010879217647016048,
-0.050535719841718674,
-0.007377953734248877,
-0.014045861549675465,
-0.06862150132656097,
0.027487775310873985,
0.05141715705394745,
0.04795670136809349,
-0.06718508154153824,
0.07071083039045334,
-0.024255840107798576,
-0.008373651653528214,
-0.04717320203781128,
0.041296955198049545,
0.08500970155000687,
-0.05125392600893974,
0.007504456210881472,
0.02809172309935093,
-0.006386337336152792,
-0.0009707028511911631,
-0.007924770936369896,
-0.024974048137664795,
-0.04714055359363556,
-0.008043112233281136,
0.026230910792946815,
0.001184430904686451,
0.04093785211443901,
-0.007288177963346243,
-0.001976091880351305,
0.0054967389442026615,
-0.013107294216752052,
-0.049034010618925095,
-0.01880398951470852,
0.022721486166119576,
0.036530666053295135,
-0.010977154597640038,
-0.027504097670316696,
0.004362296778708696,
0.014902814291417599,
0.018379593268036842,
0.0032135723158717155,
-0.0051335543394088745,
0.04763024300336838,
-0.013409268110990524,
0.01803681254386902,
0.03793443739414215,
0.026753244921565056,
-0.07293074578046799,
0.013988731428980827,
0.06401844322681427,
-0.07273487001657486,
0.014404965564608574,
0.022623548284173012,
0.06042740121483803,
-0.02135036140680313,
-0.043484222143888474,
0.028271274641156197,
0.011287289671599865,
0.041786640882492065,
-0.025235213339328766,
0.053310614079236984,
0.0029013967141509056,
0.044006556272506714
] |
18,143 | jsondiff | unpatch | null | def unpatch(self, a, d):
raise NotImplementedError()
| (self, a, d) | [
0.011759954504668713,
0.0016890602419152856,
0.04163482412695885,
0.05044659972190857,
-0.08903497457504272,
-0.04527090862393379,
-0.06341858208179474,
0.04245376214385033,
0.0007442102069035172,
-0.00046270014718174934,
-0.014978381805121899,
-0.0027127331122756004,
-0.03855561465024948,
0.027303403243422508,
-0.07868359237909317,
0.0028458107262849808,
-0.02184927463531494,
0.09525890648365021,
-0.01062981877475977,
-0.06345134228467941,
0.007042869459837675,
0.032692018896341324,
0.010613440535962582,
0.05948767811059952,
-0.0117763327434659,
0.027598220854997635,
0.00617888942360878,
-0.03410059213638306,
0.06852875649929047,
-0.023175954818725586,
-0.007460528053343296,
0.012652596458792686,
0.02560001239180565,
0.02905593067407608,
0.05748946964740753,
-0.04481230303645134,
-0.00008720413461560383,
0.06305824965238571,
-0.03197135031223297,
0.029858490452170372,
-0.017836475744843483,
-0.01690288633108139,
0.04772772267460823,
-0.02519054152071476,
0.0645323395729065,
0.033363547176122665,
0.013463345356285572,
0.03195497393608093,
-0.01167806051671505,
0.027991311624646187,
0.04772772267460823,
-0.021488940343260765,
0.04160206764936447,
0.05945492163300514,
-0.04703981801867485,
0.08798673003911972,
0.04949663206934929,
0.07370444387197495,
0.0033801677636802197,
0.0019705703016370535,
-0.028630083426833153,
0.008852723054587841,
-0.012267695739865303,
-0.0929003581404686,
0.01198106724768877,
-0.030038656666874886,
-0.018442491069436073,
-0.00009699300426291302,
-0.029350748285651207,
0.03911249339580536,
-0.054475776851177216,
0.004913629963994026,
-0.002536661457270384,
0.002266411669552326,
0.08844533562660217,
0.03659016266465187,
0.050413843244314194,
-0.017558036372065544,
0.04992247745394707,
-0.052248265594244,
0.001084069604985416,
-0.008099299855530262,
-0.024404361844062805,
0.09106594324111938,
-0.04025900736451149,
-0.012251317501068115,
0.0756043866276741,
-0.02700858563184738,
0.00594139751046896,
-0.057391196489334106,
0.004168395884335041,
-0.0071820891462266445,
-0.04936560243368149,
0.016206789761781693,
0.0029256572015583515,
0.027237888425588608,
-0.005077417474240065,
0.013561618514358997,
0.011014720425009727,
-0.02050621435046196,
0.07783189415931702,
-0.06207552179694176,
-0.06427028030157089,
-0.016853749752044678,
0.009106594137847424,
-0.013537050224840641,
0.03413334861397743,
-0.05057762935757637,
-0.0748182013630867,
0.04628639295697212,
-0.028810249641537666,
0.04373130574822426,
-0.08654540032148361,
0.027811145409941673,
-0.026238784193992615,
-0.02687755599617958,
-0.01942521706223488,
-0.04805529862642288,
0.055949866771698,
0.04081588611006737,
-0.025681905448436737,
0.03862113133072853,
-0.03203686699271202,
-0.008713503368198872,
0.04825184494256973,
0.013807299546897411,
0.006256688851863146,
0.046941544860601425,
0.035935014486312866,
-0.07580093294382095,
-0.0037261692341417074,
0.017705446109175682,
-0.03911249339580536,
0.036426376551389694,
0.0025141406804323196,
0.027974933385849,
0.012128476053476334,
-0.012611649930477142,
0.006375434808433056,
-0.00565067445859313,
-0.03400231897830963,
-0.022799242287874222,
0.06207552179694176,
0.06230482459068298,
0.0018518242286518216,
0.010638008825480938,
0.022963030263781548,
0.028613705188035965,
-0.07966631650924683,
0.028613705188035965,
-0.024617286399006844,
0.035345375537872314,
0.01895023323595524,
-0.024355225265026093,
-0.011391432024538517,
-0.013618944212794304,
-0.04913629963994026,
-0.04536918178200722,
-0.03436265140771866,
-0.022569939494132996,
0.010466031730175018,
-0.045860543847084045,
0.04438645765185356,
-0.02966194599866867,
-0.004450929816812277,
-0.00995010044425726,
0.06508921831846237,
-0.059160102158784866,
-0.008508768863976002,
0.013537050224840641,
-0.03136533871293068,
-0.0021927072666585445,
0.027270644903182983,
0.054344747215509415,
0.03455919772386551,
0.054213717579841614,
-0.009270381182432175,
-0.026631873100996017,
-0.01949073188006878,
-0.006522843614220619,
0.032282549887895584,
0.009352275170385838,
-0.04425542429089546,
0.024797452613711357,
0.03806425258517265,
0.012284074909985065,
-0.04094691574573517,
-0.027729250490665436,
0.002031990559771657,
0.007583368569612503,
0.03518158942461014,
-0.012480619363486767,
0.0280404482036829,
0.03283942490816116,
0.015035707503557205,
-0.021882031112909317,
-0.06050316244363785,
-0.0001115163613576442,
0.01737787015736103,
0.03190583735704422,
-0.03714704141020775,
-0.023323362693190575,
0.03328165411949158,
0.037736676633358,
-0.003844915423542261,
0.013430587947368622,
0.006924123503267765,
-0.040783125907182693,
-0.022160470485687256,
-0.031119655817747116,
0.054148200899362564,
-0.02499399706721306,
0.03727807104587555,
-0.01636238768696785,
0.002671786118298769,
-0.03613155707716942,
0.03989867493510246,
0.018770065158605576,
0.027549084275960922,
0.024535391479730606,
-0.03639362007379532,
0.050610385835170746,
0.009622525423765182,
-0.00764069426804781,
-0.02117774449288845,
0.020260533317923546,
0.01551888044923544,
0.015461555682122707,
0.020244155079126358,
-0.06322203576564789,
0.015789130702614784,
-0.06541679054498672,
0.004029176663607359,
-0.048644933849573135,
0.037736676633358,
-0.01785285584628582,
-0.035738468170166016,
-0.05021729692816734,
0.022586317732930183,
0.04065209627151489,
0.004934103228151798,
0.03403507545590401,
0.06371340155601501,
0.0849730372428894,
0.012701733037829399,
0.01004837267100811,
-0.02959643118083477,
0.02560001239180565,
0.026238784193992615,
-0.028941279277205467,
0.005458223633468151,
-0.03013692982494831,
0.010736281052231789,
0.07665262371301651,
0.03632810339331627,
-0.008263087831437588,
0.052575837820768356,
-0.01650160737335682,
0.013012929819524288,
0.004778504837304354,
-0.013053876347839832,
-0.04094691574573517,
0.0038346785586327314,
0.026173267513513565,
0.00987639557570219,
-0.02220960706472397,
0.01018759235739708,
0.030775701627135277,
-0.017230462282896042,
0.03334716707468033,
0.013119392096996307,
-0.04589330404996872,
-0.02029329165816307,
0.004168395884335041,
-0.034526437520980835,
0.08942805975675583,
0.03603328391909599,
-0.0022520802449434996,
0.06977354735136032,
-0.02668100968003273,
0.06112555414438248,
0.0013993608299642801,
0.0010758802527561784,
0.03993143141269684,
-0.07154244929552078,
-0.016739098355174065,
0.015862835571169853,
0.0083777392283082,
0.0038142050616443157,
-0.005097890738397837,
0.05614640936255455,
0.025911208242177963,
0.03989867493510246,
0.004569675773382187,
0.04818632826209068,
0.018819201737642288,
-0.08805225044488907,
0.003500961232930422,
0.030988626182079315,
0.017148567363619804,
-0.0046843271702528,
-0.04435369744896889,
-0.031676534563302994,
0.05853771045804024,
0.009417790919542313,
-0.0745561420917511,
0.07272171974182129,
0.034657470881938934,
-0.05273962765932083,
0.024699179455637932,
0.046941544860601425,
-0.0008609088836237788,
-0.08798673003911972,
-0.023994892835617065,
0.006293540820479393,
-0.049660418182611465,
-0.008541526272892952,
0.021013956516981125,
-0.0006382600404322147,
0.06341858208179474,
-0.030579157173633575,
-0.030104171484708786,
-0.037572890520095825,
0.012177612632513046,
0.02497761882841587,
-0.014691753312945366,
0.04323994368314743,
0.014921056106686592,
-0.0067726196721196175,
-0.010285865515470505,
-0.06522024422883987,
-0.020653624087572098,
0.009122972376644611,
-0.05103623494505882,
-0.03236444294452667,
-0.051167264580726624,
0.0005062062409706414,
-0.06456509977579117,
0.002098529366776347,
-0.012505187653005123,
-0.031070519238710403,
0.058013588190078735,
-0.0467122420668602,
0.0066497791558504105,
0.013045687228441238,
0.044976092875003815,
0.01731235533952713,
0.03580398112535477,
0.05342753604054451,
0.01750890165567398,
0.0014505444560199976,
0.006715293973684311,
0.009417790919542313,
0.049529388546943665,
0.03986591845750809,
-0.002112860791385174,
-0.029088689014315605,
0.023061303421854973,
-0.0021660919301211834,
-0.057948075234889984,
0.004323994275182486,
-0.022045819088816643,
-0.006621116306632757,
-0.01988382264971733,
0.02525605820119381,
-0.06377891451120377,
-0.09217969328165054,
-0.06361512839794159,
-0.022078577429056168,
-0.04153655096888542,
-0.040160734206438065,
-0.03937455266714096,
-0.02641895040869713,
-0.013897382654249668,
0.024044029414653778,
-0.037638403475284576,
0.004925914108753204,
0.03423162177205086,
-0.03885043412446976,
0.0745561420917511,
0.021816516295075417,
-0.03429713472723961,
-0.0033740259241312742,
0.026631873100996017,
-0.007128858007490635,
0.02083379030227661,
0.026353435590863228,
0.007706209551542997,
0.02497761882841587,
0.013872815296053886,
0.013651701621711254,
-0.0664977878332138,
-0.009802691638469696,
0.03406783193349838,
-0.055360227823257446,
-0.012873710133135319,
-0.04120897501707077,
-0.024797452613711357,
-0.05974973738193512,
-0.015035707503557205,
0.018639035522937775,
0.03524710610508919,
0.025206921622157097,
0.021374288946390152,
0.054475776851177216,
0.000019001927284989506,
0.0374746173620224,
0.034526437520980835,
-0.004913629963994026,
-0.00734997121617198,
-0.013496103696525097,
0.02931799180805683,
-0.02152169868350029,
-0.030317096039652824,
0.08091110736131668,
-0.007370444945991039,
0.024551769718527794,
-0.02532157301902771,
0.011252212338149548,
0.004581959918141365,
0.011121181771159172,
-0.01025310717523098,
-0.027450811117887497,
0.0428796112537384,
0.0030771607998758554,
-0.007935511879622936,
-0.05123278126120567,
-0.012030203826725483,
-0.035672951489686966,
0.06377891451120377,
0.018311461433768272,
-0.02240615151822567,
0.0015222015790641308,
-0.005192068871110678,
0.012349589727818966,
-0.029989520087838173,
-0.006461423356086016,
-0.001268330728635192,
-0.005929113365709782,
0.03410059213638306,
-0.0013133722823113203,
0.047007057815790176,
0.04091415926814079,
-0.05958595126867294,
0.019572624936699867,
-0.004516444634646177,
0.0032982740085572004,
0.029350748285651207,
0.005372235085815191,
-0.004725274164229631,
0.06734948605298996,
-0.004676137585192919,
0.058079104870557785,
-0.0006152273854240775,
-0.05126553773880005,
-0.060732465237379074,
-0.026304299011826515,
-0.02700858563184738,
-0.0030914919916540384,
0.018344217911362648,
0.015330525115132332,
-0.016395144164562225,
-0.07121487706899643,
-0.025829313322901726,
0.03141447529196739,
0.10338277369737625,
-0.021980304270982742,
-0.0519862025976181,
-0.05083968862891197,
0.006743956822901964,
0.06820118427276611,
-0.04812081530690193,
0.026992207393050194,
-0.028630083426833153,
-0.03341268375515938,
0.05457405000925064,
-0.02104671485722065,
0.012636218219995499,
0.004487781785428524,
-0.028007689863443375,
-0.00042687158565968275,
-0.04147103428840637,
-0.005851314403116703,
0.01015483494848013,
0.0011147797340527177,
-0.010850932449102402,
0.016468849033117294,
-0.004733463283628225,
0.027942175045609474,
-0.00355623965151608,
-0.015461555682122707,
0.009524252265691757,
-0.010351380333304405,
-0.016329629346728325,
0.0512000247836113,
-0.004848114680498838,
-0.042322732508182526,
-0.05696534737944603,
0.05300168693065643,
-0.05513092502951622,
-0.013283179141581059,
-0.04343648627400398,
-0.028007689863443375,
-0.0282369926571846,
0.06813566386699677,
-0.009786312468349934,
0.028351644054055214,
0.05123278126120567,
-0.030120551586151123,
0.010662577114999294,
-0.04733463376760483,
0.027467191219329834,
0.04052106663584709,
0.030513640493154526,
0.04399336501955986,
-0.011833658441901207,
-0.05018454045057297,
-0.01752527989447117,
-0.009647093713283539,
-0.03685222193598747,
0.06276343017816544,
0.05457405000925064,
-0.0022479856852442026,
-0.06594090908765793,
0.0001406270603183657,
-0.03875216096639633,
-0.01596110686659813,
0.029629187658429146,
0.06047040596604347,
0.014478829689323902,
0.012914656661450863,
-0.02035880647599697,
0.005155216436833143,
0.006948691327124834,
0.0426175482571125,
0.06374615430831909,
-0.06761154532432556,
-0.038522858172655106,
0.0024117734283208847,
-0.006277162116020918,
0.004815357271581888,
0.01804940029978752,
0.015093033201992512,
-0.03665567934513092,
-0.05463956296443939,
0.026631873100996017,
-0.07776638120412827,
0.0107199028134346,
-0.011293158866465092,
-0.004463213961571455,
-0.05585159361362457,
-0.029580051079392433,
0.01601843349635601,
0.06807015091180801,
-0.01636238768696785,
-0.03218427672982216,
-0.00987639557570219,
-0.011637113057076931,
0.00775944022461772,
0.005364045966416597,
-0.0013317983830347657,
0.04369854927062988,
0.07200105488300323,
-0.032217033207416534,
-0.015723615884780884,
0.05948767811059952,
0.05477059260010719,
0.033379923552274704,
-0.026599116623401642,
-0.03141447529196739,
-0.029825733974575996,
-0.039014220237731934,
-0.020244155079126358,
0.01650160737335682,
-0.04366578906774521,
0.039341796189546585,
0.030317096039652824,
-0.05853771045804024,
-0.00922943465411663,
-0.07337687164545059,
-0.00784133467823267,
0.014626238495111465,
-0.027974933385849,
-0.06348409503698349,
0.011211265809834003,
-0.0509379617869854,
-0.012587081640958786,
0.04913629963994026,
0.031005004420876503,
-0.060306616127491,
-0.036557406187057495,
-0.025141406804323196,
-0.012431483715772629,
-0.06859426945447922,
-0.018245944753289223,
0.03410059213638306,
-0.01962176151573658,
0.01391376182436943,
-0.02892490103840828,
-0.005228921305388212,
0.027712872251868248,
-0.01528138853609562,
0.014675374142825603,
0.0042298161424696445,
-0.006862702779471874,
-0.008852723054587841,
-0.026222404092550278,
-0.014012034051120281,
-0.028204236179590225,
-0.057129137217998505,
0.01927780732512474,
0.04798978567123413,
0.018753686919808388,
-0.05044659972190857,
0.038326311856508255,
-0.056310199201107025,
-0.015592585317790508,
-0.006039670202881098,
-0.005507360212504864,
0.020113125443458557,
-0.04330545663833618,
-0.04088139906525612,
-0.04337097331881523,
-0.00009526556095806882,
-0.027106858789920807,
0.023126818239688873,
0.008713503368198872,
0.06240309774875641,
-0.006817661225795746,
0.0034682038240134716,
0.025337951257824898,
0.008418685756623745,
-0.010416895151138306,
0.001349200843833387,
-0.025812935084104538,
-0.033641986548900604,
-0.01191555242985487,
-0.011841847561299801,
-0.01628868281841278,
0.06191173568367958,
0.031070519238710403,
-0.05929113179445267,
0.0208501685410738,
-0.008983753621578217,
-0.04936560243368149,
-0.05853771045804024,
-0.02273372747004032,
-0.05653950199484825,
-0.016329629346728325,
0.0006147155654616654,
-0.04448472708463669,
0.011424189433455467,
-0.022111333906650543,
-0.024486254900693893,
-0.03911249339580536,
0.06472888588905334,
0.030104171484708786,
0.024748316034674644,
0.014708131551742554,
0.02199668250977993,
-0.05886528640985489,
0.026156889274716377,
-0.012791816145181656,
0.01180909015238285,
0.06279619038105011,
0.008164814673364162,
-0.0009612288558855653,
-0.014609859324991703,
0.03274115175008774,
-0.02587844990193844,
-0.030251581221818924,
-0.011170318350195885,
-0.030169686302542686,
-0.00019718498515430838,
-0.027532706037163734,
-0.07711122930049896,
0.02057173103094101,
-0.0059209237806499004,
0.04893975332379341,
0.02139066904783249,
-0.014757268130779266,
-0.013725405558943748,
-0.004970955662429333,
-0.03426437824964523,
-0.028220614418387413,
0.06237034127116203,
0.005720284301787615,
0.010294054634869099,
-0.004848114680498838,
-0.03917801007628441,
0.054410260170698166,
-0.027532706037163734,
-0.00019360212900210172,
0.0015201541827991605,
-0.002976840827614069,
-0.013774542137980461,
-0.015477933920919895,
-0.054606806486845016,
0.02892490103840828,
0.034854013472795486,
0.05847219377756119,
0.008353170938789845,
-0.001985925482586026,
0.024682801216840744,
0.028335265815258026,
0.046941544860601425,
-0.027303403243422508,
-0.008365455083549023,
-0.04556572809815407,
-0.05532747134566307,
0.04173309728503227,
0.04405888170003891,
0.027106858789920807,
-0.026435328647494316,
0.09774847328662872,
-0.012382347136735916,
-0.041995156556367874,
-0.04114346206188202,
0.00764069426804781,
0.08294206857681274,
-0.03184032067656517,
0.02152169868350029,
0.01968727633357048,
0.008132057264447212,
0.009802691638469696,
0.006289446260780096,
-0.03881767392158508,
-0.05689983442425728,
0.0022602698300033808,
0.0417003370821476,
-0.010523357428610325,
0.0370815247297287,
-0.018082158640027046,
0.01981830783188343,
-0.008607042022049427,
0.001956238877028227,
-0.03143085166811943,
0.008656177669763565,
0.043829578906297684,
0.03570571169257164,
-0.03511607274413109,
-0.03341268375515938,
-0.0026206024922430515,
0.04546745494008064,
-0.011358674615621567,
0.009835449047386646,
-0.013823678717017174,
0.03809700906276703,
-0.020407943055033684,
-0.001745362300425768,
0.04923457279801369,
0.032069623470306396,
-0.08634885400533676,
0.0041008335538208485,
0.07029766589403152,
-0.06905287504196167,
0.03154550492763519,
0.010662577114999294,
0.038457341492176056,
-0.053198233246803284,
-0.04772772267460823,
0.0417003370821476,
-0.015920160338282585,
0.04841563105583191,
-0.012906467542052269,
0.041176218539476395,
-0.0016194505151361227,
0.010949205607175827
] |
18,144 | jsondiff | JsonDiffer | null | class JsonDiffer(object):
class Options(object):
pass
def __init__(self, syntax='compact', load=False, dump=False, marshal=False,
loader=default_loader, dumper=default_dumper, escape_str='$'):
self.options = JsonDiffer.Options()
self.options.syntax = builtin_syntaxes.get(syntax, syntax)
self.options.load = load
self.options.dump = dump
self.options.marshal = marshal
self.options.loader = loader
self.options.dumper = dumper
self.options.escape_str = escape_str
self._symbol_map = {
escape_str + symbol.label: symbol
for symbol in _all_symbols_
}
def _list_diff_0(self, C, X, Y):
i, j = len(X), len(Y)
r = []
while True:
if i > 0 and j > 0:
d, s = self._obj_diff(X[i-1], Y[j-1])
if s > 0 and C[i][j] == C[i-1][j-1] + s:
r.append((0, d, j-1, s))
i, j = i - 1, j - 1
continue
if j > 0 and (i == 0 or C[i][j-1] >= C[i-1][j]):
r.append((1, Y[j-1], j-1, 0.0))
j = j - 1
continue
if i > 0 and (j == 0 or C[i][j-1] < C[i-1][j]):
r.append((-1, X[i-1], i-1, 0.0))
i = i - 1
continue
return reversed(r)
def _list_diff(self, X, Y):
# LCS
m = len(X)
n = len(Y)
# An (m+1) times (n+1) matrix
C = [[0 for j in range(n+1)] for i in range(m+1)]
for i in range(1, m+1):
for j in range(1, n+1):
_, s = self._obj_diff(X[i-1], Y[j-1])
# Following lines are part of the original LCS algorithm
# left in the code in case modification turns out to be problematic
#if X[i-1] == Y[j-1]:
# C[i][j] = C[i-1][j-1] + 1
#else:
C[i][j] = max(C[i][j-1], C[i-1][j], C[i-1][j-1] + s)
inserted = []
deleted = []
changed = {}
tot_s = 0.0
for sign, value, pos, s in self._list_diff_0(C, X, Y):
if sign == 1:
inserted.append((pos, value))
elif sign == -1:
deleted.insert(0, (pos, value))
elif sign == 0 and s < 1:
changed[pos] = value
tot_s += s
tot_n = len(X) + len(inserted)
if tot_n == 0:
s = 1.0
else:
s = tot_s / tot_n
return self.options.syntax.emit_list_diff(X, Y, s, inserted, changed, deleted), s
def _set_diff(self, a, b):
removed = a.difference(b)
added = b.difference(a)
if not removed and not added:
return {}, 1.0
ranking = sorted(
(
(self._obj_diff(x, y)[1], x, y)
for x in removed
for y in added
),
reverse=True,
key=lambda x: x[0]
)
r2 = set(removed)
a2 = set(added)
n_common = len(a) - len(removed)
s_common = float(n_common)
for s, x, y in ranking:
if x in r2 and y in a2:
r2.discard(x)
a2.discard(y)
s_common += s
n_common += 1
if not r2 or not a2:
break
n_tot = len(a) + len(added)
s = s_common / n_tot if n_tot != 0 else 1.0
return self.options.syntax.emit_set_diff(a, b, s, added, removed), s
def _dict_diff(self, a, b):
removed = {}
nremoved = 0
nadded = 0
nmatched = 0
smatched = 0.0
added = {}
changed = {}
for k, v in a.items():
w = b.get(k, missing)
if w is missing:
nremoved += 1
removed[k] = v
else:
nmatched += 1
d, s = self._obj_diff(v, w)
if s < 1.0:
changed[k] = d
smatched += 0.5 + 0.5 * s
for k, v in b.items():
if k not in a:
nadded += 1
added[k] = v
n_tot = nremoved + nmatched + nadded
s = smatched / n_tot if n_tot != 0 else 1.0
return self.options.syntax.emit_dict_diff(a, b, s, added, changed, removed), s
def _obj_diff(self, a, b):
if a is b:
return self.options.syntax.emit_value_diff(a, b, 1.0), 1.0
if isinstance(a, dict) and isinstance(b, dict):
return self._dict_diff(a, b)
elif isinstance(a, tuple) and isinstance(b, tuple):
return self._list_diff(a, b)
elif isinstance(a, list) and isinstance(b, list):
return self._list_diff(a, b)
elif isinstance(a, set) and isinstance(b, set):
return self._set_diff(a, b)
elif a != b:
return self.options.syntax.emit_value_diff(a, b, 0.0), 0.0
else:
return self.options.syntax.emit_value_diff(a, b, 1.0), 1.0
def diff(self, a, b, fp=None):
if self.options.load:
a = self.options.loader(a)
b = self.options.loader(b)
d, s = self._obj_diff(a, b)
if self.options.marshal or self.options.dump:
d = self.marshal(d)
if self.options.dump:
return self.options.dumper(d, fp)
else:
return d
def similarity(self, a, b):
if self.options.load:
a = self.options.loader(a)
b = self.options.loader(b)
d, s = self._obj_diff(a, b)
return s
def patch(self, a, d, fp=None):
if self.options.load:
a = self.options.loader(a)
d = self.options.loader(d)
if self.options.marshal or self.options.load:
d = self.unmarshal(d)
b = self.options.syntax.patch(a, d)
if self.options.dump:
return self.options.dumper(b, fp)
else:
return b
def unpatch(self, b, d, fp=None):
if self.options.load:
b = self.options.loader(b)
d = self.options.loader(d)
if self.options.marshal or self.options.load:
d = self.unmarshal(d)
a = self.options.syntax.unpatch(b, d)
if self.options.dump:
return self.options.dumper(a, fp)
else:
return a
def _unescape(self, x):
if isinstance(x, string_types):
sym = self._symbol_map.get(x, None)
if sym is not None:
return sym
if x.startswith(self.options.escape_str):
return x[1:]
return x
def unmarshal(self, d):
if isinstance(d, dict):
return {
self._unescape(k): self.unmarshal(v)
for k, v in d.items()
}
elif isinstance(d, (list, tuple)):
return type(d)(
self.unmarshal(x)
for x in d
)
else:
return self._unescape(d)
def _escape(self, o):
if type(o) is Symbol:
return self.options.escape_str + o.label
if isinstance(o, string_types) and o.startswith(self.options.escape_str):
return self.options.escape_str + o
return o
def marshal(self, d):
if isinstance(d, dict):
return {
self._escape(k): self.marshal(v)
for k, v in d.items()
}
elif isinstance(d, (list, tuple)):
return type(d)(
self.marshal(x)
for x in d
)
else:
return self._escape(d)
| (syntax='compact', load=False, dump=False, marshal=False, loader=<jsondiff.JsonLoader object at 0x7f5da7f7c0a0>, dumper=<jsondiff.JsonDumper object at 0x7f5da7f7c040>, escape_str='$') | [
0.039262112230062485,
-0.05821320787072182,
0.0075234100222587585,
0.03388824686408043,
-0.02316245250403881,
-0.04952728748321533,
-0.0762430727481842,
0.013006945140659809,
0.014399763196706772,
-0.025224260985851288,
-0.043648939579725266,
-0.009952615946531296,
-0.011877337470650673,
0.020442618057131767,
-0.05194004625082016,
-0.009634571149945259,
-0.05075560137629509,
0.0287775918841362,
0.014871347695589066,
-0.029764628037810326,
-0.0029090153984725475,
-0.02035488188266754,
0.023469530045986176,
0.10379235446453094,
-0.006097691133618355,
-0.029216274619102478,
0.02776862122118473,
-0.01838080957531929,
0.004266190342605114,
0.016494473442435265,
-0.020475519821047783,
-0.027900226414203644,
-0.003451885422691703,
-0.05154522880911827,
-0.03075166419148445,
-0.11168864369392395,
0.028711790218949318,
0.04632490500807762,
-0.016889289021492004,
-0.061020780354738235,
-0.03755125030875206,
-0.02191220596432686,
0.014827478677034378,
-0.010780629701912403,
0.01624223031103611,
0.023425662890076637,
-0.07207558304071426,
0.0572042390704155,
-0.038297008723020554,
-0.017284102737903595,
0.04829897731542587,
-0.07957705855369568,
0.003545105457305908,
0.06996990740299225,
-0.030444586649537086,
0.017349904403090477,
0.012041843496263027,
0.09808947890996933,
0.035950057208538055,
-0.03169483318924904,
0.00918492116034031,
0.03248446062207222,
-0.011449621059000492,
0.00986487977206707,
-0.044767580926418304,
-0.03801186382770538,
-0.01635190099477768,
-0.01748150959610939,
-0.009782626293599606,
0.0049543739296495914,
-0.04829897731542587,
0.019269142299890518,
0.05733584240078926,
-0.011318016797304153,
0.0280537661164999,
0.0005767993279732764,
-0.014344927854835987,
0.026408705860376358,
-0.000511339632794261,
-0.02030004747211933,
-0.0058454484678804874,
-0.024719776585698128,
0.04160906374454498,
-0.02045358531177044,
0.022416692227125168,
0.013434660620987415,
0.06746941804885864,
0.05672168731689453,
0.018402744084596634,
-0.014322993345558643,
-0.07132982462644577,
0.012151514180004597,
0.00834594015032053,
0.013610133901238441,
-0.03546750545501709,
0.01612159237265587,
-0.02586035244166851,
-0.05049239099025726,
0.035335902124643326,
-0.01076417975127697,
0.06216135248541832,
0.05689715966582298,
-0.08014734834432602,
-0.013544331304728985,
0.002052213065326214,
0.013467562384903431,
-0.0008396662888117135,
-0.01210764516144991,
-0.037967998534440994,
-0.019663957878947258,
-0.06343353539705276,
0.01866595447063446,
0.0062841312028467655,
-0.027286071330308914,
0.03891116380691528,
-0.02186833880841732,
-0.04579848423600197,
-0.021177412942051888,
0.035379767417907715,
-0.011603160761296749,
-0.010649025440216064,
0.015002951957285404,
-0.009766176342964172,
0.04472371190786362,
-0.006075757090002298,
-0.02564101107418537,
0.08510446548461914,
0.04075363278388977,
0.02281150594353676,
0.014268158003687859,
0.0354236364364624,
0.009897780604660511,
-0.019510418176651,
0.06567081809043884,
0.037858325988054276,
0.00862560048699379,
-0.06014341488480568,
0.0026087919250130653,
0.011318016797304153,
0.014443631283938885,
0.04000787064433098,
-0.026737717911601067,
0.03612552955746651,
0.009250723756849766,
-0.09501869976520538,
0.009404262527823448,
-0.011657996103167534,
-0.0005421845125965774,
-0.031168414279818535,
0.043934084475040436,
-0.00604285579174757,
-0.0034875283017754555,
0.009311042726039886,
-0.02884339541196823,
0.01955428719520569,
0.0013619730016216636,
-0.04851831868290901,
-0.0647495836019516,
0.002426464343443513,
0.01658220961689949,
0.005626107100397348,
-0.02287730947136879,
0.047860294580459595,
0.00022670990438200533,
0.024039817973971367,
0.019181406125426292,
0.02754927985370159,
-0.04970276355743408,
-0.08510446548461914,
0.02136385254561901,
0.01776665449142456,
0.021561259403824806,
-0.040446553379297256,
0.022131547331809998,
0.0539579838514328,
0.043583136051893234,
-0.005228550639003515,
0.026891255751252174,
-0.01140575297176838,
-0.020245211198925972,
-0.00649250578135252,
-0.01199797447770834,
-0.01031452976167202,
0.008313039317727089,
-0.01458620373159647,
-0.0036986444611102343,
0.02406175248324871,
-0.027439609169960022,
0.060231149196624756,
0.019082702696323395,
-0.0015929669607430696,
-0.04090717062354088,
0.010791596956551075,
0.034590139985084534,
0.010051320306956768,
0.001324959215708077,
-0.0318264365196228,
-0.0061909109354019165,
0.05211551859974861,
0.010835465043783188,
-0.07576052099466324,
-0.03388824686408043,
0.04781642556190491,
-0.033756643533706665,
-0.0070847272872924805,
-0.018402744084596634,
-0.003887826343998313,
0.008088214322924614,
0.010111638344824314,
-0.014619104564189911,
0.002887081354856491,
-0.04851831868290901,
0.014739742502570152,
-0.017448609694838524,
0.03255026414990425,
-0.030576191842556,
0.06216135248541832,
0.021627062931656837,
-0.014619104564189911,
-0.050887204706668854,
0.0733916312456131,
0.006936672143638134,
-0.051457494497299194,
0.012118612416088581,
-0.022745704278349876,
-0.005631590727716684,
0.020694861188530922,
0.04777255654335022,
0.03029104880988598,
-0.03603779152035713,
0.03097100555896759,
-0.05079947039484978,
0.019521385431289673,
-0.02906273677945137,
0.021155478432774544,
-0.049658894538879395,
-0.0016697364626452327,
0.0004637014353647828,
0.023754674941301346,
-0.02669384889304638,
-0.032352857291698456,
0.0001958650245796889,
0.04211355000734329,
0.009969066828489304,
-0.01994910091161728,
-0.025158459320664406,
0.06720620393753052,
-0.03068586252629757,
-0.02511459030210972,
0.0020138283725827932,
-0.018764657899737358,
-0.014509433880448341,
0.010325497016310692,
0.020091673359274864,
0.005637073889374733,
-0.051018811762332916,
0.0041565196588635445,
0.02309665083885193,
0.035599108785390854,
-0.008537864312529564,
0.015331964008510113,
-0.046456508338451385,
-0.03809960186481476,
0.04851831868290901,
-0.009563284926116467,
-0.022548295557498932,
0.02489524893462658,
0.03097100555896759,
-0.015386799350380898,
0.027724754065275192,
0.0004489644488785416,
-0.06132785603404045,
-0.07584825903177261,
0.039152439683675766,
-0.07852422446012497,
0.035664912313222885,
0.02748347818851471,
-0.03673968464136124,
0.028141502290964127,
-0.04075363278388977,
-0.00428812438622117,
-0.04939568415284157,
-0.01253536157310009,
0.0007937417249195278,
0.0029611089266836643,
0.004312800243496895,
-0.03614746406674385,
-0.09414133429527283,
-0.011449621059000492,
-0.039591122418642044,
0.06470571458339691,
-0.017119595780968666,
0.01685638725757599,
0.0005877664079889655,
0.05058012902736664,
0.013577233068645,
-0.0009671585285104811,
-0.0615033283829689,
0.03154129534959793,
0.006136075593531132,
-0.055668849498033524,
-0.045447539538145065,
0.1632777452468872,
0.00806627981364727,
-0.018983999267220497,
-0.019137537106871605,
0.025136524811387062,
-0.040775567293167114,
0.016998959705233574,
0.00031547463731840253,
-0.023118583485484123,
0.06137172505259514,
0.0026348386891186237,
0.0033367311116307974,
-0.015013919211924076,
0.014333960600197315,
-0.03715643286705017,
0.006229295860975981,
0.040161412209272385,
0.057423580437898636,
-0.0004822083574254066,
-0.018315007910132408,
-0.01619836315512657,
0.046237166970968246,
0.016998959705233574,
-0.07211945205926895,
0.05356317013502121,
-0.004943407140672207,
0.06536374241113663,
-0.007841454818844795,
-0.02186833880841732,
-0.05654621496796608,
0.03834087774157524,
0.032177384942770004,
0.05711650103330612,
-0.023469530045986176,
0.013807541690766811,
-0.04829897731542587,
-0.017492476850748062,
-0.02091420255601406,
0.08953516185283661,
0.01090675126761198,
0.010259694419801235,
-0.01492618303745985,
0.009124602191150188,
-0.0016532858135178685,
0.021385787054896355,
0.028755657374858856,
-0.006240263115614653,
0.05834481492638588,
-0.048649922013282776,
0.0359719917178154,
-0.005697392858564854,
0.03406371921300888,
-0.01709766313433647,
-0.01208571158349514,
-0.01838080957531929,
-0.07953319698572159,
0.0015477277338504791,
-0.028075700625777245,
-0.004784384276717901,
0.037573181092739105,
-0.013632068410515785,
0.019302044063806534,
0.017788587138056755,
-0.04733387380838394,
-0.016253197565674782,
-0.06795196980237961,
-0.02664997987449169,
-0.04781642556190491,
-0.01726216822862625,
0.008038862608373165,
0.03270380198955536,
-0.03913050517439842,
-0.009733274579048157,
0.0017835197504609823,
-0.004485531710088253,
0.05641460791230202,
-0.018929162994027138,
-0.011098675429821014,
0.02978656254708767,
0.036630015820264816,
-0.03660808131098747,
0.042968980967998505,
0.005508210975676775,
0.0027061246801167727,
0.0038521834649145603,
-0.02794409543275833,
0.03491915017366409,
0.021670930087566376,
-0.02524619549512863,
-0.022636033594608307,
0.03331796079874039,
0.035599108785390854,
-0.09501869976520538,
0.01747054234147072,
-0.018358875066041946,
0.01506875455379486,
-0.037967998534440994,
0.00868591945618391,
0.0354236364364624,
-0.018062764778733253,
-0.017558280378580093,
0.02410561963915825,
-0.017898257821798325,
-0.0159132182598114,
0.06470571458339691,
0.06939961761236191,
-0.04244256019592285,
0.09765079617500305,
-0.06189814582467079,
0.0025224261917173862,
-0.014750709757208824,
-0.030620060861110687,
-0.033076684921979904,
-0.025772614404559135,
-0.015266161412000656,
0.0059386687353253365,
0.0084556108340621,
0.037638984620571136,
0.03474367782473564,
-0.0000236263258557301,
0.03132195398211479,
0.009387812577188015,
0.010945135727524757,
-0.02485138177871704,
-0.02417142316699028,
0.005584980361163616,
-0.04816737398505211,
0.055449508130550385,
0.019367845728993416,
-0.04239869490265846,
0.025772614404559135,
-0.08076150715351105,
-0.004576010163873434,
-0.03660808131098747,
0.025158459320664406,
-0.022076712921261787,
0.07791006565093994,
0.059660863131284714,
0.03187030553817749,
0.0572042390704155,
0.04163099825382233,
-0.02754927985370159,
-0.03711256757378578,
-0.010978037491440773,
0.002049471251666546,
-0.0071724639274179935,
-0.02844857983291149,
0.010923202149569988,
0.044833384454250336,
0.03136581927537918,
0.011361884884536266,
-0.03496301919221878,
-0.0193349439650774,
-0.020661961287260056,
0.018578216433525085,
0.003243511077016592,
-0.07282134890556335,
0.04435083270072937,
0.027527347207069397,
0.012359888292849064,
0.0031859339214861393,
0.0572042390704155,
-0.06413542479276657,
0.017525378614664078,
0.00022979440109338611,
0.024917183443903923,
-0.0661972388625145,
0.03342762961983681,
0.009064283221960068,
-0.019510418176651,
-0.05093107372522354,
0.03298894688487053,
-0.015803547576069832,
0.030949072912335396,
-0.021089676767587662,
-0.05435280129313469,
-0.056677818298339844,
-0.031014874577522278,
-0.047246139496564865,
-0.05093107372522354,
-0.010802564211189747,
-0.03803379833698273,
0.029720760881900787,
-0.03691515699028969,
0.050843339413404465,
-0.03794606402516365,
0.05075560137629509,
-0.03818733990192413,
-0.06229295954108238,
0.008812041021883488,
-0.0011234392877668142,
-0.006870869547128677,
-0.019872331991791725,
0.005234034266322851,
-0.019422682002186775,
-0.03928404673933983,
0.024807512760162354,
-0.048474449664354324,
0.020486487075686455,
-0.0003452913661021739,
-0.03384437784552574,
0.004192162770777941,
0.034831415861845016,
0.029545286670327187,
0.01492618303745985,
0.026123560965061188,
-0.03450240194797516,
-0.026847388595342636,
-0.07181237637996674,
-0.06610950082540512,
0.12002361565828323,
0.02236185595393181,
-0.01149349007755518,
-0.009212339296936989,
-0.014860380440950394,
0.033975984901189804,
-0.0028267623856663704,
-0.018347907811403275,
-0.007243749685585499,
-0.0399201363325119,
0.010122605599462986,
-0.08387615531682968,
0.01368690375238657,
0.022175416350364685,
0.004406020510941744,
-0.03952532261610031,
0.05422119423747063,
-0.058608025312423706,
-0.01028711162507534,
-0.01680155098438263,
0.023469530045986176,
-0.022570230066776276,
0.0031475492287427187,
0.06422316282987595,
0.038428615778684616,
-0.007073760498315096,
-0.0179859958589077,
0.01855628378689289,
0.0485621877014637,
0.03393211588263512,
0.02056325599551201,
0.012414723634719849,
-0.0032681869342923164,
0.046675849705934525,
-0.005277902353554964,
-0.006530890241265297,
-0.03584038466215134,
0.017733752727508545,
-0.023645004257559776,
0.009985517710447311,
0.03509462624788284,
0.052685804665088654,
-0.02590421959757805,
-0.05097494274377823,
0.006925704888999462,
0.008269171230494976,
0.0730406865477562,
0.009036866016685963,
0.003599940799176693,
0.019071735441684723,
0.004767933860421181,
-0.05079947039484978,
-0.0021056775003671646,
0.06167880445718765,
0.052817411720752716,
0.021769635379314423,
-0.05237872898578644,
0.03809960186481476,
0.02978656254708767,
0.06216135248541832,
0.05009757727384567,
-0.030422652140259743,
-0.02215348184108734,
0.00310642272233963,
-0.039876267313957214,
0.0053903148509562016,
-0.012886307202279568,
-0.04450437054038048,
0.0011933543719351292,
0.05799386650323868,
0.00947554875165224,
-0.027286071330308914,
0.04979049786925316,
0.00408797524869442,
-0.04169680178165436,
0.06852225214242935,
0.06773262470960617,
0.008647534996271133,
-0.08168274164199829,
-0.028075700625777245,
-0.013884310610592365,
-0.05259807035326958,
0.0028212787583470345,
0.05299288406968117,
0.0016094176098704338,
0.018731756135821342,
-0.001243391539901495,
-0.028799526393413544,
-0.016658980399370193,
-0.02529006451368332,
-0.01562807522714138,
-0.021681897342205048,
0.021967042237520218,
-0.0043731192126870155,
0.022504428401589394,
-0.02680351957678795,
0.019652990624308586,
-0.012348921038210392,
0.03772672265768051,
0.02820730395615101,
0.012019908986985683,
-0.0715930312871933,
0.01458620373159647,
-0.03439273312687874,
0.002870630705729127,
0.02496105246245861,
0.008861392736434937,
0.0042497399263083935,
0.020387783646583557,
0.014662972651422024,
-0.004789867904037237,
-0.013193385675549507,
-0.03450240194797516,
0.023315992206335068,
-0.018358875066041946,
0.025991955772042274,
-0.011350917629897594,
-0.07058406621217728,
0.006207361817359924,
-0.030927138403058052,
0.05571271851658821,
-0.018918195739388466,
-0.00456778472289443,
-0.0144765330478549,
0.03502882272005081,
-0.025772614404559135,
-0.031672898679971695,
0.10309045761823654,
0.010840948671102524,
-0.05615140125155449,
0.013961080461740494,
0.039876267313957214,
-0.0758921280503273,
0.016143526881933212,
0.0030762632377445698,
-0.03176063671708107,
0.07220719009637833,
0.0507117323577404,
-0.006761198863387108,
0.04478951543569565,
-0.010352914221584797,
-0.03614746406674385,
-0.022504428401589394,
0.04733387380838394,
-0.015024886466562748,
-0.01832597516477108,
0.04588622227311134,
-0.026123560965061188,
0.006887319963425398,
0.012655999511480331,
-0.043363794684410095,
-0.0070792436599731445,
0.030378784984350204,
0.00013725973258260638,
0.04518432915210724,
0.04671971872448921,
0.05996793881058693,
0.03520429506897926,
-0.018029863014817238,
-0.00322431861422956,
0.01140575297176838,
0.0117786331102252,
-0.07782232761383057,
-0.0521593876183033,
0.019510418176651,
0.046237166970968246,
0.051852308213710785,
-0.033537302166223526,
-0.009486516006290913,
0.06514439731836319,
-0.023425662890076637,
-0.007358903996646404,
-0.023798542097210884,
0.05619526654481888,
0.010418716818094254,
0.0015381316188722849,
0.044767580926418304,
-0.009831978939473629,
-0.006881836801767349,
-0.0072656841948628426,
0.0027033828664571047,
-0.010709344409406185,
-0.04182840511202812,
-0.01827113889157772,
-0.013785607181489468,
-0.03748544678092003,
-0.005247743334621191,
-0.017569245770573616,
0.08133178949356079,
-0.014564269222319126,
-0.00278152315877378,
0.012952109798789024,
0.0314754918217659,
0.010325497016310692,
-0.04540367051959038,
-0.03981046378612518,
0.023579200729727745,
-0.023074716329574585,
-0.014487499371170998,
0.07861196249723434,
0.042179353535175323,
-0.025597142055630684,
0.015660976991057396,
-0.004337476100772619,
-0.005234034266322851,
0.00800596084445715,
0.014322993345558643,
0.010160990990698338,
-0.042354825884103775,
0.026342902332544327,
0.035884253680706024,
0.05531790107488632,
0.0287775918841362,
0.054616011679172516,
0.042683836072683334,
-0.047070667147636414,
-0.07054019719362259,
-0.05531790107488632,
-0.027812490239739418,
0.09124602377414703,
-0.013204352930188179,
0.0031475492287427187,
-0.007336969953030348,
-0.041455525904893875,
0.0004983162507414818,
-0.05040465667843819,
0.028689855709671974,
0.06159106642007828,
-0.01663704589009285,
-0.001542244222946465,
-0.04165293276309967,
0.033581167459487915,
-0.0054917605593800545,
0.017284102737903595,
0.022076712921261787,
0.05926604941487312,
-0.026628047227859497,
-0.02327212318778038,
0.039547257125377655,
-0.04755321517586708,
-0.05812547355890274,
0.003942661918699741,
0.03728803992271423,
0.03294507786631584,
0.0008554314845241606,
0.008921711705625057,
0.013928179629147053,
-0.05514242872595787,
-0.020311014726758003,
-0.004345701541751623,
0.010407749563455582,
0.05615140125155449,
0.014871347695589066,
0.02298698015511036,
-0.03524816408753395,
0.055449508130550385
] |
18,145 | jsondiff | __init__ | null | def __init__(self, syntax='compact', load=False, dump=False, marshal=False,
loader=default_loader, dumper=default_dumper, escape_str='$'):
self.options = JsonDiffer.Options()
self.options.syntax = builtin_syntaxes.get(syntax, syntax)
self.options.load = load
self.options.dump = dump
self.options.marshal = marshal
self.options.loader = loader
self.options.dumper = dumper
self.options.escape_str = escape_str
self._symbol_map = {
escape_str + symbol.label: symbol
for symbol in _all_symbols_
}
| (self, syntax='compact', load=False, dump=False, marshal=False, loader=<jsondiff.JsonLoader object at 0x7f5da7f7c0a0>, dumper=<jsondiff.JsonDumper object at 0x7f5da7f7c040>, escape_str='$') | [
0.02605670690536499,
-0.038424137979745865,
0.07989033311605453,
-0.02573077194392681,
-0.01597987860441208,
-0.00273649743758142,
-0.012639041990041733,
0.04729681834578514,
-0.02808474935591221,
-0.017609553411602974,
-0.0015131088439375162,
0.017627662047743797,
-0.05291014537215233,
0.013707385398447514,
-0.04914378374814987,
-0.004608361516147852,
-0.028591759502887726,
0.018976671621203423,
-0.004094560630619526,
-0.015771642327308655,
0.014938696287572384,
0.006577553227543831,
0.0096513032913208,
0.08278753608465195,
-0.0001258330448763445,
0.03362564742565155,
-0.02714315801858902,
-0.015862179920077324,
0.022996539250016212,
-0.02491593360900879,
-0.014667083509266376,
-0.024010559543967247,
-0.031090594828128815,
0.015835018828511238,
-0.007487455382943153,
-0.04856434464454651,
-0.015210309065878391,
0.039329513907432556,
-0.04287858307361603,
-0.02790367417037487,
0.006047908682376146,
0.026781007647514343,
-0.01392467599362135,
0.004730586893856525,
-0.0048256516456604,
0.04371153190732002,
-0.032177045941352844,
0.02808474935591221,
-0.00518780155107379,
0.0037754159420728683,
0.050954535603523254,
-0.034168872982263565,
0.0019307133043184876,
0.04827462136745453,
-0.0718868151307106,
-0.022308452054858208,
0.03098195046186447,
0.09060998260974884,
-0.010737753473222256,
0.03940194472670555,
-0.03675824776291847,
0.04248021915555,
-0.003886324353516102,
-0.00853316392749548,
-0.02714315801858902,
-0.004228103905916214,
-0.04248021915555,
-0.02752341516315937,
0.005893994588404894,
0.010728700086474419,
0.046753592789173126,
0.037373900413513184,
-0.004943350329995155,
0.027342339977622032,
0.06091366708278656,
-0.03476642072200775,
-0.10784833133220673,
-0.010918828658759594,
-0.03413265570998192,
0.029334167018532753,
-0.01640540361404419,
-0.0014157809782773256,
-0.029678210616111755,
0.018134672194719315,
0.0094792814925313,
0.0030103735625743866,
0.04907135292887688,
-0.0051380060613155365,
0.024463247507810593,
0.002498836489394307,
-0.0835842713713646,
0.016115684062242508,
-0.008270605467259884,
0.030094683170318604,
-0.005110844969749451,
-0.02004501409828663,
0.027921780943870544,
0.015997985377907753,
0.06634591519832611,
0.03570801019668579,
0.0054548876360058784,
-0.028646081686019897,
-0.016704179346561432,
-0.03630555793642998,
-0.03157949820160866,
0.04266129434108734,
0.0410316176712513,
-0.020352842286229134,
-0.041357554495334625,
-0.03281080722808838,
-0.016387296840548515,
0.0018718638457357883,
0.01456749252974987,
0.00997723825275898,
0.04689845070242882,
0.03040250949561596,
-0.003791260067373514,
-0.050157804042100906,
0.07344406098127365,
-0.02908066101372242,
-0.010348442010581493,
0.024427032098174095,
-0.021403077989816666,
0.03599772974848747,
0.04606550559401512,
0.007976358756422997,
0.027957996353507042,
-0.00520138256251812,
0.07069171965122223,
0.0448341965675354,
0.08590202778577805,
0.034404270350933075,
-0.03552693501114845,
-0.002460357965901494,
0.01957421936094761,
-0.023612193763256073,
-0.07684827595949173,
0.008976798504590988,
-0.01437736302614212,
0.04823840782046318,
-0.002181954914703965,
-0.011878526769578457,
0.00400628661736846,
-0.027106942608952522,
-0.10958665609359741,
0.0009840300772339106,
-0.02647317945957184,
-0.0587407648563385,
-0.06591133773326874,
0.04204563796520233,
0.03230379894375801,
0.025006471201777458,
-0.030764659866690636,
-0.003908958751708269,
0.044327184557914734,
0.00506104901432991,
-0.061637964099645615,
-0.023630300536751747,
0.01078302226960659,
0.01792643591761589,
0.008465261198580265,
-0.00641911244019866,
0.018469661474227905,
-0.020642561838030815,
0.024608107283711433,
0.036866892129182816,
-0.01120854914188385,
-0.07453051209449768,
-0.03250298276543617,
0.053743090480566025,
-0.005029361229389906,
-0.017138758674263954,
-0.012811063788831234,
0.062253620475530624,
0.07692070305347443,
0.06399194151163101,
0.03614259138703346,
0.03744633123278618,
-0.018759381026029587,
-0.07815201580524445,
0.0032910399604588747,
-0.01063816249370575,
-0.01421439554542303,
0.009696572087705135,
0.014504116028547287,
-0.03925708308815956,
0.013662116602063179,
-0.0014350202400237322,
0.07612397521734238,
0.031905435025691986,
0.04219049960374832,
0.05392416566610336,
0.02232656069099903,
0.043240733444690704,
0.01392467599362135,
-0.035074248909950256,
0.026509394869208336,
-0.04700709879398346,
0.016115684062242508,
0.006093177478760481,
-0.04762275144457817,
0.014594653621315956,
-0.008374723605811596,
-0.057437025010585785,
-0.004870920442044735,
0.017672929912805557,
0.0013908831169828773,
0.03552693501114845,
0.01489342749118805,
-0.018424391746520996,
0.001917132642120123,
-0.05678515136241913,
0.011742720380425453,
0.03907600790262222,
0.00041505807894282043,
-0.05997207388281822,
0.05660407617688179,
0.02133064717054367,
0.009533604606986046,
0.049397289752960205,
0.13529932498931885,
0.0343499481678009,
-0.04110404849052429,
0.005210435949265957,
-0.055734917521476746,
0.03521910682320595,
0.005287392996251583,
0.004085507243871689,
-0.01910342276096344,
-0.03275648504495621,
-0.016287704929709435,
-0.05671272426843643,
-0.03253919631242752,
-0.022145485505461693,
-0.012856332585215569,
-0.037808481603860855,
0.022073054686188698,
0.03940194472670555,
0.019682863727211952,
-0.045087702572345734,
0.08003519475460052,
0.01120854914188385,
0.009778055362403393,
-0.015626780688762665,
0.0010281670838594437,
-0.02075120620429516,
0.015518136322498322,
-0.027070729061961174,
-0.014839105308055878,
0.00225778017193079,
0.011914742179214954,
-0.010565732605755329,
0.04501527175307274,
0.05229448899626732,
-0.03668581694364548,
0.026255890727043152,
0.048926495015621185,
-0.01640540361404419,
0.011525430716574192,
-0.008564852178096771,
-0.034168872982263565,
-0.01693052239716053,
-0.024571891874074936,
0.06471624225378036,
0.006287833210080862,
-0.021258218213915825,
0.023757053539156914,
-0.018333854153752327,
-0.005617855116724968,
-0.02520565502345562,
0.024952149018645287,
-0.03599772974848747,
-0.020914174616336823,
0.0433131642639637,
-0.08430857211351395,
-0.012322161346673965,
0.01948368176817894,
-0.06406436860561371,
0.010158313438296318,
-0.01135340891778469,
0.0023834011517465115,
-0.03777226805686951,
0.054648466408252716,
0.0022724925074726343,
-0.007695692125707865,
-0.024318385869264603,
-0.028302038088440895,
0.0181618332862854,
-0.03650474175810814,
-0.04342180863022804,
0.028066640719771385,
0.02256195805966854,
0.001248286454938352,
0.01241269800812006,
0.06880854070186615,
0.016477834433317184,
-0.027541523799300194,
-0.009058281779289246,
0.028392575681209564,
-0.023666515946388245,
-0.038424137979745865,
-0.09807027876377106,
0.1052408516407013,
0.04526877775788307,
-0.03172435984015465,
-0.01863262802362442,
0.010113044641911983,
-0.05193233862519264,
0.01877748779952526,
0.04860055819153786,
0.026889653876423836,
0.054974403232336044,
0.01128097902983427,
0.02529619261622429,
-0.054648466408252716,
0.040415965020656586,
-0.04280615597963333,
-0.04468933492898941,
0.02406488172709942,
0.03380672261118889,
-0.012276892550289631,
-0.030420618131756783,
-0.0075779929757118225,
0.00024600751930847764,
0.017654823139309883,
-0.014440739527344704,
0.007342595607042313,
-0.023231936618685722,
0.05942884832620621,
-0.0058849407359957695,
-0.043059658259153366,
-0.02042527124285698,
0.028030427172780037,
-0.007301853504031897,
0.004341275431215763,
-0.012285945937037468,
-0.02917119860649109,
-0.030420618131756783,
-0.06851881742477417,
-0.0037459912709891796,
0.056531649082899094,
0.0033227282110601664,
-0.014359256252646446,
-0.04342180863022804,
-0.04342180863022804,
-0.04081432893872261,
-0.003540018340572715,
-0.00006380068225553259,
0.009787109680473804,
-0.019664756953716278,
-0.04903513938188553,
0.012955923564732075,
0.0068718004040420055,
0.041212692856788635,
0.02095039002597332,
-0.09365204721689224,
-0.02453567646443844,
-0.0005624645273201168,
-0.022670602425932884,
-0.010031560435891151,
0.015255577862262726,
0.03212272375822067,
-0.006722413469105959,
0.012313107028603554,
0.015635835006833076,
-0.05696622654795647,
0.058668334037065506,
-0.04841948300600052,
-0.05055616796016693,
-0.004726060200482607,
0.023141399025917053,
-0.01473046001046896,
-0.011543537490069866,
-0.051896125078201294,
-0.023811375722289085,
-0.0050836834125220776,
0.006794843357056379,
0.02420974150300026,
-0.044327184557914734,
-0.0255315899848938,
0.013118891045451164,
0.043059658259153366,
-0.030945735052227974,
0.05345337092876434,
0.0066726175136864185,
-0.0193388219922781,
-0.026690470054745674,
0.007482928689569235,
0.053706876933574677,
0.012964977882802486,
-0.02303275279700756,
-0.04001759737730026,
0.02057013101875782,
0.05037509277462959,
-0.04885406419634819,
0.032412443310022354,
-0.018270477652549744,
0.03154328465461731,
-0.039039794355630875,
0.05906669795513153,
0.03699364513158798,
-0.040126241743564606,
0.020063120871782303,
0.01014020573347807,
0.01553624402731657,
-0.023757053539156914,
0.06073259189724922,
0.054829541593790054,
-0.021149571985006332,
0.0686998963356018,
0.011652182787656784,
-0.04823840782046318,
-0.05254799500107765,
-0.0036079215351492167,
-0.049397289752960205,
-0.004712479654699564,
0.030764659866690636,
-0.012729579582810402,
-0.03699364513158798,
0.0021389496978372335,
-0.011715559288859367,
0.025368621572852135,
-0.009216723032295704,
0.004452184308320284,
0.07916603237390518,
0.01570826582610607,
1.1494024931835156e-7,
0.0010100596118718386,
0.015328007750213146,
0.01886802539229393,
-0.011489215306937695,
0.014033320359885693,
0.027016405016183853,
-0.04371153190732002,
0.043530456721782684,
-0.00903112068772316,
-0.008496949449181557,
-0.06880854070186615,
0.044797979295253754,
0.02411920391023159,
-0.01260282751172781,
0.007120778318494558,
0.027125051245093346,
-0.006785789504647255,
-0.08467072248458862,
-0.03389725834131241,
-0.038424137979745865,
0.05229448899626732,
0.009515496902167797,
-0.013019300065934658,
0.058849409222602844,
0.001240364508703351,
0.02582130953669548,
-0.04624658077955246,
0.03230379894375801,
-0.030945735052227974,
0.061601750552654266,
0.038750071078538895,
-0.008836464956402779,
0.01924828439950943,
-0.019700972363352776,
-0.0038840610068291426,
-0.01688525266945362,
0.018994778394699097,
-0.04581200331449509,
0.05323608219623566,
0.024807289242744446,
0.06391951441764832,
-0.037337686866521835,
-0.009533604606986046,
-0.05696622654795647,
0.05453982204198837,
-0.07014849781990051,
0.03878628835082054,
-0.009787109680473804,
0.021366862580180168,
-0.01300119236111641,
-0.06873611360788345,
-0.10371982306241989,
-0.08329454809427261,
-0.06471624225378036,
-0.038568995893001556,
-0.007446713745594025,
-0.011851365678012371,
0.010864506475627422,
-0.03471209853887558,
0.05631435662508011,
-0.03730147331953049,
0.04903513938188553,
-0.0015278211794793606,
-0.025803202763199806,
0.05631435662508011,
-0.043240733444690704,
0.005961897782981396,
0.03853278234601021,
0.0371566116809845,
-0.014187234453856945,
-0.019411250948905945,
0.007383337244391441,
-0.02406488172709942,
0.03098195046186447,
-0.011932849884033203,
-0.014386417344212532,
0.018179940059781075,
0.013680224306881428,
-0.007319961208850145,
0.02028041146695614,
0.010955044068396091,
-0.013888460583984852,
0.0072113159112632275,
-0.03163382038474083,
-0.013309020549058914,
0.03545450419187546,
0.03002225235104561,
0.00000921290302358102,
0.013698332011699677,
-0.02520565502345562,
0.017292672768235207,
0.019447466358542442,
0.018451552838087082,
-0.01496585737913847,
0.0038161578122526407,
-0.007541778031736612,
-0.08141136914491653,
0.01995447650551796,
-0.004766802303493023,
0.006269725505262613,
0.010991258546710014,
0.051896125078201294,
0.0037595718167722225,
0.024463247507810593,
-0.032086510211229324,
-0.023141399025917053,
-0.020642561838030815,
-0.027795027941465378,
0.07127115875482559,
0.05305500701069832,
0.04186456277966499,
-0.009769001975655556,
-0.04671737551689148,
0.0518236942589283,
0.04650008678436279,
-0.026799116283655167,
0.021819550544023514,
0.03063790686428547,
-0.02326815016567707,
-0.027505308389663696,
0.001107953255996108,
0.021113356575369835,
0.015328007750213146,
-0.01416007336229086,
-0.02623778209090233,
-0.06536811590194702,
0.037373900413513184,
-0.01834290847182274,
-0.06105852499604225,
0.035309646278619766,
0.017953597009181976,
0.039365727454423904,
-0.0005686890217475593,
-0.010701538994908333,
0.03226758539676666,
-0.06616484373807907,
-0.0016534420428797603,
0.0017179501010105014,
0.02946092002093792,
0.04697088152170181,
-0.005147059913724661,
-0.026219675317406654,
0.0032186100725084543,
0.007976358756422997,
0.03107248805463314,
0.08061463385820389,
0.03813441842794418,
-0.014332094229757786,
0.004965984728187323,
0.0030828036833554506,
0.07757257670164108,
0.029008232057094574,
-0.014549384824931622,
-0.0035490719601511955,
0.07344406098127365,
-0.04316830635070801,
-0.0031484432984143496,
0.006754101254045963,
-0.0006382897263392806,
0.0007237345562316477,
0.02596616931259632,
0.0865539014339447,
-0.05164261907339096,
-0.028356362134218216,
-0.06844639033079147,
-0.005812510848045349,
-0.011145172640681267,
-0.021964410319924355,
0.032032184302806854,
0.007043821737170219,
-0.03159760683774948,
0.008216283284127712,
-0.020552024245262146,
-0.019284497946500778,
0.027324233204126358,
-0.016948629170656204,
-0.023775162175297737,
0.01783589832484722,
0.04519634693861008,
0.015835018828511238,
0.03961923345923424,
-0.02927984483540058,
-0.019845832139253616,
0.02259817346930504,
-0.014087643474340439,
-0.016387296840548515,
-0.037482548505067825,
0.016812823712825775,
-0.037482548505067825,
0.024861611425876617,
-0.012322161346673965,
-0.026545610278844833,
-0.0037980503402650356,
-0.008433572947978973,
0.02227223850786686,
-0.01783589832484722,
0.0009998740861192346,
-0.035255324095487595,
-0.0029356800951063633,
-0.02100471220910549,
0.018288586288690567,
-0.0181618332862854,
-0.037953343242406845,
0.03730147331953049,
-0.04758653789758682,
0.00400628661736846,
-0.0417197048664093,
-0.0075779929757118225,
-0.05287393182516098,
0.04592064768075943,
0.009415905922651291,
0.013897513970732689,
0.07032956928014755,
0.004094560630619526,
-0.05084589123725891,
0.01588934101164341,
0.026129137724637985,
-0.08010762929916382,
-0.017808737233281136,
-0.024716751649975777,
-0.008361143060028553,
0.05548141151666641,
0.023485440760850906,
0.020823637023568153,
0.04280615597963333,
-0.0038274750113487244,
-0.0014214395778253675,
-0.0502302348613739,
0.01570826582610607,
-0.02406488172709942,
0.012892547063529491,
0.08365669846534729,
-0.003931593149900436,
-0.07706556469202042,
0.04516012966632843,
-0.05207720026373863,
0.018886134028434753,
0.016821878030896187,
-0.031126810237765312,
-0.018270477652549744,
-0.02104092761874199,
0.028646081686019897,
-0.0010853188578039408,
-0.024372709915041924,
0.01810751110315323,
-0.00813479907810688,
0.010438979603350163,
-0.07829687744379044,
0.0034834323450922966,
0.010158313438296318,
0.01578974910080433,
0.09502821415662766,
-0.0016885253135114908,
-0.04349423944950104,
0.019230175763368607,
-0.002675384748727083,
-0.028211500495672226,
-0.07815201580524445,
0.06605619937181473,
0.0004484438104555011,
0.04186456277966499,
0.048165977001190186,
-0.017138758674263954,
-0.0076821111142635345,
-0.016867145895957947,
-0.023992450907826424,
0.017292672768235207,
-0.027016405016183853,
-0.02611103095114231,
0.0021389496978372335,
-0.1190749928355217,
-0.016821878030896187,
-0.008433572947978973,
0.06591133773326874,
0.01569921150803566,
-0.009261991828680038,
-0.018831811845302582,
0.03226758539676666,
-0.011127064935863018,
-0.03357132524251938,
-0.008714239113032818,
0.019320713356137276,
-0.009678464382886887,
0.047079525887966156,
0.04342180863022804,
0.044327184557914734,
-0.00844262633472681,
0.013580633327364922,
0.0008221941534429789,
-0.004203205928206444,
0.017609553411602974,
-0.01129908673465252,
-0.016332974657416344,
-0.0022747560869902372,
0.011172333732247353,
-0.0004116629424970597,
0.04034353420138359,
0.08293239772319794,
0.02719748020172119,
-0.013607794418931007,
-0.024988364428281784,
0.0014191761147230864,
-0.06381087005138397,
-0.02497025765478611,
0.06058773025870323,
-0.023702731356024742,
-0.04124891012907028,
-0.03947437182068825,
-0.10574786365032196,
0.016749447211623192,
-0.013978998176753521,
0.10495112836360931,
0.05910291522741318,
-0.05120803788304329,
0.02171090431511402,
-0.0247348602861166,
0.06696157157421112,
-0.06707021594047546,
0.01465803012251854,
0.03961923345923424,
-0.007238477468490601,
-0.003906695172190666,
0.02397434413433075,
-0.06996741890907288,
-0.028392575681209564,
-0.032086510211229324,
0.05309122055768967,
0.016477834433317184,
-0.0043910713866353035,
-0.004538194742053747,
0.04237157478928566,
0.005509210284799337,
-0.06826531141996384,
-0.08177351951599121,
-0.043204519897699356,
0.003331781830638647,
0.007555358577519655,
0.04215428605675697,
-0.005115371663123369,
-0.00029452997841872275,
0.012729579582810402
] |
18,146 | jsondiff | _dict_diff | null | def _dict_diff(self, a, b):
removed = {}
nremoved = 0
nadded = 0
nmatched = 0
smatched = 0.0
added = {}
changed = {}
for k, v in a.items():
w = b.get(k, missing)
if w is missing:
nremoved += 1
removed[k] = v
else:
nmatched += 1
d, s = self._obj_diff(v, w)
if s < 1.0:
changed[k] = d
smatched += 0.5 + 0.5 * s
for k, v in b.items():
if k not in a:
nadded += 1
added[k] = v
n_tot = nremoved + nmatched + nadded
s = smatched / n_tot if n_tot != 0 else 1.0
return self.options.syntax.emit_dict_diff(a, b, s, added, changed, removed), s
| (self, a, b) | [
0.023779377341270447,
-0.048281531780958176,
0.011745133437216282,
0.017355693504214287,
-0.03928295522928238,
-0.016163110733032227,
-0.06479699909687042,
-0.033862121403217316,
0.003528057364746928,
-0.009237999096512794,
-0.023146947845816612,
-0.005836427677422762,
0.022695211693644524,
-0.013308139517903328,
-0.04072850942611694,
-0.025116516277194023,
-0.015033770352602005,
0.03772898390889168,
0.004180815536528826,
-0.08767290413379669,
0.019081324338912964,
0.0074175032787024975,
0.008104141801595688,
0.09114223718643188,
-0.047088950872421265,
-0.1080552265048027,
-0.0016465773805975914,
-0.04325823113322258,
0.03975275903940201,
0.07805996388196945,
-0.02280362881720066,
-0.04802856221795082,
0.04127059131860733,
-0.026544000953435898,
-0.022225406020879745,
-0.078493632376194,
0.05261819809675217,
0.02647172473371029,
-0.02923634834587574,
-0.04412556439638138,
-0.021484559401869774,
0.004309560637921095,
-0.03286830335855484,
0.007449124939739704,
0.012404668144881725,
0.011130772531032562,
-0.050269171595573425,
0.020526878535747528,
-0.03373563662171364,
0.030627693980932236,
0.015828825533390045,
-0.0394275076687336,
0.00038312849937938154,
0.09266006946563721,
-0.015033770352602005,
0.015024736523628235,
-0.025568252429366112,
0.012169765308499336,
-0.0537746399641037,
-0.0021559095475822687,
-0.02399621158838272,
-0.006979319732636213,
-0.024574432522058487,
-0.03563292697072029,
-0.027104154229164124,
-0.024556363001465797,
0.00035263632889837027,
-0.010706140659749508,
-0.0051497891545295715,
-0.006514031905680895,
-0.023544475436210632,
0.005520212929695845,
0.022532586008310318,
-0.0006183134973980486,
0.0018769627204164863,
0.03456683084368706,
0.02717643231153488,
0.048281531780958176,
0.018114609643816948,
-0.03004947304725647,
0.0197137538343668,
-0.051100365817546844,
0.03736759349703789,
-0.012549223378300667,
0.04047553613781929,
0.05341325327754021,
0.0027962452732026577,
0.031856413930654526,
0.08058968186378479,
-0.03577748313546181,
-0.048317670822143555,
0.00943224597722292,
0.019767962396144867,
0.007851170375943184,
0.0009616328170523047,
0.023562544956803322,
-0.0560152530670166,
-0.012802195735275745,
0.014094159938395023,
0.010769383981823921,
0.083336241543293,
-0.0029475768096745014,
-0.042282480746507645,
0.012892542406916618,
0.035018566995859146,
-0.042643867433071136,
0.0052717579528689384,
-0.047486476600170135,
0.00011561615974642336,
0.03160344436764717,
-0.011745133437216282,
0.02450215443968773,
-0.010796488262712955,
0.039066120982170105,
0.0005206256173551083,
0.014482652768492699,
-0.024303391575813293,
-0.04213792458176613,
0.03084452822804451,
0.028640056028962135,
0.010570620186626911,
0.03288637474179268,
0.03252498432993889,
0.039535924792289734,
0.003525798674672842,
-0.06635096669197083,
0.04419783875346184,
-0.002873040270060301,
0.02162911556661129,
0.05099194869399071,
0.05897863954305649,
-0.02408655732870102,
-0.0074175032787024975,
0.043113674968481064,
0.05417216941714287,
0.04249931499361992,
-0.029814569279551506,
0.06960346549749374,
0.05973755568265915,
0.030627693980932236,
-0.004905852023512125,
-0.00858298223465681,
0.02439373917877674,
0.02358061447739601,
-0.0793609619140625,
0.006961250212043524,
-0.05525633692741394,
0.0240323506295681,
-0.013949604704976082,
0.014518791809678078,
-0.027935348451137543,
0.008908231742680073,
0.00581835862249136,
-0.025730876252055168,
-0.006039708852767944,
-0.0383794829249382,
0.019912518560886383,
-0.06096627563238144,
-0.02036425471305847,
-0.0037313385400921106,
0.06447175145149231,
0.010353786870837212,
0.1009720116853714,
-0.026977667585015297,
0.008763676509261131,
0.006261059548705816,
0.052365224808454514,
0.028658125549554825,
-0.02321922592818737,
-0.011302432045340538,
-0.008641707710921764,
0.029146000742912292,
-0.026977667585015297,
0.0029227312188595533,
0.049871642142534256,
0.019767962396144867,
-0.009350933134555817,
-0.040186427533626556,
0.009938189759850502,
0.0040475535206496716,
0.03330197185277939,
0.026688557118177414,
-0.010715175420045853,
0.03718689829111099,
-0.004379579331725836,
-0.028585847467184067,
0.002568118507042527,
0.013136480003595352,
0.019822170957922935,
0.0191897414624691,
0.00028346426552161574,
-0.000605326087679714,
0.014835006557404995,
0.01565716601908207,
-0.001210652175359428,
0.02238803170621395,
-0.03485594317317009,
-0.021918226033449173,
0.04773944988846779,
0.05142561346292496,
-0.09851456433534622,
-0.078493632376194,
-0.03725917637348175,
0.016903957352042198,
-0.0022654554340988398,
-0.0328502357006073,
0.011465056799352169,
0.0005590231739915907,
0.0010118883801624179,
-0.02732098661363125,
-0.029109861701726913,
-0.025044238194823265,
0.03765670582652092,
-0.02600191906094551,
0.023165017366409302,
0.018213991075754166,
0.04376417398452759,
0.026236820966005325,
-0.04820925369858742,
-0.0719163566827774,
0.04314981400966644,
-0.014329062774777412,
0.021014753729104996,
0.018204957246780396,
-0.0054343827068805695,
0.025387557223439217,
0.01402188278734684,
0.048715200275182724,
-0.0029791982378810644,
-0.004271163139492273,
0.015097013674676418,
0.044667646288871765,
-0.011718029156327248,
-0.024231113493442535,
0.05261819809675217,
-0.036283425986766815,
-0.010091779753565788,
-0.06364055722951889,
0.06093013659119606,
-0.04473992437124252,
-0.026562070474028587,
0.043511200696229935,
0.02280362881720066,
0.05644891783595085,
-0.028260597959160805,
-0.06468857824802399,
0.013949604704976082,
-0.026959598064422607,
-0.008411322720348835,
0.007449124939739704,
-0.014030917547643185,
-0.03046506829559803,
0.016578707844018936,
0.04015028849244118,
0.035470303148031235,
0.000570598931517452,
0.005773184821009636,
-0.002260938286781311,
0.019460782408714294,
0.00335188047029078,
0.058292001485824585,
-0.01282930001616478,
-0.10415223240852356,
0.027754653245210648,
-0.016994304955005646,
-0.008573947474360466,
0.050666697323322296,
0.01762673445045948,
-0.035434164106845856,
0.04730578511953354,
0.021394211798906326,
-0.08984123915433884,
-0.00007090136205079034,
-0.0196234080940485,
-0.044306255877017975,
0.01924395002424717,
0.03442227467894554,
-0.01163671724498272,
0.012205904349684715,
-0.014672381803393364,
-0.007169048767536879,
-0.043872591108083725,
-0.03798195347189903,
0.03512698411941528,
0.008723020553588867,
0.04849836602807045,
-0.028170250356197357,
-0.055111780762672424,
-0.004356992896646261,
-0.07943323999643326,
0.030374722555279732,
-0.034602969884872437,
0.020978614687919617,
-0.00007460700726369396,
-0.028531638905405998,
0.04202950745820999,
0.006184264551848173,
-0.05648505687713623,
0.01223300863057375,
0.0504860058426857,
-0.01964147761464119,
0.005456969607621431,
0.10118883848190308,
0.026146473363041878,
-0.03899384289979935,
-0.014988597482442856,
0.08492635190486908,
0.019153602421283722,
0.019424643367528915,
-0.018503103405237198,
-0.08463723957538605,
0.03592203930020332,
0.04174039885401726,
0.02202664315700531,
-0.0006301715620793402,
-0.008275801315903664,
-0.03863245248794556,
0.03530767932534218,
-0.007263913284987211,
0.04040325805544853,
0.019460782408714294,
0.030157888308167458,
-0.051534030586481094,
0.02002093568444252,
0.018647657707333565,
-0.10458589345216751,
0.053449392318725586,
0.002380648162215948,
0.08145701885223389,
0.005357587710022926,
-0.01342559140175581,
-0.04539042338728905,
0.04535428434610367,
0.01161864772439003,
0.026724696159362793,
-0.01342559140175581,
0.04221020266413689,
-0.010724210180342197,
-0.033085137605667114,
-0.024556363001465797,
0.02564053051173687,
-0.006206851452589035,
0.014970527961850166,
-0.000008443579645245336,
0.003936878405511379,
0.00460770633071661,
-0.030934873968362808,
-0.015467436984181404,
0.0038713766261935234,
-0.0071329097263514996,
-0.0658811628818512,
0.03841562196612358,
0.031928692013025284,
0.0458240881562233,
0.014591069892048836,
0.05175086483359337,
-0.011112703010439873,
-0.07943323999643326,
0.006776038557291031,
0.02399621158838272,
-0.05695486068725586,
0.08008374273777008,
-0.037909675389528275,
-0.0013969932915642858,
0.03339231759309769,
-0.02717643231153488,
-0.01888256147503853,
-0.062303416430950165,
-0.07090446352958679,
-0.05016075447201729,
0.00021697439660783857,
0.002678793855011463,
0.022984322160482407,
-0.02162911556661129,
0.013750840909779072,
-0.044342394918203354,
-0.031928692013025284,
0.0416681207716465,
0.004144676961004734,
0.039391372352838516,
-0.01223300863057375,
0.0368255116045475,
-0.06512224674224854,
0.04249931499361992,
0.0071916356682777405,
0.014708520844578743,
0.021484559401869774,
-0.09150362759828568,
0.02685118280351162,
0.02923634834587574,
-0.019081324338912964,
-0.03899384289979935,
0.013317174278199673,
0.0641464963555336,
-0.08413129299879074,
-0.04741419851779938,
-0.06974802166223526,
-0.024213043972849846,
-0.048281531780958176,
-0.018295304849743843,
0.07133813202381134,
0.019063254818320274,
-0.09793633967638016,
-0.016976235434412956,
0.001167737296782434,
-0.02283976785838604,
-0.002459702081978321,
0.04842608794569969,
-0.02726677991449833,
0.05778605490922928,
-0.04983550310134888,
-0.03407895565032959,
-0.03895770385861397,
-0.004506065510213375,
-0.003713269019499421,
-0.02282169833779335,
-0.015874000266194344,
-0.06989257782697678,
-0.03812650963664055,
0.03888542577624321,
0.056701891124248505,
0.0037539254408329725,
0.010037572123110294,
-0.01204327866435051,
0.026200681924819946,
-0.02036425471305847,
-0.05402761325240135,
0.002665241714566946,
0.020617226138710976,
0.012350459583103657,
0.022351892665028572,
-0.041126035153865814,
0.012178800068795681,
-0.03243463858962059,
0.023020461201667786,
-0.0180694367736578,
0.04860678315162659,
0.00350547069683671,
0.0537746399641037,
0.06056874990463257,
0.011708994396030903,
-0.0045670499093830585,
0.06093013659119606,
0.0069070421159267426,
-0.05175086483359337,
-0.031784139573574066,
0.033103205263614655,
-0.05016075447201729,
0.019298158586025238,
-0.0007950551807880402,
0.08058968186378479,
0.0012151695555076003,
-0.006943180691450834,
-0.0511726438999176,
0.01203424483537674,
-0.02000286616384983,
-0.0244660172611475,
-0.008759158663451672,
-0.04437853395938873,
0.045137450098991394,
-0.0036206631921231747,
-0.0001973521284526214,
-0.06512224674224854,
0.03079031966626644,
-0.03736759349703789,
0.021087031811475754,
-0.0073903994634747505,
0.012133626267313957,
-0.025423696264624596,
0.0634598582983017,
0.003790064249187708,
-0.010534481145441532,
-0.017933914437890053,
0.011428918689489365,
-0.01926201954483986,
0.0047296746633946896,
0.021105101332068443,
-0.01243177242577076,
0.008117694407701492,
0.03366335853934288,
0.025351418182253838,
0.012314320541918278,
-0.040330979973077774,
-0.026634348556399345,
0.030194027349352837,
-0.023165017366409302,
-0.024556363001465797,
0.009883981198072433,
0.04127059131860733,
0.004865195602178574,
-0.01568427123129368,
-0.07993918657302856,
-0.02927248552441597,
0.013073236681520939,
-0.04846222698688507,
-0.05370236560702324,
0.02007514424622059,
0.006866385694593191,
0.019551130011677742,
-0.008370665833353996,
-0.031910624355077744,
-0.012422737665474415,
-0.0197137538343668,
0.020978614687919617,
0.02571280673146248,
0.018195921555161476,
-0.018213991075754166,
0.0006888972711749375,
0.005578938405960798,
-0.011347605846822262,
-0.07173565775156021,
-0.039391372352838516,
0.08008374273777008,
0.06136380508542061,
-0.005804806482046843,
-0.03612080216407776,
-0.028658125549554825,
-0.016623880714178085,
0.011934862472116947,
-0.052690476179122925,
0.008546843193471432,
0.0066721392795443535,
-0.0034851424861699343,
-0.06512224674224854,
0.00471612298861146,
-0.0017086910083889961,
-0.02047267183661461,
-0.025857362896203995,
0.03653639927506447,
-0.06468857824802399,
-0.02806183509528637,
-0.013362348079681396,
0.04842608794569969,
-0.05655733495950699,
-0.02650786191225052,
0.04600478336215019,
-0.016650985926389694,
-0.011392779648303986,
-0.05648505687713623,
0.012549223378300667,
0.06627868860960007,
0.010742279700934887,
0.05605139210820198,
0.02728484757244587,
0.0006663104286417365,
0.09186501055955887,
-0.022948183119297028,
-0.008357114158570766,
-0.0038939635269343853,
0.03801809251308441,
-0.020671434700489044,
-0.002281266264617443,
0.04459536820650101,
0.02208085171878338,
-0.039102260023355484,
0.009694252163171768,
-0.02732098661363125,
-0.013723736628890038,
0.052654337137937546,
0.004420235753059387,
0.03881314769387245,
-0.03436806797981262,
0.0859382376074791,
0.004991681780666113,
-0.02524300292134285,
0.03433192893862724,
0.05420830845832825,
0.029760360717773438,
-0.03084452822804451,
0.045896366238594055,
-0.01519639603793621,
0.06009894609451294,
-0.030248235911130905,
-0.014591069892048836,
-0.018557310104370117,
0.003713269019499421,
-0.029435111209750175,
-0.006044226232916117,
-0.011916792951524258,
-0.01998479664325714,
-0.014726590365171432,
0.05518405884504318,
0.032272011041641235,
0.024935821071267128,
0.016750367358326912,
-0.010552550666034222,
-0.047920145094394684,
0.0112391896545887,
0.07245843857526779,
0.06219499930739403,
-0.07166337966918945,
-0.02365289255976677,
-0.02647172473371029,
-0.05522019788622856,
-0.017364727333188057,
0.025748945772647858,
0.020310046151280403,
0.08319168537855148,
-0.052654337137937546,
-0.021900156512856483,
0.008623638190329075,
-0.04683597758412361,
0.02452022396028042,
-0.005059442017227411,
0.007394916843622923,
0.02887495793402195,
0.042752284556627274,
-0.042643867433071136,
0.013949604704976082,
-0.01319068856537342,
0.005456969607621431,
0.023851655423641205,
0.03357301279902458,
-0.04419783875346184,
0.07094060629606247,
-0.025857362896203995,
0.021014753729104996,
-0.00883595459163189,
-0.020255837589502335,
0.015087978914380074,
-0.013199723325669765,
-0.03736759349703789,
-0.021520698443055153,
0.010859730653464794,
-0.043077535927295685,
0.0018374357605352998,
0.011257258243858814,
0.04575181379914284,
-0.0016341545851901174,
-0.007169048767536879,
-0.007968621328473091,
-0.014365201815962791,
0.03442227467894554,
-0.023165017366409302,
-0.008750124834477901,
0.026634348556399345,
0.004815504886209965,
0.003846531268209219,
-0.011519265361130238,
0.08066195994615555,
0.04372803494334221,
-0.04723350703716278,
-0.01642511785030365,
0.027953417971730232,
-0.024990029633045197,
0.020183559507131577,
-0.013154549524188042,
-0.03480173274874687,
0.05572614073753357,
0.041415147483348846,
0.005059442017227411,
0.0047522615641355515,
-0.011329536326229572,
-0.04690825566649437,
-0.07198863476514816,
0.00733167352154851,
-0.0034309341572225094,
-0.0030898735858500004,
-0.014482652768492699,
-0.017400866374373436,
0.01365145854651928,
-0.030555415898561478,
-0.07343418896198273,
-0.03048313781619072,
0.09518978744745255,
0.004960060119628906,
0.037078481167554855,
0.025911571457982063,
0.04882361739873886,
-0.005597007926553488,
0.01721113733947277,
-0.009703286923468113,
-0.0082351453602314,
0.01638897880911827,
-0.07480746507644653,
-0.0032231356017291546,
-0.0018916440894827247,
0.05485880747437477,
0.07509657740592957,
-0.05214839056134224,
0.017202103510499,
0.031495027244091034,
-0.02804376557469368,
-0.03772898390889168,
-0.01219686958938837,
0.013633389957249165,
-0.027935348451137543,
0.004652879666537046,
0.01844889484345913,
0.04000573232769966,
-0.007665958255529404,
-0.06504996865987778,
-0.009730391204357147,
-0.00965811312198639,
-0.026363307610154152,
-0.007973138242959976,
0.014256784692406654,
-0.03453069180250168,
-0.026941528543829918,
0.01882835291326046,
0.0359581783413887,
0.002832384081557393,
0.021900156512856483,
-0.023074669763445854,
0.006369476206600666,
-0.007471711840480566,
-0.01239563338458538,
-0.020526878535747528,
0.008140280842781067,
-0.04170425981283188,
-0.04520972818136215,
0.05493108555674553,
0.015548749826848507,
-0.024718988686800003,
-0.01645222119987011,
0.025911571457982063,
-0.021032823249697685,
-0.008298388682305813,
0.02003900520503521,
0.0060894000343978405,
-0.06317074596881866,
0.02851356938481331,
0.026977667585015297,
0.07697580009698868,
0.006983837112784386,
0.02249644696712494,
0.035054706037044525,
-0.06353213638067245,
-0.08044512569904327,
-0.02401428110897541,
-0.0020813732407987118,
0.05034144967794418,
-0.01120305061340332,
-0.021376142278313637,
-0.05034144967794418,
0.03686165064573288,
-0.04090920463204384,
-0.06013508141040802,
0.05926775187253952,
0.0376928448677063,
0.03279602527618408,
0.026218751445412636,
0.026146473363041878,
0.020255837589502335,
-0.011808376759290695,
-0.012549223378300667,
-0.011483126319944859,
0.06411036103963852,
-0.025134585797786713,
-0.03612080216407776,
0.041848812252283096,
-0.03243463858962059,
-0.05850883573293686,
0.022532586008310318,
0.013931535184383392,
0.01758156158030033,
0.03196483105421066,
-0.033048998564481735,
0.015864964574575424,
-0.02242417074739933,
0.028730403631925583,
0.03801809251308441,
0.01038992591202259,
0.05919547379016876,
-0.03687971830368042,
0.03715075924992561,
-0.024664780125021935,
0.04940183833241463
] |
18,147 | jsondiff | _escape | null | def _escape(self, o):
if type(o) is Symbol:
return self.options.escape_str + o.label
if isinstance(o, string_types) and o.startswith(self.options.escape_str):
return self.options.escape_str + o
return o
| (self, o) | [
0.0023265460040420294,
-0.07050242274999619,
0.07431336492300034,
0.04549311846494675,
0.012708810158073902,
-0.043213360011577606,
0.004674358293414116,
0.01429103221744299,
0.03440055623650551,
-0.04528896138072014,
0.0455271452665329,
-0.037326812744140625,
0.059137649834156036,
0.018527302891016006,
-0.024379819631576538,
0.02330799214541912,
-0.031780533492565155,
-0.006741453893482685,
0.04508480429649353,
0.016460206359624863,
-0.017523527145385742,
0.02603009343147278,
0.06311872601509094,
-0.0862225592136383,
-0.003149556228891015,
0.08009783178567886,
-0.052264343947172165,
0.04682014137506485,
-0.061893779784440994,
-0.059614017605781555,
0.0291605107486248,
-0.045186880975961685,
0.002815673593431711,
0.01580520160496235,
0.06298261880874634,
-0.015856239944696426,
-0.04583337903022766,
0.06948163360357285,
0.023171886801719666,
-0.044880643486976624,
-0.040389176458120346,
0.005929077044129372,
-0.06134935840964317,
-0.011322240345180035,
-0.015737148001790047,
-0.004542506765574217,
-0.020296668633818626,
0.06407146155834198,
0.026472434401512146,
-0.022933702915906906,
0.04406401515007019,
-0.008498059585690498,
-0.022202137857675552,
-0.03365197777748108,
-0.05968207120895386,
0.010803340002894402,
0.011968739330768585,
0.06049870327115059,
0.006103461608290672,
0.0008145037572830915,
0.0035982776898890734,
0.07812430709600449,
0.014461163431406021,
0.007766495458781719,
0.019173800945281982,
0.0010580042144283652,
-0.04913393035531044,
0.013499921187758446,
0.00423627020791173,
-0.02327396534383297,
0.01207081787288189,
-0.03440055623650551,
-0.01469934731721878,
-0.0026540488470345736,
-0.035047054290771484,
-0.07567441463470459,
-0.02543463371694088,
-0.019752247259020805,
-0.026744645088911057,
-0.012240949086844921,
-0.01674092374742031,
-0.043077252805233,
-0.041375938802957535,
0.0068180132657289505,
-0.009995215572416782,
-0.039844758808612823,
-0.04760274663567543,
0.016519751399755478,
-0.011381786316633224,
-0.005907810293138027,
0.03247807174921036,
-0.05644957721233368,
-0.027527250349521637,
0.06995800137519836,
-0.05597320944070816,
-0.017089692875742912,
0.04232867434620857,
-0.035863686352968216,
0.030708706006407738,
-0.024107608944177628,
0.018425222486257553,
-0.020415760576725006,
-0.026642566546797752,
0.020841088145971298,
-0.011705035343766212,
-0.07628688961267471,
0.034774843603372574,
0.010573661886155605,
-0.016366634517908096,
-0.013329789973795414,
-0.03739486634731293,
0.021011220291256905,
0.01820405200123787,
-0.03147429600358009,
0.0221340861171484,
0.0038641078863292933,
-0.010522622615098953,
0.01411239430308342,
0.08717529475688934,
-0.030164284631609917,
0.010913925245404243,
0.021878888830542564,
-0.03616992011666298,
-0.005729172378778458,
0.03436652943491936,
0.08254772424697876,
-0.006664894986897707,
0.023563189432024956,
-0.039844758808612823,
-0.007213568314909935,
0.038857996463775635,
0.04348556697368622,
-0.0379052609205246,
-0.02516242302954197,
0.07261205464601517,
0.029143497347831726,
-0.06873305886983871,
0.021334469318389893,
-0.0123600410297513,
0.029585838317871094,
0.031082993373274803,
-0.05743633583188057,
-0.028411932289600372,
0.0183571707457304,
-0.04576532915234566,
0.010735287331044674,
0.008821309544146061,
-0.013202191330492496,
0.021878888830542564,
-0.020670956000685692,
0.026829710230231285,
0.04535701125860214,
0.0030177044682204723,
0.01655377820134163,
-0.02897336520254612,
0.04838535189628601,
0.00010706311877584085,
-0.023478124290704727,
0.04726248234510422,
0.03953852131962776,
0.03950449451804161,
-0.03147429600358009,
-0.026744645088911057,
-0.0059333303943276405,
0.006796746514737606,
0.046752091497182846,
0.04355362057685852,
-0.0020649689249694347,
0.05716412886977196,
0.007617630530148745,
0.032137807458639145,
-0.050222769379615784,
-0.004657345358282328,
0.06771226972341537,
0.007213568314909935,
0.06988994777202606,
-0.03501302748918533,
0.04413206875324249,
-0.05464618280529976,
-0.04076346755027771,
0.05240045115351677,
0.02990908734500408,
-0.036816421896219254,
0.0003987452946603298,
0.021759796887636185,
-0.0594438873231411,
0.05444202572107315,
0.0060694352723658085,
0.0151927275583148,
-0.009986708872020245,
0.041341912001371384,
0.0021755544003099203,
-0.03770110383629799,
0.010675741359591484,
-0.03698655217885971,
-0.08173108845949173,
0.03244404494762421,
-0.03991280868649483,
-0.00811951793730259,
0.050733163952827454,
-0.041648149490356445,
0.0353873185813427,
0.01725131645798683,
-0.015158701688051224,
0.03198469057679176,
-0.024992292746901512,
0.05927375704050064,
-0.006966878194361925,
-0.008787283673882484,
-0.07900898903608322,
-0.015082142315804958,
-0.019871339201927185,
-0.02141953445971012,
0.03472380340099335,
0.031117020174860954,
0.08942102640867233,
-0.008957414887845516,
0.01769365929067135,
-0.0284969974309206,
0.03310755640268326,
-0.04382583126425743,
0.020960180088877678,
-0.008047211915254593,
0.015277793630957603,
0.022389283403754234,
-0.039844758808612823,
-0.004078898578882217,
0.027969591319561005,
0.06495614349842072,
0.009493328630924225,
-0.01475889328867197,
-0.011560424230992794,
-0.020313680171966553,
0.031899623572826385,
0.0077835083939135075,
0.017744697630405426,
0.028684142976999283,
-0.029109470546245575,
-0.018187038600444794,
0.013882716186344624,
0.017387421801686287,
-0.00038678295095451176,
-0.021589666604995728,
-0.06778032332658768,
0.027289066463708878,
-0.0012759850360453129,
0.02186187542974949,
0.054271895438432693,
0.0032176089007407427,
-0.007600617129355669,
0.034026265144348145,
0.027289066463708878,
0.0073113939724862576,
-0.028939340263605118,
-0.028803234919905663,
-0.007081716787070036,
0.023444097489118576,
0.04028709977865219,
0.02051783911883831,
0.024873200803995132,
-0.08724334836006165,
0.056075286120176315,
0.002917752368375659,
-0.004212877247482538,
0.016205009073019028,
0.007273114286363125,
-0.0480450876057148,
0.009969696402549744,
0.013942262157797813,
-0.009961189702153206,
-0.006775480229407549,
-0.0052655646577477455,
-0.007651656400412321,
0.02963687852025032,
-0.0392322838306427,
0.03298846632242203,
0.01628156751394272,
-0.03844968229532242,
-0.04375777766108513,
-0.03462172672152519,
0.017166251316666603,
0.006835026200860739,
-0.018221065402030945,
-0.019292892888188362,
0.0007682492723688483,
0.012998033314943314,
0.03613589331507683,
0.01634962111711502,
0.03722473606467247,
0.018765486776828766,
-0.0076218838803470135,
0.05644957721233368,
0.04100165143609047,
0.018663406372070312,
-0.02594502829015255,
0.014707854017615318,
0.06410548835992813,
-0.049984585493803024,
-0.009408262558281422,
-0.018408210948109627,
-0.004504227079451084,
-0.003015577793121338,
0.04130788892507553,
0.025876974686980247,
-0.051005374640226364,
0.00244138459675014,
0.03848370537161827,
0.014257005415856838,
0.008204583078622818,
0.013567973859608173,
-0.015592536889016628,
0.05842309817671776,
0.02939869463443756,
0.039300337433815,
-0.03814344480633736,
0.071046844124794,
-0.02090913988649845,
-0.03599978983402252,
0.017038652673363686,
0.03821149840950966,
0.005597320850938559,
-0.04358764737844467,
-0.014061354100704193,
-0.04511882737278938,
-0.006320378743112087,
-0.008855335414409637,
0.004319209139794111,
0.02099420689046383,
0.04205646365880966,
-0.05039289966225624,
0.004465947393327951,
-0.05345526337623596,
0.022933702915906906,
-0.03344782069325447,
0.015388378873467445,
-0.025417620316147804,
0.014801425859332085,
0.018969643861055374,
-0.07172737270593643,
0.02618321217596531,
0.017710670828819275,
0.04705832526087761,
-0.008238609880208969,
-0.005980116315186024,
-0.06910734623670578,
-0.03841565549373627,
-0.013746611773967743,
0.028292840346693993,
0.01195172592997551,
0.00740921963006258,
-0.0013546707341447473,
-0.00432346248999238,
0.0734967365860939,
-0.0646839290857315,
-0.017344890162348747,
-0.025009306147694588,
-0.0026136424858123064,
0.05386358126997948,
-0.035863686352968216,
-0.01748950034379959,
0.06022649258375168,
-0.019701208919286728,
0.027697380632162094,
0.007553831208497286,
0.0019256740342825651,
-0.0028433199040591717,
0.007966399192810059,
0.049746401607990265,
-0.03263118863105774,
0.005299590993672609,
-0.009935669600963593,
0.02672763168811798,
0.006031155586242676,
-0.07771599292755127,
-0.04032112658023834,
0.06873305886983871,
0.0060694352723658085,
-0.015260780230164528,
-0.03089584968984127,
-0.06961774080991745,
0.05730023235082626,
0.01405284833163023,
-0.009603913873434067,
0.022865651175379753,
0.009646446444094181,
-0.02181083709001541,
0.026676593348383904,
0.031542349606752396,
0.057130102068185806,
0.0010888405377045274,
-0.0028730928897857666,
-0.0021032486110925674,
0.09227923303842545,
0.046752091497182846,
-0.04368972405791283,
-0.03712265565991402,
0.03691849857568741,
-0.01859535463154316,
-0.02558775246143341,
0.054033711552619934,
0.01283640880137682,
0.007413472980260849,
0.009161571972072124,
0.00003103567723883316,
0.032018717378377914,
0.04385985806584358,
-0.025111384689807892,
0.018306130543351173,
-0.025213463231921196,
0.057606469839811325,
-0.06761018931865692,
-0.07798819988965988,
-0.001632197410799563,
-0.03616992011666298,
-0.00982508435845375,
-0.03322665020823479,
-0.0455271452665329,
0.019292892888188362,
-0.03121909871697426,
-0.0056526134721934795,
-0.05291084572672844,
-0.04508480429649353,
-0.011730555444955826,
0.04586740583181381,
0.009552874602377415,
-0.003536605043336749,
0.05774257332086563,
-0.022984743118286133,
0.07295231521129608,
0.040389176458120346,
-0.09643043577671051,
-0.03344782069325447,
-0.02751023694872856,
-0.056857891380786896,
0.04736456274986267,
-0.00923813134431839,
0.015320326201617718,
-0.042668938636779785,
-0.004682864993810654,
0.04654793068766594,
0.037088628858327866,
0.02642139606177807,
0.015337339602410793,
0.028207775205373764,
0.026506461203098297,
-0.011517890729010105,
-0.004212877247482538,
0.038823969662189484,
0.03637407720088959,
0.0202456284314394,
0.03077675774693489,
0.00535488361492753,
0.03640810400247574,
-0.01772768422961235,
0.03203573077917099,
-0.04454038292169571,
0.05876336246728897,
-0.03773513063788414,
-0.01165399607270956,
0.027186986058950424,
-0.046445854008197784,
0.026319317519664764,
0.004546759650111198,
0.011824127286672592,
-0.020228615030646324,
0.060396622866392136,
0.0240225438028574,
0.05889946594834328,
-0.027306078001856804,
0.0025519700720906258,
-0.03332872688770294,
0.015754161402583122,
0.009561380371451378,
0.03451964631676674,
0.011160614900290966,
0.019684195518493652,
-0.04637780040502548,
0.006311872508376837,
-0.04348556697368622,
-0.06043064966797829,
-0.04396193474531174,
-0.08765166252851486,
0.008013186044991016,
-0.02944973297417164,
0.016723910346627235,
0.03497900068759918,
0.11820724606513977,
0.026370355859398842,
0.014775905758142471,
0.04158009588718414,
0.03800733759999275,
0.10337179899215698,
-0.0607709102332592,
-0.012759849429130554,
0.06703174114227295,
0.025366581976413727,
-0.03576160594820976,
0.0014673827681690454,
-0.028837259858846664,
-0.01576266810297966,
0.007090223021805286,
-0.004157584626227617,
-0.024430859833955765,
-0.05474826321005821,
0.012394067831337452,
-0.022100059315562248,
0.001753416028805077,
0.056347496807575226,
0.005975862964987755,
0.02138550765812397,
-0.008761763572692871,
-0.031627412885427475,
0.023886438459157944,
0.0024647775571793318,
0.004161837510764599,
0.007102983072400093,
0.03041948191821575,
0.05270668491721153,
0.014137913472950459,
-0.013857197016477585,
-0.028122708201408386,
-0.022423310205340385,
-0.08370461314916611,
-0.10092190653085709,
-0.002023499459028244,
-0.04474454000592232,
-0.03589770942926407,
0.044166091829538345,
-0.0518220029771328,
0.025366581976413727,
-0.011432825587689877,
-0.002832686761394143,
-0.005639853421598673,
-0.010012228973209858,
-0.042158544063568115,
0.08792386949062347,
-0.03377106785774231,
0.03193365037441254,
0.009918656200170517,
0.02642139606177807,
-0.0016747303307056427,
-0.0028773462399840355,
0.012606731615960598,
-0.051992133259773254,
0.05423786863684654,
0.031746506690979004,
0.023137861862778664,
-0.022338243201375008,
-0.013261737301945686,
0.01883353851735592,
-0.008221596479415894,
-0.025179436430335045,
0.00033547772909514606,
0.09779149293899536,
-0.01499707717448473,
-0.03821149840950966,
0.013763625174760818,
0.02582593634724617,
-0.013567973859608173,
0.0455951951444149,
-0.017072679474949837,
0.013567973859608173,
0.02798660472035408,
-0.07560636103153229,
-0.046479880809783936,
-0.02603009343147278,
-0.030521560460329056,
-0.021436547860503197,
-0.014137913472950459,
0.02630230411887169,
-0.004423414822667837,
-0.03458769991993904,
0.05508852377533913,
0.00029188155895099044,
-0.04981445521116257,
0.0023860919754952192,
0.02429475449025631,
0.04726248234510422,
-0.014843958429992199,
0.0074474988505244255,
-0.06223404034972191,
0.040627360343933105,
-0.05066511034965515,
-0.025502687320113182,
0.06362912058830261,
-0.03332872688770294,
0.029194535687565804,
0.03998086228966713,
-0.012887448072433472,
-0.03307352960109711,
-0.059375833719968796,
-0.04627572372555733,
-0.0034664259292185307,
-0.009170078672468662,
0.052026160061359406,
-0.027578288689255714,
-0.020926153287291527,
-0.013516934588551521,
0.003849221393465996,
-0.007277367636561394,
0.019752247259020805,
0.024481898173689842,
0.006894572172313929,
0.0392322838306427,
0.03872188925743103,
0.0259790550917387,
0.03974267840385437,
0.025451647117733955,
-0.05872933566570282,
-0.06128130480647087,
-0.025842949748039246,
0.0811186209321022,
0.00148652249481529,
-0.008191823959350586,
-0.039402417838573456,
0.004015099257230759,
-0.02036472037434578,
-0.015932798385620117,
-0.009493328630924225,
0.04828327149152756,
-0.024226700887084007,
0.019326919689774513,
-0.08533787727355957,
-0.008702217601239681,
-0.032954439520835876,
-0.022933702915906906,
0.03336275368928909,
-0.010930937714874744,
-0.012266469188034534,
-0.0988803282380104,
-0.021283429116010666,
0.0037705355789512396,
-0.024822160601615906,
0.005363390315324068,
-0.044914670288562775,
-0.0038832477293908596,
-0.008570365607738495,
0.01487798523157835,
-0.0353873185813427,
0.012496146373450756,
-0.0030474774539470673,
-0.04855548217892647,
-0.06873305886983871,
0.052264343947172165,
-0.009068000130355358,
0.0379733145236969,
-0.06703174114227295,
-0.056041259318590164,
-0.04637780040502548,
-0.02303578145802021,
0.009671966545283794,
0.0183571707457304,
-0.03132117912173271,
0.008948908187448978,
0.0518220029771328,
0.06754213571548462,
0.003294167807325721,
-0.015294807031750679,
0.014673827216029167,
-0.025808922946453094,
-0.03565952554345131,
-0.00018461907166056335,
-0.04015099257230759,
-0.023648254573345184,
-0.008004679344594479,
-0.017089692875742912,
-0.007843054831027985,
-0.023954492062330246,
-0.002719974610954523,
-0.024873200803995132,
-0.0011632730020210147,
-0.026880750432610512,
-0.09683875739574432,
0.013261737301945686,
-0.033039502799510956,
-0.014095380902290344,
0.023852413520216942,
-0.01883353851735592,
0.06590887904167175,
0.002075602300465107,
-0.05093732103705406,
-0.057878680527210236,
-0.003966186661273241,
-0.010522622615098953,
-0.029313627630472183,
0.020943166688084602,
0.022933702915906906,
0.02012653648853302,
0.059579990804195404,
-0.04682014137506485,
-0.05461215600371361,
-0.002681695157662034,
-0.051787976175546646,
0.002403105143457651,
-0.01725131645798683,
-0.04879366606473923,
0.045935459434986115,
-0.08125472068786621,
0.06533043086528778,
0.008897868916392326,
0.038892023265361786,
0.021215377375483513,
0.012249455787241459,
-0.03159338980913162,
0.03824552148580551,
-0.01611143723130226,
0.034179385751485825,
-0.03171247988939285,
0.04035515338182449,
0.03603381663560867,
-0.013891222886741161,
0.06049870327115059,
-0.0065628159791231155,
-0.025485673919320107,
-0.01823807880282402,
-0.0323079414665699,
0.007600617129355669,
-0.004359615501016378,
-0.00391089404001832,
0.01639215461909771,
0.00476793060079217,
-0.019922379404306412,
0.03705460578203201,
0.052298370748758316,
0.03991280868649483,
0.022202137857675552,
-0.07526610046625137,
0.015941305086016655,
0.03576160594820976,
-0.015167208388447762,
-0.022661494091153145,
0.0709787905216217,
-0.04991653189063072,
-0.0019012176198884845,
-0.025060344487428665,
-0.02456696517765522,
-0.02141953445971012,
-0.056279443204402924,
-0.008378967642784119,
0.041409965604543686,
-0.008268382400274277,
0.037837207317352295,
-0.018765486776828766,
-0.02551969885826111,
0.025876974686980247,
0.009688979014754295,
0.04287309572100639,
0.002922005718573928,
0.015507470816373825,
0.019054709002375603,
-0.005257057957351208,
0.03688447177410126,
-0.03688447177410126,
0.028548037633299828,
0.06383327394723892,
0.041137754917144775,
-0.012436600401997566,
0.05869530886411667,
0.007732469122856855,
0.03092987649142742,
-0.05046095326542854,
0.010046254843473434,
0.0018395449733361602,
0.039402417838573456,
-0.008183317258954048,
-0.002315912861377001,
-0.01922484114766121,
-0.04331543669104576
] |
18,148 | jsondiff | _list_diff | null | def _list_diff(self, X, Y):
# LCS
m = len(X)
n = len(Y)
# An (m+1) times (n+1) matrix
C = [[0 for j in range(n+1)] for i in range(m+1)]
for i in range(1, m+1):
for j in range(1, n+1):
_, s = self._obj_diff(X[i-1], Y[j-1])
# Following lines are part of the original LCS algorithm
# left in the code in case modification turns out to be problematic
#if X[i-1] == Y[j-1]:
# C[i][j] = C[i-1][j-1] + 1
#else:
C[i][j] = max(C[i][j-1], C[i-1][j], C[i-1][j-1] + s)
inserted = []
deleted = []
changed = {}
tot_s = 0.0
for sign, value, pos, s in self._list_diff_0(C, X, Y):
if sign == 1:
inserted.append((pos, value))
elif sign == -1:
deleted.insert(0, (pos, value))
elif sign == 0 and s < 1:
changed[pos] = value
tot_s += s
tot_n = len(X) + len(inserted)
if tot_n == 0:
s = 1.0
else:
s = tot_s / tot_n
return self.options.syntax.emit_list_diff(X, Y, s, inserted, changed, deleted), s
| (self, X, Y) | [
0.013487260788679123,
-0.046962566673755646,
-0.011357693001627922,
0.05559292063117027,
-0.012422476895153522,
-0.05208100378513336,
-0.037323471158742905,
0.026694316416978836,
0.043375927954912186,
-0.013972952030599117,
-0.04815811291337013,
-0.05002615600824356,
0.0021143897902220488,
-0.0487932488322258,
-0.014467982575297356,
-0.013216394931077957,
-0.05260405316948891,
-0.04061122611165047,
-0.014355900697410107,
-0.05066129192709923,
0.01563550904393196,
-0.029683182016015053,
0.024564748629927635,
0.07158336043357849,
-0.01922214962542057,
-0.016905777156352997,
0.008252074010670185,
-0.025106480345129967,
-0.029066728428006172,
0.0036683669313788414,
-0.03095345012843609,
0.024639470502734184,
-0.04064858704805374,
-0.07778525352478027,
-0.04457147419452667,
-0.02590973861515522,
0.03369947150349617,
0.005450011696666479,
0.0018295133486390114,
-0.07035045325756073,
-0.036071885377168655,
-0.062056344002485275,
0.0396772064268589,
0.026227304711937904,
0.03767840191721916,
0.0032527276780456305,
-0.059030115604400635,
0.04995143413543701,
-0.016588211059570312,
-0.02936561591923237,
0.02404169552028179,
-0.07516999542713165,
-0.006626877933740616,
0.021519839763641357,
0.03164462745189667,
0.014991034753620625,
0.03665097802877426,
0.05686318874359131,
0.039826650172472,
0.0036053203511983156,
-0.0017174307722598314,
0.014113054610788822,
-0.0014547375030815601,
0.02798326499760151,
-0.03384891524910927,
-0.04812075197696686,
0.0013660055119544268,
-0.00028400070732459426,
0.048681166023015976,
0.03257864713668823,
-0.02493835613131523,
0.0027950573712587357,
0.06691325455904007,
-0.00928883720189333,
0.026171263307332993,
-0.030000749975442886,
0.0046514240093529224,
0.05465890094637871,
0.016410745680332184,
-0.022304417565464973,
-0.0489426925778389,
-0.013300457037985325,
0.06433535367250443,
0.03209295496344566,
0.04591646417975426,
-0.011497796513140202,
0.0423298254609108,
0.054957784712314606,
0.021687963977456093,
0.0176343135535717,
-0.056115973740816116,
0.023313160985708237,
-0.024172458797693253,
-0.03554883226752281,
-0.03190615028142929,
0.040013451129198074,
-0.060823436826467514,
-0.013982292264699936,
0.0665770024061203,
0.019670478999614716,
0.08443548530340195,
0.048419639468193054,
-0.06489577144384384,
0.03810805082321167,
0.016513489186763763,
-0.001471082796342671,
-0.010451693087816238,
-0.009947322309017181,
-0.031046852469444275,
-0.025947099551558495,
-0.018362849950790405,
0.057722486555576324,
0.039378318935632706,
-0.03142046183347702,
-0.017410147935152054,
-0.022771427407860756,
-0.017550252377986908,
-0.025947099551558495,
-0.014561384916305542,
-0.049092136323451996,
-0.010722558945417404,
-0.05028768256306648,
-0.04150788486003876,
-0.00199296697974205,
-0.03900470957159996,
-0.015822313725948334,
0.05159531161189079,
0.00009442366717848927,
0.017877159640192986,
0.007537547964602709,
0.023369200527668,
-0.020567139610648155,
-0.005421990994364023,
0.06138385087251663,
0.029720542952418327,
-0.06299036741256714,
-0.035100504755973816,
-0.02316371724009514,
0.0299073476344347,
0.004551016725599766,
0.021314356476068497,
0.0015738251386210322,
0.050474487245082855,
0.09527012705802917,
-0.032485246658325195,
0.018241427838802338,
0.018129345029592514,
0.05148322880268097,
0.0021155572030693293,
0.047859229147434235,
-0.05465890094637871,
0.010638497769832611,
0.04135844111442566,
-0.10490921884775162,
0.014010312967002392,
0.03343794494867325,
-0.04651423916220665,
-0.027945904061198235,
0.020230891183018684,
-0.002953840885311365,
-0.028506316244602203,
-0.009498992003500462,
-0.04061122611165047,
0.025106480345129967,
0.029739223420619965,
-0.007276022341102362,
-0.0044412692077457905,
-0.013898230157792568,
-0.09474707394838333,
-0.010106105357408524,
0.011226930655539036,
-0.016831055283546448,
-0.0159437358379364,
-0.01557946763932705,
0.02790854312479496,
-0.011245611123740673,
-0.012413136661052704,
0.03362474963068962,
0.006304640788584948,
-0.00035084158298559487,
0.011497796513140202,
-0.01013412605971098,
0.04367481544613838,
-0.014757528901100159,
-0.025816336274147034,
0.027273409068584442,
0.02645147033035755,
-0.016905777156352997,
0.0004713886301033199,
0.009008631110191345,
-0.09026377648115158,
-0.04445939138531685,
-0.003960248548537493,
-0.0019357581622898579,
-0.0062159085646271706,
0.053575433790683746,
-0.06007622182369232,
0.039042070508003235,
0.023817531764507294,
-0.011656580492854118,
-0.04046178236603737,
0.007873795926570892,
0.028823882341384888,
-0.02075394243001938,
0.023051634430885315,
0.004644418600946665,
-0.023107675835490227,
0.01770903542637825,
-0.02542404644191265,
-0.01326309610158205,
0.031121574342250824,
-0.0184469111263752,
-0.015345962718129158,
-0.043712176382541656,
0.0420309379696846,
-0.011591198854148388,
0.014822910539805889,
-0.0067156096920371056,
-0.035941120237112045,
-0.10147202759981155,
0.07927969098091125,
-0.02590973861515522,
-0.10894419252872467,
-0.04677576199173927,
-0.025405365973711014,
-0.0019789566285908222,
0.03192483261227608,
0.01684039644896984,
-0.029757903888821602,
-0.026171263307332993,
-0.003925222437828779,
-0.04053650423884392,
0.021538520231842995,
-0.009195434860885143,
0.01136703323572874,
-0.016438767313957214,
-0.011974147520959377,
0.013048270717263222,
-0.0032060265075415373,
-0.00811197143048048,
-0.08607935905456543,
-0.022005531936883926,
0.06530673801898956,
0.04513188824057579,
0.011693940497934818,
-0.017466189339756966,
0.04722409322857857,
-0.0021167246159166098,
-0.020623181015253067,
0.07640290260314941,
-0.050474487245082855,
-0.03859374299645424,
-0.026993202045559883,
-0.03885526582598686,
0.021034149453043938,
-0.06799671798944473,
-0.03760368004441261,
0.027796460315585136,
0.018176045268774033,
-0.043039679527282715,
0.02245386131107807,
-0.02895464561879635,
-0.03788388520479202,
-0.02542404644191265,
-0.009919301606714725,
0.03425988554954529,
0.021744005382061005,
0.0509975366294384,
-0.01696181856095791,
0.08615408092737198,
0.05787193030118942,
-0.07576777040958405,
-0.05252933129668236,
-0.0002333592710783705,
-0.0019439308671280742,
0.040424421429634094,
0.042217742651700974,
-0.02770305797457695,
0.019558396190404892,
-0.02445266582071781,
-0.0007116071064956486,
-0.0489426925778389,
-0.0311589352786541,
0.023817531764507294,
-0.024303222075104713,
0.014113054610788822,
-0.02665695548057556,
-0.09392513334751129,
-0.01401965320110321,
-0.018288128077983856,
0.040013451129198074,
-0.007738362532109022,
0.0184469111263752,
0.01760629191994667,
0.02901068702340126,
0.027516253292560577,
0.024172458797693253,
0.0048195477575063705,
0.010759919881820679,
0.04946574196219444,
-0.059104837477207184,
-0.006430733483284712,
0.04939102381467819,
-0.04561757668852806,
0.025853697210550308,
-0.040013451129198074,
-0.001376513158902526,
-0.04169468954205513,
0.014878951944410801,
-0.03446536883711815,
-0.006809012033045292,
0.09444818645715714,
0.01512179709970951,
-0.024900995194911957,
-0.006127176806330681,
0.05331391096115112,
-0.025816336274147034,
0.01904468424618244,
0.05208100378513336,
0.07516999542713165,
0.04531869292259216,
-0.024340583011507988,
-0.04995143413543701,
0.08622880280017853,
0.009788538329303265,
-0.03446536883711815,
0.05394904315471649,
0.01642942614853382,
0.06257939338684082,
0.018288128077983856,
-0.001562149845995009,
-0.042143020778894424,
-0.0182974673807621,
0.012777404859662056,
0.06586714833974838,
-0.027478892356157303,
0.04733617603778839,
-0.03147650137543678,
-0.011320332996547222,
-0.023331841453909874,
0.02734813094139099,
-0.018138684332370758,
-0.04191885516047478,
-0.006991146132349968,
0.0598146952688694,
-0.010872002691030502,
0.027945904061198235,
0.02521856315433979,
-0.028543677181005478,
0.0623178705573082,
-0.029720542952418327,
0.04016289487481117,
0.01894194260239601,
0.03812672942876816,
0.00582362012937665,
0.03803332895040512,
-0.028132706880569458,
-0.07647762447595596,
-0.006024434231221676,
-0.0243966244161129,
-0.041582606732845306,
0.00499701127409935,
0.049241580069065094,
0.012469178065657616,
-0.031327057629823685,
0.010984085500240326,
-0.023126356303691864,
-0.07195696234703064,
-0.02734813094139099,
-0.015794292092323303,
-0.03990137204527855,
0.006566166412085295,
0.025722933933138847,
0.006734290160238743,
-0.013188374228775501,
0.02232309803366661,
-0.03934095799922943,
0.03093476966023445,
-0.019950686022639275,
-0.007915826514363289,
0.015056416392326355,
0.02562953159213066,
-0.001367173041217029,
0.023369200527668,
-0.0039018720854073763,
0.02411641739308834,
-0.0005785091780126095,
-0.007771053351461887,
0.03715534880757332,
0.0007676483946852386,
-0.015700889751315117,
-0.012777404859662056,
0.01236643549054861,
-0.020791303366422653,
-0.05252933129668236,
-0.03412912040948868,
-0.0018540313467383385,
0.034633491188287735,
-0.010022043250501156,
0.002456474816426635,
0.00226500048302114,
0.006402712780982256,
-0.023406561464071274,
0.021351715549826622,
-0.08637824654579163,
-0.02129567600786686,
0.019278191030025482,
0.012282374314963818,
-0.04087275266647339,
0.055518198758363724,
-0.045654937624931335,
0.06093551963567734,
0.05092281475663185,
-0.0418814942240715,
0.02335052192211151,
-0.008756445720791817,
-0.05962789058685303,
0.03059852309525013,
0.030486440286040306,
0.021333035081624985,
0.03457745164632797,
-0.03209295496344566,
0.08152133971452713,
-0.030224913731217384,
-0.033867593854665756,
-0.01691511832177639,
-0.04625271260738373,
0.029552418738603592,
-0.07248001545667648,
-0.013235075399279594,
-0.0021132221445441246,
0.0020361654460430145,
0.015598148107528687,
-0.050474487245082855,
-0.03990137204527855,
-0.041732050478458405,
0.04927894100546837,
-0.009246806614100933,
0.05686318874359131,
0.045804381370544434,
0.02026825211942196,
0.03949040174484253,
0.0596652515232563,
0.04367481544613838,
-0.018997984007000923,
0.005417320877313614,
-0.047709785401821136,
-0.06299036741256714,
-0.03975192829966545,
0.021594561636447906,
0.04550549387931824,
0.06601659208536148,
0.016550850123167038,
-0.020791303366422653,
-0.03156990557909012,
-0.01684039644896984,
-0.024079056456685066,
-0.03795860707759857,
-0.05693791061639786,
0.011217590421438217,
0.04707464948296547,
0.04707464948296547,
0.02095942758023739,
0.025965780019760132,
-0.04920421913266182,
-0.07442278414964676,
0.001960276160389185,
-0.002421448938548565,
-0.016139879822731018,
0.01863371580839157,
0.01189008541405201,
-0.05010087788105011,
-0.0802510678768158,
0.0046841143630445,
-0.029197491705417633,
0.020511098206043243,
-0.02163192257285118,
-0.00453000096604228,
0.00356562458910048,
-0.01226369384676218,
-0.07285362482070923,
-0.010741239413619041,
0.008177352137863636,
-0.03592244163155556,
-0.005347269121557474,
-0.033867593854665756,
-0.006342001724988222,
-0.04229246452450752,
-0.005006351508200169,
-0.04049914330244064,
-0.05899275466799736,
-0.0072293211705982685,
-0.01765299402177334,
-0.011096167378127575,
-0.04718673229217529,
-0.037584997713565826,
0.003243387443944812,
-0.04561757668852806,
0.032074276357889175,
0.005081073381006718,
0.010395651683211327,
-0.006024434231221676,
0.011563178151845932,
-0.006589516997337341,
0.029813945293426514,
0.01182470377534628,
0.026712996885180473,
0.010535755194723606,
-0.04049914330244064,
-0.03489501774311066,
-0.035100504755973816,
-0.06896810233592987,
0.0795038565993309,
0.02998206950724125,
-0.026712996885180473,
-0.020772622898221016,
-0.03694986552000046,
0.06463424116373062,
0.05436001345515251,
0.007313383277505636,
-0.007392774801701307,
-0.0401255339384079,
-0.001772304531186819,
-0.019857283681631088,
0.026619594544172287,
0.058880675584077835,
0.011320332996547222,
-0.0689307376742363,
-0.010554435662925243,
-0.03657625615596771,
-0.048270195722579956,
-0.011208250187337399,
0.037715762853622437,
0.00025875295978039503,
-0.036707017570734024,
0.08204439282417297,
0.013533961959183216,
-0.03431592509150505,
-0.008023238740861416,
0.01644810661673546,
0.03302697837352753,
-0.006416723132133484,
0.04020025581121445,
0.04274079203605652,
-0.04360009357333183,
0.042404547333717346,
-0.041657328605651855,
0.019240830093622208,
-0.049241580069065094,
0.0512964241206646,
-0.0014033663319423795,
0.003509583417326212,
-0.009008631110191345,
-0.03736083209514618,
-0.0014232142129912972,
0.026432789862155914,
-0.02219233475625515,
0.0006964292842894793,
0.03808936849236488,
0.027478892356157303,
-0.01650414802134037,
-0.025816336274147034,
0.0221176128834486,
-0.0299073476344347,
0.008284765295684338,
0.048419639468193054,
0.06941642612218857,
-0.01614922098815441,
-0.029869986698031425,
0.05824553966522217,
0.05387432128190994,
0.024490026757121086,
0.017933201044797897,
-0.03941567987203598,
-0.0008429537992924452,
-0.0010846316581591964,
0.02488231472671032,
-0.03653889521956444,
-0.0020034746266901493,
-0.03650153428316116,
-0.008644362911581993,
0.003876186441630125,
0.05196892097592354,
-0.02852499671280384,
0.049166858196258545,
0.02521856315433979,
-0.08256744593381882,
0.012002168223261833,
0.05563028156757355,
0.03723007068037987,
-0.056414857506752014,
0.000091723763034679,
-0.02219233475625515,
-0.045393411070108414,
-0.0063326614908874035,
0.04412314295768738,
-0.026825077831745148,
0.024975717067718506,
-0.0010641999542713165,
-0.0027600314933806658,
0.0026712995022535324,
-0.006393372546881437,
-0.013982292264699936,
-0.0014080364489927888,
0.014458642341196537,
-0.02998206950724125,
0.011096167378127575,
-0.09668983519077301,
0.011217590421438217,
0.015364643186330795,
0.04591646417975426,
0.009008631110191345,
0.024004336446523666,
-0.05223044380545616,
-0.0037757791578769684,
-0.017643652856349945,
0.038406938314437866,
0.03657625615596771,
0.04460883513092995,
0.028020625934004784,
0.035380709916353226,
0.023686768487095833,
0.020585820078849792,
-0.010629157535731792,
-0.014309199526906013,
0.037043265998363495,
0.007149929646402597,
0.05301502346992493,
0.032485246658325195,
0.022285737097263336,
-0.00199880450963974,
0.01133901346474886,
0.04128372296690941,
0.033101700246334076,
0.010180827230215073,
-0.016541508957743645,
0.03257864713668823,
-0.011236270889639854,
0.011927446350455284,
0.055032506585121155,
0.015869013965129852,
-0.015822313725948334,
0.02075394243001938,
0.03498842194676399,
-0.09011433273553848,
-0.013636704534292221,
0.028917284682393074,
0.00157265760935843,
0.04763506352901459,
0.035866402089595795,
0.019352911040186882,
0.019950686022639275,
-0.033456627279520035,
-0.04087275266647339,
-0.04326384514570236,
0.0021856087259948254,
-0.04449675232172012,
0.022491222247481346,
0.031738027930259705,
-0.05817081779241562,
0.043375927954912186,
0.016672272235155106,
-0.03220503777265549,
-0.02445266582071781,
0.04520661011338234,
-0.016289323568344116,
0.07203168421983719,
0.05081073194742203,
0.028767842799425125,
0.01819472573697567,
0.0044576143845915794,
-0.06284092366695404,
-0.010152806527912617,
0.04931630194187164,
-0.0299073476344347,
-0.07457222044467926,
0.005772248841822147,
0.022211015224456787,
0.0188859011977911,
0.015981096774339676,
0.020641861483454704,
0.028506316244602203,
-0.030617203563451767,
-0.021258315071463585,
-0.002650284208357334,
0.08241800218820572,
0.013272436335682869,
-0.009064672514796257,
0.04890533164143562,
0.012908168137073517,
-0.04472091794013977,
0.013944931328296661,
0.012525219470262527,
-0.027236048132181168,
-0.0074114552699029446,
0.01963311806321144,
-0.026302026584744453,
0.02647015079855919,
0.03528730571269989,
0.0001236847892869264,
0.014916312880814075,
0.013141673058271408,
-0.03666965663433075,
0.06754838675260544,
0.00582362012937665,
-0.030131513252854347,
-0.027759099379181862,
-0.04262871295213699,
0.019278191030025482,
0.0020233227405697107,
0.0013601678656414151,
0.03039303794503212,
0.0033858255483210087,
-0.008083950728178024,
-0.015056416392326355,
0.007897146046161652,
0.008555631153285503,
-0.02301427349448204,
0.043525371700525284,
-0.003934562671929598,
-0.006015093997120857,
0.031102893874049187,
0.031588584184646606,
0.01326309610158205,
-0.0008721419726498425,
0.04367481544613838,
0.10834641754627228,
-0.027105284854769707,
-0.07266682386398315,
-0.0533512718975544,
-0.0018038277048617601,
0.07091086357831955,
0.040424421429634094,
0.03844429925084114,
0.03874318301677704,
0.011226930655539036,
-0.033587388694286346,
-0.036707017570734024,
-0.002344392240047455,
0.03650153428316116,
0.004936300218105316,
-0.010395651683211327,
-0.008901218883693218,
0.06579242646694183,
-0.015345962718129158,
0.03874318301677704,
-0.007850444875657558,
0.044347308576107025,
-0.019539715722203255,
-0.06224314868450165,
0.01883920095860958,
-0.03334454447031021,
-0.007238661404699087,
-0.010694538243114948,
0.004121366888284683,
0.0070331767201423645,
0.025461407378315926,
-0.06594187021255493,
-0.02183740772306919,
-0.030841367319226265,
0.041096918284893036,
0.010031383484601974,
0.01691511832177639,
0.05252933129668236,
-0.037323471158742905,
0.0621684268116951,
-0.02308899536728859,
0.08712546527385712
] |
18,149 | jsondiff | _list_diff_0 | null | def _list_diff_0(self, C, X, Y):
i, j = len(X), len(Y)
r = []
while True:
if i > 0 and j > 0:
d, s = self._obj_diff(X[i-1], Y[j-1])
if s > 0 and C[i][j] == C[i-1][j-1] + s:
r.append((0, d, j-1, s))
i, j = i - 1, j - 1
continue
if j > 0 and (i == 0 or C[i][j-1] >= C[i-1][j]):
r.append((1, Y[j-1], j-1, 0.0))
j = j - 1
continue
if i > 0 and (j == 0 or C[i][j-1] < C[i-1][j]):
r.append((-1, X[i-1], i-1, 0.0))
i = i - 1
continue
return reversed(r)
| (self, C, X, Y) | [
0.004322001710534096,
-0.01824074424803257,
-0.052502263337373734,
0.029470086097717285,
-0.0034548265393823385,
-0.06282512098550797,
0.0008469412568956614,
0.06371310353279114,
0.0717419907450676,
-0.010036109015345573,
-0.03635198995471001,
-0.014041302725672722,
0.030376574024558067,
-0.06578508019447327,
-0.016002275049686432,
0.01922122947871685,
-0.07418395578861237,
-0.049172308295965195,
-0.019054733216762543,
-0.013236564584076405,
0.021940691396594048,
-0.06486009061336517,
-0.024253159761428833,
0.06589607894420624,
-0.05786718800663948,
-0.007927138358354568,
-0.01676076464354992,
0.00436362624168396,
-0.022699180990457535,
-0.026436129584908485,
-0.0057626692578196526,
0.00985111203044653,
-0.055647220462560654,
-0.06404609978199005,
-0.032004550099372864,
0.014337298460304737,
0.03352152928709984,
-0.0030917690601199865,
0.015576781705021858,
-0.024974649772047997,
0.021644696593284607,
-0.04180941358208656,
-0.01754700392484665,
0.007719016633927822,
0.042697399854660034,
0.00752939423546195,
-0.02088620699942112,
0.00367682334035635,
-0.0065119084902107716,
-0.051133282482624054,
0.013384561985731125,
-0.034853510558605194,
0.01241332571953535,
0.04384438320994377,
0.023457670584321022,
0.0019690662156790495,
0.026251131668686867,
0.05076328665018082,
-0.0060355402529239655,
0.021755695343017578,
-0.03157905861735344,
0.005656295455992222,
0.030857566744089127,
0.04206841066479683,
-0.024086661636829376,
-0.040366433560848236,
0.017889248207211494,
-0.030931565910577774,
0.023309672251343727,
0.01367130782455206,
-0.029470086097717285,
0.031227562576532364,
0.040366433560848236,
-0.027102120220661163,
0.032985035330057144,
-0.043992381542921066,
0.053390249609947205,
0.07969687879085541,
0.002409591106697917,
-0.01580802910029888,
-0.04136541858315468,
-0.016649765893816948,
0.03196755051612854,
0.03385452553629875,
0.06556308269500732,
-0.012727821245789528,
0.04166141524910927,
0.054574232548475266,
-0.0372769758105278,
0.056054212152957916,
-0.03568599745631218,
0.00615578843280673,
-0.030358074232935905,
-0.03180105239152908,
-0.005656295455992222,
0.04081042855978012,
-0.08532080054283142,
0.008250883780419827,
0.050652287900447845,
0.025474142283201218,
0.07629293203353882,
0.031061064451932907,
-0.11699236184358597,
0.041402418166399,
-0.01171033550053835,
-0.03709197789430618,
0.004724371246993542,
-0.0157987792044878,
-0.015465782955288887,
-0.018601488322019577,
-0.006072539836168289,
0.07229698449373245,
0.07225998491048813,
-0.033188533037900925,
-0.035833995789289474,
-0.021885192021727562,
0.019258229061961174,
-0.005249301437288523,
-0.0011521870037540793,
-0.03638898953795433,
-0.020257215946912766,
-0.0653780847787857,
-0.03539000451564789,
0.02275468036532402,
-0.053501248359680176,
0.026362130418419838,
0.02697262167930603,
0.011904583312571049,
-0.02904459275305271,
0.028508100658655167,
0.05679420381784439,
-0.0323745459318161,
0.001992190722376108,
0.04051443189382553,
-0.0030131451785564423,
-0.023809166625142097,
0.018610738217830658,
-0.014281800016760826,
0.04769233241677284,
-0.007201023865491152,
0.03807246685028076,
-0.05076328665018082,
0.021885192021727562,
0.10811248421669006,
-0.014291049912571907,
0.025825638324022293,
0.0038433209992945194,
0.0782909020781517,
0.0000636289914837107,
0.06434209644794464,
-0.07296297699213028,
0.035944994539022446,
0.031912051141262054,
-0.07551594078540802,
0.03884945437312126,
-0.031116563826799393,
-0.05287225916981697,
-0.02293967828154564,
0.029840081930160522,
0.03579699620604515,
-0.017334256321191788,
-0.011460589244961739,
-0.007885514758527279,
0.04306739568710327,
0.05520322546362877,
0.0012221391079947352,
-0.014781292527914047,
-0.005781169049441814,
-0.09864061325788498,
0.009777112863957882,
0.032615043222904205,
-0.015438033267855644,
0.000051560800784500316,
-0.038294464349746704,
0.019258229061961174,
-0.06852304190397263,
0.0010417666053399444,
0.023365171626210213,
0.02665812522172928,
0.003859508316963911,
0.024789651855826378,
0.004759058356285095,
0.03600049391388893,
0.010045358911156654,
-0.010424603708088398,
0.014531546272337437,
0.018212994560599327,
-0.00384794594720006,
0.00556842191144824,
-0.0052770511247217655,
-0.07570093870162964,
-0.015576781705021858,
0.011442089453339577,
-0.001458010752685368,
0.012570573948323727,
0.0490243136882782,
-0.05205826833844185,
0.058311183005571365,
-0.011756584979593754,
-0.028286103159189224,
-0.054167240858078,
-0.008440506644546986,
0.009282244369387627,
-0.032707542181015015,
0.024493657052516937,
0.01677926443517208,
-0.01274632103741169,
-0.020941706374287605,
-0.015604531392455101,
-0.01824074424803257,
0.01550278253853321,
0.01182133425027132,
-0.0466933436691761,
-0.08065886795520782,
-0.01402280293405056,
0.04125441983342171,
0.006576657760888338,
-0.02049771323800087,
-0.025437142699956894,
-0.07607093453407288,
0.045953355729579926,
-0.031819552183151245,
-0.07681091874837875,
-0.05668320506811142,
0.00793638825416565,
0.012885069474577904,
0.010572602041065693,
-0.020220216363668442,
-0.06064214929938316,
0.010036109015345573,
-0.013689807616174221,
-0.04414037987589836,
-0.00728427292779088,
-0.05131828039884567,
-0.006567407865077257,
0.02099720574915409,
-0.016742264851927757,
0.015003289096057415,
-0.008801251649856567,
-0.012811070308089256,
-0.05853318050503731,
-0.03352152928709984,
0.05109628289937973,
0.04380738362669945,
0.05209526792168617,
-0.028027106076478958,
0.026029134169220924,
-0.0169642623513937,
-0.014929290860891342,
0.06430509686470032,
-0.07991887629032135,
-0.017815250903367996,
-0.03511250764131546,
-0.07063201069831848,
0.03130156174302101,
-0.08384082466363907,
-0.044584374874830246,
-0.012783320620656013,
0.00727964797988534,
-0.015946775674819946,
0.012931318953633308,
-0.009471867233514786,
-0.03156055882573128,
-0.03176405280828476,
-0.006997526623308659,
0.017306506633758545,
0.0046827467158436775,
0.03391002491116524,
-0.030765067785978317,
0.10130457580089569,
0.07740291208028793,
-0.09264670312404633,
-0.031449560075998306,
0.0035866370890289545,
0.018906734883785248,
0.06811604648828506,
0.05128128081560135,
-0.01894373446702957,
-0.020923206582665443,
-0.005790418945252895,
-0.014873791486024857,
0.006715405732393265,
-0.029747582972049713,
0.03513100743293762,
-0.027416614815592766,
-0.01068359985947609,
-0.023587169125676155,
-0.06437909603118896,
-0.0009099559974856675,
-0.015484282746911049,
0.05561022087931633,
0.04354839026927948,
0.01619652286171913,
-0.002705587074160576,
0.03768397122621536,
0.018906734883785248,
0.06685806065797806,
-0.01734350621700287,
0.009814112447202206,
0.0259921345859766,
-0.045953355729579926,
-0.018675487488508224,
0.039774440228939056,
-0.028878094628453255,
0.011146093718707561,
0.008815126493573189,
-0.010868597775697708,
-0.03207854926586151,
0.015724780037999153,
-0.037202976644039154,
-0.01000835932791233,
0.06071614846587181,
0.008019637316465378,
-0.044584374874830246,
0.0038178840186446905,
0.05838518217206001,
-0.0059337918646633625,
-0.0073166475631296635,
0.061937130987644196,
0.06338010728359222,
0.037813469767570496,
-0.004763683304190636,
-0.046619344502687454,
0.09553266316652298,
-0.019461726769804955,
0.00312645616941154,
0.03169005364179611,
0.007039151154458523,
0.03137556090950966,
0.018749486654996872,
-0.004030630923807621,
-0.02166319638490677,
0.0044908118434250355,
0.031930550932884216,
0.08946474641561508,
0.018397992476820946,
0.046434350311756134,
-0.01182133425027132,
-0.012246828526258469,
-0.0415504164993763,
0.026232631877064705,
-0.04069942981004715,
-0.019757723435759544,
0.004759058356285095,
0.04547236114740372,
0.020072218030691147,
0.041624415665864944,
0.016224272549152374,
-0.02852660045027733,
0.08909475058317184,
-0.014661043882369995,
0.06352810561656952,
0.027213118970394135,
0.034872010350227356,
0.010840848088264465,
0.045546360313892365,
-0.032134048640728,
-0.06071614846587181,
0.020645709708333015,
-0.004049130715429783,
-0.011997081339359283,
0.018777236342430115,
0.03333653137087822,
-0.013569559901952744,
-0.06238112598657608,
0.01284806989133358,
-0.011358840391039848,
-0.02077520824968815,
-0.08206485211849213,
0.014587045647203922,
-0.03479801118373871,
0.019591225311160088,
0.01737125590443611,
0.00581354321911931,
-0.020331215113401413,
0.0028651473112404346,
-0.002666275016963482,
0.022976677864789963,
-0.001562071847729385,
0.008704127743840218,
-0.03218954801559448,
-0.006192788016051054,
-0.030358074232935905,
0.033077534288167953,
-0.03866445645689964,
0.005892167333513498,
-0.011164593510329723,
-0.017084510996937752,
0.05383424460887909,
0.00522617669776082,
0.014041302725672722,
-0.037517473101615906,
0.005406549200415611,
-0.015234536491334438,
0.010184107348322868,
-0.0370364785194397,
0.07584893703460693,
0.039996437728405,
0.012191329151391983,
-0.010091608390212059,
0.0065211583860218525,
-0.0004176894435659051,
-0.03712897747755051,
-0.0009521585307084024,
-0.06112314388155937,
0.0017262570327147841,
0.017981747165322304,
0.018286993727087975,
-0.02305067703127861,
0.0445103757083416,
-0.06637706607580185,
0.05886617302894592,
0.09109272062778473,
-0.03833146393299103,
0.026121633127331734,
-0.006058664992451668,
-0.09279470145702362,
0.051355279982089996,
-0.003438639221712947,
0.00025466049555689096,
0.006646031979471445,
-0.04920930787920952,
0.05982816219329834,
-0.03725847601890564,
-0.019258229061961174,
-0.00676628015935421,
0.002256968291476369,
0.03061707131564617,
-0.03753597289323807,
0.01260757353156805,
0.019850222393870354,
0.007598768454045057,
0.0075617688708007336,
-0.08428481966257095,
-0.04177241399884224,
0.017630252987146378,
0.051059283316135406,
0.001085703494027257,
0.03807246685028076,
0.06937402486801147,
0.008662503212690353,
0.030376574024558067,
0.06219612807035446,
0.0354825034737587,
-0.003239766927435994,
0.02776811085641384,
-0.03411352261900902,
-0.07718091458082199,
-0.024586154147982597,
0.01294981874525547,
0.039996437728405,
0.016455519944429398,
0.017047511413693428,
-0.02168169617652893,
-0.04950530454516411,
-0.0036999480798840523,
-0.048284322023391724,
-0.017482254654169083,
-0.05342724919319153,
0.0008613941608928144,
0.06726505607366562,
0.052428264170885086,
0.01588202640414238,
-0.047729332000017166,
-0.058681175112724304,
-0.049579303711652756,
0.010896347463130951,
-0.029359087347984314,
-0.027620112523436546,
0.024771152064204216,
0.020442213863134384,
-0.039996437728405,
-0.0709650069475174,
-0.01981322281062603,
-0.03762847185134888,
0.018962234258651733,
-0.015234536491334438,
-0.01833324320614338,
-0.0021089704241603613,
-0.008153760805726051,
-0.05331625044345856,
-0.01734350621700287,
0.000521750480402261,
-0.026251131668686867,
-0.031542059034109116,
-0.034465014934539795,
-0.0234206710010767,
-0.03735097497701645,
-0.05061528831720352,
-0.04587935656309128,
-0.04502836987376213,
0.004740558564662933,
-0.02834160253405571,
-0.03385452553629875,
-0.026066133752465248,
-0.04547236114740372,
0.05705320090055466,
-0.01515128742903471,
0.017112260684370995,
-0.0045601860620081425,
0.011793584562838078,
-0.004322001710534096,
0.03394702449440956,
-0.019646724686026573,
-0.006710780784487724,
-0.0024650904815644026,
0.017713502049446106,
-0.0488763153553009,
-0.02863759733736515,
-0.02617713250219822,
-0.0030154576525092125,
-0.05176227539777756,
0.05265026167035103,
0.043400391936302185,
-0.04569435864686966,
-0.01628902181982994,
-0.028397101908922195,
0.00556842191144824,
0.012274578213691711,
0.0016557268099859357,
0.00769589189440012,
-0.023272672668099403,
0.01471654325723648,
0.009189746342599392,
0.01421705074608326,
0.0366479866206646,
-0.0158727765083313,
-0.07285197824239731,
-0.019554225727915764,
-0.055277224630117416,
-0.04906131327152252,
-0.017528504133224487,
0.019295228645205498,
0.0053094252943992615,
-0.048691317439079285,
0.056424207985401154,
0.017889248207211494,
-0.026232631877064705,
-0.03217104822397232,
0.019868720322847366,
0.03892345353960991,
0.04502836987376213,
0.04687834158539772,
0.012829570099711418,
-0.007820765487849712,
0.018804986029863358,
-0.05327925086021423,
0.03551950305700302,
-0.04891331493854523,
0.017297256737947464,
0.007210273761302233,
0.00608178973197937,
0.014198550954461098,
-0.034946009516716,
-0.01045235339552164,
0.03411352261900902,
-0.01697351224720478,
0.0005882339319214225,
0.023217175155878067,
0.019591225311160088,
0.022532684728503227,
-0.027620112523436546,
-0.0011955457739531994,
-0.033096034079790115,
-0.016844013705849648,
0.028212103992700577,
0.05468523129820824,
-0.007705141790211201,
-0.034872010350227356,
0.04147641733288765,
0.025233646854758263,
-0.0004541108210105449,
-0.008875250816345215,
-0.034465014934539795,
0.01550278253853321,
-0.04543536156415939,
0.009619864635169506,
-0.059273168444633484,
-0.011340340599417686,
-0.03833146393299103,
0.009499616920948029,
-0.032004550099372864,
0.0028327726759016514,
-0.05598021298646927,
0.04521336406469345,
0.013153315521776676,
-0.02314317598938942,
0.018462741747498512,
0.04118042066693306,
-0.02551114186644554,
-0.03274454176425934,
0.0008238165755756199,
-0.036222491413354874,
-0.03785046935081482,
0.008371132425963879,
0.006465659476816654,
-0.02247718535363674,
0.027120620012283325,
-0.03609299287199974,
-0.002620025770738721,
0.056942202150821686,
0.01122934278100729,
-0.012006331235170364,
0.001057953923009336,
-0.0017678814474493265,
-0.00896774884313345,
-0.002163313329219818,
-0.10700249671936035,
0.004907056223601103,
0.0015377908712252975,
0.013403061777353287,
0.011016595177352428,
0.018009496852755547,
-0.005522172432392836,
0.010526352562010288,
-0.023069176822900772,
0.005434298887848854,
0.05886617302894592,
0.009185121394693851,
0.08014087378978729,
0.031431060284376144,
-0.013643558137118816,
0.04562035948038101,
0.025825638324022293,
-0.005656295455992222,
0.037313975393772125,
0.03137556090950966,
0.05305725708603859,
0.04891331493854523,
0.05324225127696991,
0.05686820298433304,
0.055573221296072006,
0.008338757790625095,
0.04414037987589836,
-0.004687371663749218,
-0.004870056640356779,
0.02804560586810112,
-0.012700071558356285,
0.055166225880384445,
0.03925644978880882,
-0.0011296403827145696,
0.013319812715053558,
0.02138569951057434,
0.009545866400003433,
-0.05461123213171959,
-0.022717680782079697,
0.03616699203848839,
-0.019147232174873352,
0.03146805986762047,
0.008963123895227909,
0.011654836125671864,
0.021644696593284607,
-0.01294056884944439,
-0.023013677448034286,
-0.05205826833844185,
0.009869611822068691,
-0.051244281232357025,
0.022976677864789963,
0.0024419657420367002,
-0.04240140691399574,
0.04414037987589836,
0.015752529725432396,
0.011886083520948887,
-0.015623031184077263,
0.009962109848856926,
0.014096802100539207,
0.08339682966470718,
0.027120620012283325,
-0.006225162651389837,
0.01618727296590805,
-0.009989859536290169,
-0.028415601700544357,
0.00677090510725975,
0.06515608727931976,
-0.0421794094145298,
-0.058311183005571365,
0.021626196801662445,
0.03128306195139885,
0.005707169882953167,
0.013662057928740978,
0.012246828526258469,
0.007214898709207773,
-0.047211337834596634,
-0.03498300909996033,
0.035075508058071136,
0.05228026583790779,
0.030136076733469963,
-0.012459575198590755,
0.053982242941856384,
0.025955135002732277,
-0.025233646854758263,
0.007806890644133091,
0.030913066118955612,
-0.038294464349746704,
-0.0354825034737587,
0.018675487488508224,
-0.046138353645801544,
0.0647490918636322,
0.057127200067043304,
0.021034205332398415,
0.014994039200246334,
0.013301312923431396,
-0.04491737112402916,
0.07311097532510757,
0.004056068137288094,
-0.05808918550610542,
0.00175285036675632,
-0.025844138115644455,
0.07769890874624252,
-0.013190315105021,
-0.009573616087436676,
0.040440432727336884,
-0.04502836987376213,
-0.032023049890995026,
-0.006539658177644014,
-0.0076265181414783,
0.008533005602657795,
-0.019165731966495514,
0.036832984536886215,
-0.0030640196055173874,
-0.021848194301128387,
0.03069106861948967,
0.022625181823968887,
0.02608463354408741,
0.00917587149888277,
0.01990571990609169,
0.06889303028583527,
-0.048284322023391724,
-0.09938060492277145,
-0.048987314105033875,
-0.006960527505725622,
0.029285088181495667,
0.04391838237643242,
0.022976677864789963,
0.033595528453588486,
-0.006761655211448669,
-0.026362130418419838,
-0.031819552183151245,
0.0010007203090935946,
0.03796146810054779,
-0.017695002257823944,
-0.015576781705021858,
0.004093067720532417,
0.05775618925690651,
0.003896507900208235,
0.00642403494566679,
-0.0032143299467861652,
0.043400391936302185,
-0.02961808443069458,
-0.07969687879085541,
-0.007261148188263178,
-0.007140900008380413,
-0.008348007686436176,
-0.02088620699942112,
-0.014744292944669724,
-0.005804293788969517,
-0.04621235281229019,
-0.027694111689925194,
-0.02177419513463974,
-0.03320703282952309,
0.029932580888271332,
0.011247842572629452,
-0.024752652272582054,
0.028008606284856796,
-0.03000657819211483,
0.08132486045360565,
0.013125565834343433,
0.09523666650056839
] |
18,150 | jsondiff | _obj_diff | null | def _obj_diff(self, a, b):
if a is b:
return self.options.syntax.emit_value_diff(a, b, 1.0), 1.0
if isinstance(a, dict) and isinstance(b, dict):
return self._dict_diff(a, b)
elif isinstance(a, tuple) and isinstance(b, tuple):
return self._list_diff(a, b)
elif isinstance(a, list) and isinstance(b, list):
return self._list_diff(a, b)
elif isinstance(a, set) and isinstance(b, set):
return self._set_diff(a, b)
elif a != b:
return self.options.syntax.emit_value_diff(a, b, 0.0), 0.0
else:
return self.options.syntax.emit_value_diff(a, b, 1.0), 1.0
| (self, a, b) | [
0.016698693856596947,
-0.06711658835411072,
0.056389376521110535,
0.0073034437373280525,
-0.05885663628578186,
-0.05324272811412811,
-0.02962498366832733,
0.00656147813424468,
-0.02932104654610157,
0.0016370172379538417,
0.0050954255275428295,
-0.015876274555921555,
0.008107984438538551,
-0.046377312391996384,
-0.05882088094949722,
-0.005560271441936493,
-0.06025117635726929,
-0.002641575876623392,
0.028427112847566605,
0.004259597044438124,
0.0048361849039793015,
0.03679433837532997,
-0.0008190673543140292,
0.06901173293590546,
-0.013435833156108856,
-0.045090049505233765,
0.03153800219297409,
-0.030822856351733208,
0.014803553000092506,
0.06951233744621277,
-0.03293254226446152,
-0.04387429729104042,
0.009538279846310616,
-0.02077503316104412,
-0.01626066491007805,
-0.08631829917430878,
0.01909443736076355,
0.06715235114097595,
-0.03266436234116554,
-0.03101952187716961,
-0.01392749696969986,
-0.01697581261396408,
-0.002263888716697693,
0.025477128103375435,
-0.016922177746891975,
-0.04280157759785652,
-0.03016134537756443,
-0.005935723893344402,
-0.07133596390485764,
-0.02247350849211216,
0.05324272811412811,
-0.045840952545404434,
0.015634911134839058,
0.07709290087223053,
-0.03491707518696785,
-0.004728912841528654,
0.00699056638404727,
0.04702094569802284,
-0.06840385496616364,
0.060072388499975204,
-0.04037007316946983,
0.03840341791510582,
-0.0005503283464349806,
-0.06139541044831276,
-0.02140078879892826,
-0.05653240904211998,
-0.03768827021121979,
0.019988371059298515,
-0.020417461171746254,
0.05799845978617668,
-0.054494235664606094,
0.026192275807261467,
0.031377095729112625,
0.025602279230952263,
-0.001949894241988659,
-0.0020158218685537577,
0.01920170895755291,
0.0635766088962555,
0.02279532514512539,
-0.040763404220342636,
-0.021972905844449997,
-0.013051440939307213,
0.013158713467419147,
-0.0232959296554327,
0.019809585064649582,
0.020721398293972015,
-0.028230447322130203,
0.027139846235513687,
0.058892395347356796,
-0.01803065650165081,
-0.07694986462593079,
0.002353282179683447,
0.019559282809495926,
0.002216957276687026,
-0.028123173862695694,
0.027783479541540146,
-0.04019128903746605,
-0.026317426934838295,
0.029142258688807487,
0.01492870319634676,
0.08274256438016891,
0.007433063816279173,
-0.04601974040269852,
0.00853707268834114,
0.026299547404050827,
-0.033826474100351334,
0.02733651176095009,
-0.06525720655918121,
0.020399581640958786,
0.047843366861343384,
-0.025495007634162903,
0.02785499393939972,
-0.008546012453734875,
0.020632004365324974,
0.009091312065720558,
-0.007106778211891651,
-0.02277744747698307,
-0.02097170054912567,
0.0072363982908427715,
0.004393687471747398,
-0.00691011268645525,
0.03153800219297409,
0.03647252172231674,
0.02941044047474861,
0.016591422259807587,
0.00003533834023983218,
0.07319534569978714,
-0.025888338685035706,
-0.026496214792132378,
0.04848700016736984,
0.05992935970425606,
-0.04280157759785652,
-0.021239880472421646,
0.05756937339901924,
0.013087199069559574,
0.05824876204133034,
-0.0011531752534210682,
0.051311831921339035,
0.03395162522792816,
-0.01696687377989292,
0.03640100732445717,
-0.0025186599232256413,
0.04126400873064995,
0.006583826616406441,
-0.10455456376075745,
0.04037007316946983,
-0.04008401557803154,
0.04240824654698372,
-0.034005261957645416,
0.04880881682038307,
-0.03141285106539726,
0.0069726877845823765,
0.026818029582500458,
-0.015187944285571575,
-0.026496214792132378,
-0.01581369899213314,
-0.034237686544656754,
-0.07616320252418518,
0.007696774788200855,
0.006574886851012707,
0.02572743035852909,
0.026961060240864754,
0.09568673372268677,
-0.0053680757991969585,
0.05181243270635605,
0.02467258833348751,
0.05581726133823395,
0.0018515614792704582,
-0.04015552997589111,
0.011996598914265633,
-0.0011811107397079468,
0.007222989574074745,
-0.016484148800373077,
0.022634416818618774,
0.029660740867257118,
0.053814847022295,
-0.01217538584023714,
-0.014767794869840145,
0.0038617963436990976,
-0.007638669107109308,
-0.008644345216453075,
-0.007334731053560972,
-0.02942831814289093,
0.0289098359644413,
0.00598936015740037,
-0.03059043362736702,
-0.01270280685275793,
-0.015232641249895096,
0.01657354272902012,
0.013310682028532028,
0.0048004272393882275,
0.021150486543774605,
-0.008501315489411354,
0.017583688721060753,
-0.010905998758971691,
0.03234254568815231,
-0.01133508700877428,
-0.029088623821735382,
0.04891608655452728,
0.040548861026763916,
-0.08045408874750137,
-0.044660959392786026,
-0.021794119849801064,
-0.003186875954270363,
0.026549849659204483,
0.009976306930184364,
0.0008732621208764613,
0.018209442496299744,
-0.003133239923045039,
-0.02182987704873085,
-0.008662223815917969,
-0.01993473619222641,
-0.011111604049801826,
0.015187944285571575,
0.04312339425086975,
0.011764176189899445,
0.05095425620675087,
-0.006686628796160221,
-0.05663967877626419,
-0.006270949263125658,
0.09196796268224716,
-0.05538817122578621,
0.01012827642261982,
0.0252983421087265,
0.012139628641307354,
0.02867741324007511,
0.0033053222578018904,
0.02901710942387581,
-0.01583157666027546,
-0.016698693856596947,
-0.008644345216453075,
0.008823132142424583,
-0.014669462107121944,
-0.002287354553118348,
0.024922888725996017,
0.025691673159599304,
0.018164746463298798,
-0.03631161153316498,
0.010736151598393917,
-0.03954765573143959,
-0.05467302352190018,
0.0092790387570858,
0.033790718764066696,
0.033379510045051575,
-0.0027019164990633726,
-0.0665087178349495,
0.03193133324384689,
-0.021025335416197777,
-0.04126400873064995,
0.0006659810896962881,
-0.0026102883275598288,
-0.014204616658389568,
0.014195676892995834,
-0.0008637640858069062,
0.005546862725168467,
-0.0037232364993542433,
0.009028736501932144,
-0.027568934485316277,
0.023546230047941208,
0.01654672436416149,
0.03522101417183876,
-0.003320966148748994,
-0.053850606083869934,
0.0571402832865715,
-0.026013489812612534,
-0.023796532303094864,
0.02374289557337761,
0.029499832540750504,
-0.02889195829629898,
0.0655432641506195,
0.02395744062960148,
-0.08982252329587936,
-0.01783399097621441,
0.025888338685035706,
-0.056711193174123764,
-0.006239661481231451,
0.04884457215666771,
-0.030304374173283577,
-0.010566303506493568,
-0.035596463829278946,
-0.027676207944750786,
-0.022187450900673866,
-0.014365524984896183,
-0.014687341637909412,
-0.012568716891109943,
0.014982339926064014,
-0.011639025062322617,
-0.06178874149918556,
-0.02363562397658825,
-0.05560271441936493,
0.03629373386502266,
0.00970812700688839,
0.02245563082396984,
-0.0068296585232019424,
0.01107584685087204,
0.03944038227200508,
0.0010850128019228578,
-0.03121618740260601,
0.029768014326691628,
0.03758100047707558,
-0.06765294820070267,
-0.007696774788200855,
0.08982252329587936,
0.004697625059634447,
-0.02826620452105999,
-0.015232641249895096,
0.06879718601703644,
-0.023599866777658463,
0.055745746940374374,
0.00648549385368824,
-0.01868322864174843,
0.042336732149124146,
0.04155006632208824,
0.045948226004838943,
0.00838063471019268,
0.008617526851594448,
-0.020632004365324974,
0.03997674211859703,
-0.011478116735816002,
0.06243237480521202,
-0.02342107892036438,
-0.00551557494327426,
-0.046985190361738205,
0.046377312391996384,
0.013578862883150578,
-0.06718810647726059,
-0.03205648437142372,
0.002641575876623392,
0.06400569528341293,
0.023260172456502914,
-0.047414276748895645,
-0.045197319239377975,
0.0716935321688652,
0.020810792222619057,
0.05867784842848778,
-0.0339873842895031,
0.03997674211859703,
0.012336294166743755,
-0.02638894133269787,
0.006811779458075762,
0.03690160810947418,
-0.013748710043728352,
0.0010101457592099905,
0.008666693232953548,
0.007714653387665749,
0.01345371175557375,
0.00880972295999527,
0.02363562397658825,
0.04537610709667206,
0.033504657447338104,
-0.07730744034051895,
0.0251016765832901,
0.012908412143588066,
-0.01539354957640171,
-0.004581413697451353,
0.02951771207153797,
-0.03722342476248741,
-0.04305187612771988,
-0.01646627113223076,
0.015491882339119911,
-0.030304374173283577,
0.04770033806562424,
0.0102802449837327,
0.004561299923807383,
0.01612657494843006,
-0.025924095883965492,
-0.017637325450778008,
-0.06758143752813339,
-0.07945288717746735,
-0.051311831921339035,
-0.03368344530463219,
0.05370757356286049,
0.024404408410191536,
-0.08245650678873062,
-0.004907699301838875,
-0.01434764638543129,
-0.03016134537756443,
0.03522101417183876,
0.0025924094952642918,
0.022115936502814293,
0.016814904287457466,
0.0024136228021234274,
-0.03668706491589546,
0.0742323100566864,
-0.024958645924925804,
0.020953821018338203,
0.004199256654828787,
-0.0603584460914135,
0.032431937754154205,
0.04526883363723755,
-0.021043214946985245,
-0.037724029272794724,
0.007593972142785788,
0.026210155338048935,
-0.06593659520149231,
-0.034023139625787735,
-0.021061092615127563,
-0.024279257282614708,
-0.07151474803686142,
-0.03439859300851822,
0.048272453248500824,
0.05031062290072441,
-0.056460894644260406,
0.010727211833000183,
-0.035471316426992416,
0.013409014791250229,
0.045090049505233765,
0.08338619768619537,
-0.046377312391996384,
0.0650426596403122,
-0.05678270757198334,
-0.03958341106772423,
-0.020113522186875343,
-0.006078753620386124,
-0.01644839160144329,
-0.0026750985998660326,
-0.02426137775182724,
-0.004791487939655781,
-0.0298395287245512,
0.0052473945543169975,
0.019237466156482697,
0.009359492920339108,
0.018540197983384132,
-0.0068832943215966225,
0.03373708203434944,
-0.034845560789108276,
-0.00796495471149683,
0.005207167472690344,
0.053528789430856705,
0.01445491798222065,
0.019434131681919098,
-0.04787912219762802,
0.02320653572678566,
-0.03754524141550064,
0.049738507717847824,
-0.0411209799349308,
0.01666293665766716,
-0.024636831134557724,
0.061967529356479645,
0.07097838819026947,
0.012783261016011238,
0.012684928253293037,
0.03439859300851822,
0.017735658213496208,
-0.07802259176969528,
-0.02120412327349186,
0.04144279658794403,
-0.05621059238910675,
0.01117417961359024,
-0.006874355021864176,
0.09354128688573837,
0.030983764678239822,
0.0033813065383583307,
-0.060501474887132645,
0.034756168723106384,
-0.045411866158246994,
-0.06529296189546585,
-0.010396456345915794,
-0.03461313620209694,
0.0025499477051198483,
0.0010017651366069913,
0.0012012242805212736,
-0.029356803745031357,
0.022509267553687096,
-0.07373170554637909,
-0.02342107892036438,
0.03060831129550934,
-0.0121843246743083,
-0.010137215256690979,
0.04501853510737419,
0.019255345687270164,
-0.022294722497463226,
-0.02520894818007946,
0.024529557675123215,
-0.001416885876096785,
0.008170560002326965,
-0.005350197199732065,
-0.06089480593800545,
-0.03368344530463219,
-0.03513161838054657,
-0.011317208409309387,
-0.0025991140864789486,
0.016403695568442345,
-0.043409451842308044,
0.024976525455713272,
0.01502703595906496,
-0.023546230047941208,
0.0042037260718643665,
0.036973122507333755,
-0.024940768256783485,
-0.01941625401377678,
-0.015429306775331497,
-0.06057298928499222,
-0.02837347611784935,
-0.03986947238445282,
-0.026871666312217712,
0.03046528249979019,
-0.03514949977397919,
-0.013641438446938992,
0.0112814512103796,
-0.0073883673176169395,
-0.014061586931347847,
-0.01995261386036873,
0.007759349886327982,
0.020757155492901802,
0.0007665486773476005,
0.03178830444812775,
-0.024028955027461052,
-0.030769219622015953,
0.004791487939655781,
-0.05914269760251045,
-0.030036194249987602,
0.07115717232227325,
0.052599094808101654,
-0.010530546307563782,
-0.03255708888173103,
-0.01720823533833027,
-0.010959635488688946,
0.0017722247866913676,
-0.051740918308496475,
0.0014604652533307672,
-0.02994680032134056,
-0.04934517666697502,
-0.09490007162094116,
0.016502028331160545,
-0.012264778837561607,
-0.04501853510737419,
-0.03588252514600754,
0.049845777451992035,
-0.07602017372846603,
-0.021025335416197777,
-0.05467302352190018,
0.0069145821034908295,
0.0013341970043256879,
-0.07094263285398483,
0.0038439177442342043,
-0.013775528408586979,
0.02374289557337761,
-0.05746209993958473,
0.04165733978152275,
0.06765294820070267,
0.012255840003490448,
-0.00014819754869677126,
0.019255345687270164,
0.006315646227449179,
0.06429176032543182,
-0.004373573698103428,
0.021043214946985245,
-0.01668081432580948,
0.042873091995716095,
0.026424698531627655,
-0.03554283082485199,
0.035703737288713455,
0.06826082617044449,
-0.07262322306632996,
0.030000437051057816,
-0.022008663043379784,
0.016788087785243988,
0.0800965204834938,
-0.003846152452751994,
0.03362980857491493,
0.0009514813427813351,
0.06861840188503265,
-0.020006250590085983,
-0.013516287319362164,
0.030858613550662994,
0.047307007014751434,
0.02826620452105999,
-0.007571623660624027,
0.04458944499492645,
-0.013748710043728352,
0.0755910873413086,
-0.032753754407167435,
-0.0320386067032814,
0.026603486388921738,
0.014705220237374306,
-0.054494235664606094,
0.038653720170259476,
-0.037509486079216,
-0.022813204675912857,
-0.043302178382873535,
0.05452999472618103,
0.009770702570676804,
-0.02025655284523964,
0.023546230047941208,
0.005926784593611956,
-0.0320386067032814,
-0.01117417961359024,
0.06422024220228195,
0.033915869891643524,
-0.06683053076267242,
-0.00003441298031248152,
-0.03178830444812775,
-0.025888338685035706,
-0.009842216968536377,
0.06879718601703644,
0.011916144751012325,
0.03325435891747475,
-0.046877916902303696,
-0.014982339926064014,
0.0177267175167799,
0.0032919133082032204,
0.030000437051057816,
-0.0004072988231200725,
0.02774772234261036,
0.027586814016103745,
0.020381702110171318,
-0.03808160126209259,
0.004970274865627289,
0.010727211833000183,
0.04777185246348381,
0.044982776045799255,
0.02395744062960148,
-0.04469671845436096,
0.02942831814289093,
-0.019255345687270164,
0.005949133075773716,
0.028319839388132095,
-0.05306394398212433,
0.023063506931066513,
-0.006101102102547884,
-0.011907204985618591,
-0.01107584685087204,
0.004080810118466616,
-0.05284939706325531,
0.00016481913917232305,
-0.005694361869245768,
-0.02234835922718048,
0.030751341953873634,
-0.03936886787414551,
0.0018247434636577964,
-0.019326860085129738,
0.028623778373003006,
-0.05803421884775162,
-0.01824519969522953,
0.011245694011449814,
0.007602911442518234,
-0.016010364517569542,
-0.037509486079216,
0.0894649475812912,
0.030822856351733208,
-0.019988371059298515,
-0.02542349323630333,
0.05202697962522507,
-0.0578196719288826,
-0.027390148490667343,
-0.03153800219297409,
-0.023063506931066513,
0.05116880312561989,
0.028319839388132095,
-0.007567154243588448,
0.021025335416197777,
0.005198228172957897,
-0.029446197673678398,
-0.05631786212325096,
0.028015902265906334,
0.019916856661438942,
-0.015554457902908325,
0.015849456191062927,
-0.012783261016011238,
0.0019722427241504192,
-0.027390148490667343,
-0.05957178398966789,
-0.02806953899562359,
0.06858263909816742,
0.008925934322178364,
0.007951545529067516,
0.01982746459543705,
0.06894021481275558,
-0.00013276321988087147,
-0.005975950974971056,
0.03128770366311073,
0.001384480856359005,
0.020506853237748146,
-0.09811823070049286,
-0.028409233316779137,
0.02932104654610157,
0.05864209309220314,
0.04333793744444847,
-0.06894021481275558,
-0.003133239923045039,
0.03132345899939537,
-0.03611494600772858,
-0.019237466156482697,
-0.02109684981405735,
-0.015241580083966255,
-0.008666693232953548,
0.02034594491124153,
0.057855430990457535,
0.0149197643622756,
-0.008738208562135696,
-0.06847537308931351,
0.013695074245333672,
-0.0013185531133785844,
-0.03134133666753769,
-0.014365524984896183,
-0.010208730585873127,
-0.009448885917663574,
-0.01623384840786457,
0.02708621136844158,
0.023260172456502914,
-0.007048672065138817,
0.010539486072957516,
0.010110397823154926,
0.04627004265785217,
0.0035332755651324987,
-0.012336294166743755,
-0.04333793744444847,
0.03128770366311073,
-0.061967529356479645,
-0.050596684217453,
0.07190807908773422,
0.013900678604841232,
-0.04830821231007576,
-0.00052714190678671,
0.0037656985223293304,
0.010021003894507885,
0.024958645924925804,
0.01260447409003973,
0.017887625843286514,
-0.07358867675065994,
0.000971594883594662,
0.050990015268325806,
0.058177247643470764,
0.035489194095134735,
0.05610331892967224,
0.04802215099334717,
-0.035060103982686996,
-0.053636059165000916,
-0.06121662259101868,
0.02206229977309704,
0.05810573324561119,
0.01804853416979313,
-0.04480398818850517,
-0.009797520004212856,
0.011218875646591187,
-0.004429444670677185,
-0.029821649193763733,
0.01761944591999054,
0.05599604547023773,
0.00981539860367775,
0.025995610281825066,
0.0333079919219017,
0.024565314874053,
-0.015241580083966255,
-0.032324664294719696,
-0.0037455849815160036,
0.06858263909816742,
-0.035167377442121506,
-0.07115717232227325,
0.038439176976680756,
-0.05950026959180832,
-0.010029943659901619,
-0.006373751908540726,
0.09075221419334412,
0.032020729035139084,
-0.014571129344403744,
-0.012622352689504623,
0.023492595180869102,
-0.051526375114917755,
0.017476417124271393,
0.03804584592580795,
0.04051310569047928,
0.06704507768154144,
-0.03395162522792816,
0.04315914958715439,
-0.044982776045799255,
0.06296873837709427
] |
18,151 | jsondiff | _set_diff | null | def _set_diff(self, a, b):
removed = a.difference(b)
added = b.difference(a)
if not removed and not added:
return {}, 1.0
ranking = sorted(
(
(self._obj_diff(x, y)[1], x, y)
for x in removed
for y in added
),
reverse=True,
key=lambda x: x[0]
)
r2 = set(removed)
a2 = set(added)
n_common = len(a) - len(removed)
s_common = float(n_common)
for s, x, y in ranking:
if x in r2 and y in a2:
r2.discard(x)
a2.discard(y)
s_common += s
n_common += 1
if not r2 or not a2:
break
n_tot = len(a) + len(added)
s = s_common / n_tot if n_tot != 0 else 1.0
return self.options.syntax.emit_set_diff(a, b, s, added, removed), s
| (self, a, b) | [
-0.028956439346075058,
-0.029011523351073265,
0.009970416314899921,
0.0519636794924736,
0.0013415534049272537,
-0.01806793548166752,
-0.03005814179778099,
0.0033441290725022554,
0.013853920623660088,
0.004076302517205477,
-0.03753136470913887,
-0.0286075659096241,
0.016856063157320023,
-0.020289704203605652,
-0.047079458832740784,
-0.00910741463303566,
-0.03642965853214264,
0.030921142548322678,
0.004250739235430956,
-0.042819540947675705,
0.0043218908831477165,
0.012862388044595718,
-0.012660408392548561,
0.08211363106966019,
-0.0399918332695961,
-0.035658467561006546,
0.016947871074080467,
-0.03362031653523445,
-0.009231356903910637,
0.0636417344212532,
-0.008345403708517551,
-0.014441495761275291,
-0.011806588619947433,
-0.05295521020889282,
-0.0220891535282135,
-0.075503408908844,
0.04987044259905815,
0.0874752551317215,
0.004285167437046766,
-0.053542785346508026,
-0.05637049302458763,
-0.028093436732888222,
0.04667550325393677,
-0.016837701201438904,
0.027175351977348328,
-0.008464754559099674,
0.010053044185042381,
0.04094664379954338,
-0.05009078234434128,
0.033069465309381485,
0.05346934124827385,
0.004057941026985645,
0.011402630247175694,
0.06029990315437317,
-0.021097620949149132,
0.013367335312068462,
0.012173823080956936,
0.005793123971670866,
-0.037972044199705124,
-0.0001843344944063574,
-0.02796490490436554,
0.0367785319685936,
-0.006926960311830044,
-0.03395082801580429,
-0.01915127784013748,
-0.04649188369512558,
-0.049503207206726074,
0.005880341865122318,
-0.022786898538470268,
0.051412828266620636,
-0.02032642811536789,
0.03037029132246971,
0.053065381944179535,
-0.024916859343647957,
0.019463427364826202,
0.013578495010733604,
0.05082525312900543,
0.023760071024298668,
0.012173823080956936,
-0.0259818397462368,
-0.0010075996397063136,
-0.011154747568070889,
0.06764458864927292,
-0.02454962581396103,
0.04094664379954338,
0.014193612150847912,
0.003424461465328932,
0.025430988520383835,
0.04076302796602249,
-0.05883096531033516,
-0.04946648329496384,
0.03481382876634598,
0.030645716935396194,
0.025779860094189644,
-0.02989288605749607,
0.038596343249082565,
-0.09790471196174622,
-0.02974599227309227,
0.012210546061396599,
-0.04289298877120018,
0.059895943850278854,
0.08115881681442261,
-0.03169233724474907,
0.01837090402841568,
0.04259920120239258,
-0.032610420137643814,
0.013128632679581642,
-0.04968682676553726,
-0.014248698018491268,
0.03198612481355667,
-0.031453631818294525,
0.03991838917136192,
-0.01322962250560522,
0.019940832629799843,
0.006004283670336008,
-0.021244514733552933,
-0.0056554111652076244,
-0.04340711608529091,
0.05042129382491112,
0.010227479971945286,
-0.02765275537967682,
0.04854839667677879,
0.03657655417919159,
0.06683667749166489,
-0.007936854846775532,
-0.046051204204559326,
0.0829949900507927,
0.04652860760688782,
-0.0012979443417862058,
0.011108842678368092,
0.08108537644147873,
-0.028387224301695824,
-0.01315617561340332,
0.09621543437242508,
0.029874524101614952,
0.04340711608529091,
-0.0010976868215948343,
0.06191573292016983,
0.04061613231897354,
0.03674180805683136,
0.027028458192944527,
-0.0035185653250664473,
0.04847495257854462,
0.04439864680171013,
-0.08255431056022644,
0.011237375438213348,
-0.03749464079737663,
-0.017342647537589073,
-0.02647760510444641,
0.03496072068810463,
-0.020363152027130127,
-0.023833516985177994,
0.010860959999263287,
-0.07227174192667007,
-0.002747372956946492,
-0.011935120448470116,
0.0040946644730865955,
-0.01981230080127716,
-0.008854941464960575,
0.008262775838375092,
0.02387024089694023,
0.03734774515032768,
0.09790471196174622,
0.02535754069685936,
0.010943587869405746,
0.008391307666897774,
0.023172495886683464,
0.008731000125408173,
-0.07436498254537582,
-0.015589104034006596,
0.018425989896059036,
0.016966233029961586,
-0.04366417974233627,
-0.026367435231804848,
-0.005623277742415667,
-0.049796994775533676,
0.009548096917569637,
-0.01608487032353878,
0.017195753753185272,
-0.001333520165644586,
0.041828006505966187,
-0.026569414883852005,
-0.009056920185685158,
0.001356472377665341,
0.016139956191182137,
-0.027083542197942734,
0.006821380462497473,
-0.0014299192698672414,
0.005995102692395449,
0.009447107091546059,
0.0033464240841567516,
-0.011723960749804974,
-0.03332652896642685,
0.016461284831166267,
0.0250086672604084,
0.03073752671480179,
-0.03628276661038399,
-0.03384065628051758,
0.01244006771594286,
0.01675507239997387,
-0.07458532601594925,
-0.020601853728294373,
0.007468631025403738,
0.0002521868154872209,
0.0678282082080841,
0.010163214057683945,
-0.014680198393762112,
-0.007147300988435745,
0.011329183354973793,
-0.011466896161437035,
-0.006238395813852549,
-0.019867384806275368,
0.03332652896642685,
-0.01900438405573368,
-0.0036195549182593822,
0.014505761675536633,
0.027340607717633247,
0.016341933980584145,
-0.0006908598588779569,
-0.05699479207396507,
0.033730488270521164,
-0.02581658400595188,
0.05266142264008522,
0.03496072068810463,
0.004156635142862797,
0.008258185349404812,
0.01855452172458172,
-0.003757267724722624,
-0.04046924039721489,
-0.008561153896152973,
0.001190069247968495,
0.010282565839588642,
0.0017569874180480838,
-0.040542688220739365,
-0.0077578285709023476,
-0.010209118947386742,
-0.019867384806275368,
-0.030810972675681114,
0.013853920623660088,
-0.025779860094189644,
-0.09893296658992767,
0.021152706816792488,
0.04539018124341965,
0.06878301501274109,
-0.04406813904643059,
-0.04263592138886452,
-0.0024466996546834707,
-0.02225440926849842,
-0.009878607466816902,
0.025761498138308525,
-0.0033211768604815006,
-0.06323777884244919,
-0.004218606278300285,
-0.01431296393275261,
0.05879424139857292,
-0.015221869572997093,
-0.04755686596035957,
-0.0010747346095740795,
0.014101804234087467,
0.02243802696466446,
0.0287544596940279,
0.022841984406113625,
-0.06896663457155228,
0.018728958442807198,
-0.036650002002716064,
-0.0014012290630489588,
0.03710904344916344,
0.05060490965843201,
-0.055011723190546036,
0.04682239517569542,
-0.0034864323679357767,
-0.037311021238565445,
-0.009713351726531982,
-0.013257164508104324,
-0.08071813732385635,
0.01624094508588314,
-0.00950219202786684,
-0.012403344735503197,
-0.022456388920545578,
-0.03782515227794647,
0.00466846814379096,
-0.028497396036982536,
-0.012155461125075817,
0.05996939167380333,
-0.002183897653594613,
0.049319591373205185,
-0.022713452577590942,
-0.06992144137620926,
-0.04439864680171013,
-0.0735570639371872,
0.025137200951576233,
-0.0011831836309283972,
0.0023411198053508997,
-0.035199426114559174,
0.01708558388054371,
0.02175864204764366,
0.0006116749136708677,
-0.05133938044309616,
0.030278483405709267,
0.08578597754240036,
-0.051743339747190475,
-0.044949501752853394,
0.044472094625234604,
0.02082219533622265,
-0.0167367123067379,
-0.0331796370446682,
0.09540751576423645,
-0.00836376566439867,
0.04740997031331062,
-0.02420075237751007,
-0.02858920395374298,
0.05409364029765129,
0.03345506265759468,
0.014827092178165913,
0.025100477039813995,
0.019132915884256363,
-0.025632966309785843,
0.026073647662997246,
-0.0026142504066228867,
0.062172796577215195,
0.02148321643471718,
-0.004601906985044479,
-0.03866979107260704,
0.05508517101407051,
0.007716514635831118,
-0.05350606516003609,
0.001958966488018632,
-0.010043863207101822,
0.07370395958423615,
0.03564010560512543,
-0.07036212831735611,
-0.029617460444569588,
0.01785677671432495,
0.03426297754049301,
0.0438845194876194,
-0.00634397566318512,
0.08108537644147873,
-0.028313778340816498,
0.005164234898984432,
-0.03237171843647957,
0.03628276661038399,
0.011632151901721954,
-0.025430988520383835,
-0.022621644660830498,
-0.0029126284644007683,
0.05328572168946266,
-0.017462000250816345,
-0.004652401898056269,
-0.014505761675536633,
0.04763031378388405,
-0.031159846112132072,
0.019243087619543076,
0.016029784455895424,
0.004406813532114029,
0.043333668261766434,
0.05343261733651161,
-0.053873296827077866,
-0.04825460910797119,
-0.007840456441044807,
0.0052652242593467236,
-0.054020192474126816,
0.04296643286943436,
0.05067835748195648,
0.01951851323246956,
-0.010356012731790543,
-0.052881766110658646,
-0.03782515227794647,
-0.05291849002242088,
-0.06279709935188293,
-0.0805712416768074,
-0.00796898826956749,
0.01705804094672203,
0.04586758464574814,
-0.03352850675582886,
0.00911200512200594,
-0.0040808930061757565,
-0.04550035297870636,
0.02537590265274048,
-0.0032637964468449354,
0.007730285637080669,
-0.009286441840231419,
0.030921142548322678,
-0.0425257533788681,
0.05222074314951897,
-0.02080383338034153,
0.015295316465198994,
0.017425276339054108,
-0.08857695758342743,
0.05769253522157669,
0.06992144137620926,
0.0068764653988182545,
-0.06540445983409882,
0.022327857092022896,
0.050788529217243195,
-0.05464449152350426,
-0.03749464079737663,
-0.033381614834070206,
-0.025082115083932877,
-0.042672645300626755,
-0.0041749970987439156,
0.0763847753405571,
0.004207130055874586,
-0.05798632279038429,
0.0047051915898919106,
0.009020197205245495,
0.020418237894773483,
0.00626134779304266,
0.025541158393025398,
-0.025871669873595238,
0.04278281703591347,
-0.10488216578960419,
-0.017498722299933434,
0.0022986582480371,
-0.03562174364924431,
-0.03459348902106285,
-0.02842394821345806,
-0.027010096237063408,
-0.030443739145994186,
0.027065180242061615,
-0.006284300237894058,
0.04472915828227997,
-0.008988063782453537,
0.0338590182363987,
-0.01983066275715828,
0.036815255880355835,
-0.045941032469272614,
-0.008010301738977432,
0.025706414133310318,
-0.027560947462916374,
0.0023732527624815702,
0.039734769612550735,
-0.030425377190113068,
0.030590632930397987,
-0.04616137221455574,
0.02858920395374298,
-0.04432520270347595,
0.03283076360821724,
0.0010672751814126968,
0.035842083394527435,
0.0680118277668953,
0.026551052927970886,
-0.02111598290503025,
0.0325002521276474,
-0.015442210249602795,
-0.0005175711121410131,
-0.039734769612550735,
-0.01160460989922285,
-0.0070784445852041245,
-0.006646944209933281,
0.001334667787887156,
0.047373246401548386,
0.008083748631179333,
0.006169539410620928,
-0.07462204247713089,
0.04076302796602249,
-0.020510045811533928,
-0.05413036048412323,
-0.04098336771130562,
-0.06320105493068695,
0.05060490965843201,
0.06547790765762329,
0.02078547142446041,
-0.06863612681627274,
0.06466998904943466,
-0.0416443906724453,
0.016277668997645378,
0.028075076639652252,
-0.010420278646051884,
-0.008607057854533195,
0.03525450825691223,
0.04729980230331421,
-0.05787615478038788,
-0.04711618274450302,
-0.001061537186615169,
-0.05236763507127762,
-0.005182596389204264,
-0.04285626485943794,
-0.01836172305047512,
-0.006853513419628143,
0.012045291252434254,
0.019389981403946877,
0.024476177990436554,
-0.024806689471006393,
-0.034079357981681824,
0.013367335312068462,
-0.020289704203605652,
-0.009134957566857338,
-0.010154033079743385,
0.023007240146398544,
-0.0017868252471089363,
0.0017443638062104583,
-0.06793837994337082,
-0.04579414054751396,
0.00023698099539615214,
-0.04579414054751396,
-0.020693663507699966,
0.06874629110097885,
-0.030296845361590385,
0.030645716935396194,
-0.005871161352843046,
0.007822094485163689,
-0.022548196837306023,
-0.016048146411776543,
0.01951851323246956,
0.051669891923666,
0.022070791572332382,
0.011567885987460613,
-0.017315106466412544,
-0.006311842706054449,
-0.03591553121805191,
-0.056480661034584045,
-0.08226052671670914,
0.0808650329709053,
0.045280009508132935,
-0.0028621337842196226,
-0.033712126314640045,
-0.030315205454826355,
-0.01656227558851242,
0.020748747512698174,
0.011843311600387096,
-0.03450167924165726,
-0.023686623200774193,
-0.002368662506341934,
-0.03822910785675049,
-0.01609405130147934,
-0.006830561440438032,
-0.048695292323827744,
-0.028736097738146782,
0.02142813242971897,
-0.07120676338672638,
-0.04010200500488281,
-0.0328858457505703,
0.023796794936060905,
-0.039257366210222244,
-0.029360396787524223,
0.07080280780792236,
-0.020675301551818848,
0.03455676510930061,
0.018462713807821274,
0.04439864680171013,
0.05504844710230827,
0.019555235281586647,
0.05813321843743324,
0.017498722299933434,
-0.020730385556817055,
0.07682545483112335,
-0.02695501036942005,
0.0227685384452343,
0.0020381512586027384,
0.0569213442504406,
0.001561894197948277,
-0.0123574398458004,
0.034850552678108215,
0.03545648977160454,
-0.015800263732671738,
-0.03464857488870621,
-0.011154747568070889,
0.025449348613619804,
0.06518411636352539,
0.02243802696466446,
0.012963376939296722,
-0.02146485447883606,
0.08688767999410629,
-0.026092009618878365,
-0.0037825151812285185,
0.019702129065990448,
0.05839028209447861,
-0.0230623260140419,
-0.03207793086767197,
0.040726304054260254,
-0.009212994948029518,
0.0850515067577362,
-0.04179128259420395,
-0.016351114958524704,
-0.023521367460489273,
0.03672344610095024,
-0.015304496511816978,
-0.026606138795614243,
-0.03885340690612793,
0.005650820676237345,
-0.052551254630088806,
0.05200040340423584,
0.04149749502539635,
0.01144853513687849,
0.01244006771594286,
0.004455013200640678,
-0.005063245538622141,
-0.007721105124801397,
0.026899926364421844,
0.07421808689832687,
-0.05607670545578003,
-0.05677444860339165,
0.019426703453063965,
-0.05053146556019783,
-0.04660205543041229,
0.016626540571451187,
0.02649596706032753,
0.007482402492314577,
-0.042158517986536026,
-0.02614709548652172,
0.03299601748585701,
-0.031159846112132072,
0.019885746762156487,
-0.014762826263904572,
0.03604406490921974,
0.004865856841206551,
-0.007367641665041447,
-0.047226354479789734,
0.006720391102135181,
0.008221461437642574,
0.004131387919187546,
0.025632966309785843,
0.01478118821978569,
-0.05864734575152397,
0.014074261300265789,
-0.028093436732888222,
0.04190145432949066,
0.021519940346479416,
-0.028662651777267456,
-0.009313984774053097,
0.008579515852034092,
-0.010273384861648083,
0.021391408517956734,
0.001145312562584877,
-0.019389981403946877,
0.026844840496778488,
0.02454962581396103,
0.015212688595056534,
0.024494539946317673,
0.012045291252434254,
-0.00911200512200594,
0.0034956131130456924,
0.026532690972089767,
-0.02293379232287407,
0.018444351851940155,
0.013688664883375168,
0.010411097668111324,
-0.013119451701641083,
-0.022291133180260658,
0.04774048179388046,
0.045426905155181885,
0.0056140972301363945,
0.004076302517205477,
0.030462099239230156,
-0.05365295708179474,
0.003709068289026618,
-0.035015806555747986,
-0.0052147298119962215,
0.06727735698223114,
0.028809545561671257,
-0.014322144910693169,
0.015387124381959438,
0.030021417886018753,
-0.06294398754835129,
-0.04987044259905815,
0.019757214933633804,
-0.00003822968210442923,
0.013918186537921429,
0.009093644097447395,
-0.05835355818271637,
0.03929409012198448,
-0.003254615468904376,
-0.04098336771130562,
-0.020583491772413254,
0.030480461195111275,
0.03929409012198448,
0.0497235469520092,
0.024825051426887512,
0.013459143228828907,
0.0017409209394827485,
-0.004209425300359726,
0.012743036262691021,
0.000854967744089663,
-0.00010687096801120788,
-0.09893296658992767,
-0.010319288820028305,
-0.021501578390598297,
0.050935421139001846,
0.03055390901863575,
-0.07094970345497131,
-0.008611648343503475,
0.04454554244875908,
-0.040542688220739365,
-0.06316433101892471,
0.004865856841206551,
0.01390900555998087,
-0.039440982043743134,
0.009249718859791756,
0.043443839997053146,
0.023631539195775986,
-0.005260633770376444,
-0.048842184245586395,
-0.00325002521276474,
-0.009851064532995224,
-0.03283076360821724,
0.062319692224264145,
0.009171681478619576,
-0.041681114584207535,
0.01389982458204031,
0.02618381753563881,
0.03525450825691223,
-0.01691114716231823,
-0.004425175487995148,
0.00952055398374796,
0.010392735712230206,
-0.006743343081325293,
-0.03352850675582886,
0.007739466615021229,
0.008593286387622356,
-0.03429970145225525,
-0.028681013733148575,
0.025302454829216003,
-0.010135672055184841,
-0.018591245636343956,
-0.05082525312900543,
-0.044582266360521317,
0.03024175949394703,
-0.015635007992386818,
0.004032693803310394,
0.05739874765276909,
-0.10194429010152817,
0.03852289542555809,
0.041203707456588745,
0.048805464059114456,
0.02370498515665531,
0.053212277591228485,
0.07645821571350098,
-0.04138732701539993,
-0.07902885973453522,
-0.07829438894987106,
-0.029856164008378983,
0.060520242899656296,
-0.010925225913524628,
-0.007532897405326366,
-0.007032540161162615,
0.014863815158605576,
0.020216258242726326,
-0.05446087196469307,
0.0396980457007885,
0.023135771974921227,
0.03900030255317688,
-0.002540803514420986,
-0.01820565015077591,
0.013055185787379742,
-0.04487605392932892,
-0.009795979596674442,
-0.0286075659096241,
0.05622359737753868,
-0.03475874289870262,
-0.04946648329496384,
0.020436597988009453,
-0.049319591373205185,
0.00019136359333060682,
0.021152706816792488,
0.026587776839733124,
0.013431601226329803,
0.026587776839733124,
-0.01300928182899952,
0.025945115834474564,
-0.05130265653133392,
0.008446392603218555,
0.010860959999263287,
0.011806588619947433,
0.04539018124341965,
-0.022346217185258865,
0.054534319788217545,
-0.03086605854332447,
0.05233091488480568
] |
18,152 | jsondiff | _unescape | null | def _unescape(self, x):
if isinstance(x, string_types):
sym = self._symbol_map.get(x, None)
if sym is not None:
return sym
if x.startswith(self.options.escape_str):
return x[1:]
return x
| (self, x) | [
0.021827643737196922,
-0.011747999116778374,
0.05123239755630493,
0.05422153323888779,
-0.013433732092380524,
-0.04094420745968819,
-0.002171250991523266,
0.024191144853830338,
0.05929611250758171,
-0.020159287378191948,
0.0498073436319828,
0.0032693673856556416,
-0.017986951395869255,
0.04914695397019386,
0.04890365153551102,
0.05255317687988281,
-0.005587250925600529,
0.08911795914173126,
0.040353331714868546,
-0.013329460285604,
-0.039623428136110306,
0.01279941014945507,
0.020228803157806396,
-0.045010823756456375,
-0.022279489785432816,
-0.004309916868805885,
-0.0009118384914472699,
-0.013885578140616417,
-0.047061510384082794,
-0.048382289707660675,
0.010392460972070694,
0.007724830415099859,
-0.008593765087425709,
0.008263570256531239,
0.01709194853901863,
-0.009775516577064991,
-0.041639357805252075,
0.022974636405706406,
0.02269657701253891,
-0.03604341670870781,
-0.035365648567676544,
-0.031994178891181946,
0.004333812277764082,
-0.009575662203133106,
-0.005561182741075754,
0.01716146245598793,
-0.07924685627222061,
-0.024295417591929436,
-0.002437362214550376,
0.020107151940464973,
0.03201155737042427,
-0.0005870740860700607,
0.005035477224737406,
-0.011695862747728825,
0.04407237470149994,
-0.01371179148554802,
0.010435907170176506,
0.03986673057079315,
0.04139605537056923,
0.011982611380517483,
0.018178116530179977,
0.03522661700844765,
-0.06002601608633995,
0.007720485795289278,
0.02193191461265087,
0.03373204916715622,
0.02709338814020157,
-0.03222010284662247,
-0.031160002574324608,
-0.011313531547784805,
-0.031038351356983185,
-0.017170151695609093,
-0.08751911669969559,
-0.04216071963310242,
0.0937754437327385,
-0.06523962318897247,
-0.007703107316046953,
-0.02144531160593033,
-0.04309916868805885,
0.006951478775590658,
0.02570309303700924,
-0.010783481411635876,
-0.037086136639118195,
-0.0017389558488503098,
-0.02474726364016533,
-0.04414188861846924,
0.0400405153632164,
-0.017882678657770157,
-0.005452565848827362,
0.0697580873966217,
0.0464358776807785,
-0.11893980205059052,
-0.021497447043657303,
0.11045899242162704,
-0.04546267166733742,
-0.04063139110803604,
0.011313531547784805,
0.004249091260135174,
0.012816788628697395,
-0.06437069177627563,
0.015519175678491592,
0.040110033005476,
-0.09002164751291275,
0.003108614357188344,
-0.004220850765705109,
-0.03062126412987709,
0.020958708599209785,
-0.04674869403243065,
-0.007963787764310837,
-0.060304075479507446,
-0.04129178449511528,
0.01796957291662693,
-0.017665445804595947,
0.003875449299812317,
0.016475005075335503,
0.006894997786730528,
-0.014050676487386227,
-0.01972481980919838,
0.056619793176651,
0.0051354048773646355,
-0.004375086631625891,
0.03805934637784958,
-0.050398219376802444,
-0.013685723766684532,
0.004679214209318161,
0.053109295666217804,
0.003495290409773588,
0.03600865975022316,
0.010740034282207489,
0.05085006728768349,
-0.013598830439150333,
0.04087469354271889,
-0.0663866177201271,
-0.01617087796330452,
0.018178116530179977,
0.020628511905670166,
-0.050989095121622086,
0.030117280781269073,
-0.0035604604054242373,
0.037051379680633545,
0.0001161521504400298,
0.014711066149175167,
0.0249036718159914,
0.016961608082056046,
-0.06051262095570564,
0.013007954694330692,
0.03326282650232315,
0.02104560099542141,
0.019898608326911926,
-0.02460823394358158,
-0.03142068162560463,
0.027875429019331932,
-0.028866015374660492,
-0.002541634254157543,
-0.002293987898156047,
0.039658185094594955,
0.00651701120659709,
0.04866034910082817,
0.03487904369831085,
0.02966543473303318,
0.04619257524609566,
-0.002632872434332967,
-0.01932511106133461,
-0.049007922410964966,
-0.011374357156455517,
-0.03882400691509247,
0.09474865347146988,
-0.001141563174314797,
0.04608830437064171,
0.01032294612377882,
-0.015345389023423195,
-0.022123081609606743,
-0.02695435844361782,
0.02460823394358158,
0.025859501212835312,
0.03187252953648567,
-0.017204908654093742,
0.05491667985916138,
-0.011939164251089096,
-0.003238954581320286,
0.07389421761035919,
-0.0366690494120121,
-0.047096267342567444,
-0.05133666843175888,
0.014233152382075787,
-0.03802458941936493,
0.026936979964375496,
0.05943514034152031,
0.003562632715329528,
-0.024364933371543884,
0.030812429264187813,
-0.007655316032469273,
-0.03545254096388817,
-0.011052850633859634,
-0.0073685673996806145,
-0.04205644503235817,
0.04059663414955139,
-0.00045999238500371575,
-0.015354078263044357,
-0.05595940351486206,
-0.034114379435777664,
-0.0023917430080473423,
-0.0010807376820594072,
0.019081808626651764,
-0.054325804114341736,
-0.051023852080106735,
0.03885876387357712,
-0.030447475612163544,
-0.044454704970121384,
-0.04786093160510063,
0.009949304163455963,
-0.011965232901275158,
-0.0024134665727615356,
-0.02903980202972889,
-0.03211583197116852,
0.02196667157113552,
-0.05206657573580742,
0.021549584344029427,
0.05863572284579277,
0.048347532749176025,
-0.06131204217672348,
0.0038189685437828302,
0.017882678657770157,
0.02599853090941906,
0.004253435879945755,
-0.010192605666816235,
-0.06986235827207565,
0.06218097731471062,
0.05867047980427742,
0.006434462498873472,
0.020854435861110687,
0.012582176364958286,
0.03241126984357834,
0.03927585482597351,
0.05210133269429207,
-0.02926572412252426,
0.007733520120382309,
-0.03871973603963852,
0.015110776759684086,
-0.002611149102449417,
-0.001029687817208469,
-0.010931200347840786,
0.012729895301163197,
0.017865300178527832,
0.01942938193678856,
0.03211583197116852,
0.028170866891741753,
0.07667481154203415,
-0.023165803402662277,
0.002687180880457163,
0.034409817308187485,
0.023704541847109795,
0.0564807653427124,
0.007542354520410299,
0.001377261709421873,
0.006199849769473076,
-0.015779856592416763,
0.03258505463600159,
0.008250536397099495,
0.04198693111538887,
-0.020141908898949623,
0.00270021497271955,
0.000889028946403414,
-0.011635037139058113,
0.0026915257330983877,
-0.04723529890179634,
-0.020072394981980324,
0.04518461227416992,
0.047131024301052094,
-0.0201245304197073,
0.02441706880927086,
-0.06579574197530746,
-0.03222010284662247,
-0.014954368583858013,
-0.037016622722148895,
0.056619793176651,
0.0201245304197073,
-0.08195793628692627,
0.024556098505854607,
-0.040388092398643494,
0.022748714312911034,
-0.00020053386106155813,
-0.012338874861598015,
0.017335249111056328,
0.024816779419779778,
0.00903692189604044,
0.066456139087677,
-0.0567588210105896,
0.025181731209158897,
0.030829807743430138,
0.016779132187366486,
-0.030708156526088715,
-0.004740039352327585,
0.025164352729916573,
-0.030673399567604065,
-0.009766827337443829,
0.006073854397982359,
-0.08091521263122559,
0.023774057626724243,
0.004431567620486021,
-0.018786370754241943,
0.01138304639607668,
0.003929757978767157,
0.03244602680206299,
-0.011322220787405968,
0.010913821868598461,
0.0013892095303162932,
0.031924664974212646,
0.020263560116291046,
0.034965936094522476,
0.007850825786590576,
0.02064589224755764,
-0.04598402976989746,
0.01638811081647873,
-0.07716140896081924,
0.06051262095570564,
-0.04118750989437103,
-0.014572037383913994,
0.012860235758125782,
0.03847643360495567,
0.036321476101875305,
-0.05217084661126137,
0.009236777201294899,
0.0028805190231651068,
-0.0015141189796850085,
-0.007012303918600082,
-0.031403303146362305,
0.00806371495127678,
0.07451985031366348,
-0.03381894528865814,
-0.023791436105966568,
-0.01913394406437874,
0.012139019556343555,
-0.06895866990089417,
0.036912351846694946,
-0.04007527604699135,
-0.00530919199809432,
0.008441701531410217,
0.007642281707376242,
0.04935549944639206,
-0.033123794943094254,
-0.0002477821835782379,
-0.0031650951132178307,
0.0071904356591403484,
-0.06440544873476028,
0.011852270923554897,
-0.049772586673498154,
0.04191741719841957,
0.02259230613708496,
-0.048347532749176025,
0.0036669049877673388,
-0.06058213487267494,
0.039553914219141006,
-0.029126696288585663,
-0.03948440030217171,
-0.0006164006190374494,
-0.027666885405778885,
0.018421418964862823,
-0.0033106417395174503,
0.0061346800066530704,
0.05050249025225639,
-0.00028539079357869923,
-0.03729468211531639,
-0.01070527732372284,
-0.0004341958847362548,
-0.04396810382604599,
-0.05050249025225639,
0.014789271168410778,
0.0013544521061703563,
0.026572026312351227,
-0.02094133011996746,
0.040318574756383896,
-0.028987666592001915,
-0.0347747728228569,
-0.0465749055147171,
0.0399014875292778,
0.023078909143805504,
0.018317146226763725,
0.00802895799279213,
-0.06471826881170273,
0.04890365153551102,
0.018386660143733025,
-0.08286162465810776,
0.012860235758125782,
0.018647341057658195,
0.02434755302965641,
-0.004818243440240622,
-0.025216488167643547,
0.07014042139053345,
0.0058522759936749935,
-0.0002595942933112383,
-0.0057957954704761505,
0.07264295220375061,
0.02021142467856407,
-0.03105572983622551,
-0.00794206466525793,
0.03369729220867157,
-0.018386660143733025,
0.039588671177625656,
0.006847206503152847,
-0.014728445559740067,
0.07451985031366348,
0.025164352729916573,
0.02273133583366871,
0.03944963961839676,
0.03586962819099426,
-0.0108877532184124,
0.05613318830728531,
-0.03288049250841141,
0.02097608707845211,
-0.004483703523874283,
-0.060373593121767044,
-0.01965530589222908,
-0.09739021211862564,
0.0033953627571463585,
-0.023200560361146927,
-0.013929025270044804,
0.0014511211775243282,
0.009175951592624187,
-0.004396810196340084,
-0.049703072756528854,
-0.03522661700844765,
-0.046957239508628845,
-0.030864564701914787,
-0.048417046666145325,
-0.011904407292604446,
0.0023700196761637926,
-0.002652423456311226,
0.013164362870156765,
0.0731990709900856,
-0.07577111572027206,
-0.0695495456457138,
-0.012373631820082664,
-0.09405350685119629,
0.03878924995660782,
0.04942501336336136,
0.02698911540210247,
0.04740908369421959,
0.011817513965070248,
0.02134103886783123,
0.013868199661374092,
0.09182903170585632,
0.003586528589949012,
-0.01958579011261463,
0.0602693185210228,
0.022435897961258888,
-0.047791413962841034,
0.08063714951276779,
-0.009358428418636322,
-0.01763068698346615,
-0.03858070448040962,
-0.012373631820082664,
-0.005287468433380127,
-0.037086136639118195,
0.02262706309556961,
-0.06923672556877136,
0.04254304990172386,
-0.00022089952835813165,
0.041813142597675323,
0.058427177369594574,
-0.056619793176651,
-0.010670519433915615,
0.020837057381868362,
-0.024695128202438354,
-0.019481519237160683,
0.054360561072826385,
0.01068789791315794,
0.027232417836785316,
0.01138304639607668,
0.03256767615675926,
-0.07472839206457138,
0.043411985039711,
0.019116565585136414,
0.032984767109155655,
-0.00768138375133276,
-0.012712516821920872,
-0.015588690526783466,
0.03234175592660904,
0.01352931559085846,
-0.03722516819834709,
-0.05707164108753204,
-0.05265745148062706,
0.005204919725656509,
-0.04535839706659317,
0.011687173508107662,
0.01118319109082222,
0.08147133141756058,
0.0025155663024634123,
0.02207094430923462,
0.025981150567531586,
0.03555681183934212,
0.1133786141872406,
-0.01438956055790186,
0.02959592081606388,
0.04083993658423424,
-0.026207074522972107,
-0.014493833296000957,
-0.04351625591516495,
0.07750898599624634,
0.007698762696236372,
0.0365995354950428,
-0.03131641075015068,
-0.01635335385799408,
-0.06537865847349167,
-0.004939894657582045,
0.031160002574324608,
-0.01730918139219284,
0.011817513965070248,
0.018490932881832123,
-0.017613308504223824,
-0.012512661516666412,
-0.011417803354561329,
0.018803749233484268,
-0.044315677136182785,
0.0026980426628142595,
0.02259230613708496,
0.013546694070100784,
0.02174074947834015,
0.044454704970121384,
0.009914546273648739,
-0.04146556928753853,
-0.004540184512734413,
-0.032359134405851364,
-0.06304991245269775,
-0.0018768992740660906,
-0.029178831726312637,
-0.07229537516832352,
0.04143081232905388,
-0.030569126829504967,
-0.0158406812697649,
-0.0628761276602745,
-0.026276588439941406,
-0.02603328786790371,
-0.028066594153642654,
0.003910206723958254,
0.05078054964542389,
-0.0347747728228569,
0.003047788981348276,
-0.06541341543197632,
0.05422153323888779,
0.00719478027895093,
-0.0076379370875656605,
-0.011322220787405968,
-0.039658185094594955,
0.012234602123498917,
-0.013798684813082218,
-0.04407237470149994,
0.045601699501276016,
0.0018964502960443497,
0.025911636650562286,
-0.07834316045045853,
0.014424318447709084,
0.015232427045702934,
0.03593914583325386,
-0.00724257156252861,
-0.057766787707805634,
-0.02992611564695835,
0.08397386223077774,
-0.05470813810825348,
0.025355517864227295,
-0.008871824480593204,
-0.003562632715329528,
0.02438231185078621,
-0.01463286206126213,
-0.07146120071411133,
-0.00022795962286181748,
-0.026971736922860146,
-0.03875449299812317,
-0.0023461240343749523,
-0.00626936461776495,
0.01061838399618864,
-0.03173350170254707,
0.07945539802312851,
0.02504270151257515,
-0.04323819652199745,
0.014198395423591137,
0.08508609980344772,
-0.020437346771359444,
0.0500854030251503,
0.018473554402589798,
0.006221573334187269,
0.0004665093729272485,
0.0053352597169578075,
-0.023878328502178192,
0.0174221433699131,
-0.04198693111538887,
0.05957417190074921,
0.06367554515600204,
0.0267284344881773,
-0.03663429245352745,
-0.03135116770863533,
-0.0705227479338646,
0.027927564457058907,
0.018908021971583366,
0.01965530589222908,
-0.014241841621696949,
-0.027110766619443893,
0.04351625591516495,
-0.022453276440501213,
-0.023774057626724243,
0.0696190595626831,
0.02625920996069908,
0.05255317687988281,
0.026050666347146034,
0.050259191542863846,
-0.0000035130763080815086,
0.014928299933671951,
0.0498768575489521,
-0.039136823266744614,
-0.03069077804684639,
0.0033497437834739685,
0.004787831101566553,
-0.014815338887274265,
0.011608969420194626,
0.021462690085172653,
0.016926851123571396,
0.019881227985024452,
-0.05018967390060425,
-0.05620270594954491,
0.04052712023258209,
-0.019342489540576935,
0.026450376957654953,
-0.09613894671201706,
0.02094133011996746,
0.035000693053007126,
0.006056475918740034,
0.058253392577171326,
0.0332280695438385,
0.0076726945117115974,
-0.056967366486787796,
-0.03095145896077156,
-0.009749448858201504,
-0.014467764645814896,
0.009871100075542927,
0.003829830326139927,
0.024069495499134064,
-0.03227223828434944,
0.009375806897878647,
-0.034635741263628006,
0.029456891119480133,
0.032289616763591766,
-0.03267195075750351,
-0.024156387895345688,
0.05860096588730812,
-0.02959592081606388,
0.03381894528865814,
-0.021149873733520508,
-0.013920336030423641,
-0.03795507177710533,
-0.0053700171411037445,
-0.01899491623044014,
0.01668354868888855,
0.0009802670683711767,
0.007929029874503613,
0.014215773902833462,
0.04417664557695389,
-0.014181016013026237,
-0.012338874861598015,
-0.019186081364750862,
-0.018786370754241943,
-0.010001439601182938,
-0.02127152495086193,
-0.036390990018844604,
0.021132495254278183,
0.025355517864227295,
-0.042404018342494965,
-0.027927564457058907,
0.04448946192860603,
-0.024799399077892303,
-0.06756836920976639,
0.05957417190074921,
-0.04859083518385887,
-0.06072116643190384,
-0.022279489785432816,
-0.021323660388588905,
-0.053665414452552795,
0.026050666347146034,
-0.006864584982395172,
0.0736856758594513,
0.04191741719841957,
-0.03878924995660782,
-0.04740908369421959,
-0.02321793884038925,
0.03388845920562744,
-0.003597390139475465,
0.021914536133408546,
-0.007338154595345259,
0.024799399077892303,
0.013633587397634983,
-0.024469204246997833,
-0.01869947835803032,
-0.03548729792237282,
-0.044350434094667435,
-0.02108035981655121,
-0.057732030749320984,
-0.02210570126771927,
0.03798983246088028,
-0.050224434584379196,
0.10510635375976562,
0.017370007932186127,
0.0018779854290187359,
-0.06812448799610138,
0.019742200151085854,
0.014459075406193733,
0.04153508320450783,
0.010340324603021145,
0.010409839451313019,
-0.039727699011564255,
-0.035000693053007126,
0.02745833992958069,
-0.013199119828641415,
0.009775516577064991,
-0.03256767615675926,
-0.022244730964303017,
0.07465887814760208,
0.0073338099755346775,
-0.06183340400457382,
-0.02570309303700924,
0.002372191986069083,
0.04622733220458031,
0.0020181010477244854,
-0.03604341670870781,
0.025789985433220863,
0.07876025140285492,
0.01521504856646061,
0.0040796492248773575,
-0.06579574197530746,
0.03447933495044708,
0.011504696682095528,
0.02035045437514782,
-0.020489484071731567,
0.029230967164039612,
-0.018473554402589798,
0.03809410333633423,
-0.034375060349702835,
-0.03319330886006355,
0.0019312076037749648,
-0.02864009141921997,
-0.006751623470336199,
0.019742200151085854,
0.0031803015153855085,
0.034375060349702835,
-0.06395360082387924,
0.047026753425598145,
0.025286003947257996,
0.024834157899022102,
-0.016553208231925964,
0.030273688957095146,
-0.016448935493826866,
-0.031698741018772125,
0.02735406905412674,
0.04421140253543854,
-0.056446004658937454,
0.017352627590298653,
0.038337405771017075,
-0.009801585227251053,
-0.003536564763635397,
0.025511926040053368,
0.000008799662282399368,
0.027892807498574257,
-0.037642255425453186,
0.056411247700452805,
-0.020037638023495674,
0.014658930711448193,
-0.03095145896077156,
-0.021914536133408546,
-0.01147862896323204,
-0.01690947264432907
] |
18,153 | jsondiff | diff | null | def diff(self, a, b, fp=None):
if self.options.load:
a = self.options.loader(a)
b = self.options.loader(b)
d, s = self._obj_diff(a, b)
if self.options.marshal or self.options.dump:
d = self.marshal(d)
if self.options.dump:
return self.options.dumper(d, fp)
else:
return d
| (self, a, b, fp=None) | [
0.012976103462278843,
-0.041386038064956665,
0.03908299282193184,
0.023013249039649963,
-0.03217386081814766,
-0.058607302606105804,
-0.02523035742342472,
0.05743859335780144,
-0.033858176320791245,
-0.032551974058151245,
-0.017977489158511162,
-0.03043798729777336,
-0.022153904661536217,
0.027120916172862053,
-0.04544214531779289,
0.01329406164586544,
-0.05513555184006691,
0.018475908786058426,
-0.004760769195854664,
0.001211675931699574,
0.023666350170969963,
0.002704787300899625,
0.002232147613540292,
0.06500082463026047,
-0.02024615928530693,
-0.016490822657942772,
0.016198646277189255,
-0.04740145057439804,
0.018785273656249046,
0.04599212482571602,
0.02933802455663681,
-0.043276596814394,
0.024061650037765503,
-0.021328933537006378,
-0.04368907958269119,
-0.04176414757966995,
0.032500412315130234,
0.052660636603832245,
-0.030403612181544304,
-0.048948269337415695,
-0.007377473637461662,
0.0007116447668522596,
0.03877362981438637,
0.03523312881588936,
-0.031589508056640625,
0.012030825018882751,
-0.06946942210197449,
-0.024766311049461365,
-0.047023337334394455,
0.007102483417838812,
0.06713200360536575,
-0.027688084170222282,
-0.004524449352174997,
0.061185337603092194,
-0.023803846910595894,
0.007025142200291157,
0.007648167200386524,
0.052316900342702866,
-0.06176969036459923,
0.01993679441511631,
0.009590285830199718,
-0.021002382040023804,
0.015201806090772152,
-0.06898818910121918,
-0.01014026626944542,
-0.003078602021560073,
-0.044789042323827744,
-0.004227975383400917,
-0.01073321420699358,
0.0634196326136589,
-0.03217386081814766,
0.008266895078122616,
0.013474524021148682,
0.028495866805315018,
0.03842988982796669,
0.04324221983551979,
0.028169317170977592,
0.0612197108566761,
0.006174391135573387,
-0.026072515174746513,
-0.01849309541285038,
-0.031761378049850464,
0.0004976142663508654,
-0.008546181954443455,
-0.004893967416137457,
0.0063333697617053986,
0.03222542256116867,
-0.019266506657004356,
0.025453787297010422,
-0.030145809054374695,
-0.04867327958345413,
0.011919110082089901,
-0.02291012741625309,
0.0030657118186354637,
0.013448743149638176,
-0.02925209142267704,
-0.03451127931475639,
0.03726118430495262,
0.009478570893406868,
0.023425733670592308,
0.03415035456418991,
0.005353717133402824,
-0.0231679305434227,
0.010174640454351902,
0.041867271065711975,
-0.02076176553964615,
0.04454842582345009,
-0.036058101803064346,
-0.008034871891140938,
0.009323889389634132,
-0.04447967931628227,
-0.016207238659262657,
-0.02514442428946495,
0.031761378049850464,
0.0345284678041935,
-0.02395852841436863,
-0.005443948321044445,
-0.0572667270898819,
0.04437655583024025,
0.0030979374423623085,
-0.02191328816115856,
0.018682152032852173,
0.02024615928530693,
-0.007050922606140375,
0.015184619463980198,
-0.028255250304937363,
0.057610463351011276,
-0.06091034784913063,
0.037226807326078415,
0.018029050901532173,
0.07122248411178589,
-0.02387259341776371,
-0.026399066671729088,
0.036745574325323105,
-0.0036608080845326185,
0.00784581620246172,
0.003007706254720688,
0.07720351964235306,
0.025866273790597916,
0.027774017304182053,
0.011979264207184315,
-0.013844042085111141,
0.04839828982949257,
0.0380517803132534,
-0.09762155264616013,
0.005525585729628801,
-0.04485778883099556,
-0.007807145826518536,
-0.030145809054374695,
0.09088429063558578,
-0.0009237954509444535,
0.0035791704431176186,
-0.000012546095604193397,
-0.06671951711177826,
0.010991017334163189,
-0.03853301331400871,
-0.05740422010421753,
-0.05094194784760475,
-0.014316681772470474,
-0.0030936405528336763,
0.018372787162661552,
0.0032010586000978947,
0.07335365563631058,
-0.01914619840681553,
0.04183289781212807,
0.009865276515483856,
0.051491931080818176,
-0.006367743480950594,
-0.011747241020202637,
0.0599135085940361,
-0.003519016318023205,
-0.005057243164628744,
-0.007261462043970823,
0.028667736798524857,
0.009083272889256477,
0.013208126649260521,
0.022102342918515205,
-0.014204966835677624,
0.023752285167574883,
-0.01307063177227974,
0.007282945793122053,
0.031452011317014694,
-0.016722846776247025,
0.03959859907627106,
0.007007955573499203,
-0.016843155026435852,
-0.04355158656835556,
0.01469479314982891,
0.06331650912761688,
0.020847700536251068,
0.04472029581665993,
0.013044850900769234,
0.004294574726372957,
0.018304040655493736,
-0.02566003054380417,
-0.01110273227095604,
-0.04647335782647133,
-0.04386094957590103,
0.08442201465368271,
0.043139100074768066,
-0.04533902183175087,
-0.05468869209289551,
0.014462769962847233,
-0.004752175882458687,
0.004782252945005894,
0.028702110052108765,
-0.018424348905682564,
0.0279802605509758,
-0.03650495782494545,
0.0011300381738692522,
-0.004159227944910526,
-0.0520419105887413,
-0.012486277148127556,
-0.01936962828040123,
0.06097909435629845,
-0.009693407453596592,
0.0072013079188764095,
-0.0009055343689396977,
-0.05118256434798241,
0.006573986262083054,
0.08029716461896896,
0.034648776054382324,
0.00832704920321703,
0.06534456461668015,
-0.013758107088506222,
0.03188168630003929,
-0.033686310052871704,
0.014780727215111256,
0.0000798250621301122,
-0.012675332836806774,
0.018939955160021782,
-0.01748766377568245,
0.0042430139146745205,
-0.010329321958124638,
0.08201584964990616,
-0.009220767766237259,
-0.02208515629172325,
-0.010114486329257488,
0.03112546168267727,
-0.012408936396241188,
-0.0058521367609500885,
0.021672671660780907,
0.05774796009063721,
0.002726270817220211,
0.005955258384346962,
-0.0642789751291275,
-0.010329321958124638,
-0.06809446960687637,
-0.02987081930041313,
-0.017436102032661438,
0.026725618168711662,
-0.024783499538898468,
0.023064808920025826,
0.040732935070991516,
0.0065954700112342834,
-0.010123079642653465,
0.02636469341814518,
-0.047676440328359604,
0.0003673698229249567,
0.04774518683552742,
0.06328213959932327,
-0.015992403030395508,
-0.03598935157060623,
0.018269667401909828,
-0.04544214531779289,
-0.03966734930872917,
-0.03667682781815529,
-0.02313355728983879,
-0.006088456604629755,
0.04489216208457947,
-0.04729832708835602,
-0.06568830460309982,
-0.04784831032156944,
0.02155236341059208,
-0.07019127160310745,
-0.04544214531779289,
0.004371915943920612,
-0.029888005927205086,
0.02925209142267704,
-0.03712368756532669,
-0.03225979581475258,
-0.044307809323072433,
-0.029097408056259155,
-0.008451654575765133,
-0.048467036336660385,
-0.01377529464662075,
-0.03420191630721092,
-0.10683372616767883,
-0.001117147970944643,
-0.03203636780381203,
0.04392969608306885,
0.0009646143298596144,
0.014720573090016842,
-0.02995675429701805,
-0.02256638929247856,
0.03480345755815506,
-0.044307809323072433,
-0.1018838956952095,
0.03990796580910683,
0.029286464676260948,
-0.06871319562196732,
-0.065619558095932,
0.0931529551744461,
0.07252868264913559,
-0.031108275055885315,
-0.023356987163424492,
0.0546543188393116,
-0.012365968897938728,
0.022583575919270515,
0.004316058475524187,
-0.047504570335149765,
0.0088512497022748,
0.019043076783418655,
0.05238564684987068,
-0.001974344253540039,
0.006286106072366238,
-0.04056106507778168,
0.0493951290845871,
-0.024199144914746284,
0.020228972658514977,
-0.043276596814394,
0.0349753275513649,
-0.024388199672102928,
0.06128845736384392,
0.03451127931475639,
-0.047160834074020386,
0.019300879910588264,
0.011051171459257603,
0.10545877367258072,
0.03729555755853653,
-0.049566999077796936,
-0.005590036977082491,
0.09762155264616013,
0.04554526507854462,
0.04100792482495308,
0.013723733834922314,
-0.0037531876005232334,
-0.038189273327589035,
0.00472209881991148,
0.004670538008213043,
0.06946942210197449,
0.005761905573308468,
-0.004893967416137457,
-0.032895710319280624,
0.012391749769449234,
0.018733711913228035,
0.0030635634902864695,
0.027309972792863846,
0.039804842323064804,
-0.004346135538071394,
-0.08284082263708115,
0.012855795212090015,
-0.014179185964167118,
0.012958916835486889,
-0.00729153910651803,
0.029458332806825638,
-0.0485357828438282,
-0.015201806090772152,
0.011266008019447327,
-0.015339301899075508,
-0.04368907958269119,
0.06307589262723923,
-0.053794972598552704,
-0.012090979143977165,
0.012683926150202751,
-0.03476908430457115,
-0.01350889727473259,
-0.07679103314876556,
-0.09363418817520142,
-0.02474912442266941,
-0.03361755982041359,
0.02203359641134739,
0.04832954332232475,
-0.08971557766199112,
0.0002662625629454851,
-0.03664245456457138,
-0.0011633377289399505,
0.04564838483929634,
0.03315351530909538,
0.06328213959932327,
0.009109052829444408,
0.030334865674376488,
-0.059879131615161896,
0.06579142063856125,
-0.01394716277718544,
0.021638298407197,
-0.015236180275678635,
-0.040595438331365585,
0.03476908430457115,
0.035576868802309036,
-0.030025500804185867,
-0.018372787162661552,
-0.021810166537761688,
0.035044074058532715,
-0.05706048384308815,
-0.008241115137934685,
-0.01735016703605652,
0.006457974668592215,
-0.04554526507854462,
-0.029286464676260948,
0.07624105364084244,
0.04970449209213257,
-0.07190995663404465,
0.03533625230193138,
-0.0380517803132534,
0.01666269265115261,
0.014024504460394382,
0.06723511964082718,
-0.04289848357439041,
0.06572267413139343,
-0.01047541107982397,
-0.03274102881550789,
-0.04276098683476448,
-0.0063333697617053986,
-0.0023868295829743147,
0.00536660710349679,
-0.0017036506906151772,
-0.02007429115474224,
-0.0039830622263252735,
0.0056115202605724335,
0.016301767900586128,
0.036436211317777634,
-0.0011246672365814447,
-0.024113209918141365,
0.016774406656622887,
-0.04375782981514931,
-0.005757608916610479,
0.03157231956720352,
0.003467455506324768,
0.022222651168704033,
0.025213170796632767,
-0.0441703125834465,
-0.002777831396088004,
0.0010016735177487135,
0.0703631341457367,
-0.022136718034744263,
0.05798857659101486,
-0.019868047907948494,
0.07032876461744308,
0.05692298710346222,
0.03918611630797386,
-0.007493485230952501,
0.029802070930600166,
-0.007695430889725685,
-0.1106148362159729,
-0.07087874412536621,
-0.0054955086670815945,
-0.04520152881741524,
0.01897432841360569,
0.001366357901133597,
0.0804346576333046,
-0.0037832646630704403,
0.01906026341021061,
-0.04564838483929634,
-0.03208792954683304,
-0.03777679055929184,
-0.0032547677401453257,
-0.018080610781908035,
-0.04987636208534241,
0.05791982635855675,
-0.009066085331141949,
-0.00564159732311964,
-0.016155678778886795,
0.0019893827848136425,
-0.01173864770680666,
0.018613403663039207,
0.00501857278868556,
0.04661085084080696,
-0.017436102032661438,
0.03825802356004715,
0.01250346377491951,
-0.01217691320925951,
-0.03396129980683327,
0.03418472781777382,
-0.010234794579446316,
0.03253478556871414,
-0.0011730054393410683,
-0.007910267449915409,
-0.0288567915558815,
-0.03179575130343437,
-0.019214944913983345,
-0.019077450037002563,
-0.047195207327604294,
-0.006840383168309927,
0.052798133343458176,
-0.049773238599300385,
0.015451015904545784,
0.017204079777002335,
0.07424737513065338,
-0.03403004631400108,
0.01233159564435482,
-0.017238453030586243,
-0.03911736607551575,
-0.06668514013290405,
-0.01897432841360569,
-0.004006694070994854,
-0.0082024447619915,
-0.03650495782494545,
0.01643926277756691,
-0.03681432455778122,
-0.025677217170596123,
-0.020882073789834976,
-0.003907869569957256,
0.013586238026618958,
-0.0021881063003093004,
0.05434495210647583,
0.0058435434475541115,
-0.001387841533869505,
-0.024800686165690422,
0.01110273227095604,
-0.05950102210044861,
-0.018166545778512955,
0.050735704600811005,
0.08229084312915802,
0.0002289347758051008,
0.01088789664208889,
-0.028753671795129776,
0.0007530007278546691,
0.004533042665570974,
-0.034992512315511703,
0.0035856154281646013,
-0.009272328577935696,
0.00009365513687953353,
-0.10147140920162201,
-0.016550976783037186,
-0.008782502263784409,
-0.06049786135554314,
0.014858068898320198,
0.06579142063856125,
-0.05372622609138489,
-0.018905581906437874,
-0.010612905956804752,
0.050220098346471786,
-0.05132006108760834,
-0.031228583306074142,
0.007600903045386076,
-0.04368907958269119,
0.02248045615851879,
-0.04997948184609413,
-0.028100568801164627,
0.031073901802301407,
0.029063034802675247,
0.0015779715031385422,
0.047504570335149765,
-0.01832122728228569,
0.00924654770642519,
-0.023597603663802147,
0.020435215905308723,
0.013500303961336613,
0.03459721431136131,
-0.0006138943135738373,
-0.030231744050979614,
0.043001603335142136,
0.06455396860837936,
-0.0402173288166523,
0.00259092403575778,
-0.011618339456617832,
0.02304762229323387,
0.06111659109592438,
-0.03877362981438637,
0.013740920461714268,
0.0027241224888712168,
0.04093917831778526,
0.01832122728228569,
0.009521538391709328,
0.02718966454267502,
0.059088535606861115,
-0.006225951947271824,
-0.02352885529398918,
-0.007536452263593674,
0.009951210580766201,
0.06238842010498047,
0.006569689605385065,
-0.015622884966433048,
0.014591671526432037,
0.02058989740908146,
-0.004133447539061308,
0.03310195356607437,
0.004180711694061756,
0.014944002963602543,
-0.011575371958315372,
0.05578865110874176,
0.02028053253889084,
0.003748890943825245,
-0.007815739139914513,
-0.008842656388878822,
0.008009091950953007,
-0.008288378827273846,
0.08325330913066864,
0.003516867756843567,
-0.07101623713970184,
-0.05156067758798599,
0.01309641171246767,
-0.03664245456457138,
-0.001980789238587022,
0.015451015904545784,
0.024766311049461365,
0.02330542542040348,
-0.008816875517368317,
-0.02964738942682743,
0.027086542919278145,
-0.04582025483250618,
0.03698619082570076,
-0.05974163860082626,
0.016198646277189255,
0.023580417037010193,
-0.03330819681286812,
-0.061666570603847504,
0.010312135331332684,
0.040286075323820114,
0.034133169800043106,
0.010269167833030224,
0.01458307821303606,
-0.07355990260839462,
0.06376337260007858,
-0.031108275055885315,
0.035920605063438416,
-0.03636746481060982,
-0.034872204065322876,
0.012847201898694038,
0.0013287615729495883,
0.016078338027000427,
0.0025866273790597916,
0.02404446341097355,
-0.04162665456533432,
0.04423906281590462,
-0.036264341324567795,
0.025333479046821594,
0.011815988458693027,
-0.000046189772547222674,
0.013955757021903992,
-0.04561401158571243,
0.032466039061546326,
-0.0113691296428442,
-0.03808615356683731,
0.0010355102131143212,
0.013929976150393486,
-0.0008614929975010455,
-0.003048524959012866,
0.07534733414649963,
0.031984806060791016,
-0.03483783081173897,
-0.01936962828040123,
-0.0011311123380437493,
-0.06720075011253357,
-0.02500692754983902,
-0.02956145443022251,
-0.04616399481892586,
0.07232244312763214,
0.01254643127322197,
-0.03973609581589699,
0.015528357587754726,
-0.019816486164927483,
-0.036883071064949036,
-0.06142595410346985,
0.037364304065704346,
0.04472029581665993,
0.008653600700199604,
0.029320837929844856,
0.0026038142386823893,
-0.017788434401154518,
-0.006565392948687077,
-0.021414868533611298,
-0.01993679441511631,
0.026416253298521042,
0.0059681483544409275,
0.020177410915493965,
0.029664576053619385,
0.0022944500669837,
-0.020710205659270287,
-0.0406641885638237,
0.041248541325330734,
-0.00032574532087892294,
0.02033209428191185,
-0.08400952816009521,
-0.0555136613547802,
0.01928369328379631,
0.02265232428908348,
0.0472295805811882,
-0.021964848041534424,
0.02596939355134964,
0.04447967931628227,
-0.014247933402657509,
-0.02313355728983879,
-0.02684592641890049,
0.06091034784913063,
0.004187156446278095,
0.04709208384156227,
0.021311746910214424,
0.03152076154947281,
0.03918611630797386,
-0.02535066567361355,
0.0018948549404740334,
0.0005403129034675658,
0.014600264839828014,
-0.01648223027586937,
0.018389975652098656,
-0.0498419888317585,
-0.0533481128513813,
0.030678603798151016,
0.009873869828879833,
0.021758606657385826,
0.035130009055137634,
-0.025247544050216675,
0.020658643916249275,
-0.032689470797777176,
-0.038361143320798874,
0.00717982416972518,
-0.009822309017181396,
-0.032637909054756165,
-0.031503573060035706,
0.04657647758722305,
0.06802572309970856,
-0.019610244780778885,
0.03349725157022476,
-0.001775620854459703,
-0.03310195356607437,
0.009057492017745972,
0.0008426948334090412,
0.05647612735629082,
-0.08098463714122772,
-0.015511170029640198,
0.047160834074020386,
0.024113209918141365,
0.053794972598552704,
0.041729774326086044,
0.015451015904545784,
-0.051698170602321625,
-0.04052669182419777,
-0.0003029189829248935,
-0.013818261213600636,
0.030678603798151016,
0.018218105658888817,
-0.006346260197460651,
-0.018029050901532173,
0.015133058652281761,
0.0033449989277869463,
-0.027859952300786972,
0.08290956914424896,
0.04740145057439804,
0.0031795750837773085,
0.035611242055892944,
0.008769611828029156,
0.04544214531779289,
-0.006028302479535341,
-0.03243166580796242,
0.02523035742342472,
0.02890835329890251,
-0.064691461622715,
0.013156565837562084,
0.0018862613942474127,
-0.05214503034949303,
-0.04788268357515335,
0.0493951290845871,
0.03904861956834793,
0.011592558585107327,
-0.007115373387932777,
-0.010114486329257488,
0.006359150167554617,
-0.08758440613746643,
-0.003800451522693038,
0.03332538530230522,
0.001671425299718976,
0.08930309116840363,
0.02046958915889263,
0.023855406790971756,
-0.033033207058906555,
0.07115373760461807
] |
18,154 | jsondiff | marshal | null | def marshal(self, d):
if isinstance(d, dict):
return {
self._escape(k): self.marshal(v)
for k, v in d.items()
}
elif isinstance(d, (list, tuple)):
return type(d)(
self.marshal(x)
for x in d
)
else:
return self._escape(d)
| (self, d) | [
-0.01678440161049366,
-0.02460748702287674,
0.050624214112758636,
-0.043072137981653214,
-0.00364505173638463,
0.005180761218070984,
-0.010957739315927029,
0.006025401409715414,
0.019675148651003838,
-0.010343455709517002,
-0.007488842587918043,
0.0658729076385498,
0.008798711933195591,
0.02569151669740677,
-0.023252449929714203,
-0.025601182132959366,
-0.011942400597035885,
0.0432889424264431,
0.02948562428355217,
0.03611627593636513,
0.05138303339481354,
0.04220491275191307,
0.07096784561872482,
0.02200581505894661,
-0.03136460855603218,
-0.016278522089123726,
-0.02316211350262165,
0.022475561127066612,
-0.014995751902461052,
0.010153749957680702,
0.00430224509909749,
-0.02052430622279644,
0.05969393253326416,
0.02793184667825699,
0.07913421094417572,
0.01980162039399147,
-0.06370484828948975,
0.03608014062047005,
-0.06081409752368927,
-0.058790575712919235,
-0.049106571823358536,
-0.03683896362781525,
-0.01934994012117386,
-0.007050713524222374,
0.054346051067113876,
0.02572765201330185,
0.009096820838749409,
0.04415616765618324,
0.005135593470185995,
-0.021825142204761505,
0.048709094524383545,
-0.027082689106464386,
0.00002314856283192057,
-0.03779652342200279,
-0.04636036232113838,
0.01748902164399624,
0.018103305250406265,
0.034508295357227325,
0.0249688308686018,
-0.023198246955871582,
-0.00514011038467288,
0.04928724467754364,
0.006580966990441084,
-0.030804526060819626,
-0.008839363232254982,
0.019982291385531425,
-0.055755291134119034,
-0.03221376612782478,
-0.04484272003173828,
-0.003410178469493985,
-0.0049097537994384766,
-0.03689316287636757,
-0.0672098770737648,
0.032990653067827225,
0.005185278132557869,
0.05365949869155884,
0.006332543678581715,
-0.000611460825894028,
-0.011662359349429607,
0.015176423825323582,
0.03389401361346245,
-0.09120307862758636,
-0.050226736813783646,
0.04516792669892311,
-0.01682957075536251,
0.061789724975824356,
-0.008324448950588703,
0.04144608974456787,
-0.04881749674677849,
0.0010608816519379616,
0.019982291385531425,
0.018753724172711372,
-0.029955370351672173,
0.08397620916366577,
-0.02314404584467411,
-0.006160905584692955,
0.001295190304517746,
0.03577299788594246,
-0.008125710301101208,
0.06251241266727448,
-0.0007825343636795878,
-0.008062475360929966,
-0.04289146512746811,
-0.012077904306352139,
-0.04448137432336807,
-0.06229560449719429,
0.027173025533556938,
-0.00747077539563179,
-0.043794821947813034,
0.015221592038869858,
-0.047950271517038345,
-0.008970350958406925,
0.0031120702624320984,
-0.008261214010417461,
-0.006684853229671717,
0.014860248193144798,
-0.00022471044212579727,
-0.005253029987215996,
0.027877645567059517,
-0.002504561562091112,
0.006314476486295462,
0.010515093803405762,
0.040831808000802994,
-0.0015944278566166759,
-0.03725450858473778,
0.055032603442668915,
0.008997451514005661,
0.0299011692404747,
0.025637315586209297,
0.017633559182286263,
0.036025937646627426,
0.01683860272169113,
-0.015022852458059788,
0.008816779591143131,
0.06681239604949951,
-0.022909173741936684,
-0.03311712667346001,
-0.0014894123887643218,
0.00011814236495411023,
0.023216314613819122,
0.024101605638861656,
-0.030858729034662247,
0.024011271074414253,
0.05120236426591873,
-0.009982111863791943,
-0.033767543733119965,
0.058754440397024155,
0.06981155276298523,
-0.0186995230615139,
0.0058582802303135395,
-0.012385046109557152,
0.02469782344996929,
0.04672170430421829,
0.0305696539580822,
-0.0351225808262825,
0.04137382283806801,
-0.0024255176540464163,
-0.070245161652565,
0.012755422852933407,
-0.040036849677562714,
0.013017396442592144,
0.00013112813758198172,
-0.04332507774233818,
-0.015149323269724846,
0.013577478937804699,
0.003868632949888706,
0.014896382577717304,
-0.05037127435207367,
0.060344353318214417,
0.013613613322377205,
0.043072137981653214,
-0.014887348748743534,
-0.009711104445159435,
0.03407468646764755,
0.055032603442668915,
-0.0032746747601777315,
-0.002644582185894251,
0.018491750583052635,
-0.02719109319150448,
0.009295559488236904,
0.016332723200321198,
0.00042232012492604554,
0.0529729463160038,
-0.004379030782729387,
0.029232682660222054,
-0.04065113514661789,
-0.007674030959606171,
0.024788158014416695,
0.03866374492645264,
0.030858729034662247,
0.021843209862709045,
-0.00896583404392004,
0.012330844067037106,
-0.02274656854569912,
-0.04520406201481819,
-0.01246634777635336,
-0.012041769921779633,
-0.005239479709416628,
-0.0099188769236207,
0.03580913320183754,
-0.024426816031336784,
-0.014218864031136036,
0.043867092579603195,
0.002063045045360923,
-0.010370556265115738,
-0.004882653243839741,
-0.0068113235756754875,
-0.04075953736901283,
0.0486006923019886,
-0.08592746406793594,
0.0730997771024704,
-0.05033513903617859,
-0.06150064989924431,
-0.03407468646764755,
0.01981968618929386,
-0.021084388718008995,
0.08253084123134613,
-0.052394796162843704,
-0.07826698571443558,
-0.06381324678659439,
-0.02169867232441902,
0.04180743545293808,
-0.008586423471570015,
0.019476410001516342,
-0.008541255258023739,
-0.04224104806780815,
-0.05629730597138405,
-0.0276247039437294,
0.006594517268240452,
0.018022002652287483,
0.003091744612902403,
-0.050913289189338684,
-0.01136425044387579,
-0.010162783786654472,
0.04701077938079834,
-0.024011271074414253,
0.053876303136348724,
-0.13123993575572968,
0.07187120616436005,
0.04108474776148796,
0.06428299844264984,
0.02168060466647148,
0.005682125221937895,
-0.026667144149541855,
0.017037343233823776,
0.009042618796229362,
0.029286883771419525,
0.04881749674677849,
0.033803679049015045,
0.049829259514808655,
-0.01942220889031887,
-0.001807846361771226,
-0.002590380609035492,
0.018771789968013763,
0.002752985106781125,
0.019259603694081306,
0.03609820827841759,
0.024553285911679268,
-0.009467197582125664,
0.00682035693898797,
0.015203524380922318,
0.01907893270254135,
-0.033406198024749756,
0.0581040233373642,
-0.002619739854708314,
-0.021861277520656586,
-0.018735656514763832,
-0.03985618054866791,
-0.033731408417224884,
-0.028473861515522003,
0.021879345178604126,
0.02578185312449932,
0.0082115288823843,
0.032990653067827225,
-0.04430070519447327,
0.03091293014585972,
0.06688466668128967,
-0.021084388718008995,
-0.0019501253264024854,
-0.003821206744760275,
0.005912481807172298,
-0.027462100610136986,
-0.004433232359588146,
-0.019277671352028847,
0.0063641611486673355,
0.0039567104540765285,
-0.027480168268084526,
0.021391531452536583,
0.022674299776554108,
-0.03888055309653282,
0.04028979316353798,
0.0537317655980587,
-0.005700192414224148,
-0.024101605638861656,
-0.018825992941856384,
-0.03506837785243988,
-0.04412003234028816,
-0.031527213752269745,
0.052828408777713776,
-0.031491078436374664,
0.046035151928663254,
0.004769733175635338,
0.08917956054210663,
0.07183507084846497,
-0.03237637132406235,
-0.020704979076981544,
0.011806895956397057,
0.01383945345878601,
-0.07870059460401535,
0.025203702971339226,
-0.05593596026301384,
0.046107422560453415,
-0.014842181466519833,
0.048022542148828506,
-0.038266267627477646,
-0.041554491966962814,
-0.039711643010377884,
-0.0003232329909224063,
-0.0058763474225997925,
0.028130585327744484,
-0.015058986842632294,
-0.022656232118606567,
0.013333572074770927,
-0.031129736453294754,
0.04961245134472847,
-0.007628863211721182,
0.05365949869155884,
0.00755659444257617,
0.0575258731842041,
-0.01247538160532713,
0.0314188115298748,
-0.0738585963845253,
0.007655963767319918,
0.03280998393893242,
0.025962524116039276,
0.01103000808507204,
0.025167569518089294,
0.013017396442592144,
-0.05416537821292877,
-0.036820895969867706,
-0.010993873700499535,
0.059115782380104065,
-0.0005787140689790249,
-0.007534010335803032,
-0.02616126462817192,
0.010876436717808247,
0.023957068100571632,
0.004491950385272503,
0.019675148651003838,
0.019530612975358963,
-0.022114217281341553,
0.009973078966140747,
0.05261160433292389,
-0.005262063816189766,
-0.016721166670322418,
-0.08195269107818604,
-0.018193641677498817,
-0.0048871696926653385,
0.002348732203245163,
0.03869988024234772,
0.07114852219820023,
0.017380619421601295,
0.0020483655389398336,
-0.017660660669207573,
0.05864603817462921,
-0.01059639547020197,
-0.05665864795446396,
-0.02130119502544403,
-0.0172270480543375,
0.0588628426194191,
-0.002789119491353631,
-0.01382138580083847,
-0.06822163611650467,
-0.005248513072729111,
0.020307499915361404,
0.029738564044237137,
-0.0032024059910327196,
0.021138589829206467,
-0.031906623393297195,
-0.02018103003501892,
-0.00265587423928082,
-0.004146415740251541,
0.056875456124544144,
0.013107732869684696,
0.04744439199566841,
-0.012114038690924644,
0.0725216269493103,
0.02054237388074398,
-0.037146102637052536,
-0.03698350116610527,
-0.033442333340644836,
-0.004787800367921591,
0.015393230132758617,
0.04592674970626831,
-0.05907965078949928,
-0.05698385834693909,
0.053876303136348724,
-0.015537767671048641,
-0.0239209346473217,
0.011897232383489609,
0.013929788954555988,
-0.023216314613819122,
-0.05272000655531883,
-0.057634275406599045,
0.03956710547208786,
-0.06236787512898445,
-0.016630830243229866,
0.019295739009976387,
-0.01025311928242445,
0.03463476896286011,
0.04892589896917343,
0.016133984550833702,
-0.02542050927877426,
-0.02316211350262165,
0.03869988024234772,
-0.018392380326986313,
-0.04137382283806801,
0.05261160433292389,
-0.05149143934249878,
0.017985869199037552,
0.0025316623505204916,
-0.014209830202162266,
-0.04990152642130852,
0.05965780094265938,
-0.028979742899537086,
-0.019476410001516342,
-0.02052430622279644,
-0.004701981320977211,
0.026396136730909348,
0.03736291080713272,
0.03501417860388756,
-0.0314188115298748,
0.029612094163894653,
-0.05571915581822395,
0.0611393079161644,
0.025872189551591873,
0.0276247039437294,
-0.024336479604244232,
0.012628952972590923,
0.018356245011091232,
-0.026703279465436935,
0.015745539218187332,
-0.0054111178033053875,
-0.050588078796863556,
0.050877153873443604,
0.002223391318693757,
-0.03203309327363968,
0.04068727046251297,
0.08043504506349564,
0.0022380708251148462,
0.06843844801187515,
-0.015601002611219883,
0.0721602812409401,
-0.02009069360792637,
-0.013532311655580997,
0.007104915101081133,
0.026414204388856888,
-0.06554769724607468,
-0.006784222554415464,
0.014553106389939785,
0.011978534050285816,
-0.10515093803405762,
0.0224032923579216,
0.005230445880442858,
-0.019223470240831375,
0.0230717770755291,
-0.08361487090587616,
0.02390286698937416,
-0.02574571967124939,
-0.028889406472444534,
0.04776960238814354,
0.0651140883564949,
0.024173874408006668,
0.017082510516047478,
0.03277384862303734,
0.00401994539424777,
-0.004900719970464706,
-0.028437728062272072,
-0.02128312736749649,
-0.05897124856710434,
0.0017581615829840302,
-0.005153660662472248,
0.025294039398431778,
-0.05113009363412857,
-0.014444703236222267,
-0.0035818167962133884,
0.05192504823207855,
0.02832932397723198,
0.01060542929917574,
0.07284683734178543,
0.04769733175635338,
0.07364179193973541,
-0.01677536778151989,
-0.04585447907447815,
0.04776960238814354,
-0.002402933780103922,
-0.08737283945083618,
-0.06016368046402931,
-0.01904279924929142,
-0.03848307579755783,
0.008676758967339993,
-0.023288583382964134,
-0.013703949749469757,
0.005185278132557869,
-0.01751612313091755,
0.0049413712695240974,
0.026757480576634407,
0.0753762349486351,
-0.02533017471432686,
0.023649927228689194,
-0.02206001617014408,
-0.018934395164251328,
-0.0014352109283208847,
0.00004601482578436844,
-0.02462555468082428,
-0.012809623964130878,
-0.01972935162484646,
0.0019241537665948272,
-0.02198774740099907,
-0.061030905693769455,
0.027407899498939514,
0.056875456124544144,
-0.022945307195186615,
0.006395778618752956,
-0.05640570819377899,
-0.013333572074770927,
0.01339680701494217,
0.0021951613016426563,
0.0018778565572574735,
0.018365278840065002,
0.0049820225685834885,
0.005776978097856045,
-0.02540244348347187,
-0.03277384862303734,
-0.04242171719670296,
0.0291423462331295,
-0.023396987468004227,
0.04813094437122345,
-0.04397549480199814,
0.0019907765090465546,
0.050551943480968475,
0.025962524116039276,
0.015971379354596138,
-0.041590627282857895,
0.014887348748743534,
0.03125620633363724,
-0.0035389072727411985,
-0.011698493734002113,
0.013523277826607227,
-0.010533160530030727,
-0.08267537504434586,
-0.05365949869155884,
-0.012872859835624695,
0.09141988307237625,
-0.03174401819705963,
-0.10869210213422775,
0.029991503804922104,
-0.017796164378523827,
-0.030298646539449692,
0.018518850207328796,
-0.011626224964857101,
0.04169902950525284,
-0.032990653067827225,
-0.052756138145923615,
-0.0008988417685031891,
0.03168981894850731,
-0.004706498235464096,
0.031581416726112366,
-0.04390322417020798,
0.02796798013150692,
-0.004245785064995289,
0.029937302693724632,
0.028076384216547012,
0.020433969795703888,
0.005998300854116678,
0.00495943846181035,
-0.02536630816757679,
-0.018862126395106316,
-0.011680426076054573,
-0.03391208127140999,
-0.012041769921779633,
0.021536068990826607,
-0.05459899082779884,
-0.00967497006058693,
0.00690617598593235,
-0.011671392247080803,
-0.03927803039550781,
0.05084101855754852,
-0.031942758709192276,
0.007037163246423006,
-0.03557426109910011,
-0.01907893270254135,
-0.03761585056781769,
0.015230624936521053,
0.09423836320638657,
-0.05073261633515358,
0.008599973283708096,
0.039386432617902756,
0.00195915880613029,
-0.06742668151855469,
-0.019494477659463882,
0.017290282994508743,
-0.02655874192714691,
0.038555342704057693,
0.010948705486953259,
-0.04032592475414276,
0.03779652342200279,
0.027173025533556938,
0.0017276732251048088,
-0.043144404888153076,
-0.04578221216797829,
0.029720496386289597,
0.018365278840065002,
-0.000015702911696280353,
0.0034914808347821236,
-0.02655874192714691,
-0.09821314364671707,
-0.03250284120440483,
-0.018049104139208794,
-0.04061499983072281,
0.038952820003032684,
-0.030750324949622154,
-0.058284692466259,
-0.01364974770694971,
-0.011120343580842018,
-0.05897124856710434,
0.01902473159134388,
0.0820249542593956,
0.0002021264808718115,
-0.08245857059955597,
0.02796798013150692,
-0.02169867232441902,
0.029666295275092125,
-0.016124950721859932,
-0.06655945628881454,
0.04021752253174782,
-0.0017559032421559095,
0.02579992078244686,
-0.014291132800281048,
0.0291423462331295,
0.0478418692946434,
0.0006498535512946546,
-0.045420870184898376,
-0.018473682925105095,
0.007122982293367386,
-0.008202495984733105,
0.004336121026426554,
-0.03215956315398216,
-0.026034792885184288,
-0.024571353569626808,
-0.01512222271412611,
0.014273065142333508,
-0.03329779580235481,
0.007795984391123056,
0.007913420908153057,
0.0618981271982193,
0.02019909769296646,
-0.026432272046804428,
-0.014607307501137257,
0.019928090274333954,
-0.04628809168934822,
0.05225025862455368,
-0.09676776826381683,
-0.06760735809803009,
0.0008931958000175655,
0.02355959080159664,
-0.0635964423418045,
0.016956040635704994,
0.04950404912233353,
-0.03996458277106285,
0.03159948065876961,
-0.003897992195561528,
-0.01909700036048889,
-0.032701581716537476,
-0.05597209557890892,
-0.04148222506046295,
0.01027118694037199,
0.04018138721585274,
0.07494262605905533,
-0.0031188454013317823,
-0.04130155220627785,
-0.033803679049015045,
0.0031075533479452133,
0.07324431091547012,
-0.04509565979242325,
-0.0708233118057251,
0.007244935724884272,
-0.030894862487912178,
-0.03571879863739014,
-0.019855821505188942,
0.05008219927549362,
-0.06540316343307495,
-0.023758329451084137,
-0.056947723031044006,
-0.01325227040797472,
-0.037868790328502655,
0.03960324078798294,
-0.04581834748387337,
0.03205116093158722,
-0.0063235098496079445,
0.034165021032094955,
-0.012538616545498371,
0.04213264212012291,
-0.014715710654854774,
0.04137382283806801,
-0.047191452234983444,
0.06225947290658951,
0.010867403820157051,
0.053876303136348724,
0.030172176659107208,
-0.013161933980882168,
0.08946862816810608,
0.04997379705309868,
-0.015926212072372437,
-0.006075086537748575,
-0.025565046817064285,
0.01511318888515234,
0.004570994526147842,
0.028202854096889496,
0.0059169987216591835,
-0.017010241746902466,
0.008175395429134369,
-0.0379771925508976,
0.008970350958406925,
0.03131040930747986,
0.019675148651003838,
0.008193462155759335,
-0.010497026145458221,
-0.011662359349429607,
0.006802289746701717,
-0.0020619158167392015,
-0.021481866016983986,
-0.0033424266148358583,
-0.02832932397723198,
-0.007515943143516779,
0.027425965294241905,
-0.04711918160319328,
0.01607978157699108,
-0.02838352508842945,
0.03683896362781525,
-0.036730557680130005,
0.08390394598245621,
0.04679397493600845,
0.039386432617902756,
0.0054111178033053875,
-0.06702920794487,
0.05116622895002365,
-0.008374134078621864,
-0.003392111277207732,
0.04112088307738304,
0.02984696626663208,
0.06869138777256012,
-0.08780644834041595,
-0.04256625473499298,
0.03660408779978752,
0.006273825187236071,
-0.004995572846382856,
0.026576809585094452,
0.004503242205828428,
-0.017001207917928696,
-0.00934072770178318,
-0.00969303771853447,
-0.02495076321065426,
-0.012050802819430828,
-0.005058807786554098,
0.018573051318526268,
0.06608971208333969,
0.0030149591621011496
] |
18,155 | jsondiff | patch | null | def patch(self, a, d, fp=None):
if self.options.load:
a = self.options.loader(a)
d = self.options.loader(d)
if self.options.marshal or self.options.load:
d = self.unmarshal(d)
b = self.options.syntax.patch(a, d)
if self.options.dump:
return self.options.dumper(b, fp)
else:
return b
| (self, a, d, fp=None) | [
0.012965557165443897,
-0.02898983098566532,
0.054920945316553116,
0.019065996631979942,
-0.046084653586149216,
-0.03408769145607948,
-0.04020512104034424,
0.06684993952512741,
-0.02103716880083084,
-0.04778394103050232,
-0.016058258712291718,
-0.04122469574213028,
-0.05869336053729057,
0.05791169032454491,
-0.059169162064790726,
-0.014698829501867294,
-0.048055827617645264,
0.050502799451351166,
-0.023314213380217552,
0.009473523125052452,
0.03735031932592392,
0.029686538502573967,
0.03701046481728554,
0.046594440937042236,
0.02166590467095375,
0.023195262998342514,
0.04125868156552315,
-0.0220397487282753,
0.03836989402770996,
-0.02280442789196968,
0.06423303484916687,
-0.028717944398522377,
-0.0016026397934183478,
0.03979729488492012,
0.0276813805103302,
-0.03840387985110283,
-0.0029185249004513025,
0.060596562922000885,
-0.016245180740952492,
-0.04914337024092674,
-0.03748626261949539,
0.033798810094594955,
0.02010256052017212,
0.012651189230382442,
-0.0030459712725132704,
0.023042326793074608,
-0.036704592406749725,
0.05624638870358467,
-0.012277346104383469,
0.012889089062809944,
0.09407251328229904,
-0.05002699792385101,
0.01150417048484087,
0.032405395060777664,
-0.041326653212308884,
0.029329687356948853,
0.02514944225549698,
0.07572021335363388,
0.03226945549249649,
-0.01093490980565548,
0.0432298518717289,
-0.02095220424234867,
0.00893824826925993,
-0.07198178023099899,
-0.00008562811854062602,
-0.002313154051080346,
-0.022464569658041,
0.0023004093673080206,
-0.042346224188804626,
0.040782880038022995,
-0.04853162541985512,
-0.010153237730264664,
0.02548930048942566,
-0.013475343585014343,
0.0504688136279583,
0.05196418613195419,
-0.03050219640135765,
0.003857380710542202,
0.01585434377193451,
0.0066781966015696526,
-0.02554027922451496,
-0.03233742341399193,
-0.0029185249004513025,
0.03339098393917084,
-0.04649248346686363,
-0.00719223078340292,
0.10290879756212234,
-0.011223788373172283,
-0.01049309503287077,
-0.07925473153591156,
0.0184712465852499,
0.016508569940924644,
-0.017689574509859085,
0.008861780166625977,
0.0032031554728746414,
-0.0026891210582107306,
0.03444454073905945,
0.004702775739133358,
0.01666150614619255,
0.03418964892625809,
0.003523895749822259,
-0.03463146090507507,
-0.008360490202903748,
-0.04367166757583618,
0.052100129425525665,
0.02907479554414749,
0.05998481810092926,
-0.004171748645603657,
-0.062363822013139725,
-0.016228187829256058,
-0.020374447107315063,
-0.049449242651462555,
-0.0585574172437191,
-0.0006579425535164773,
0.020561369135975838,
-0.02674677222967148,
-0.01666150614619255,
-0.051216501742601395,
0.07619601488113403,
0.019830675795674324,
-0.021631918847560883,
0.012192381545901299,
-0.007451372221112251,
0.0244867205619812,
0.012889089062809944,
0.017655588686466217,
0.017825517803430557,
-0.004430890083312988,
0.07558427006006241,
-0.044487323611974716,
0.014070093631744385,
0.030434224754571915,
-0.006436048075556755,
0.0046730381436645985,
-0.006877862848341465,
0.0038340154569596052,
-0.030179331079125404,
-0.010034287348389626,
0.009490516036748886,
-0.012557728216052055,
-0.026695793494582176,
-0.06290759146213531,
0.022464569658041,
-0.01876012422144413,
-0.05427521467208862,
-0.013033528812229633,
-0.0068906075321137905,
-0.008921255357563496,
-0.07837110012769699,
0.06297556310892105,
0.03386678174138069,
0.020663326606154442,
-0.021716883406043053,
-0.003910483326762915,
0.025506293401122093,
-0.007672279141843319,
-0.05155635625123978,
-0.06382520496845245,
-0.005399483256042004,
-0.034342583268880844,
0.01367076113820076,
-0.04370565339922905,
0.0034198143985122442,
-0.0012160519836470485,
0.03942345082759857,
0.0015452888328582048,
0.01955878920853138,
-0.04445333778858185,
0.006402062717825174,
0.042380210012197495,
0.006525260861963034,
0.01051858440041542,
-0.01564193330705166,
0.10780274868011475,
0.07150598615407944,
0.06858321279287338,
0.00624487828463316,
0.005497192498296499,
0.01438446156680584,
-0.039355479180812836,
0.023671062663197517,
0.063247449696064,
0.007260202430188656,
0.04540494084358215,
0.013594293035566807,
0.010459109209477901,
-0.037044450640678406,
0.004354421980679035,
0.037044450640678406,
0.01345835067331791,
0.08489636331796646,
-0.021054161712527275,
0.03857380896806717,
0.018063416704535484,
-0.04690031334757805,
-0.033034130930900574,
-0.059712935239076614,
-0.04754604026675224,
0.06498072296380997,
0.03840387985110283,
0.0012256104964762926,
-0.05679016187787056,
0.036534663289785385,
0.045031096786260605,
0.0032987401355057955,
0.032167498022317886,
0.025812163949012756,
0.019065996631979942,
-0.06035866215825081,
-0.012651189230382442,
-0.0007503412780351937,
-0.04938127100467682,
0.010459109209477901,
-0.004766499157994986,
0.044691238552331924,
-0.04472522437572479,
0.04125868156552315,
0.04115672409534454,
-0.057231973856687546,
0.025523286312818527,
0.03605886176228523,
0.08537216484546661,
0.02851402945816517,
0.048055827617645264,
0.002565922914072871,
-0.002523440634831786,
-0.011903502978384495,
0.003033226588740945,
-0.019422845914959908,
-0.028955845162272453,
0.0032987401355057955,
-0.0690929964184761,
-0.014809283427894115,
-0.04795387014746666,
0.05519283190369606,
-0.04815778508782387,
0.003999696113169193,
0.009074190631508827,
0.04761401191353798,
0.05614443123340607,
0.03595690429210663,
0.04686632752418518,
0.05114853009581566,
0.021631918847560883,
-0.010467605665326118,
-0.003908359445631504,
-0.0036895761732012033,
-0.07361309975385666,
0.023399177938699722,
-0.004188741557300091,
0.012821118347346783,
-0.00801638513803482,
0.01079047005623579,
0.10895825922489166,
0.0066442107781767845,
0.04975511506199837,
0.06491275131702423,
-0.006763160694390535,
0.006775905378162861,
0.01964375376701355,
0.003264754544943571,
-0.006809891201555729,
0.012107417918741703,
0.01468183659017086,
-0.010442116297781467,
-0.06046061962842941,
-0.03250735253095627,
-0.027358515188097954,
0.012166892178356647,
0.015828855335712433,
-0.04781792685389519,
-0.00341769028455019,
-0.036534663289785385,
0.04693429917097092,
-0.049075398594141006,
0.007345166523009539,
0.006444544531404972,
0.030485203489661217,
0.09271308034658432,
-0.05080867186188698,
0.027817321941256523,
-0.014792290516197681,
0.009872855618596077,
0.016712484881281853,
-0.04244818165898323,
-0.018063416704535484,
-0.0284800436347723,
0.02010256052017212,
-0.004541343543678522,
-0.006440296303480864,
0.029142767190933228,
0.03520921990275383,
0.02343316376209259,
-0.027834314852952957,
0.013330903835594654,
0.013551810756325722,
-0.07130207121372223,
-0.02982248179614544,
0.05519283190369606,
-0.03395174816250801,
-0.02503049187362194,
-0.08170170336961746,
0.07898284494876862,
0.0996461734175682,
0.0024554692208766937,
-0.029584581032395363,
0.0521681010723114,
-0.022872397676110268,
-0.04516704007983208,
0.03507327660918236,
0.018318310379981995,
0.00564588000997901,
-0.06372325122356415,
-0.000525185780134052,
0.0031054464634507895,
-0.021971777081489563,
-0.04744408279657364,
0.005896524526178837,
-0.004435138311237097,
-0.0017237139400094748,
-0.080274298787117,
-0.0353451631963253,
0.021360034123063087,
0.048361700028181076,
0.027188586071133614,
-0.026729779317975044,
0.04781792685389519,
0.004685782827436924,
0.024180850014090538,
-0.020255496725440025,
-0.036364734172821045,
-0.01729024201631546,
0.05573660135269165,
-0.004898193757981062,
0.0049194348976016045,
-0.03050219640135765,
-0.022277647629380226,
-0.05614443123340607,
-0.020663326606154442,
-0.005153086967766285,
0.03993323817849159,
0.07320526987314224,
-0.00933757983148098,
-0.00870884396135807,
0.013118493370711803,
0.044521309435367584,
0.005195568781346083,
0.0353451631963253,
0.03850583732128143,
0.012073432095348835,
-0.039695337414741516,
-0.03189561143517494,
-0.003729934338480234,
0.02562524378299713,
-0.01935487426817417,
-0.037588220089673996,
0.011113334447145462,
0.010212712921202183,
-0.01361128594726324,
-0.04791988432407379,
0.009974813088774681,
0.001692914287559688,
0.01904900372028351,
0.02292337641119957,
0.028548015281558037,
-0.022736456245183945,
-0.06039264798164368,
-0.021733876317739487,
-0.03429160639643669,
-0.016627520322799683,
0.011699588969349861,
-0.005318767391145229,
0.01926991157233715,
-0.06501470506191254,
0.03143680468201637,
-0.03121589682996273,
-0.04475921019911766,
0.017995445057749748,
-0.002383249578997493,
0.03911757841706276,
0.0281062014400959,
-0.004273706115782261,
-0.01455439068377018,
0.052439987659454346,
-0.02275344915688038,
-0.008717340417206287,
0.0034644207917153835,
-0.005280533339828253,
0.007825215347111225,
0.01084994524717331,
0.0017768166726455092,
-0.004626308102160692,
0.005837049800902605,
0.009159155189990997,
-0.09998602420091629,
0.00004842303314944729,
-0.015242601744830608,
-0.004813229665160179,
-0.04666241258382797,
-0.0049279313534498215,
0.021173112094402313,
0.007918675430119038,
0.01909998245537281,
0.03904960677027702,
0.01821635290980339,
-0.013959639705717564,
0.033340003341436386,
0.09753905236721039,
-0.03537914901971817,
0.06453891098499298,
-0.028972838073968887,
0.02953360229730606,
-0.021428005769848824,
0.010552570223808289,
0.01268517505377531,
0.003109694691374898,
0.057945676147937775,
-0.030604152008891106,
-0.06695189327001572,
0.0004386283690109849,
0.01921893283724785,
0.011283263564109802,
-0.023823998868465424,
0.046968284994363785,
0.022396598011255264,
-0.0641990527510643,
-0.013245939277112484,
0.004447882995009422,
-0.04904141277074814,
0.06348534673452377,
-0.011368228122591972,
-0.03925352171063423,
0.015353054739534855,
0.040069177746772766,
0.059678949415683746,
-0.04815778508782387,
0.018199359998106956,
-0.009974813088774681,
0.03344196081161499,
-0.0030374748166650534,
0.0594070628285408,
0.020748289301991463,
0.0033390983007848263,
-0.04788589850068092,
-0.05729994550347328,
-0.041666507720947266,
-0.015472005121409893,
0.020136546343564987,
-0.00392110412940383,
0.011895006522536278,
0.048361700028181076,
0.001969048520550132,
0.07347715646028519,
0.021631918847560883,
-0.03932149335741997,
-0.026355935260653496,
0.028887873515486717,
-0.03104596771299839,
0.003500530496239662,
0.04081686586141586,
0.00007845924847060814,
-0.025931114330887794,
-0.005306022707372904,
0.01476680114865303,
0.014087086543440819,
0.04136063903570175,
-0.015157637186348438,
0.021190105006098747,
-0.06678196787834167,
-0.007349414750933647,
0.04632255434989929,
-0.04190440848469734,
-0.030060380697250366,
0.018029430881142616,
0.005306022707372904,
0.059203147888183594,
-0.02679775096476078,
-0.0031203150283545256,
-0.04914337024092674,
-0.038471851497888565,
-0.0353451631963253,
-0.035447120666503906,
-0.05277984216809273,
0.04085085168480873,
0.04054497927427292,
-0.06287360936403275,
0.07286541163921356,
0.020884232595562935,
0.048123799264431,
-0.021886812523007393,
0.035854946821928024,
0.02708662860095501,
0.016270669177174568,
-0.09713122248649597,
0.01712031289935112,
-0.01784251071512699,
-0.03554907813668251,
-0.0360928475856781,
0.02149597555398941,
-0.048599597066640854,
-0.02864997275173664,
-0.027783336117863655,
-0.04319586604833603,
-0.002221817383542657,
0.06773356348276138,
0.026661807671189308,
0.0037405546754598618,
0.04968714341521263,
-0.00898072961717844,
0.034648455679416656,
-0.07497252523899078,
-0.00006916627899045125,
0.027698373422026634,
0.042923979461193085,
0.03616081923246384,
0.02431679144501686,
0.012081928551197052,
0.03809800744056702,
-0.028785916045308113,
-0.04588073864579201,
0.029125774279236794,
-0.027035651728510857,
-0.005947503261268139,
-0.0817696750164032,
0.0046560452319681644,
-0.0002629911759868264,
0.005114852916449308,
0.0264578927308321,
0.04948322847485542,
-0.03079107403755188,
0.04533696919679642,
0.022566527128219604,
0.02057836204767227,
-0.028921859338879585,
0.017740553244948387,
0.059543006122112274,
-0.01016173418611288,
0.02006857469677925,
-0.04017113521695137,
-0.05896524712443352,
0.0019361247541382909,
0.04261811077594757,
-0.00837323535233736,
0.011249277740716934,
-0.02679775096476078,
-0.009116672910749912,
-0.04649248346686363,
-0.038131993263959885,
0.033883776515722275,
-0.019660746678709984,
-0.039559394121170044,
-0.00021798661327920854,
-0.014070093631744385,
0.11419206112623215,
-0.02103716880083084,
-0.06474281847476959,
0.021309055387973785,
-0.020459411665797234,
-0.0034155661705881357,
-0.028174173086881638,
-0.013390379026532173,
0.0074896058067679405,
0.05628037452697754,
-0.006567743141204119,
0.017723560333251953,
0.03310210257768631,
0.01720527745783329,
0.014664843678474426,
-0.04190440848469734,
-0.026389921084046364,
0.020085567608475685,
0.03568502143025398,
0.06470883637666702,
0.004825974348932505,
-0.012506749480962753,
0.015021693892776966,
0.026848729699850082,
-0.007272947113960981,
-0.003969958517700434,
0.005909269209951162,
-0.01935487426817417,
0.03469943255186081,
-0.02939765900373459,
-0.016483081504702568,
-0.009898344986140728,
-0.05797966197133064,
0.0005995295941829681,
0.061310261487960815,
0.06195599213242531,
-0.01076498068869114,
-0.06613623350858688,
-0.042346224188804626,
-0.0006542253540828824,
-0.07109815627336502,
-0.004532847087830305,
0.017910482361912727,
0.010059776715934277,
0.007383400574326515,
0.01603277027606964,
-0.028615986928343773,
-0.047342125326395035,
-0.05964496359229088,
-0.010374144650995731,
-0.015336061827838421,
-0.023756027221679688,
-0.00040729777538217604,
0.009354572743177414,
-0.011895006522536278,
-0.012319828383624554,
-0.05322165787220001,
-0.0015484750038012862,
0.02491154335439205,
0.002644514897838235,
-0.03857380896806717,
0.02514944225549698,
-0.04513305425643921,
-0.00668669305741787,
0.0204933974891901,
-0.00778273306787014,
-0.03836989402770996,
-0.043433766812086105,
0.002434228081256151,
-0.01955878920853138,
-0.004277954343706369,
-0.01388317160308361,
0.04081686586141586,
-0.02717159315943718,
0.03376482427120209,
-0.041122738271951675,
-0.028123194351792336,
0.02557426504790783,
0.007289939559996128,
0.005229554604738951,
-0.024724621325731277,
-0.03155575320124626,
-0.03748626261949539,
0.012107417918741703,
-0.003133059712126851,
-0.03983128070831299,
0.042380210012197495,
0.029414651915431023,
-0.06793747842311859,
0.006950082257390022,
-0.03752024844288826,
-0.020918218418955803,
-0.027460472658276558,
-0.04842967167496681,
-0.07096221297979355,
0.01947382465004921,
-0.009023211896419525,
-0.045201025903224945,
0.012498253025114536,
-0.062159907072782516,
-0.011257774196565151,
0.009685933589935303,
0.07497252523899078,
0.05097860097885132,
0.00674192002043128,
0.03181064501404762,
-0.01051858440041542,
-0.0546150729060173,
0.007859201170504093,
-0.044147469103336334,
-0.0006542253540828824,
-0.009014715440571308,
-0.005004399456083775,
-0.007850704714655876,
0.014639354310929775,
0.028412073850631714,
-0.022243661805987358,
-0.03330601751804352,
0.02394294925034046,
-0.05587254464626312,
0.008895765990018845,
-0.04367166757583618,
-0.09250916540622711,
0.018539218232035637,
-0.04064693674445152,
0.06834530830383301,
0.019456831738352776,
-0.01197147462517023,
-0.015089665539562702,
0.018981032073497772,
0.010399634018540382,
-0.05019692704081535,
0.07653587311506271,
0.04275405406951904,
0.021988769993185997,
0.006427551619708538,
0.0027231068816035986,
0.033832795917987823,
-0.003659838577732444,
-0.03503929078578949,
-0.004813229665160179,
0.021971777081489563,
-0.0401371493935585,
0.015089665539562702,
-0.07306932657957077,
-0.01611773483455181,
0.025880135595798492,
0.03490334749221802,
0.038675762712955475,
0.0110453637316823,
-0.04560885578393936,
0.006397814489901066,
-0.025421328842639923,
-0.05179425701498985,
0.016262173652648926,
-0.03908359259366989,
-0.01396813616156578,
0.009804883971810341,
0.05250795930624008,
0.0424821674823761,
0.01068851351737976,
0.0585574172437191,
-0.016602030023932457,
-0.052270058542490005,
-0.026321951299905777,
0.016253676265478134,
0.04863358289003372,
-0.06141221895813942,
0.029499616473913193,
-0.01177605614066124,
-0.012948564253747463,
0.05410528555512428,
0.004120770376175642,
-0.037928078323602676,
-0.04350173845887184,
-0.022311633452773094,
0.008148079738020897,
-0.02115611918270588,
0.03680654987692833,
0.01509816199541092,
-0.05624638870358467,
-0.01935487426817417,
-0.005480199586600065,
-0.027868300676345825,
-0.02078227512538433,
0.060936421155929565,
0.009643452242016792,
-0.033458955585956573,
0.03344196081161499,
-0.0025999085046350956,
0.028123194351792336,
-0.009193141013383865,
-0.000024808921807562,
0.031317852437496185,
0.007952661253511906,
-0.04931329935789108,
0.07680775970220566,
0.0027698371559381485,
0.016771959140896797,
-0.07578818500041962,
0.047851912677288055,
0.06083446368575096,
-0.05862538889050484,
0.009329083375632763,
0.014214533381164074,
0.03575299307703972,
-0.057265959680080414,
-0.027817321941256523,
0.006274615880101919,
-0.00008728757529752329,
0.0536634735763073,
0.017026852816343307,
-0.0010641783010214567,
-0.03976330906152725,
0.04105476662516594
] |
18,156 | jsondiff | similarity | null | def similarity(self, a, b):
if self.options.load:
a = self.options.loader(a)
b = self.options.loader(b)
d, s = self._obj_diff(a, b)
return s
| (self, a, b) | [
0.029979931190609932,
-0.036974117159843445,
0.02155974693596363,
0.0357518307864666,
-0.007478006184101105,
-0.046616584062576294,
-0.03464837744832039,
0.024598481133580208,
-0.002149608451873064,
0.036974117159843445,
-0.020116770640015602,
-0.00920957699418068,
0.023308292031288147,
0.037143878638744354,
-0.05639486387372017,
-0.061216097325086594,
-0.009285969659686089,
0.005254127085208893,
0.0009432389051653445,
-0.005534233991056681,
-0.028553931042551994,
0.047363538295030594,
-0.011110908351838589,
0.04053911194205284,
-0.017451511695981026,
-0.018894486129283905,
0.034240949898958206,
-0.04505477473139763,
0.010338492691516876,
0.07143575698137283,
0.02464940957725048,
-0.01285945437848568,
-0.0035374111030250788,
0.007168191019445658,
-0.0035289230290800333,
-0.0595184788107872,
0.04987601190805435,
0.03050619177520275,
-0.030709905549883842,
-0.057379480451345444,
-0.03816244751214981,
-0.024598481133580208,
0.04831420257687569,
-0.014039299450814724,
-0.0098716476932168,
0.01068650372326374,
-0.0868501290678978,
0.019386794418096542,
-0.03152476251125336,
-0.00438409810885787,
0.053610771894454956,
-0.047193773090839386,
0.005648823454976082,
0.08155355602502823,
-0.0492309145629406,
0.050826676189899445,
0.021797413006424904,
0.06946652382612228,
-0.05561395734548569,
0.028180455788969994,
0.04763515666127205,
-0.03646482899785042,
0.0012923115864396095,
-0.02266319841146469,
0.006175084970891476,
-0.012188895605504513,
-0.0353783555328846,
0.019641438499093056,
-0.010728944092988968,
0.04576777666807175,
-0.05388239026069641,
-0.028519978746771812,
0.017358142882585526,
0.009421778842806816,
-0.004210092127323151,
0.05476514995098114,
0.027416527271270752,
0.061080288141965866,
0.030251549556851387,
-0.017774058505892754,
0.006098691839724779,
-0.041150256991386414,
0.026686551049351692,
-0.1059313490986824,
-0.05507072061300278,
-0.016237713396549225,
0.020846746861934662,
-0.025464266538619995,
0.04047120735049248,
-0.07435566186904907,
-0.09038117527961731,
0.028927408158779144,
0.005720972083508968,
0.02534543350338936,
-0.014701370149850845,
0.002905048429965973,
-0.04787282273173332,
-0.01397139485925436,
0.03361283242702484,
-0.028723692521452904,
0.04220277816057205,
0.0464128702878952,
0.0132414186373353,
0.03250937908887863,
0.032543331384658813,
-0.04301763325929642,
0.004254654515534639,
-0.053373102098703384,
-0.007736892905086279,
0.035683926194906235,
-0.041184209287166595,
0.025888672098517418,
-0.020150722935795784,
0.04084468260407448,
-0.0017209600191563368,
-0.039690304547548294,
-0.0031766672618687153,
-0.02245948277413845,
0.0014811715809628367,
0.03133802488446236,
-0.008254666812717915,
0.08080660551786423,
-0.009481195360422134,
-0.00863663014024496,
0.023308292031288147,
0.0055851624347269535,
0.09099231660366058,
-0.029080193489789963,
-0.008988886140286922,
0.01663665473461151,
0.07367661595344543,
-0.04315344616770744,
0.003085420234128833,
0.07931270450353622,
0.01031302846968174,
0.031660571694374084,
0.026245171204209328,
0.06155562028288841,
0.06264209747314453,
0.049366723746061325,
0.0116965863853693,
0.016831880435347557,
0.0514717698097229,
0.010635575279593468,
-0.042983680963516235,
0.007770845666527748,
-0.021695556119084358,
-0.03527649864554405,
-0.006302406080067158,
0.011229741387069225,
0.01661967858672142,
-0.0008005328709259629,
0.06491690129041672,
-0.0628797635436058,
-0.01931888982653618,
-0.051200151443481445,
-0.01524460781365633,
-0.0705529972910881,
-0.01845310628414154,
-0.009345386177301407,
0.06335509568452835,
0.009447243064641953,
0.04345901682972908,
-0.009141671471297741,
0.02228972129523754,
-0.004292850848287344,
0.06848189979791641,
0.04532639682292938,
-0.03744944930076599,
0.02135603129863739,
-0.03215287998318672,
-0.024326862767338753,
-0.03461442515254021,
0.006760763004422188,
0.0005867391591891646,
0.0013326299376785755,
-0.01931888982653618,
-0.017061058431863785,
0.0759853720664978,
-0.04271206259727478,
-0.006132644135504961,
-0.005334763787686825,
-0.020031889900565147,
0.004418050404638052,
-0.008522041141986847,
0.031100358814001083,
0.012401098385453224,
0.012163431383669376,
0.05092853307723999,
-0.005381448194384575,
0.0707567110657692,
-0.030709905549883842,
-0.05014763027429581,
0.026941195130348206,
0.003023881698027253,
0.011263693682849407,
-0.0499778687953949,
-0.009684909135103226,
0.006688613910228014,
0.0851525068283081,
-0.045937538146972656,
-0.04451153799891472,
-0.01673002354800701,
0.003270036308094859,
0.032237760722637177,
-0.00566155556589365,
-0.0006392591749317944,
0.037856876850128174,
-0.021474864333868027,
-0.023274339735507965,
-0.02188229374587536,
-0.010032921098172665,
-0.014472192153334618,
0.011441944167017937,
0.05544419586658478,
0.026024481281638145,
0.006009567063301802,
-0.0062896739691495895,
0.006264209747314453,
-0.008725755847990513,
0.07136785238981247,
-0.009540611878037453,
0.02702607586979866,
0.09173926711082458,
-0.008513553068041801,
0.008887029252946377,
-0.006285429932177067,
0.029148098081350327,
-0.02352898195385933,
-0.038060590624809265,
0.012341680936515331,
0.01114486064761877,
0.037721067667007446,
-0.006854131817817688,
-0.0038811787962913513,
0.003045101882889867,
0.008793660439550877,
0.06702195107936859,
-0.007325220853090286,
-0.027144908905029297,
-0.04159163683652878,
0.0021485474426299334,
0.006192061118781567,
0.011365551501512527,
-0.013190490193665028,
-0.08596736192703247,
-0.0022069031838327646,
-0.04831420257687569,
-0.018385199829936028,
-0.03541230782866478,
0.03666854277253151,
-0.005797364749014378,
0.03288285806775093,
-0.02261226996779442,
0.01727326028048992,
-0.0051098293624818325,
-0.021865317597985268,
-0.032390546053647995,
0.0005002667312510312,
0.010856266133487225,
0.01031302846968174,
-0.022900864481925964,
-0.02371572144329548,
0.02831626497209072,
-0.06413599848747253,
-0.010661039501428604,
-0.025413338094949722,
0.07292965799570084,
-0.02848602645099163,
-0.013733727857470512,
0.013640359044075012,
-0.04070887342095375,
-0.04257625341415405,
0.019930033013224602,
-0.04199906438589096,
-0.04070887342095375,
0.004000011831521988,
-0.004600544460117817,
0.010100825689733028,
-0.0003283829428255558,
-0.0441720150411129,
0.00443078251555562,
-0.03121919184923172,
-0.048653725534677505,
-0.0017358141485601664,
0.016441429033875465,
0.009430266916751862,
-0.10851173102855682,
-0.0038578363601118326,
-0.032984714955091476,
-0.0019225521245971322,
-0.008390475995838642,
0.021950198337435722,
-0.01736663095653057,
-0.028876477852463722,
0.02702607586979866,
-0.033697713166475296,
-0.04950253665447235,
0.05544419586658478,
0.057752955704927444,
-0.07910899072885513,
-0.050860628485679626,
0.0533391498029232,
0.008827612735331059,
-0.03775501996278763,
-0.023681769147515297,
0.0868501290678978,
0.009523635730147362,
0.04291577637195587,
0.01863984391093254,
-0.05269405618309975,
0.02352898195385933,
0.004036086145788431,
0.06006171926856041,
-0.028910432010889053,
0.07272594422101974,
-0.02558309957385063,
0.08304746448993683,
-0.030200621113181114,
0.034580472856760025,
0.0064721680246293545,
0.036974117159843445,
-0.04091258719563484,
0.04688820242881775,
0.024564528837800026,
-0.09038117527961731,
-0.017824986949563026,
-0.027501408010721207,
0.06491690129041672,
0.0013655213406309485,
-0.003414333797991276,
-0.003768711583688855,
0.05507072061300278,
0.02519264817237854,
0.010966611094772816,
0.009336898103356361,
0.03632901981472969,
0.010525230318307877,
0.03352795168757439,
0.014005347155034542,
0.015202167443931103,
-0.017757082358002663,
-0.021984150633215904,
-0.01706954650580883,
-0.004944311920553446,
0.014777762815356255,
-0.026737479493021965,
-0.006875352002680302,
0.01522763166576624,
-0.10464116185903549,
-0.0565306730568409,
0.02337619662284851,
0.014429750852286816,
0.0065358285792171955,
0.03013271652162075,
0.06372857093811035,
-0.045937538146972656,
-0.03451256826519966,
-0.003134226892143488,
0.01677246391773224,
-0.03362980857491493,
0.040437255054712296,
-0.0368722602725029,
-0.01969236694276333,
0.02626214735209942,
-0.003749613417312503,
-0.05024948716163635,
-0.0394865907728672,
-0.06854980438947678,
-0.060367289930582047,
-0.04770306125283241,
0.007134238723665476,
0.01712896302342415,
-0.0426781103014946,
0.03451256826519966,
-0.020778842270374298,
-0.01790986768901348,
0.022883888334035873,
0.016254689544439316,
0.016288641840219498,
-0.00748649425804615,
0.0636267140507698,
-0.0449189655482769,
0.04233858734369278,
0.005309299565851688,
0.044783156365156174,
0.02337619662284851,
-0.03430885449051857,
0.03548021242022514,
0.03636297211050987,
-0.034020259976387024,
-0.03344307094812393,
-0.009642468765377998,
0.01877565309405327,
-0.056123245507478714,
-0.028333241119980812,
-0.041150256991386414,
0.009540611878037453,
-0.05938266962766647,
-0.023970363661646843,
0.05004577338695526,
0.04369668290019035,
-0.07578165829181671,
0.028774620965123177,
-0.06057100370526314,
0.041353970766067505,
-0.0008822307572700083,
0.07048509269952774,
-0.05130200833082199,
0.044783156365156174,
-0.08318327367305756,
-0.04050515964627266,
-0.011076956056058407,
-0.0020700327586382627,
-0.055546052753925323,
0.0074652740731835365,
0.041014447808265686,
-0.05636091157793999,
-0.011840884573757648,
0.06776890158653259,
0.022340649738907814,
0.02958947792649269,
0.01896239072084427,
-0.03578578308224678,
0.021305102854967117,
-0.045903585851192474,
0.014149644412100315,
0.003749613417312503,
0.03490302339196205,
-0.025617051869630814,
-0.02373269759118557,
-0.025837743654847145,
0.02315550670027733,
-0.024309886619448662,
0.020150722935795784,
-0.020863723009824753,
0.010474301874637604,
-0.026160290464758873,
0.029334835708141327,
0.022119959816336632,
0.03999587520956993,
-0.04288182407617569,
0.0036371462047100067,
-0.012477491050958633,
-0.10450535267591476,
-0.09173926711082458,
-0.017298724502325058,
0.0012880675494670868,
0.023613862693309784,
-0.016560262069106102,
0.052863817662000656,
0.01621224917471409,
-0.013258394785225391,
-0.03493697568774223,
0.037721067667007446,
0.022136935964226723,
0.00753742316737771,
-0.07557794451713562,
-0.035683926194906235,
0.016925249248743057,
-0.006629197392612696,
-0.008640874177217484,
-0.02756931260228157,
0.02811255119740963,
-0.010567670688033104,
0.04301763325929642,
-0.0014663173351436853,
0.01991305686533451,
0.018894486129283905,
0.01250295527279377,
0.019641438499093056,
-0.024938005954027176,
0.007117262575775385,
-0.01914912834763527,
0.021695556119084358,
0.011628681793808937,
-0.020897675305604935,
0.02261226996779442,
-0.007681720424443483,
-0.017672201618552208,
0.009557588025927544,
-0.04074282571673393,
-0.019217032939195633,
-0.0018185731023550034,
0.05883943289518356,
-0.041693493723869324,
0.011433456093072891,
-0.0029368787072598934,
0.09309735894203186,
-0.04457944259047508,
0.03172847628593445,
0.03571787849068642,
0.001563930418342352,
-0.013258394785225391,
-0.035683926194906235,
0.027671169489622116,
-0.0015575643628835678,
-0.03174545243382454,
-0.008224958553910255,
0.019301913678646088,
-0.011543801054358482,
-0.03710992634296417,
-0.04070887342095375,
0.026499813422560692,
0.0464128702878952,
0.04743144288659096,
-0.040607016533613205,
-0.04576777666807175,
-0.02972528710961342,
-0.0013124707620590925,
-0.09241831302642822,
-0.06708985567092896,
0.060163576155900955,
0.04634496569633484,
0.034970927983522415,
0.0031214947812259197,
-0.03941868618130684,
-0.01095812302082777,
-0.008072172291576862,
-0.026330051943659782,
-0.007134238723665476,
-0.0038684464525431395,
-0.03544626012444496,
-0.09859763830900192,
-0.051573630422353745,
-0.04087863489985466,
-0.05782086402177811,
-0.020863723009824753,
0.04987601190805435,
-0.03632901981472969,
-0.040810730308294296,
-0.043526921421289444,
-0.014217549003660679,
-0.012825502082705498,
-0.04145582765340805,
0.04746539518237114,
-0.03069292940199375,
0.01882658153772354,
0.05883943289518356,
0.01877565309405327,
0.004129455424845219,
-0.014226037077605724,
0.01714593917131424,
0.06698799878358841,
0.022391578182578087,
0.07109623402357101,
-0.017451511695981026,
0.048280250281095505,
0.004961288068443537,
0.03663459047675133,
0.0005962882423773408,
-0.003639268223196268,
0.0006992063135839999,
-0.03928287699818611,
0.01522763166576624,
-0.029351811856031418,
-0.024513600394129753,
-0.014022323302924633,
0.03283192962408066,
0.0025464266072958708,
0.04946858435869217,
-0.02101650834083557,
0.08352279663085938,
0.028740668669342995,
0.004413806367665529,
0.010508254170417786,
0.04162558913230896,
-0.020948603749275208,
0.0020445685368031263,
-0.013232930563390255,
0.03142290562391281,
0.04797467961907387,
0.005555454175919294,
0.017400583252310753,
0.013275370933115482,
0.05021553486585617,
0.0022111472208052874,
0.00547057343646884,
-0.05289776995778084,
0.0011352818692103028,
0.0017909867456182837,
0.06481504440307617,
0.024326862767338753,
0.04485106095671654,
0.0017962917918339372,
-0.010075361467897892,
-0.0146928820759058,
0.013648847118020058,
0.05143781751394272,
0.03266216814517975,
-0.0591450035572052,
-0.017977772280573845,
0.005322031676769257,
-0.025820767506957054,
-0.010508254170417786,
-0.0048000141978263855,
0.04695610702037811,
0.0293857641518116,
-0.0037390030920505524,
-0.024700339883565903,
0.05608929321169853,
-0.04294972866773605,
0.027790002524852753,
-0.030557120218873024,
0.0005586223560385406,
0.02427593432366848,
-0.04963834583759308,
-0.045564062893390656,
0.014259989373385906,
0.027433503419160843,
0.01360640674829483,
0.024938005954027176,
-0.02206903137266636,
-0.0836586058139801,
0.056870196014642715,
-0.030217597261071205,
-0.007987291552126408,
-0.03283192962408066,
-0.021763460710644722,
-0.0028668520972132683,
0.008305595256388187,
-0.006722566671669483,
0.02481917291879654,
-0.004174017813056707,
-0.057039957493543625,
0.04250834882259369,
-0.02191624604165554,
0.011645657941699028,
0.021644627675414085,
-0.023681769147515297,
-0.0024530577939003706,
-0.09486288577318192,
0.04179535061120987,
-0.013063169084489346,
0.03356190398335457,
0.0116032175719738,
0.025481242686510086,
0.004120967350900173,
-0.025786815211176872,
0.10409792512655258,
0.008640874177217484,
-0.03921497240662575,
-0.023257363587617874,
0.044783156365156174,
-0.05856781452894211,
-0.017018618062138557,
-0.011161836795508862,
-0.023461077362298965,
0.0705529972910881,
0.03045526333153248,
-0.038773588836193085,
0.031660571694374084,
0.05130200833082199,
-0.03194916620850563,
-0.03391840308904648,
-0.010678015649318695,
0.04240649193525314,
-0.029063217341899872,
0.028010694310069084,
-0.03503883257508278,
-0.012749109417200089,
0.011815419420599937,
-0.017298724502325058,
-0.014183596707880497,
0.04451153799891472,
0.008050952106714249,
0.03427490219473839,
0.02646586112678051,
0.004080648999661207,
0.003696562722325325,
-0.027823954820632935,
0.05276196077466011,
0.017791034653782845,
0.012019134126603603,
-0.06467923521995544,
-0.015202167443931103,
0.04457944259047508,
-0.011382527649402618,
0.017638249322772026,
-0.026975147426128387,
0.007066334132105112,
0.02626214735209942,
-0.0037177829071879387,
-0.014701370149850845,
-0.022527387365698814,
0.035683926194906235,
-0.015524715185165405,
0.015142750926315784,
0.05170943960547447,
0.0006928402581252158,
0.00007811694376869127,
-0.016220737248659134,
0.007923630997538567,
-0.027433503419160843,
0.019267961382865906,
0.028197431936860085,
0.004749085754156113,
-0.04199906438589096,
-0.03867173194885254,
0.028078598901629448,
0.0015575643628835678,
0.006540072616189718,
0.004331047181040049,
-0.02174648456275463,
0.003809029934927821,
-0.015066358260810375,
-0.02940274029970169,
0.008275886997580528,
-0.00826315488666296,
-0.03748340159654617,
-0.01689978502690792,
-0.007244584150612354,
0.03615925833582878,
0.02867276407778263,
0.05113224685192108,
0.021491840481758118,
-0.01879262924194336,
0.011866348795592785,
0.016492357477545738,
0.04692215472459793,
-0.04732958599925041,
-0.07483099400997162,
0.07021347433328629,
0.010380933061242104,
-0.0074016135185956955,
0.03867173194885254,
0.019217032939195633,
-0.05473119765520096,
-0.021763460710644722,
-0.00009111432882491499,
-0.05473119765520096,
0.04926486685872078,
0.0009501354652456939,
0.04271206259727478,
-0.051200151443481445,
-0.006548560690134764,
0.009294457733631134,
-0.046073347330093384,
0.061793286353349686,
0.04705796390771866,
-0.011178812943398952,
0.01585575006902218,
0.051573630422353745,
0.004812746308743954,
-0.033154476433992386,
-0.02996295504271984,
-0.020337460562586784,
0.040063779801130295,
-0.026771431788802147,
-0.017188379541039467,
0.026550741866230965,
-0.030353406444191933,
0.003923619166016579,
0.009481195360422134,
0.03137197718024254,
0.01991305686533451,
0.020337460562586784,
-0.038230352103710175,
0.004659960977733135,
-0.09275783598423004,
0.022561339661478996,
0.029351811856031418,
-0.011000563390552998,
0.0829116553068161,
-0.02023560367524624,
0.013139561749994755,
0.0021878050174564123,
0.07931270450353622
] |
18,157 | jsondiff | unmarshal | null | def unmarshal(self, d):
if isinstance(d, dict):
return {
self._unescape(k): self.unmarshal(v)
for k, v in d.items()
}
elif isinstance(d, (list, tuple)):
return type(d)(
self.unmarshal(x)
for x in d
)
else:
return self._unescape(d)
| (self, d) | [
-0.003186536720022559,
0.002539524342864752,
0.03238759934902191,
-0.06044945865869522,
-0.03307158499956131,
-0.004036896396428347,
0.009238415397703648,
0.04273980110883713,
0.014714914374053478,
0.0069276560097932816,
-0.025677155703306198,
0.08089505881071091,
-0.016905514523386955,
0.05201980844140053,
-0.014262005686759949,
0.03721246495842934,
-0.04225916415452957,
0.08340916037559509,
0.008443513885140419,
0.013393159955739975,
0.02850552462041378,
0.013827582821249962,
0.028524011373519897,
0.046806737780570984,
-0.02894918993115425,
-0.06429456174373627,
-0.017866790294647217,
-0.008702319115400314,
-0.005458013154566288,
0.004545263014733791,
0.003433787962421775,
-0.02379157580435276,
0.04824864864349365,
0.03952322527766228,
0.04026266559958458,
0.010093395598232746,
-0.05752865970134735,
0.02678631991147995,
-0.03874680772423744,
-0.01858774572610855,
-0.04122394323348999,
-0.05834204703569412,
0.025030143558979034,
-0.009044311009347439,
0.08096899837255478,
0.027710624039173126,
-0.01204367633908987,
-0.02791397087275982,
-0.04407079890370369,
-0.019854042679071426,
0.010500089265406132,
-0.030039869248867035,
0.008572916500270367,
0.0060310810804367065,
-0.008596023544669151,
0.016923999413847923,
-0.008827099576592445,
0.08170844614505768,
0.026693889871239662,
-0.001556296250782907,
-0.03658393770456314,
0.03508656471967697,
-0.050245147198438644,
-0.00833721924573183,
0.00007083921082084998,
0.022793328389525414,
-0.020168306306004524,
-0.02334791049361229,
-0.06980340927839279,
-0.007898174226284027,
-0.027488790452480316,
0.027562735602259636,
-0.09753251820802689,
0.013494833372533321,
0.07216963171958923,
0.035123538225889206,
0.03560417518019676,
-0.006710444577038288,
-0.030945686623454094,
0.031611185520887375,
0.03778553381562233,
-0.045660600066185,
-0.019576750695705414,
0.04750920832157135,
-0.014446865767240524,
0.05497758090496063,
0.06196531653404236,
0.0171365886926651,
-0.046732790768146515,
0.044329602271318436,
0.026435084640979767,
-0.047620125114917755,
-0.04621518403291702,
0.05335080623626709,
-0.030039869248867035,
-0.028560983017086983,
-0.03689820319414139,
0.05767654627561569,
-0.02393946424126625,
0.019040655344724655,
0.020242249593138695,
-0.006987735629081726,
-0.07168898731470108,
-0.007177217863500118,
-0.024124324321746826,
-0.029910465702414513,
0.0021039461717009544,
-0.01208064891397953,
-0.037138521671295166,
0.007449887227267027,
-0.03845103085041046,
0.014474594965577126,
-0.03015078417956829,
0.03907955810427666,
-0.04444051906466484,
0.01723826304078102,
0.017681928351521492,
-0.029688633978366852,
-0.006220563314855099,
-0.014354435727000237,
-0.023144563660025597,
0.024198269471526146,
0.017635714262723923,
0.01317132730036974,
-0.04399685189127922,
0.02948528714478016,
-0.007389807607978582,
0.010278256610035896,
0.045919403433799744,
0.0499863401055336,
0.013864554464817047,
0.014382164925336838,
-0.01929946057498455,
-0.015593002550303936,
0.043959882110357285,
-0.02244209311902523,
-0.017192047089338303,
0.013263757340610027,
-0.011193317361176014,
0.04617821052670479,
0.025344405323266983,
0.002546456642448902,
0.059599097818136215,
0.005707575008273125,
-0.035363856703042984,
-0.028172774240374565,
0.055569134652614594,
0.07971194386482239,
-0.024900740012526512,
0.00787044595927,
-0.07401823252439499,
0.03203636407852173,
0.0493578165769577,
0.04033661261200905,
0.014992205426096916,
0.01069419365376234,
-0.007838094606995583,
-0.028690384700894356,
-0.00482948636636138,
-0.043516214936971664,
0.025714127346873283,
0.0018497626297175884,
-0.05153917148709297,
-0.03724943846464157,
-0.007020086050033569,
0.008143114857375622,
0.08999020606279373,
-0.05971001461148262,
0.040891192853450775,
0.01208064891397953,
-0.014798101037740707,
0.004027653019875288,
-0.0004231577622704208,
0.005730682518333197,
0.035197481513023376,
-0.01343013159930706,
0.01672065258026123,
0.004646936431527138,
-0.008036820217967033,
0.007191082462668419,
-0.01377212442457676,
-0.0020334681030362844,
0.03052050620317459,
-0.06318539381027222,
0.03272034972906113,
0.0026204008609056473,
-0.04336832836270332,
0.04558665677905083,
0.02155476063489914,
-0.0020276911091059446,
0.014825830236077309,
-0.038192227482795715,
0.006252914201468229,
-0.028228232637047768,
-0.029984410852193832,
0.010379930026829243,
-0.026139307767152786,
0.04540179669857025,
-0.0137628810480237,
-0.010583276860415936,
-0.03989294543862343,
-0.01398471463471651,
0.02371763251721859,
0.026287196204066277,
-0.07313090562820435,
0.0010103794047608972,
-0.0028838273137807846,
-0.01598121039569378,
0.0685463547706604,
-0.07594078779220581,
0.06333328783512115,
-0.03484624624252319,
-0.008073792792856693,
-0.022035399451851845,
0.02417978271842003,
-0.036935172975063324,
0.015167823061347008,
-0.056826189160346985,
-0.050319090485572815,
-0.036768797785043716,
-0.036103300750255585,
0.04114999994635582,
-0.001962989801540971,
0.0016602803952991962,
-0.03682425618171692,
0.004663112107664347,
-0.09457474946975708,
-0.011137858964502811,
0.025917474180459976,
0.04632609710097313,
0.001237411517649889,
-0.04525390639901161,
0.0371754914522171,
-0.013550291769206524,
0.06355512142181396,
-0.009825347922742367,
0.02305213361978531,
-0.10086001455783844,
0.07279815524816513,
0.059081487357616425,
0.053387779742479324,
-0.016295474022626877,
-0.020759860053658485,
-0.01208064891397953,
0.013106625527143478,
0.029596202075481415,
0.03867286443710327,
0.053018055856227875,
0.01880957931280136,
0.009779132902622223,
-0.013975471258163452,
0.010269013233482838,
0.04188944026827812,
0.06603225320577621,
0.00686757592484355,
-0.019854042679071426,
0.03549325838685036,
-0.007445266004651785,
-0.009284630417823792,
0.0018462964799255133,
0.046141237020492554,
-0.011137858964502811,
-0.02266392484307289,
0.09058175981044769,
-0.015565273351967335,
-0.03140783682465553,
0.010805109515786171,
-0.03867286443710327,
-0.0025025522336363792,
-0.051354311406612396,
0.07682812213897705,
-0.0156854335218668,
-0.0031079710461199284,
0.014631726779043674,
-0.03989294543862343,
0.06876818835735321,
0.08222605288028717,
-0.03571509197354317,
0.025104086846113205,
0.006405424326658249,
0.006936898920685053,
-0.025344405323266983,
-0.008041441440582275,
0.01264447346329689,
0.018467586487531662,
-0.002539524342864752,
-0.030631422996520996,
-0.01077738031744957,
0.03144481033086777,
-0.011017699725925922,
0.09339164197444916,
-0.0023292452096939087,
-0.002546456642448902,
0.01831969805061817,
-0.011017699725925922,
0.007754907477647066,
-0.06288962066173553,
-0.01907762698829174,
0.05087367445230484,
-0.030206242576241493,
0.02796942926943302,
-0.030631422996520996,
0.05664132907986641,
0.05919240415096283,
-0.014382164925336838,
-0.02305213361978531,
0.003875143127515912,
0.03360768035054207,
-0.0420743003487587,
0.040965136140584946,
-0.0033506008330732584,
0.01652655005455017,
-0.04421868547797203,
0.023773089051246643,
-0.06089312583208084,
-0.0392274484038353,
-0.05165008828043938,
0.014613240957260132,
0.0015817146049812436,
0.015417384915053844,
-0.001322909607551992,
-0.026231737807393074,
0.028468552976846695,
-0.002634265460073948,
0.03641756251454353,
-0.011877302080392838,
0.02506711520254612,
0.03392194211483002,
0.05767654627561569,
-0.0013714355882257223,
0.02334791049361229,
-0.09694096446037292,
0.0034129912964999676,
-0.004746299237012863,
0.02774759568274021,
-0.003556258277967572,
0.004041517619043589,
0.006553312763571739,
-0.021610219031572342,
-0.04347924515604973,
-0.04018872231245041,
0.059377267956733704,
-0.0008185864426195621,
0.0009560766047798097,
0.01989101432263851,
0.03447652608156204,
0.028098830953240395,
-0.006511718966066837,
0.04691765457391739,
0.0015701608499512076,
-0.004408928565680981,
0.008221681229770184,
0.0428137443959713,
0.0023292452096939087,
-0.035733580589294434,
-0.07749361544847488,
-0.03233214095234871,
-0.0005415841587819159,
0.044477492570877075,
0.002066974062472582,
0.01792224682867527,
0.009806862100958824,
-0.015565273351967335,
-0.05172403156757355,
0.05464483052492142,
-0.0378040187060833,
-0.09435291588306427,
-0.030113812536001205,
-0.026250222697854042,
0.04847048223018646,
0.005508849862962961,
0.008965745568275452,
-0.038709837943315506,
0.008254031650722027,
0.011359691619873047,
-0.002391635673120618,
0.019484320655465126,
0.028616441413760185,
-0.013208298943936825,
0.012552043423056602,
-0.013115868903696537,
0.014132603071630001,
0.017959220334887505,
0.012293238192796707,
0.05320291966199875,
0.005296260118484497,
-0.001636017463169992,
0.027193013578653336,
-0.03641756251454353,
-0.03225819766521454,
-0.022127829492092133,
0.0199834443628788,
0.024715879932045937,
0.010435388423502445,
-0.03900561481714249,
-0.05183494836091995,
0.026213251054286957,
-0.03307158499956131,
0.015768621116876602,
-0.004512912593781948,
-0.002592671662569046,
0.053239889442920685,
-0.055790968239307404,
-0.027895484119653702,
0.03148178383708,
-0.03186998888850212,
-0.0010259770788252354,
0.04277677461504936,
-0.03349676355719566,
-0.00036509992787614465,
0.09442686289548874,
0.03926441818475723,
-0.0027243848890066147,
-0.04481023922562599,
0.04055844247341156,
0.0006395025993697345,
-0.015898022800683975,
0.06407272815704346,
-0.03682425618171692,
-0.014594754204154015,
-0.025196516886353493,
0.001302112708799541,
-0.03636210411787033,
0.0014014753978699446,
-0.04603032022714615,
-0.015463599935173988,
-0.03636210411787033,
0.0008110764320008457,
0.004298011772334576,
0.026435084640979767,
0.04122394323348999,
-0.06492308527231216,
0.008466621860861778,
-0.08385282754898071,
0.06288962066173553,
0.05523638427257538,
0.0075977761298418045,
-0.0037896449211984873,
0.011683197692036629,
-0.018541531637310982,
-0.044107768684625626,
0.053239889442920685,
0.03754521533846855,
-0.06155862286686897,
0.05201980844140053,
-0.00828638207167387,
-0.01241339836269617,
0.057048022747039795,
0.04580849036574364,
-0.03150026872754097,
0.018837308511137962,
-0.012764633633196354,
0.04632609710097313,
-0.021979941055178642,
-0.03172210231423378,
-0.013993957079946995,
0.05279622599482536,
-0.010952997952699661,
0.005504228174686432,
0.010999212972819805,
-0.011978975497186184,
-0.0970149114727974,
0.013189813122153282,
-0.03414377570152283,
-0.011692441068589687,
0.07778939604759216,
-0.028819788247346878,
-0.011082400567829609,
-0.025473808869719505,
0.0021432291250675917,
0.010074909776449203,
0.03626967594027519,
0.06174348294734955,
0.020519541576504707,
0.018014678731560707,
-0.004737056326121092,
0.025769585743546486,
-0.036990631371736526,
-0.022257231175899506,
-0.056456465274095535,
0.0310566034168005,
0.010490846820175648,
-0.015232523903250694,
-0.05176100507378578,
-0.025547752156853676,
-0.005744547117501497,
0.01937340386211872,
0.023588228970766068,
-0.005522714462131262,
0.041113026440143585,
0.009788375347852707,
0.06337025761604309,
0.000679363205563277,
-0.043885938823223114,
0.03756370022892952,
-0.022793328389525414,
-0.05664132907986641,
-0.037600673735141754,
0.0203531663864851,
-0.06355512142181396,
0.018051650375127792,
-0.022349663078784943,
0.017931491136550903,
-0.01976161263883114,
-0.0457715168595314,
0.014040172100067139,
0.022257231175899506,
0.06251990050077438,
0.0038289278745651245,
-0.004820243455469608,
-0.025621697306632996,
0.024068867787718773,
0.029429828748106956,
-0.016508063301444054,
-0.018680177628993988,
0.009862319566309452,
-0.011609253473579884,
0.006206699181348085,
-0.012570529244840145,
-0.005957136861979961,
0.034827761352062225,
0.04151972010731697,
-0.008443513885140419,
0.013476347550749779,
-0.05978396162390709,
-0.02192448265850544,
-0.007898174226284027,
0.02722998522222042,
0.02528894692659378,
-0.035659633576869965,
0.000014848432329017669,
-0.008415784686803818,
-0.03784099221229553,
-0.06529281288385391,
-0.010407659225165844,
0.0033205607905983925,
-0.037600673735141754,
0.028690384700894356,
-0.08355704694986343,
0.03209182247519493,
0.029670147225260735,
0.03726792335510254,
-0.0039421552792191505,
-0.008993474766612053,
-0.015509814955294132,
0.025307433679699898,
-0.029540743678808212,
0.00799060519784689,
0.02334791049361229,
0.034384094178676605,
-0.08851131796836853,
-0.02580655738711357,
-0.0013714355882257223,
0.06089312583208084,
-0.05305502936244011,
-0.10470511764287949,
-0.016933243721723557,
0.006252914201468229,
-0.025011656805872917,
-0.006668850779533386,
-0.024586476385593414,
0.050688810646533966,
-0.028228232637047768,
0.00039947248296812177,
0.028265206143260002,
0.07631050795316696,
-0.01268144603818655,
0.025677155703306198,
-0.05512547120451927,
0.01346710417419672,
-0.023847034201025963,
0.005610523279756308,
0.030095327645540237,
0.029744090512394905,
0.022331176325678825,
0.0171365886926651,
0.006077296566218138,
-0.06762205809354782,
0.022497551515698433,
-0.017561769112944603,
-0.000013395181667874567,
0.022109342738986015,
-0.027858512476086617,
-0.009224550798535347,
-0.02477133832871914,
-0.017543282359838486,
-0.025769585743546486,
0.07087559998035431,
-0.0023350222036242485,
-0.016535792499780655,
0.008277139626443386,
-0.03272034972906113,
-0.03978202864527702,
0.0060264598578214645,
0.05767654627561569,
-0.05815718695521355,
0.03808131068944931,
0.0507257841527462,
-0.01777435839176178,
-0.08000772446393967,
0.01583332195878029,
0.02303364686667919,
-0.01395698543637991,
0.027359388768672943,
0.014594754204154015,
-0.05028211697936058,
0.03525293990969658,
0.02948528714478016,
0.01863396167755127,
-0.016739139333367348,
-0.0274703036993742,
-0.005730682518333197,
0.01841212809085846,
0.025917474180459976,
0.05050395056605339,
-0.02649054303765297,
-0.047472234815359116,
-0.05826810374855995,
-0.03867286443710327,
-0.033478278666734695,
0.030039869248867035,
-0.0392274484038353,
-0.053165946155786514,
0.048211678862571716,
-0.016018182039260864,
-0.03384799882769585,
0.01735842227935791,
0.0942789688706398,
-0.01863396167755127,
-0.03338584676384926,
0.02155476063489914,
-0.02754424884915352,
0.018449101597070694,
-0.0010964551474899054,
-0.08377888053655624,
0.060190655291080475,
0.005152992904186249,
0.03724943846464157,
0.006382316816598177,
0.020611971616744995,
0.04965359345078468,
-0.016360174864530563,
-0.041186969727277756,
0.011248775757849216,
-0.024272214621305466,
0.009090526029467583,
0.015629975125193596,
0.000602530431933701,
-0.03270186483860016,
0.02774759568274021,
-0.0044967373833060265,
0.04628912732005119,
-0.009945507161319256,
0.019854042679071426,
-0.043294381350278854,
0.01880957931280136,
0.03800736740231514,
-0.02303364686667919,
-0.017349179834127426,
0.038488004356622696,
-0.06126284599304199,
0.01866169087588787,
-0.0836309939622879,
-0.041704580187797546,
0.04573454335331917,
0.002336177509278059,
-0.04858139902353287,
0.059007544070482254,
0.04676976427435875,
-0.0492468997836113,
0.03628816083073616,
0.0039906809106469154,
0.025473808869719505,
-0.02155476063489914,
-0.05826810374855995,
-0.05815718695521355,
0.020094361156225204,
-0.0015366547740995884,
0.0979761853814125,
0.028024885803461075,
-0.022053884342312813,
0.002135141519829631,
-0.0278400257229805,
0.029725605621933937,
-0.03623270243406296,
-0.052426502108573914,
0.014345192350447178,
-0.020149819552898407,
-0.03608481585979462,
-0.04318346455693245,
0.050245147198438644,
-0.04026266559958458,
-0.04736131802201271,
-0.06640197336673737,
-0.04983845353126526,
-0.043738048523664474,
0.03172210231423378,
-0.07113441079854965,
0.046732790768146515,
0.024586476385593414,
0.04521693289279938,
-0.05098458752036095,
0.05275925248861313,
-0.028524011373519897,
0.02924496680498123,
-0.013069653883576393,
0.020630456507205963,
0.009677459485828876,
0.021795079112052917,
0.034217722713947296,
-0.02491922676563263,
0.08104294538497925,
0.0153434406965971,
-0.03268337622284889,
0.05460786074399948,
-0.006964628119021654,
-0.04347924515604973,
-0.004011477809399366,
-0.006784388795495033,
0.021517788991332054,
-0.013688936829566956,
-0.002264543902128935,
-0.04898809269070625,
0.053683556616306305,
0.047250401228666306,
0.0049958610907197,
-0.025769585743546486,
0.016979457810521126,
-0.032646406441926956,
0.012764633633196354,
-0.004256418440490961,
-0.015251009725034237,
-0.010121124796569347,
-0.025159545242786407,
-0.06366603821516037,
0.016360174864530563,
-0.030335646122694016,
0.03695366159081459,
0.015537544153630733,
0.05512547120451927,
-0.04177852347493172,
0.05279622599482536,
0.01208064891397953,
0.09967690706253052,
-0.04887717589735985,
-0.06022762507200241,
0.005351718049496412,
0.015047663822770119,
0.007496102713048458,
0.04181549698114395,
0.02588050253689289,
0.04795287176966667,
-0.08902892470359802,
-0.02460496313869953,
-0.0050051044672727585,
-0.01392001286149025,
0.0048710801638662815,
0.003687971504405141,
-0.017561769112944603,
-0.0029254211112856865,
0.016166070476174355,
-0.000705936923623085,
-0.03392194211483002,
-0.0371200330555439,
-0.03155572712421417,
-0.007750286255031824,
0.04181549698114395,
-0.016923999413847923
] |
18,158 | jsondiff | unpatch | null | def unpatch(self, b, d, fp=None):
if self.options.load:
b = self.options.loader(b)
d = self.options.loader(d)
if self.options.marshal or self.options.load:
d = self.unmarshal(d)
a = self.options.syntax.unpatch(b, d)
if self.options.dump:
return self.options.dumper(a, fp)
else:
return a
| (self, b, d, fp=None) | [
0.016214990988373756,
-0.016384514048695564,
0.04753458872437477,
0.01627432368695736,
-0.0781845673918724,
-0.0458732508122921,
-0.03573570400476456,
0.05621422827243805,
-0.025309965014457703,
-0.053128886967897415,
-0.006344443652778864,
-0.009790022857487202,
-0.09825623035430908,
0.04943326115608215,
-0.05997766554355621,
0.02478444017469883,
-0.03502370044589043,
0.0712679773569107,
-0.0160963237285614,
-0.021512622013688087,
0.022089004516601562,
0.03743094578385353,
0.029937975108623505,
0.07465846091508865,
0.006501253228634596,
-0.026801778003573418,
0.022665387019515038,
-0.045330774039030075,
0.03485417738556862,
-0.01834251917898655,
0.06791140139102936,
-0.00872202031314373,
0.003030245192348957,
0.022207671776413918,
0.03334541246294975,
-0.03076864406466484,
0.01971566490828991,
0.06448701024055481,
-0.006331729236990213,
-0.043940674513578415,
-0.023733388632535934,
0.002913697389885783,
0.051738787442445755,
0.021648241207003593,
0.03334541246294975,
0.021461764350533485,
-0.024852249771356583,
-0.009188212454319,
-0.02022423781454563,
0.028107114136219025,
0.08225314319133759,
-0.028513971716165543,
0.00951878447085619,
0.05309498310089111,
-0.04448315128684044,
0.024631867185235023,
0.0114767886698246,
0.07147140800952911,
-0.0022165291011333466,
0.009010211564600468,
-0.0034816034603863955,
-0.0013339435681700706,
-0.03573570400476456,
-0.08103257417678833,
0.009637451730668545,
0.004488153383135796,
-0.03259950503706932,
0.0000040311665543413255,
-0.0642835795879364,
0.032921601086854935,
-0.07065769284963608,
0.014655367471277714,
0.0026255061384290457,
-0.008175305090844631,
0.07737085223197937,
0.014290890656411648,
0.004522058181464672,
0.011307264678180218,
-0.0075734942220151424,
-0.006653825286775827,
-0.01191755197942257,
-0.00226314808242023,
0.001576575101353228,
0.04505953565239906,
-0.0367189422249794,
-0.01561317965388298,
0.12354924529790878,
-0.002706030150875449,
-0.014655367471277714,
-0.06377501040697098,
0.0034455794375389814,
-0.0103070717304945,
-0.027140825986862183,
0.014078985899686813,
0.01907147280871868,
-0.007420922163873911,
0.008226161822676659,
0.045941062271595,
0.00664958730340004,
-0.02524215541779995,
0.03739704191684723,
-0.06747063249349594,
-0.05448508262634277,
-0.028124066069722176,
0.04014333337545395,
0.04099095240235329,
0.04943326115608215,
-0.025784632191061974,
-0.04973840340971947,
-0.010578311048448086,
-0.0160200372338295,
-0.03529493883252144,
-0.08150724321603775,
0.01377384178340435,
0.015723370015621185,
-0.03970256820321083,
-0.00977307092398405,
-0.03692237287759781,
0.0733022689819336,
0.01650318130850792,
-0.03236217051744461,
0.010383358225226402,
-0.018732424825429916,
0.003911771345883608,
0.03458293899893761,
0.021885575726628304,
0.03151455149054527,
0.0025894823484122753,
0.0778455138206482,
-0.0389227569103241,
0.01993604749441147,
0.023970723152160645,
-0.04305914789438248,
-0.003564246464520693,
-0.025140440091490746,
0.012010790407657623,
-0.026276253163814545,
-0.015375846065580845,
0.0321587435901165,
-0.0016221348196268082,
-0.009713737294077873,
-0.0344473198056221,
0.03576960787177086,
0.01469774916768074,
-0.04902639985084534,
0.006806396879255772,
0.0007464363006874919,
0.016350610181689262,
-0.06716549396514893,
0.06055404618382454,
-0.013553460128605366,
0.016206514090299606,
-0.001565979910083115,
-0.011510693468153477,
0.03375227004289627,
-0.013282221741974354,
-0.04563591629266739,
-0.03760046884417534,
-0.0286665428429842,
-0.032006170600652695,
0.03834637627005577,
-0.03739704191684723,
0.009349260479211807,
-0.020834526047110558,
0.012765172868967056,
-0.019376616925001144,
0.08367715030908585,
-0.05319669842720032,
0.003407436655834317,
0.03688846901059151,
-0.033633604645729065,
0.002231362508609891,
-0.008107495494186878,
0.08781354129314423,
0.05523098632693291,
0.06723330169916153,
0.006352919619530439,
-0.012553268112242222,
-0.008840687572956085,
-0.010739359073340893,
0.020936239510774612,
0.05875708907842636,
-0.010044309310615063,
0.012900792062282562,
0.029259879142045975,
0.02641187235713005,
-0.04285572096705437,
-0.009968023747205734,
0.028632638975977898,
0.010442690923810005,
0.07092893123626709,
-0.01947833225131035,
0.04224543273448944,
0.03607475012540817,
-0.009654403664171696,
-0.02222462370991707,
-0.053603556007146835,
-0.012680410407483578,
0.046686965972185135,
0.006704682484269142,
-0.0252082496881485,
-0.05685842037200928,
0.04068581014871597,
0.04387286677956581,
-0.022343290969729424,
0.031073788180947304,
0.009281450882554054,
0.00954421330243349,
-0.03529493883252144,
-0.004585629794746637,
0.027920637279748917,
-0.06119823828339577,
0.007980352267622948,
-0.00005516158853424713,
0.03993990272283554,
-0.05262031406164169,
0.016587944701313972,
0.04777192324399948,
-0.02914121188223362,
0.02573377452790737,
0.005234059877693653,
0.07533656060695648,
0.05479022487998009,
0.023275673389434814,
-0.03488808125257492,
0.02636101469397545,
-0.03631208464503288,
0.026445776224136353,
0.013858604244887829,
-0.01813909038901329,
0.00964592769742012,
-0.0733700767159462,
-0.0051662502810359,
-0.03553227335214615,
0.06964054703712463,
-0.03624427691102028,
-0.010179928503930569,
-0.00846773386001587,
0.06919978559017181,
0.05421384051442146,
0.026089776307344437,
0.02063109539449215,
0.04699211195111275,
0.009951070882380009,
0.005857061594724655,
0.026733968406915665,
0.008344829082489014,
-0.04444924741983414,
0.00004880443157162517,
-0.02727644518017769,
0.014172224327921867,
0.006679253652691841,
0.052891552448272705,
0.096357561647892,
0.026310157030820847,
0.03305722028017044,
0.07255636155605316,
-0.03378617390990257,
-0.006361396051943302,
0.036820657551288605,
0.019224045798182487,
-0.03882104530930519,
0.020512429997324944,
0.017028706148266792,
-0.0009117223671637475,
-0.057502612471580505,
-0.029480259865522385,
-0.018969759345054626,
0.005420536734163761,
0.018274709582328796,
-0.06957273185253143,
-0.04183857515454292,
-0.04007552191615105,
0.02636101469397545,
-0.056349847465753555,
0.04339819774031639,
0.02430977113544941,
-0.0028925067745149136,
0.11547989398241043,
-0.0390922836959362,
0.011959932744503021,
-0.02459796331822872,
0.01947833225131035,
0.03005664236843586,
-0.03814294561743736,
-0.016435371711850166,
-0.021970337256789207,
-0.030904263257980347,
0.01947833225131035,
-0.000051685015932889655,
0.06255443394184113,
0.004827201832085848,
0.03331150859594345,
-0.011553075164556503,
0.009205164387822151,
0.0172067079693079,
-0.07492969930171967,
-0.04034676030278206,
0.03861761465668678,
-0.012807553634047508,
-0.03371836617588997,
-0.07262416929006577,
0.0527898371219635,
0.10286729037761688,
0.008781353943049908,
-0.04933154582977295,
0.0802188590168953,
-0.010154499672353268,
-0.04421191290020943,
0.03393874689936638,
0.013807746581733227,
-0.015341941267251968,
-0.05719746649265289,
-0.001261895871721208,
-0.00789558980613947,
-0.026903491467237473,
-0.04092314466834068,
0.02429281920194626,
-0.01023078616708517,
-0.003299364820122719,
-0.05034869164228439,
-0.05228126794099808,
0.017800042405724525,
0.0619102418422699,
0.02619148977100849,
-0.02798844687640667,
0.017766136676073074,
-0.001367848482914269,
0.03281988576054573,
-0.005424774717539549,
-0.038414184004068375,
-0.028632638975977898,
0.037769995629787445,
-0.018732424825429916,
0.021953385323286057,
-0.04699211195111275,
-0.0030048165936022997,
-0.04861954227089882,
-0.017969565466046333,
-0.025326916947960854,
0.0013922175858169794,
0.06702987104654312,
-0.011739551089704037,
0.00505182147026062,
0.013485650531947613,
0.04790754243731499,
-0.008179543539881706,
0.029327688738703728,
0.0619102418422699,
0.011993837542831898,
-0.02432672493159771,
-0.007505684159696102,
0.00590791879221797,
0.01925794966518879,
-0.006984397303313017,
-0.023970723152160645,
-0.029785403981804848,
0.028598733246326447,
0.006217300426214933,
-0.03787170723080635,
-0.0016094204038381577,
0.0019919094629585743,
-0.025072630494832993,
0.0006436622352339327,
0.05526489391922951,
-0.045330774039030075,
-0.07940513640642166,
-0.04105876386165619,
-0.04743287339806557,
-0.019563093781471252,
-0.013282221741974354,
-0.027886731550097466,
0.01908842660486698,
-0.051772695034742355,
0.028836067765951157,
-0.03420998528599739,
-0.030463499948382378,
0.019834332168102264,
0.008471972309052944,
0.06394453346729279,
0.014426509849727154,
0.006319014821201563,
-0.026089776307344437,
0.05767213553190231,
-0.025191297754645348,
0.02522520162165165,
-0.021037954837083817,
0.006111347582191229,
0.006408015266060829,
0.018884997814893723,
0.011069931089878082,
-0.00997649971395731,
0.009917166084051132,
0.015714894980192184,
-0.06940320879220963,
-0.0029942214023321867,
-0.04638182371854782,
-0.013205936178565025,
-0.0008762282668612897,
-0.007615874987095594,
0.025750726461410522,
0.05370526760816574,
-0.0020311118569225073,
0.06218148022890091,
0.014740129932761192,
-0.001747158938087523,
0.018274709582328796,
0.09595070034265518,
-0.023953771218657494,
0.03390484303236008,
-0.002530148718506098,
0.005878251977264881,
-0.015070701949298382,
-0.01930880732834339,
0.010324024595320225,
0.00706492131575942,
0.04675477743148804,
-0.01908842660486698,
-0.03395570069551468,
-0.022411100566387177,
0.02042766660451889,
0.02619148977100849,
-0.023224815726280212,
-0.00951878447085619,
-0.0080481618642807,
-0.02983626164495945,
-0.03563398867845535,
-0.012324409559369087,
-0.05441727116703987,
0.09052592515945435,
-0.01444346271455288,
-0.04343210160732269,
0.013909460976719856,
0.03254864737391472,
0.0458393469452858,
-0.03351493552327156,
0.02571682259440422,
0.014367177151143551,
0.035701800137758255,
0.00837449636310339,
0.030887311324477196,
0.051535360515117645,
0.004428819753229618,
-0.05163707584142685,
-0.03854980692267418,
-0.019800428301095963,
-0.015664037317037582,
0.03054826334118843,
-0.005242536310106516,
0.005734156351536512,
0.048755161464214325,
-0.028056256473064423,
0.05353574454784393,
0.0018573496490716934,
-0.046483539044857025,
-0.0436694361269474,
0.040041618049144745,
-0.012154885567724705,
0.00015548548253718764,
0.04492391645908356,
0.001329705468378961,
-0.02432672493159771,
-0.010425738990306854,
0.039566949009895325,
0.02571682259440422,
0.051976121962070465,
0.002746292157098651,
0.007319207768887281,
-0.04282181337475777,
0.01861375756561756,
0.011281835846602917,
-0.04156733676791191,
-0.002422077115625143,
0.03861761465668678,
-0.006963206920772791,
0.06733501702547073,
-0.008565210737287998,
-0.0023246007040143013,
-0.01742708869278431,
-0.04227933660149574,
-0.017545755952596664,
-0.03692237287759781,
-0.0619441457092762,
0.02893778309226036,
0.04238105192780495,
-0.0343964621424675,
0.06943711638450623,
0.006759777665138245,
0.05828242376446724,
-0.02359776943922043,
0.013273745775222778,
0.032446932047605515,
0.002137064468115568,
-0.0871354416012764,
0.01171412318944931,
-0.02115662209689617,
-0.05618032440543175,
-0.05095897614955902,
0.05319669842720032,
-0.06119823828339577,
-0.018935853615403175,
-0.02432672493159771,
-0.04197419434785843,
-0.025547297671437263,
0.052450791001319885,
0.038990568369627,
0.019783474504947662,
0.060723572969436646,
-0.02566596493124962,
0.02200424298644066,
-0.07147140800952911,
0.0252591073513031,
0.015672512352466583,
0.05618032440543175,
0.015308036468923092,
0.04695820435881615,
0.0008306686067953706,
0.020783668383955956,
-0.009188212454319,
-0.020970145240426064,
0.043466005474328995,
0.01307031698524952,
-0.02086842991411686,
-0.0804900974035263,
0.0003544115461409092,
-0.02590329945087433,
-0.008654210716485977,
0.045568108558654785,
0.07045426219701767,
-0.025852441787719727,
0.02848006784915924,
-0.013994223438203335,
0.02064804919064045,
-0.05448508262634277,
0.02522520162165165,
0.025632061064243317,
-0.03346407786011696,
0.013163554482161999,
-0.01861375756561756,
-0.054281651973724365,
0.007861685007810593,
0.03604084625840187,
-0.008471972309052944,
0.020715858787298203,
-0.034752462059259415,
0.018071280792355537,
-0.04753458872437477,
0.01308726891875267,
0.009374688379466534,
0.005289155524224043,
-0.05814680457115173,
-0.012748220935463905,
0.010637643747031689,
0.09276364743709564,
-0.02222462370991707,
-0.06635177880525589,
-0.012332886457443237,
0.029463307932019234,
-0.0021434216760098934,
-0.034057412296533585,
-0.009713737294077873,
0.019444426521658897,
0.04563591629266739,
-0.00528067909181118,
0.01885109208524227,
0.05760432779788971,
0.009832404553890228,
0.007607399020344019,
-0.040719714015722275,
-0.03236217051744461,
-0.012883840128779411,
-0.001168657559901476,
0.029480259865522385,
0.03151455149054527,
-0.00022038146562408656,
0.02088538184762001,
0.05119631066918373,
-0.02363167516887188,
0.028530923649668694,
-0.006056252401322126,
-0.004233866930007935,
0.029734546318650246,
-0.007086112163960934,
-0.015189369209110737,
-0.015375846065580845,
-0.05204393342137337,
0.013019459322094917,
0.05597689375281334,
0.06933540105819702,
-0.04882297292351723,
-0.03322674334049225,
-0.03817685320973396,
0.004142747726291418,
-0.06397843360900879,
-0.004483915399760008,
0.0011442884569987655,
0.014629939571022987,
0.023038340732455254,
0.008866116404533386,
-0.016638800501823425,
-0.008429591543972492,
-0.05665498971939087,
0.012282028794288635,
-0.012875363230705261,
-0.02547948807477951,
-0.009400117211043835,
-0.012926220893859863,
-0.03376922383904457,
-0.014935082755982876,
-0.048077065497636795,
0.026225395500659943,
0.016113275662064552,
-0.007641303818672895,
-0.015206321142613888,
0.01881718635559082,
-0.04339819774031639,
0.009484879672527313,
-0.01633365824818611,
-0.030124451965093613,
-0.02568291686475277,
-0.04451705887913704,
-0.015146988444030285,
-0.022546719759702682,
0.014384129084646702,
-0.026259299367666245,
0.06269004940986633,
-0.013697556219995022,
0.06784358620643616,
-0.0344642698764801,
0.00458139181137085,
0.013197459280490875,
-0.01043421495705843,
0.009196688421070576,
0.0007194183417595923,
-0.04431362822651863,
-0.03256560117006302,
0.022377194836735725,
0.0030344834085553885,
-0.027429016306996346,
0.05896051973104477,
0.02981930784881115,
-0.07214950025081635,
-0.006653825286775827,
-0.022139862179756165,
-0.05180659890174866,
-0.03743094578385353,
-0.02524215541779995,
-0.06452091038227081,
0.004272010177373886,
0.013587364926934242,
-0.04038066789507866,
0.022377194836735725,
-0.01857985369861126,
-0.01900366321206093,
-0.04495782032608986,
0.07648932188749313,
0.06313081830739975,
0.007505684159696102,
0.00984935648739338,
0.009671356528997421,
-0.06367329508066177,
-0.007331922184675932,
-0.03310807794332504,
0.016825277358293533,
0.009205164387822151,
0.009823927655816078,
-0.011909076012670994,
0.02385205589234829,
0.018901949748396873,
-0.04916201904416084,
-0.020512429997324944,
0.005522251129150391,
-0.0733022689819336,
-0.019800428301095963,
-0.06313081830739975,
-0.08930535614490509,
0.015435179695487022,
-0.02019033394753933,
0.068792924284935,
0.026344062760472298,
0.004640725441277027,
-0.008599115535616875,
0.01859680563211441,
-0.009501831606030464,
-0.0458732508122921,
0.06014718860387802,
0.019783474504947662,
0.03393874689936638,
0.014392605051398277,
-0.018868044018745422,
0.04709382355213165,
-0.00895087793469429,
-0.01655403897166252,
-0.005356965120881796,
-0.007988828234374523,
-0.023699484765529633,
0.027649398893117905,
-0.06957273185253143,
0.002356386510655284,
0.03977037966251373,
0.025784632191061974,
-0.002877673367038369,
0.012697363272309303,
-0.05180659890174866,
0.008569449186325073,
0.011197074316442013,
-0.027937589213252068,
-0.0030726261902600527,
-0.07967637479305267,
-0.016460800543427467,
0.019410522654652596,
0.04010942950844765,
0.03253169730305672,
0.0033375078346580267,
0.07696399092674255,
-0.0031213643960654736,
-0.08198190480470657,
-0.018749376758933067,
-0.01699480228126049,
0.05234907567501068,
-0.05251859873533249,
0.032718174159526825,
-0.0036426514852792025,
0.014511272311210632,
0.06991178542375565,
0.00355365127325058,
-0.05526489391922951,
-0.04658525437116623,
-0.01741013675928116,
0.02663225308060646,
-0.022411100566387177,
0.01998690515756607,
-0.003526103449985385,
-0.03502370044589043,
-0.03685456141829491,
-0.00046539693721570075,
-0.021868623793125153,
-0.004299557767808437,
0.0711323544383049,
0.02015642821788788,
-0.03587132319808006,
0.011180121451616287,
-0.012027742341160774,
0.06475824862718582,
-0.01885109208524227,
0.009756118059158325,
0.028056256473064423,
0.0022567911073565483,
-0.035430558025836945,
0.0550953671336174,
0.01446889154613018,
0.016003085300326347,
-0.07520093768835068,
0.02639491856098175,
0.0550953671336174,
-0.06374110281467438,
0.023224815726280212,
0.01696089655160904,
0.015689466148614883,
-0.06801310926675797,
-0.03304027020931244,
0.009281450882554054,
-0.026717014610767365,
0.05604470521211624,
0.025818537920713425,
0.006077442783862352,
-0.05214564502239227,
0.017079563811421394
] |
18,159 | jsondiff | JsonDumper | null | class JsonDumper(object):
def __init__(self, **kwargs):
self.kwargs = kwargs
def __call__(self, obj, dest=None):
if dest is None:
return json.dumps(obj, **self.kwargs)
else:
return json.dump(obj, dest, **self.kwargs)
| (**kwargs) | [
-0.055808473378419876,
-0.03232741355895996,
0.030634591355919838,
-0.07128048688173294,
0.020878121256828308,
-0.003672328544780612,
-0.021715430542826653,
0.021223966032266617,
0.012814469635486603,
-0.0661110132932663,
-0.020386656746268272,
-0.007108026184141636,
-0.02213408425450325,
0.0031717633828520775,
-0.017856527119874954,
0.02666647545993328,
0.016309324651956558,
0.029069188982248306,
0.07022475451231003,
0.04685290530323982,
0.03931712359189987,
0.009829280897974968,
0.03431146964430809,
0.06010423228144646,
-0.0433216467499733,
0.028432104736566544,
0.023863309994339943,
-0.008022695779800415,
0.003617721376940608,
0.06549213826656342,
-0.002329903654754162,
-0.07848862558603287,
0.020859917625784874,
0.04863673821091652,
-0.0041592419147491455,
0.003927161917090416,
-0.03627732768654823,
0.08504148572683334,
-0.1260332316160202,
-0.06105075776576996,
-0.034639112651348114,
0.047289762645959854,
-0.08708015084266663,
0.0058657145127654076,
0.05227721109986305,
0.004004521761089563,
-0.006598359905183315,
0.027430973947048187,
-0.01577235572040081,
-0.041938263922929764,
0.04303040727972984,
-0.0207689069211483,
0.008122808299958706,
0.011740529909729958,
-0.003895307658240199,
-0.0035744907800108194,
0.03021593764424324,
-0.006311672739684582,
-0.005852062720805407,
0.0166733730584383,
-0.04255714640021324,
0.03664137423038483,
0.03624092414975166,
-0.03041616454720497,
-0.04219309985637665,
-0.036750588566064835,
-0.12836313247680664,
0.0094652334228158,
0.010302542708814144,
0.035421814769506454,
-0.023826904594898224,
-0.002129677450284362,
0.011758732609450817,
0.06145120784640312,
0.038625434041023254,
0.021369585767388344,
-0.07965358346700668,
-0.015026058070361614,
-0.003385641146451235,
-0.008791745640337467,
-0.011076143011450768,
-0.07047958672046661,
-0.044013336300849915,
0.0145983025431633,
-0.022498132660984993,
-0.02373589389026165,
-0.043430861085653305,
-0.009774673730134964,
-0.007371960673481226,
0.03028874658048153,
-0.04390412196516991,
0.043940525501966476,
-0.04750819131731987,
0.04277557507157326,
-0.04324883595108986,
-0.01998620480298996,
-0.00007316500705201179,
0.007676850538700819,
0.012486827559769154,
0.0634898766875267,
0.011021536774933338,
0.0022024870850145817,
-0.03267325833439827,
-0.0052422829903662205,
-0.011922554112970829,
-0.04197467118501663,
0.03365618735551834,
0.01155850663781166,
-0.02138778753578663,
0.030689198523759842,
0.011067042127251625,
-0.016873598098754883,
-0.0688413679599762,
-0.017237646505236626,
0.0808185338973999,
-0.005583577789366245,
0.009765572845935822,
-0.027667606249451637,
0.029251212254166603,
-0.026557261124253273,
-0.006370830349624157,
-0.004325338639318943,
0.03287348523736,
0.011968059465289116,
0.02619321271777153,
-0.004006796982139349,
-0.017128432169556618,
0.009060231037437916,
0.05085742846131325,
0.011795137077569962,
0.026302427053451538,
-0.009437929838895798,
-0.059667374938726425,
0.024263761937618256,
0.09254086017608643,
0.023007798939943314,
-0.024500392377376556,
0.01354256458580494,
-0.002516477834433317,
0.016846295446157455,
0.011258167214691639,
-0.03946274146437645,
-0.009278658777475357,
0.0055608246475458145,
-0.0028145418036729097,
-0.03209078311920166,
0.014880439266562462,
0.012632446363568306,
0.01822967641055584,
0.027339963242411613,
0.06341706216335297,
0.008391293697059155,
0.002411814406514168,
0.02841390296816826,
0.00932871550321579,
-0.03473012521862984,
-0.04299400374293327,
-0.033820006996393204,
0.0160817950963974,
-0.02182464487850666,
0.002691675676032901,
-0.04572435840964317,
0.008109156973659992,
-0.028286486864089966,
0.047835834324359894,
0.012168285436928272,
0.05442509427666664,
-0.016154605895280838,
-0.0005730903358198702,
0.01991339586675167,
-0.03642294555902481,
-0.007358308881521225,
-0.04525109753012657,
0.0460520014166832,
0.03258224576711655,
0.05027495324611664,
-0.008250225335359573,
0.060249850153923035,
-0.03873464837670326,
0.004418625961989164,
0.003988594748079777,
-0.02912379615008831,
-0.0019487914396449924,
0.02298959530889988,
0.06534651666879654,
-0.05522599816322327,
0.014489088207483292,
0.007148981560021639,
0.03267325833439827,
0.053223736584186554,
0.0022900858893990517,
0.019185300916433334,
0.016154605895280838,
-0.024300167337059975,
0.014798528514802456,
-0.04623402655124664,
-0.03815217316150665,
-0.04685290530323982,
0.06978789716959,
0.023899715393781662,
-0.08322124183177948,
-0.013715486973524094,
0.004709863569587469,
-0.023353643715381622,
0.02783142775297165,
0.012332106940448284,
0.018056754022836685,
-0.017738211899995804,
-0.027958843857049942,
-0.013041999191045761,
0.033091913908720016,
-0.011267268098890781,
0.009556245058774948,
0.019840585067868233,
0.02411814220249653,
-0.016573259606957436,
0.05275047570466995,
-0.003146735019981861,
-0.028905367478728294,
0.010830411687493324,
0.05679140239953995,
-0.006188806612044573,
-0.0127871660515666,
0.03711463510990143,
-0.02977908030152321,
-0.016609665006399155,
0.018730241805315018,
-0.06003142148256302,
-0.015490218997001648,
-0.02182464487850666,
-0.004084157291799784,
-0.01812046207487583,
-0.017046522349119186,
0.038516219705343246,
-0.002534680301323533,
-0.0034584507811814547,
-0.016218313947319984,
-0.08540552854537964,
0.03041616454720497,
-0.056390948593616486,
0.0437949076294899,
-0.013415148481726646,
0.028450308367609978,
-0.03325573354959488,
0.04368569329380989,
0.009510739706456661,
0.033437758684158325,
0.036987219005823135,
-0.0008043173002079129,
-0.004709863569587469,
0.054206665605306625,
0.030579986050724983,
-0.020896323025226593,
0.019458334892988205,
-0.020659692585468292,
-0.04965607076883316,
0.051512714475393295,
0.03383820876479149,
0.009155793115496635,
0.006229761987924576,
-0.011067042127251625,
-0.00858696922659874,
-0.013251326978206635,
0.036513958126306534,
-0.03482113778591156,
-0.029141997918486595,
0.0034812036901712418,
-0.06170604005455971,
-0.04488705098628998,
0.044049739837646484,
0.12785346806049347,
-0.04856392741203308,
0.04102814570069313,
0.007567636203020811,
-0.08693452924489975,
-0.013023797422647476,
-0.040190838277339935,
-0.037223849445581436,
0.020787108689546585,
-0.019349122419953346,
0.035931482911109924,
-0.05169473588466644,
-0.003990869969129562,
-0.03946274146437645,
-0.003954465501010418,
-0.022188691422343254,
0.030106723308563232,
0.03724205493927002,
0.012723457999527454,
-0.006784934084862471,
0.07164453715085983,
0.020787108689546585,
-0.026830296963453293,
0.02042306214570999,
0.00030233003781177104,
-0.011776934377849102,
-0.05395182967185974,
-0.016609665006399155,
0.04055488482117653,
0.019458334892988205,
-0.013642678037285805,
-0.03847981616854668,
0.05872085317969322,
0.04091893136501312,
-0.006184255704283714,
0.017738211899995804,
-0.04164702817797661,
-0.004514188505709171,
-0.048272691667079926,
0.014707516878843307,
-0.016063593327999115,
-0.012404916808009148,
0.006129649002104998,
0.06574697047472,
-0.022425321862101555,
0.021988466382026672,
-0.030962234362959862,
-0.008564216084778309,
0.014607403427362442,
0.07674120366573334,
-0.06461842358112335,
-0.035585638135671616,
0.008532362058758736,
-0.01307840459048748,
0.07310072332620621,
-0.03711463510990143,
0.003023869125172496,
0.04801785945892334,
0.04856392741203308,
0.030106723308563232,
-0.04710773751139641,
-0.04033645614981651,
0.04281197860836983,
0.06953306496143341,
0.00689869886264205,
0.022534536197781563,
-0.008919162675738335,
-0.015399206429719925,
-0.016036290675401688,
0.004318512976169586,
0.028978176414966583,
0.01425245776772499,
-0.008973769843578339,
-0.031053246930241585,
-0.02206127531826496,
0.0174469742923975,
0.028978176414966583,
0.037460483610630035,
0.045141883194446564,
-0.019330918788909912,
-0.04361288249492645,
0.020441263914108276,
0.028941771015524864,
-0.0003850939392577857,
-0.01783832535147667,
-0.030343353748321533,
0.047253359109163284,
-0.053150925785303116,
-0.016737081110477448,
-0.057992756366729736,
0.011731429025530815,
0.02135138213634491,
-0.005970377940684557,
0.011094345711171627,
0.04055488482117653,
0.031562913209199905,
0.041756242513656616,
-0.06531011313199997,
0.04849112033843994,
-0.04091893136501312,
-0.04051848128437996,
-0.00894191488623619,
0.025355905294418335,
-0.010866816155612469,
-0.03997240960597992,
0.011585810221731663,
0.007908931002020836,
0.012878178618848324,
-0.05395182967185974,
0.0080408975481987,
-0.007408365607261658,
-0.016718879342079163,
0.018448103219270706,
-0.01822967641055584,
0.028177272528409958,
0.008327585645020008,
-0.010566476732492447,
0.03633193299174309,
-0.01732865907251835,
0.016737081110477448,
-0.03099863976240158,
-0.04688930884003639,
-0.03438428044319153,
-0.002172908280044794,
-0.014998754486441612,
-0.032491233199834824,
0.004081882070749998,
0.016609665006399155,
-0.07284589111804962,
0.04932842776179314,
0.022115882486104965,
-0.033273935317993164,
-0.016737081110477448,
-0.00007849773101042956,
0.024190953001379967,
-0.0036746037658303976,
0.023572072386741638,
-0.029760878533124924,
0.04219309985637665,
0.008459552191197872,
0.0497288815677166,
-0.06651146709918976,
-0.05930332839488983,
-0.020514072850346565,
0.03001571074128151,
-0.019585752859711647,
-0.01862102746963501,
0.02513747662305832,
-0.019312717020511627,
0.004878235515207052,
0.04710773751139641,
0.03482113778591156,
-0.014125040732324123,
0.018784847110509872,
0.03982679173350334,
-0.060213446617126465,
-0.04900078475475311,
-0.0016313876258209348,
0.04088252782821655,
0.008154662325978279,
0.014470885507762432,
-0.06844092160463333,
0.042302314192056656,
-0.03986319527029991,
0.04921921342611313,
0.03219999745488167,
0.04929202422499657,
-0.03454810380935669,
0.039171505719423294,
0.10542813688516617,
0.018985074013471603,
0.021260371431708336,
-0.026302427053451538,
0.008750790730118752,
-0.020350251346826553,
0.002013637451454997,
0.02451859600841999,
0.03760610148310661,
0.05937613919377327,
0.015981683507561684,
0.07928953319787979,
0.029378628358244896,
0.03256404399871826,
-0.06818608939647675,
-0.021879252046346664,
-0.10499127954244614,
0.02506466582417488,
-0.013133011758327484,
-0.01609089784324169,
0.047763023525476456,
0.04212028905749321,
-0.032108984887599945,
-0.0003017612034454942,
0.006125098094344139,
-0.06356268376111984,
0.010611983016133308,
-0.02322622761130333,
0.059084899723529816,
-0.0702611580491066,
0.0066711693070828915,
0.054861947894096375,
0.09348738193511963,
-0.08598800748586655,
0.016655171290040016,
0.006052288692444563,
0.06531011313199997,
0.016418538987636566,
-0.04765380918979645,
-0.03778812289237976,
-0.02455499954521656,
-0.06643866002559662,
-0.024427583441138268,
0.02970627136528492,
-0.00007672015635762364,
0.015308194793760777,
0.012086374685168266,
0.018730241805315018,
0.01296008937060833,
0.06953306496143341,
0.0346573181450367,
-0.02690310589969158,
0.018293384462594986,
-0.05082102119922638,
-0.05082102119922638,
0.007799716666340828,
0.006753080058842897,
-0.05395182967185974,
0.02673928439617157,
-0.008036347106099129,
-0.035112377256155014,
0.005374250467866659,
0.02681209333240986,
0.025192083790898323,
-0.014753022231161594,
-0.03278247267007828,
-0.04736257344484329,
0.06196087598800659,
0.05333295091986656,
-0.08693452924489975,
0.021497001871466637,
0.010448161512613297,
0.01721034198999405,
0.00037883687764406204,
0.017128432169556618,
-0.01611820049583912,
0.01831158623099327,
-0.018948668614029884,
0.014707516878843307,
0.023062406107783318,
-0.030197735875844955,
0.006994261406362057,
0.04157421737909317,
0.04303040727972984,
-0.05562644824385643,
-0.021679025143384933,
-0.0014994203811511397,
-0.002164944540709257,
0.04929202422499657,
0.0013310484355315566,
0.06345346570014954,
-0.002707602921873331,
-0.024646012112498283,
-0.018575521185994148,
0.011531203053891659,
0.012596041895449162,
0.05089383199810982,
-0.004357192665338516,
0.03742407634854317,
0.009947596117854118,
-0.0511486642062664,
0.054825544357299805,
0.014425380155444145,
0.016846295446157455,
-0.047253359109163284,
-0.026284225285053253,
0.003804295789450407,
-0.007007913198322058,
0.03150830790400505,
0.014334367588162422,
-0.030962234362959862,
-0.011503899469971657,
-0.0516219288110733,
0.035822268575429916,
0.05893928185105324,
-0.0633806586265564,
-0.01473482046276331,
-0.016573259606957436,
-0.0021660823840647936,
0.037569694221019745,
0.002042078645899892,
0.00007010757690295577,
0.07732367515563965,
-0.027576593682169914,
-0.023390047252178192,
-0.003938538488000631,
-0.01084861345589161,
0.02568354643881321,
0.0843861997127533,
-0.0497288815677166,
-0.008286629803478718,
-0.013624475337564945,
0.039717577397823334,
-0.001813411363400519,
-0.021187560632824898,
-0.010530072264373302,
0.01698281243443489,
0.010575578548014164,
0.060795921832323074,
0.03498495742678642,
-0.036168113350868225,
-0.028159068897366524,
0.019968003034591675,
-0.03662317246198654,
-0.05417025834321976,
-0.018948668614029884,
-0.010238834656774998,
-0.011048839427530766,
-0.00987478718161583,
0.01640033721923828,
-0.02439117804169655,
-0.02779502235352993,
0.03199977055191994,
-0.031526509672403336,
-0.02482803538441658,
0.06221570819616318,
0.007353758439421654,
-0.014962350018322468,
-0.028195474296808243,
0.030434366315603256,
-0.03325573354959488,
-0.03494855388998985,
0.010002203285694122,
-0.011158053763210773,
-0.03485754132270813,
0.04164702817797661,
0.03287348523736,
-0.07644996047019958,
0.037023626267910004,
-0.025901975110173225,
0.006216110195964575,
-0.05238642543554306,
0.033273935317993164,
0.05089383199810982,
0.0008111431961879134,
-0.018912265077233315,
-0.007522130385041237,
-0.023390047252178192,
-0.005437958519905806,
-0.030543580651283264,
0.00999310240149498,
0.03021593764424324,
0.027649402618408203,
-0.006944205146282911,
0.004211573861539364,
-0.026065796613693237,
-0.042375121265649796,
-0.04212028905749321,
-0.0019510667771100998,
-0.029050985351204872,
-0.04801785945892334,
-0.027376366779208183,
-0.011685922741889954,
0.06581977754831314,
-0.03321933001279831,
-0.022188691422343254,
-0.06560134887695312,
-0.01561763510107994,
0.00628436915576458,
-0.02963346242904663,
0.01393391564488411,
-0.004964697174727917,
-0.014534594491124153,
-0.06210649386048317,
-0.024190953001379967,
-0.05821118503808975,
0.020950930193066597,
-0.020368454977869987,
-0.011977161280810833,
0.05766511335968971,
-0.07601310312747955,
-0.014416278339922428,
0.018784847110509872,
-0.017037419602274895,
0.04754459485411644,
-0.004923741798847914,
0.04357647895812988,
0.033437758684158325,
0.027776820585131645,
0.05504397302865982,
-0.0036427497398108244,
-0.024154547601938248,
0.003663227427750826,
-0.03529439866542816,
-0.03451169654726982,
0.010939626023173332,
0.016545956954360008,
-0.05347856879234314,
-0.041938263922929764,
0.008641576394438744,
-0.004791774321347475,
-0.029214806854724884,
0.0014004450058564544,
-0.0017701806500554085,
-0.0007804267224855721,
-0.07280948758125305,
-0.047726619988679886,
-0.024646012112498283,
0.05395182967185974,
0.0057565001770854,
-0.05194957181811333,
-0.04142859950661659,
-0.0296698659658432,
-0.005633634049445391,
0.011503899469971657,
-0.06298020482063293,
0.06592898815870285,
0.008691633120179176,
0.027740415185689926,
0.013069302774965763,
-0.014762124046683311,
0.035003162920475006,
-0.06618382781744003,
-0.026047594845294952,
0.03185415267944336,
-0.0246278103441,
-0.03498495742678642,
0.009037477895617485,
-0.018484508618712425,
0.03767890855669975,
-0.020277442410588264,
0.01686449721455574,
0.0014903192641213536,
0.045069072395563126,
-0.03083481825888157,
0.022425321862101555,
0.001685994677245617,
-0.005483464803546667,
0.012905482202768326,
0.06560134887695312,
-0.05875725671648979,
-0.05285969004034996,
0.06214289739727974,
0.06418156623840332,
-0.017665402963757515,
-0.02217048965394497,
-0.017001016065478325,
-0.027904236689209938,
0.0378609336912632,
0.0013242225395515561,
0.013487957417964935,
-0.0232626311480999,
0.0186938364058733,
-0.007508478593081236,
-0.027121534571051598,
0.051003046333789825,
-0.017383266240358353,
-0.022698357701301575,
-0.018293384462594986,
0.04266636073589325,
-0.04845471307635307,
0.018557317554950714,
0.026630070060491562,
0.0055744764395058155,
-0.03982679173350334,
0.004034100566059351,
-0.017428770661354065,
-0.03485754132270813,
-0.029269414022564888,
0.03946274146437645,
0.028322890400886536,
-0.021915655583143234,
0.034220460802316666,
0.05187676101922989,
0.020750705152750015,
0.04270276427268982,
-0.03305550664663315,
0.06680270284414291,
0.04805426299571991,
-0.04594278708100319,
-0.04040926694869995,
0.007585838437080383,
0.04008162394165993,
-0.04441378638148308,
0.035349007695913315,
0.061778850853443146,
-0.016154605895280838,
-0.019767776131629944,
0.03696901723742485,
0.0333467461168766,
-0.052677664905786514,
-0.10826770961284637,
-0.06600180268287659,
-0.007540332619100809,
-0.030598187819123268,
0.05995861440896988,
0.0644363984465599,
0.03305550664663315,
0.0019294514786452055
] |
18,160 | jsondiff | __call__ | null | def __call__(self, obj, dest=None):
if dest is None:
return json.dumps(obj, **self.kwargs)
else:
return json.dump(obj, dest, **self.kwargs)
| (self, obj, dest=None) | [
-0.0436258390545845,
-0.02205224707722664,
-0.00020727401715703309,
-0.04116419330239296,
-0.006649863440543413,
-0.028035413473844528,
-0.01676141656935215,
0.051284294575452805,
0.03890768438577652,
-0.08116593956947327,
0.006602853070944548,
0.0136758117005229,
-0.02500964142382145,
-0.02422328107059002,
-0.016282763332128525,
0.06516524404287338,
-0.015308361500501633,
0.024462608620524406,
0.050600502640008926,
0.07761023193597794,
0.018376871943473816,
-0.018530724570155144,
0.05220741033554077,
0.05531865730881691,
-0.02030858024954796,
0.026599453762173653,
0.0389418751001358,
-0.015787014737725258,
-0.02179582417011261,
0.04950643703341484,
0.024206187576055527,
-0.08143945783376694,
0.04967738687992096,
0.054053645581007004,
0.016034889966249466,
0.003745890222489834,
-0.04509598761796951,
0.08690978586673737,
-0.12930479645729065,
-0.0906706303358078,
-0.03829227387905121,
0.023847196251153946,
-0.05863504484295845,
0.024907073006033897,
0.06779783964157104,
0.0014210023218765855,
-0.02353949099779129,
0.04988252371549606,
0.019744453951716423,
-0.04482247307896614,
0.03492460399866104,
-0.014889540150761604,
-0.009684184566140175,
-0.011188523843884468,
-0.026120800524950027,
0.012880905531346798,
0.0292662363499403,
0.015197246335446835,
-0.004919018596410751,
0.014838255941867828,
-0.029385900124907494,
0.010658585466444492,
0.05548960715532303,
-0.05135267227888107,
-0.033813443034887314,
-0.012256946414709091,
-0.10434644669294357,
0.011778293177485466,
0.022736037150025368,
0.0759691372513771,
-0.010504732839763165,
-0.02769351936876774,
0.010650038719177246,
0.03760848194360733,
0.033642496913671494,
0.011188523843884468,
-0.01964188553392887,
0.008645677007734776,
-0.008667045272886753,
-0.025471199303865433,
0.00008881264511728659,
-0.057882875204086304,
-0.05699394643306732,
0.008957657031714916,
-0.05131848528981209,
-0.00507714506238699,
-0.0655413269996643,
-0.02666783332824707,
-0.040514592081308365,
0.01029959600418806,
-0.01463311817497015,
0.043557461351156235,
-0.05637853592634201,
0.015692993998527527,
-0.031488556414842606,
-0.028206361457705498,
-0.01506903488188982,
-0.009359383955597878,
0.019163230434060097,
0.050942398607730865,
0.0036112689413130283,
-0.02805250883102417,
-0.03969404473900795,
0.008102918043732643,
0.0324629582464695,
-0.045984916388988495,
0.05480581521987915,
0.004162575118243694,
-0.02494126185774803,
0.029932932928204536,
0.02971070073544979,
0.00564554613083601,
-0.07330235093832016,
-0.04212149977684021,
0.03624090179800987,
-0.027932845056056976,
-0.002837731037288904,
0.004000174812972546,
-0.007846496999263763,
-0.014026254415512085,
0.019299989566206932,
-0.02430875599384308,
0.027488382533192635,
0.0026817412581294775,
0.02077013999223709,
0.033317696303129196,
-0.010521827265620232,
0.012085998430848122,
0.031830452382564545,
-0.02266765758395195,
0.008218307979404926,
0.0021902667358517647,
-0.050771452486515045,
0.015308361500501633,
0.06653282791376114,
0.01796659827232361,
0.01115433406084776,
-0.00959871057420969,
-0.0028526887763291597,
0.013299726881086826,
0.04574558883905411,
-0.030975714325904846,
0.029061099514365196,
-0.006803716532886028,
0.019385462626814842,
0.00020687335927505046,
0.030890239402651787,
0.030445776879787445,
0.0072951908223330975,
0.0240523349493742,
0.06164372339844704,
0.029129479080438614,
0.006914832163602114,
0.016787059605121613,
-0.03945471718907356,
0.010761154815554619,
-0.0425659641623497,
-0.025898568332195282,
0.027744803577661514,
-0.015513499267399311,
0.004615586716681719,
-0.026855874806642532,
0.005171166267246008,
-0.020394055172801018,
0.08020863682031631,
0.0033655317965894938,
0.06663539260625839,
0.011205618269741535,
-0.000848861935082823,
0.01988121122121811,
-0.036958880722522736,
-0.021231697872281075,
-0.03162531554698944,
0.0425659641623497,
0.028257645666599274,
0.0604470893740654,
-0.030787670984864235,
0.04813885688781738,
-0.03309546411037445,
0.04099324718117714,
-0.0018205924425274134,
-0.015624615363776684,
0.016299858689308167,
0.04379678890109062,
0.046258434653282166,
-0.02945427969098091,
0.007598623167723417,
0.008453360758721828,
0.021830014884471893,
0.038770925253629684,
0.02779608778655529,
0.04027526453137398,
0.025334442034363747,
-0.03531778231263161,
-0.02953975275158882,
-0.06677214801311493,
-0.03056543879210949,
-0.03692469373345375,
0.029727796092629433,
0.04218988120555878,
-0.05473743751645088,
-0.050156038254499435,
0.009812395088374615,
-0.002500109374523163,
0.023248879238963127,
0.007953339256346226,
0.02100946567952633,
-0.00385273271240294,
-0.02396686002612114,
-0.016547732055187225,
0.01883843168616295,
-0.014778424054384232,
-0.025847284123301506,
-0.006671232171356678,
0.05196808651089668,
-0.02092399261891842,
0.02918076328933239,
-0.021607782691717148,
0.013496316969394684,
0.024548081681132317,
0.025078019127249718,
-0.01141930278390646,
-0.025163494050502777,
0.007829402573406696,
-0.01824011467397213,
-0.019556410610675812,
0.0050985137932002544,
-0.0921749696135521,
-0.003987353760749102,
-0.02222319506108761,
-0.03167659789323807,
-0.04301042854785919,
0.020223107188940048,
0.03273647278547287,
-0.009675636887550354,
0.045472074300050735,
0.0059361569583415985,
-0.07330235093832016,
0.009111509658396244,
-0.019556410610675812,
0.045984916388988495,
-0.019556410610675812,
0.01989830657839775,
-0.03424081206321716,
0.049472250044345856,
0.03907863050699234,
0.02232576347887516,
0.03996755927801132,
-0.012325325049459934,
-0.009128604084253311,
0.06280616670846939,
0.049198731780052185,
-0.06735337525606155,
0.0006784484721720219,
-0.015949415042996407,
-0.05846409499645233,
0.06290873140096664,
0.005863504484295845,
0.01911194622516632,
0.01312023214995861,
-0.007077232468873262,
-0.026001136749982834,
0.0009776068618521094,
0.033916011452674866,
-0.04960900917649269,
-0.02760804444551468,
-0.03306127339601517,
-0.05070307105779648,
-0.05248092859983444,
0.07282369583845139,
0.019556410610675812,
-0.0389418751001358,
0.00872687716037035,
0.015154508873820305,
-0.044241249561309814,
-0.006457547191530466,
-0.026958443224430084,
-0.028633730486035347,
-0.0009808121249079704,
-0.04075391963124275,
0.0278815608471632,
-0.0194709375500679,
0.028599541634321213,
-0.053882699459791183,
-0.002585583133623004,
-0.06140439584851265,
0.04967738687992096,
0.02988164871931076,
-0.006316515617072582,
-0.023214690387248993,
0.04882264882326126,
0.06697728484869003,
-0.0351126454770565,
0.006158389151096344,
0.004367712419480085,
0.0001531851157778874,
-0.04526693746447563,
-0.025847284123301506,
0.049369681626558304,
0.01676141656935215,
-0.021522309631109238,
-0.02232576347887516,
0.03326641395688057,
0.009239720180630684,
0.0011667177313938737,
0.01962479017674923,
-0.017069121822714806,
0.003722385037690401,
-0.06273778527975082,
0.02068466506898403,
0.0010021806228905916,
-0.023847196251153946,
-0.0061925784684717655,
0.04646357148885727,
-0.02153940312564373,
0.002863373141735792,
0.004436091519892216,
0.024120712652802467,
0.015479309484362602,
0.06061803549528122,
-0.06786621361970901,
-0.05525027960538864,
-0.006654137279838324,
-0.020735949277877808,
0.1000385656952858,
-0.044241249561309814,
-0.03986499086022377,
0.057711925357580185,
0.03706144914031029,
0.0236249640583992,
-0.045301128178834915,
-0.017761461436748505,
0.05969491973519325,
0.07466993480920792,
0.02258218452334404,
-0.008282413706183434,
0.005538703873753548,
-0.01155606098473072,
-0.019847022369503975,
0.030206449329853058,
0.03195011615753174,
0.005222450476139784,
-0.0033911739010363817,
0.013368106447160244,
-0.030103880912065506,
0.021761635318398476,
0.015265624970197678,
0.021607782691717148,
0.029112383723258972,
-0.022718941792845726,
-0.08458489924669266,
0.010239764116704464,
0.06243008002638817,
0.02466774545609951,
-0.00899184588342905,
-0.009068773128092289,
0.04882264882326126,
-0.04584815725684166,
-0.016385331749916077,
-0.08677302300930023,
0.006880642846226692,
0.01824011467397213,
0.0007195827784016728,
0.009957700036466122,
0.03514683619141579,
0.05248092859983444,
0.01299202162772417,
-0.032958704978227615,
0.01564170978963375,
-0.04622424393892288,
-0.043044619262218475,
0.009273909963667393,
-0.02196677215397358,
-0.023146310821175575,
-0.03177916631102562,
0.03047996573150158,
-0.01623147912323475,
-0.01875295676290989,
-0.05391688644886017,
-0.009436310268938541,
0.013205706141889095,
0.0023590775672346354,
0.014607476070523262,
0.016103267669677734,
0.05196808651089668,
0.01684689149260521,
-0.01549640391021967,
0.015188698656857014,
-0.019317084923386574,
-0.005192534998059273,
-0.01738537661731243,
-0.023129217326641083,
-0.006748158484697342,
-0.006021630950272083,
-0.020513717085123062,
-0.04383097589015961,
0.02762513980269432,
0.018547819927334785,
-0.05183132737874985,
0.033317696303129196,
0.01323989499360323,
-0.01059020683169365,
0.020445339381694794,
0.023642059415578842,
0.003418952925130725,
-0.026343032717704773,
0.04222406819462776,
-0.008367887698113918,
0.036069951951503754,
0.021556498482823372,
0.015308361500501633,
-0.06766107678413391,
-0.04697641357779503,
-0.015428025275468826,
0.008431992493569851,
-0.009094415232539177,
-0.043283943086862564,
0.02439422905445099,
-0.02892434224486351,
-0.0028120887000113726,
0.04143771156668663,
0.06239589303731918,
0.018821336328983307,
0.022821510210633278,
0.026958443224430084,
-0.07275532186031342,
-0.0025642146356403828,
-0.03273647278547287,
0.03637766093015671,
-0.0027073833625763655,
0.013197158463299274,
-0.04683965444564819,
0.03924958035349846,
-0.020889801904559135,
0.05603663995862007,
0.03309546411037445,
0.05559217557311058,
-0.04933549091219902,
0.0340527705848217,
0.08807222545146942,
0.019676074385643005,
-0.009829489514231682,
-0.04246339574456215,
0.019385462626814842,
-0.05155780911445618,
-0.0018676030449569225,
0.007637086324393749,
0.008872183039784431,
0.05525027960538864,
0.0015246393159031868,
0.09292714297771454,
0.0125561049208045,
0.022274479269981384,
-0.056583672761917114,
-0.06010519340634346,
-0.07781536877155304,
0.025556674227118492,
-0.03866835683584213,
-0.02136845514178276,
0.015402383171021938,
0.012838168069720268,
-0.05046374723315239,
0.02977908030152321,
-0.014086086302995682,
-0.04020688682794571,
0.026770401746034622,
-0.025026734918355942,
0.04061716049909592,
-0.054327163845300674,
-0.026360128074884415,
0.03733496740460396,
0.0595923513174057,
-0.07166125625371933,
0.006564389448612928,
0.03562549129128456,
0.05234416946768761,
0.013214252889156342,
-0.021590687334537506,
-0.0425659641623497,
-0.03448013961315155,
-0.036069951951503754,
-0.031488556414842606,
0.04834399372339249,
0.025607958436012268,
-0.00747041217982769,
0.04184798523783684,
0.04646357148885727,
0.0292662363499403,
0.09053387492895126,
0.05152362212538719,
0.010273953899741173,
0.03798456862568855,
-0.05333566665649414,
-0.05289120227098465,
-0.00885508768260479,
0.003451005555689335,
-0.03593319654464722,
-0.015342551283538342,
-0.0425659641623497,
-0.028189267963171005,
-0.019829927012324333,
0.018034975975751877,
-0.03449723497033119,
0.002131503541022539,
-0.05942140147089958,
-0.031232135370373726,
0.000022420184905058704,
0.024086523801088333,
-0.0774734765291214,
0.02172744646668434,
-0.029300427064299583,
0.028873058035969734,
-0.008077275939285755,
0.02977908030152321,
0.009624352678656578,
0.022206099703907967,
0.006094283424317837,
0.014821160584688187,
-0.028890151530504227,
-0.049369681626558304,
0.0003111781261395663,
0.02962522767484188,
0.040446214377880096,
-0.035386163741350174,
-0.009436310268938541,
-0.0033655317965894938,
-0.02249670960009098,
0.045301128178834915,
-0.013521959073841572,
0.026531074196100235,
-0.041471898555755615,
-0.016368236392736435,
0.006564389448612928,
0.038326460868120193,
0.008325150236487389,
0.035557109862565994,
-0.021556498482823372,
0.030890239402651787,
0.0016304132295772433,
-0.05453230068087578,
0.01753922924399376,
-0.0024595092982053757,
-0.0005486350855790079,
-0.03073638677597046,
-0.031300514936447144,
-0.00815847609192133,
-0.009778205305337906,
0.025830188766121864,
0.02006925456225872,
-0.038429033011198044,
-0.03335188701748848,
-0.07330235093832016,
0.0585324726998806,
0.11350923776626587,
-0.04995090141892433,
0.015402383171021938,
-0.028257645666599274,
0.002880467800423503,
0.00028500179178081453,
-0.002538572531193495,
0.012607389129698277,
0.08458489924669266,
0.007654180750250816,
-0.0006319720996543765,
-0.01299202162772417,
0.017393922433257103,
0.004654049873352051,
0.04366002976894379,
-0.019231610000133514,
-0.0072567276656627655,
-0.016881080344319344,
-0.0051156082190573215,
-0.010564564727246761,
0.011658629402518272,
0.01738537661731243,
0.036001574248075485,
0.014863898046314716,
0.013043305836617947,
0.02232576347887516,
-0.020701760426163673,
-0.01781274564564228,
0.020462432876229286,
-0.020359864458441734,
-0.06078898534178734,
-0.014128822833299637,
-0.0026603727601468563,
-0.023419827222824097,
-0.006444726139307022,
0.022718941792845726,
-0.03342026472091675,
-0.011308186687529087,
0.05603663995862007,
-0.03907863050699234,
-0.0018943136092275381,
0.0689602792263031,
0.0061669363640248775,
-0.018735861405730247,
-0.02960813231766224,
0.030873145908117294,
-0.05986586585640907,
-0.015522046014666557,
0.001866534585133195,
0.0009359383839182556,
-0.025898568332195282,
0.03675374388694763,
0.0423608273267746,
-0.10400454699993134,
0.009521784260869026,
-0.02441132441163063,
0.019043568521738052,
-0.03528359532356262,
0.029214952141046524,
0.035488732159137726,
0.0009626489481888711,
-0.021830014884471893,
0.0023740355391055346,
-0.046155866235494614,
0.017744366079568863,
-0.04803628847002983,
0.017778554931282997,
0.03422372043132782,
0.0021347086876630783,
-0.02639431692659855,
-0.0016314815729856491,
-0.02624046429991722,
-0.03658279776573181,
-0.02777899242937565,
0.0021603507921099663,
-0.02094108611345291,
-0.022018056362867355,
-0.021060749888420105,
0.004910471383482218,
0.09593582153320312,
-0.00008126690954668447,
0.016479352489113808,
-0.04430963099002838,
-0.0245822723954916,
0.02172744646668434,
-0.02918076328933239,
-0.017393922433257103,
0.019556410610675812,
-0.0024274566676467657,
-0.036958880722522736,
-0.030616723001003265,
-0.07309721410274506,
0.01411172840744257,
-0.009308099746704102,
-0.012615936808288097,
-0.0006341089028865099,
-0.06413955986499786,
-0.020188916474580765,
0.008932014927268028,
-0.03610414266586304,
0.03572805970907211,
0.032428767532110214,
0.0868414044380188,
0.06061803549528122,
0.01523998286575079,
0.041984740644693375,
0.01467585563659668,
-0.03620671108365059,
0.017915314063429832,
-0.04783115163445473,
-0.04509598761796951,
-0.03039449267089367,
0.0296936072409153,
-0.05863504484295845,
-0.059113696217536926,
-0.003374079242348671,
0.001156033482402563,
-0.02658235840499401,
0.00816274993121624,
-0.02456517703831196,
0.016710132360458374,
-0.06482334434986115,
-0.043386511504650116,
0.0024530987720936537,
0.022103531286120415,
-0.00815847609192133,
-0.039557285606861115,
-0.060310330241918564,
-0.06294292211532593,
0.02181291952729225,
0.04646357148885727,
-0.031163755804300308,
0.06174629181623459,
0.019761547446250916,
0.027659328654408455,
0.022445425391197205,
-0.03318093717098236,
0.05367756262421608,
-0.08451651781797409,
-0.04718155041337013,
-0.006034452002495527,
-0.021778730675578117,
-0.01493227668106556,
-0.028086697682738304,
-0.013633075170218945,
0.024719029664993286,
0.0011806072434410453,
0.027864467352628708,
0.009983343072235584,
0.06465239822864532,
-0.03542035073041916,
0.034531425684690475,
-0.005453229881823063,
0.01806916669011116,
-0.014257033355534077,
0.05272025614976883,
-0.04345489293336868,
-0.02726615034043789,
0.08116593956947327,
0.04157446697354317,
-0.014197202399373055,
-0.03359121456742287,
-0.0122911361977458,
-0.02006925456225872,
0.048514943569898605,
0.019402557983994484,
0.0045343865640461445,
-0.038770925253629684,
-0.016197290271520615,
0.009188435971736908,
-0.05887436866760254,
0.07446479797363281,
-0.015017750672996044,
-0.015265624970197678,
0.0014391655568033457,
0.06174629181623459,
-0.034873321652412415,
0.033813443034887314,
0.018000787124037743,
0.00999188981950283,
-0.02909529022872448,
0.019590601325035095,
-0.010889365337789059,
-0.0019049978582188487,
-0.006927653215825558,
0.0072567276656627655,
0.03805294632911682,
-0.04471990466117859,
0.04574558883905411,
0.06677214801311493,
0.03248005360364914,
0.05586569011211395,
-0.030240638181567192,
0.0700201541185379,
0.034685276448726654,
-0.04841237515211105,
-0.02126588672399521,
0.030531249940395355,
0.03675374388694763,
0.017505038529634476,
0.034599803388118744,
0.09723502397537231,
-0.02656526491045952,
-0.040959056466817856,
0.04960900917649269,
0.038429033011198044,
-0.02388138696551323,
-0.10373103618621826,
-0.05295957997441292,
-0.014402339234948158,
-0.004525838885456324,
0.053472425788640976,
0.08581572026014328,
0.022975364699959755,
0.010906459763646126
] |
18,161 | jsondiff | __init__ | null | def __init__(self, **kwargs):
self.kwargs = kwargs
| (self, **kwargs) | [
-0.03132840618491173,
-0.000786580378189683,
0.035103119909763336,
-0.006971048656851053,
-0.0446355827152729,
0.009393302723765373,
-0.015081469900906086,
0.052637286484241486,
0.03844296187162399,
0.020717451348900795,
-0.04032162204384804,
0.05580317601561546,
-0.028058143332600594,
0.045122645795345306,
0.008036492392420769,
0.0009121506009250879,
0.017951644957065582,
0.04220028221607208,
-0.01408995408564806,
-0.023239728063344955,
-0.0028745245654135942,
0.012141713872551918,
0.006296991836279631,
0.09135857224464417,
0.027692848816514015,
0.042791713029146194,
-0.01745588891208172,
0.012498311698436737,
0.04080868139863014,
0.008627922274172306,
-0.01709059253334999,
0.001279620104469359,
0.008536598645150661,
0.07208490371704102,
0.012367849238216877,
-0.05413325875997543,
-0.019430221989750862,
0.05625544860959053,
-0.0853051096200943,
0.014637896791100502,
-0.00041231600334867835,
-0.01351591944694519,
-0.04070431366562843,
-0.005457683000713587,
0.01909971609711647,
-0.002609250834211707,
0.014968402683734894,
0.004198719281703234,
-0.02991941012442112,
-0.022213421761989594,
-0.024300822988152504,
0.04334835335612297,
0.046096764504909515,
-0.03635556250810623,
-0.027971168980002403,
0.0783471018075943,
0.005479426588863134,
0.08300896733999252,
-0.02153501659631729,
0.062308911234140396,
-0.08036492764949799,
0.057716626673936844,
0.030997900292277336,
-0.02537931315600872,
-0.03701657056808472,
-0.041748013347387314,
-0.07952996343374252,
0.023309307172894478,
0.028806129470467567,
0.04717525467276573,
0.012446126900613308,
0.0007403749041259289,
-0.026109904050827026,
0.020178206264972687,
0.027066629379987717,
-0.02240476757287979,
-0.10464835166931152,
0.02503141202032566,
-0.00819304771721363,
0.037190522998571396,
-0.0014013851759955287,
-0.027066629379987717,
-0.07229364663362503,
0.028893103823065758,
0.012620076537132263,
-0.03348538652062416,
-0.07104120403528214,
-0.009158470667898655,
0.015133654698729515,
0.018977951258420944,
-0.08787956833839417,
0.056916456669569016,
-0.016290422528982162,
0.015681598335504532,
-0.037364471703767776,
-0.02050871215760708,
-0.006827539764344692,
-0.00520980404689908,
0.004735790193080902,
0.03277219086885452,
-0.007371133659034967,
-0.010228263214230537,
-0.038547333329916,
-0.031537145376205444,
-0.01034133043140173,
-0.03785153105854988,
-0.04070431366562843,
-0.06648371368646622,
0.007514642551541328,
0.012663563713431358,
0.021256696432828903,
0.013655079528689384,
-0.022804852575063705,
0.07792962342500687,
-0.04213070496916771,
-0.002372243907302618,
-0.02016081102192402,
-0.04734920337796211,
0.03896481171250343,
-0.004518352914601564,
-0.03865170106291771,
0.043139614164829254,
-0.02205686643719673,
0.07180657982826233,
0.0627959668636322,
0.018699631094932556,
-0.02722318284213543,
-0.017586350440979004,
0.042269863188266754,
-0.03997372090816498,
0.06582269817590714,
-0.036425139755010605,
-0.024996623396873474,
-0.022648297250270844,
0.018560471013188362,
-0.016351304948329926,
0.05187190696597099,
-0.020108627155423164,
-0.007445062510669231,
0.04407894238829613,
0.018108200281858444,
0.03722531348466873,
0.031189244240522385,
-0.027884194627404213,
-0.04084347188472748,
-0.0005702300113625824,
-0.01814299076795578,
-0.018264755606651306,
0.01504667941480875,
0.011028433218598366,
0.06457026302814484,
-0.025448892265558243,
0.055003006011247635,
0.03428555652499199,
-0.038338590413331985,
-0.035903289914131165,
-0.024648722261190414,
-0.05173274502158165,
0.032041601836681366,
0.00405521085485816,
0.02111753635108471,
-0.021935101598501205,
0.014568316750228405,
-0.02685788832604885,
-0.005622935481369495,
0.02600553259253502,
0.013028859160840511,
-0.0835656076669693,
0.0034268160816282034,
0.042791713029146194,
0.0013513744343072176,
-0.014820544980466366,
-0.03270260989665985,
-0.002576635219156742,
-0.042095914483070374,
0.021308882161974907,
-0.018456101417541504,
0.020386947318911552,
-0.0029093145858496428,
0.014194324612617493,
0.02224821224808693,
-0.03701657056808472,
-0.056394606828689575,
0.020265180617570877,
0.10061271488666534,
-0.023535441607236862,
-0.004135662689805031,
0.038860443979501724,
0.004892345517873764,
0.006436151918023825,
0.023048382252454758,
-0.020004255697131157,
-0.006692728493362665,
-0.01041960809379816,
-0.02670133300125599,
0.0184039156883955,
0.009080193005502224,
-0.01998686045408249,
0.0077842650935053825,
0.0870446041226387,
-0.036146823316812515,
-0.01850828528404236,
-0.010228263214230537,
-0.03879086300730705,
0.03444211184978485,
0.012985371984541416,
0.038164641708135605,
0.008740990422666073,
0.003461606102064252,
-0.0540984682738781,
0.006227411795407534,
-0.029849829152226448,
0.049401815980672836,
-0.007771218661218882,
0.0266143586486578,
-0.04647945612668991,
0.00462707132101059,
-0.0205782912671566,
0.024718303233385086,
0.026301247999072075,
0.10228263586759567,
-0.003983456175774336,
-0.012837514281272888,
-0.02231779135763645,
-0.013115834444761276,
-0.0011328497203066945,
0.046096764504909515,
-0.015646807849407196,
-0.030649999156594276,
-0.02798856422305107,
-0.04119137302041054,
-0.021517621353268623,
0.037190522998571396,
0.05131526663899422,
-0.017986435443162918,
-0.038547333329916,
-0.0016253457870334387,
-0.023848552256822586,
-0.08370476961135864,
-0.06940606981515884,
0.07521600276231766,
0.021656781435012817,
-0.002935407217592001,
0.016942735761404037,
0.0045009576715528965,
0.015107561834156513,
0.024874858558177948,
0.08168694376945496,
-0.004831462632864714,
-0.009219353087246418,
0.018525680527091026,
-0.002051523420959711,
-0.03559018298983574,
0.03106747940182686,
-0.026196878403425217,
-0.005379405338317156,
0.04421810433268547,
0.022369977086782455,
0.01203734427690506,
-0.025535868480801582,
0.004194370936602354,
-0.011289358139038086,
-0.0015231501311063766,
0.07869500666856766,
0.011741628870368004,
0.021082745864987373,
0.02155241183936596,
-0.03070218488574028,
-0.06864069402217865,
0.016159961000084877,
0.12454824149608612,
-0.012837514281272888,
0.045157432556152344,
0.06321345269680023,
-0.03670345991849899,
-0.07271112501621246,
0.00494887912645936,
-0.04300045222043991,
-0.0761205404996872,
0.029084449633955956,
0.08092156797647476,
-0.0019895536825060844,
0.02372678741812706,
0.034581270068883896,
-0.008719246834516525,
-0.019952071830630302,
0.011367635801434517,
0.08175652474164963,
-0.017160173505544662,
-0.03604245185852051,
0.0257446076720953,
0.0002599738072603941,
0.040008511394262314,
0.04407894238829613,
0.0593169704079628,
0.0037551468703895807,
-0.0198998861014843,
0.03966061398386955,
0.01403776928782463,
-0.0060273692943155766,
0.01796904020011425,
-0.08634880930185318,
0.004285694565623999,
0.014124744571745396,
0.007814706303179264,
-0.007801659870892763,
0.006009974516928196,
0.04884517565369606,
0.006901468615978956,
-0.011106710880994797,
0.05399409681558609,
0.05065425485372543,
-0.02939755842089653,
0.055003006011247635,
-0.07876458764076233,
-0.002061308128759265,
0.012846211902797222,
-0.036842621862888336,
-0.00019786818302236497,
0.05827326700091362,
-0.035798922181129456,
-0.05653376877307892,
0.00785384513437748,
-0.0441485233604908,
0.010697928257286549,
0.026910074055194855,
-0.009967338293790817,
0.0004963012761436403,
0.0036355562042444944,
0.046618614345788956,
-0.022891826927661896,
0.032145969569683075,
0.02677091397345066,
-0.011750326491892338,
-0.05354182794690132,
-0.024579143151640892,
-0.03181546553969383,
0.02409208193421364,
0.008010400459170341,
-0.05983882024884224,
0.01291579194366932,
-0.008314812555909157,
-0.03705136105418205,
0.019691146910190582,
0.0030223822686821222,
-0.01850828528404236,
-0.01745588891208172,
-0.03931271284818649,
0.06450068205595016,
-0.025692423805594444,
0.01203734427690506,
-0.030945714563131332,
0.026997048407793045,
0.010132590308785439,
0.049680136144161224,
0.004696651361882687,
-0.004079128615558147,
0.0015198886394500732,
-0.021256696432828903,
-0.04352230206131935,
0.08648796379566193,
-0.00031365369795821607,
-0.033102694898843765,
-0.00711020827293396,
0.0432787723839283,
0.024822672829031944,
0.01313322875648737,
-0.00602302048355341,
0.04098263382911682,
-0.03000638447701931,
0.018386520445346832,
-0.04665340483188629,
-0.025935953482985497,
0.038686491549015045,
-0.001349200145341456,
-0.019760726019740105,
-0.029014868661761284,
0.02231779135763645,
-0.03470303490757942,
0.004487911239266396,
-0.04334835335612297,
-0.041121792048215866,
0.05663813650608063,
-0.022717876359820366,
-0.01134154386818409,
-0.018038621172308922,
-0.021848127245903015,
0.012089529074728489,
0.06338740140199661,
0.06717950850725174,
-0.048984333872795105,
-0.03341580554842949,
-0.02127409167587757,
-0.015812059864401817,
0.041121792048215866,
-0.034146394580602646,
0.04341793432831764,
0.005022807978093624,
-0.03513791039586067,
-0.02103056199848652,
0.0313979834318161,
-0.07271112501621246,
-0.009775993414223194,
0.00989775825291872,
0.04787105694413185,
0.021517621353268623,
0.039103973656892776,
0.02050871215760708,
0.059873610734939575,
-0.020456526428461075,
0.0380602702498436,
-0.02059568651020527,
-0.052463337779045105,
-0.045400965958833694,
0.01588164083659649,
-0.011845998466014862,
0.03889523074030876,
-0.02259611152112484,
0.03193723037838936,
-0.020439131185412407,
0.04341793432831764,
0.03372891619801521,
0.028545204550027847,
0.008306114934384823,
0.05249812826514244,
0.04380062222480774,
-0.030041174963116646,
-0.029988989233970642,
0.08683586865663528,
-0.012863606214523315,
-0.09741202741861343,
0.028040748089551926,
-0.02842343971133232,
0.016273027285933495,
0.028997473418712616,
0.026649149134755135,
-0.0029941152315586805,
-0.03402462974190712,
0.0023200588766485453,
0.05938654765486717,
-0.025083597749471664,
-0.048497274518013,
0.02405729331076145,
0.006562266033142805,
-0.005666423123329878,
-0.049227867275476456,
0.004905391484498978,
0.03146756440401077,
0.02833646349608898,
-0.03753842040896416,
0.02920621447265148,
0.039904143661260605,
0.0030636952724307775,
-0.0713891014456749,
0.0010681620333343744,
-0.07159784436225891,
-0.08641839027404785,
-0.021604597568511963,
0.010784903541207314,
-0.013185414485633373,
0.01831694133579731,
-0.031084874644875526,
-0.01638609543442726,
-0.022961407899856567,
-0.016429582610726357,
0.06077814847230911,
0.01334196887910366,
0.020978376269340515,
-0.05903865024447441,
-0.023831157013773918,
0.003498570527881384,
0.02007383666932583,
-0.048636436462402344,
-0.054481156170368195,
-0.03959103301167488,
0.02772763930261135,
-0.02478788234293461,
-0.051697954535484314,
-0.023257121443748474,
-0.024718303233385086,
-0.01769941858947277,
-0.017829880118370056,
0.053333088755607605,
0.034929171204566956,
-0.03795590251684189,
-0.02172636240720749,
0.0013807285577058792,
-0.041226163506507874,
0.03037167899310589,
0.005549006629735231,
-0.04787105694413185,
0.03421597555279732,
0.02711881324648857,
0.010915366001427174,
0.034059420228004456,
0.037990693002939224,
-0.029084449633955956,
0.035103119909763336,
-0.0009871665388345718,
0.0013796413550153375,
-0.028858313336968422,
0.03143277391791344,
0.004359623417258263,
-0.029084449633955956,
0.0024113827385008335,
-0.06519648432731628,
-0.03934750333428383,
0.007388528436422348,
-0.04640987515449524,
-0.0015003192238509655,
0.02120451256632805,
0.015672899782657623,
-0.036842621862888336,
0.024700907990336418,
0.029449744150042534,
-0.002731015905737877,
-0.07563348114490509,
0.0176298376172781,
-0.03365933522582054,
0.04195675253868103,
0.04595760628581047,
0.0778600424528122,
0.042443811893463135,
-0.052915606647729874,
-0.02005644142627716,
0.0028158165514469147,
0.023518048226833344,
-0.01282011903822422,
0.059003859758377075,
0.04905391484498978,
0.004074780270457268,
-0.06909295916557312,
-0.06509210914373398,
0.06463984400033951,
-0.021239301189780235,
0.057612258940935135,
-0.03454647958278656,
0.0005346246180124581,
0.040599942207336426,
0.019691146910190582,
0.03750363364815712,
0.0028397345449775457,
0.04167843237519264,
-0.026649149134755135,
-0.04188717156648636,
-0.006966699846088886,
-0.03186764940619469,
0.03195462375879288,
-0.03183285892009735,
0.011158895678818226,
-0.005762095563113689,
-0.07271112501621246,
-0.03037167899310589,
0.026562172919511795,
-0.03715573251247406,
-0.002367895096540451,
-0.005205455236136913,
-0.02539670839905739,
0.011880788952112198,
0.026022927835583687,
0.017603745684027672,
0.010263053700327873,
0.015820758417248726,
0.0038790861144661903,
-0.05131526663899422,
-0.011593771167099476,
0.009471580386161804,
0.05093257501721382,
-0.06533563882112503,
-0.022352581843733788,
-0.006762308534234762,
-0.026196878403425217,
-0.05135005712509155,
0.08273064345121384,
-0.005096736829727888,
0.024266032502055168,
0.01579466462135315,
0.018699631094932556,
-0.006688379682600498,
-0.051141317933797836,
0.03428555652499199,
0.02379636839032173,
-0.05872553959488869,
-0.029032263904809952,
-0.06477899849414825,
-0.007993005216121674,
0.02964108996093273,
-0.012193898670375347,
-0.008253930136561394,
-0.0389300212264061,
0.027414528653025627,
0.030406469479203224,
-0.035624969750642776,
-0.018804000690579414,
-0.01831694133579731,
-0.028197303414344788,
0.006227411795407534,
-0.0641527771949768,
0.0011926450533792377,
-0.010219565592706203,
-0.05180232599377632,
0.056742507964372635,
-0.045400965958833694,
0.015733782202005386,
-0.01041960809379816,
0.012019949033856392,
-0.0198998861014843,
0.06397882848978043,
-0.03200681135058403,
-0.00012584199430420995,
-0.011176290921866894,
-0.016064288094639778,
0.008236534893512726,
0.02842343971133232,
-0.04745357483625412,
-0.0004780908639077097,
-0.03122403472661972,
0.037712372839450836,
0.034581270068883896,
0.0047227442264556885,
-0.0446355827152729,
-0.01769941858947277,
0.022300397977232933,
0.06457026302814484,
-0.04961055517196655,
-0.022369977086782455,
0.01535109244287014,
-0.09059318900108337,
-0.015359790064394474,
-0.005870814435184002,
0.034059420228004456,
0.001074141589924693,
0.0272927638143301,
-0.053680986166000366,
0.03559018298983574,
-0.012672261334955692,
-0.008497459813952446,
-0.022126447409391403,
0.012237386777997017,
0.02318754233419895,
-0.013350666500627995,
-0.009080193005502224,
0.009323722682893276,
-0.01586424559354782,
-0.03312009200453758,
0.0272927638143301,
-0.0184039156883955,
-0.006310038268566132,
0.010793601162731647,
-0.027884194627404213,
0.01745588891208172,
0.03242428973317146,
0.002112406073138118,
0.03687741234898567,
-0.03600766137242317,
0.006066508125513792,
-0.023048382252454758,
0.042269863188266754,
0.05792536959052086,
-0.04700130596756935,
-0.02755368873476982,
0.004905391484498978,
0.028927894309163094,
-0.035294465720653534,
0.03917355090379715,
0.028458228334784508,
-0.046444665640592575,
-0.05928217992186546,
0.011263266205787659,
0.06871027499437332,
-0.0008550732163712382,
0.036425139755010605,
0.01622084341943264,
0.02336149290204048,
-0.010149985551834106,
-0.015246721915900707,
-0.035624969750642776,
-0.031102269887924194,
0.05538569763302803,
-0.011672048829495907,
-0.04258297383785248,
-0.006744913291186094,
-0.002563589019700885,
-0.018264755606651306,
-0.024613933637738228,
0.07368524372577667,
-0.0631786584854126,
0.05232417583465576,
0.026562172919511795,
-0.06544001400470734,
-0.0014970576157793403,
-0.031885046511888504,
-0.030423864722251892,
0.0348769873380661,
-0.011263266205787659,
-0.039904143661260605,
-0.04870601370930672,
-0.0835656076669693,
0.0676317811012268,
-0.012202596291899681,
0.008562691509723663,
0.013942097313702106,
-0.02172636240720749,
-0.0033942004665732384,
-0.022822247818112373,
0.01656004600226879,
0.005618586670607328,
0.002776677720248699,
0.02826688438653946,
-0.031885046511888504,
0.006871027406305075,
0.05625544860959053,
0.011576375924050808,
-0.025605447590351105,
0.03792111203074455,
0.0140812573954463,
0.055768389254808426,
0.011202383786439896,
-0.03732968121767044,
-0.03621640056371689,
0.012593983672559261,
-0.010010825470089912,
-0.013924702070653439,
0.02668393775820732,
0.05740351974964142,
-0.04254818335175514,
-0.07065851241350174,
-0.025170572102069855,
0.021917706355452538,
-0.048810385167598724,
0.025100992992520332,
-0.0242486372590065,
-0.021691571921110153,
-0.005070643965154886,
-0.016516556963324547,
-0.048879966139793396,
0.029293188825249672,
1.6987309336968792e-8,
0.0059708356857299805,
0.06408320367336273,
-0.022283002734184265,
0.012193898670375347,
-0.010271750390529633,
0.04668819531798363,
0.022561322897672653,
-0.0006131739355623722,
0.04780147597193718,
0.005653376691043377,
0.041921962052583694,
-0.034059420228004456,
0.00028810478397645056,
0.01769941858947277,
0.007832101546227932,
0.017403703182935715,
-0.010837088339030743,
-0.011637258343398571,
-0.018108200281858444,
-0.0031615423504263163,
0.016768785193562508,
-0.0184039156883955,
-0.07319818437099457,
-0.08447014540433884,
0.02844083309173584,
-0.0074363648891448975,
0.07298944145441055,
0.060221508145332336,
0.060569409281015396,
0.024909647181630135
] |
18,162 | jsondiff | JsonLoader | null | class JsonLoader(object):
def __init__(self, **kwargs):
self.kwargs = kwargs
def __call__(self, src):
if isinstance(src, string_types):
return json.loads(src, **self.kwargs)
else:
return json.load(src, **self.kwargs)
| (**kwargs) | [
-0.025809133425354958,
-0.0333874374628067,
-0.014003777876496315,
-0.047006938606500626,
-0.022216586396098137,
0.03403087705373764,
0.027096014469861984,
0.09108264744281769,
0.03521052002906799,
-0.021358665078878403,
0.034155990928411484,
0.04221687838435173,
-0.030706433579325676,
0.0025871689431369305,
-0.039571620523929596,
0.019231736660003662,
-0.03179670870304108,
0.0799296647310257,
-0.008793693035840988,
-0.056944526731967926,
-0.012136011384427547,
0.0059920442290604115,
0.02983063831925392,
0.09923289716243744,
0.0030161296017467976,
0.03504965826869011,
0.05008115619421005,
-0.017953790724277496,
0.019392596557736397,
-0.005326261278241873,
0.04103723540902138,
0.004023740068078041,
-0.026881534606218338,
0.07628349959850311,
-0.033870019018650055,
0.0007685545133426785,
-0.02734624221920967,
0.04500512033700943,
-0.0906536877155304,
-0.035675227642059326,
-0.06352192163467407,
0.022180840373039246,
-0.0198751762509346,
-0.010178878903388977,
0.01701543852686882,
-0.004731972236186266,
-0.06455858051776886,
-0.006537181790918112,
-0.034567080438137054,
-0.023682203143835068,
0.031743086874485016,
-0.003529988694936037,
-0.0011142923031002283,
0.020464997738599777,
-0.027739455923438072,
0.040608275681734085,
-0.023950302973389626,
0.06970610469579697,
-0.0035389254335314035,
0.05383456125855446,
-0.024951212108135223,
-0.0007076733745634556,
-0.003766810754314065,
0.017587386071681976,
-0.03907116502523422,
-0.041644930839538574,
-0.05819566175341606,
-0.008404947817325592,
0.024003922939300537,
0.005138590931892395,
-0.010071638971567154,
0.05590787157416344,
-0.0095443744212389,
0.021787626668810844,
0.05136803910136223,
0.005741816945374012,
-0.10709717869758606,
-0.02589849941432476,
-0.008159189485013485,
0.0524761863052845,
0.0375698022544384,
-0.029848512262105942,
-0.015085116028785706,
-0.01636306196451187,
-0.03964311257004738,
-0.07167217880487442,
-0.022359574213624,
-0.06373640149831772,
-0.0003795296361204237,
0.05487121641635895,
-0.0774988904595375,
0.0445404127240181,
-0.07363824546337128,
0.021519526839256287,
-0.008619427680969238,
-0.01313691958785057,
0.04579155147075653,
0.0003809260088019073,
0.011617684736847878,
0.01991092413663864,
0.029955752193927765,
-0.0028351617511361837,
-0.014352308586239815,
-0.05565764382481575,
0.010187815874814987,
-0.03472793847322464,
0.040536779910326004,
-0.004151088185608387,
-0.0194819625467062,
0.022949395701289177,
0.0009014875977300107,
-0.08214596658945084,
-0.07914324104785919,
0.05497845634818077,
0.05240469425916672,
-0.011787481606006622,
-0.009714171290397644,
-0.029526792466640472,
0.0009148926474153996,
0.014575725421309471,
-0.020286263898015022,
0.0326010100543499,
-0.004157790448516607,
0.048329565674066544,
0.07002782821655273,
-0.0039232028648257256,
-0.01596984826028347,
-0.04561281576752663,
0.10459490865468979,
-0.009374577552080154,
0.08979576081037521,
0.014852762222290039,
-0.04525534808635712,
-0.023896683007478714,
0.04017931595444679,
-0.010402295738458633,
-0.04961644858121872,
0.05104631930589676,
-0.007506811525672674,
0.02802542969584465,
0.04861554130911827,
0.036408036947250366,
0.03152860701084137,
-0.057623714208602905,
-0.03342318534851074,
-0.035996947437524796,
0.03497816622257233,
-0.031778834760189056,
-0.012984996661543846,
0.0383562333881855,
0.05115355923771858,
-0.017265666276216507,
-0.004848149139434099,
0.04883002117276192,
0.012019835412502289,
-0.0675613060593605,
-0.04822232574224472,
-0.0367833748459816,
0.013708867132663727,
-0.0049464525654911995,
0.01733716018497944,
-0.0027167508378624916,
0.008905401453375816,
-0.019767936319112778,
0.017283540219068527,
0.01631837897002697,
0.02194848656654358,
-0.042753078043460846,
-0.009472881443798542,
-0.008927743881940842,
0.004010335076600313,
-0.0014153467491269112,
-0.017220983281731606,
0.04257434606552124,
0.07188665866851807,
0.029508918523788452,
-0.016184328123927116,
0.0504743717610836,
0.0032663566526025534,
-0.007430849596858025,
0.0183916874229908,
0.020375631749629974,
-0.0014164638705551624,
-0.018874268978834152,
0.0560508593916893,
0.022448940202593803,
0.01240411214530468,
0.011179787106812,
0.03504965826869011,
0.02343197539448738,
-0.004740908741950989,
-0.0038628799375146627,
-0.002678769873455167,
-0.0198751762509346,
0.005522868596017361,
-0.030438333749771118,
-0.012833072803914547,
-0.014227194711565971,
-0.014691902324557304,
0.04954495653510094,
-0.07628349959850311,
-0.0033333818428218365,
0.024218402802944183,
-0.03086729347705841,
-0.044826388359069824,
0.0011271388502791524,
-0.0035389254335314035,
0.03860645741224289,
-0.027417734265327454,
-0.013431830331683159,
-0.025701891630887985,
-0.04818658158183098,
-0.01776611991226673,
0.06945587694644928,
0.040572527796030045,
-0.02450437657535076,
-0.010116321966052055,
0.00030775691266171634,
0.0024196060840040445,
-0.025952119380235672,
0.10788360238075256,
0.06137711927294731,
-0.018570421263575554,
0.017158426344394684,
0.026363207027316093,
-0.014298688620328903,
-0.00865964312106371,
-0.014495295472443104,
-0.047721873968839645,
0.05197573080658913,
-0.008141315542161465,
-0.019982416182756424,
0.0568372868001461,
0.016792021691799164,
0.010044828988611698,
-0.029562538489699364,
0.05719475448131561,
-0.029169324785470963,
0.019803684204816818,
-0.05111781135201454,
0.06774003803730011,
0.005286046303808689,
-0.03871369734406471,
-0.06284273415803909,
-0.0039232028648257256,
0.013959094882011414,
-0.006756130140274763,
0.05072459578514099,
-0.040286555886268616,
-0.018945762887597084,
0.06309296190738678,
0.1057388037443161,
0.0077302283607423306,
0.02593424543738365,
-0.03764129802584648,
-0.04990242421627045,
0.053691573441028595,
-0.04429018869996071,
0.021751880645751953,
-0.005272641312330961,
-0.020715225487947464,
-0.03122476115822792,
0.01951771043241024,
0.07757038623094559,
-0.06384364515542984,
-0.039929088205099106,
0.02452225051820278,
0.00354786217212677,
0.001484606065787375,
0.0014924255665391684,
0.12161034345626831,
-0.0035411594435572624,
0.06734682619571686,
-0.003932139370590448,
-0.0326010100543499,
0.014003777876496315,
-0.02698877453804016,
-0.032422274351119995,
0.058696117252111435,
0.028525883331894875,
0.022073600441217422,
-0.026148727163672447,
-0.013396083377301693,
-0.020822465419769287,
0.022448940202593803,
-0.04604177549481392,
0.018373815342783928,
-0.009276273660361767,
-0.03928564488887787,
-0.002129164058715105,
0.06098390743136406,
-0.019017254933714867,
-0.04303905367851257,
0.0029289969243109226,
0.007064445875585079,
-0.037426818162202835,
-0.07167217880487442,
-0.02695302851498127,
0.0425385981798172,
-0.025344425812363625,
-0.0009724225383251905,
-0.08057311177253723,
0.05276216194033623,
-0.0008087695459835231,
-0.009562247432768345,
-0.043789733201265335,
-0.03644378110766411,
-0.05991150438785553,
-0.06845497339963913,
0.03020597994327545,
0.03497816622257233,
0.01397696789354086,
-0.011903658509254456,
-0.0183916874229908,
-0.03542499989271164,
0.05769520625472069,
0.007109129335731268,
0.043432265520095825,
0.006050132680684328,
0.0077257598750293255,
-0.0326903760433197,
-0.0011651196982711554,
-0.014879572205245495,
-0.0011388681596145034,
0.03624717518687248,
-0.005737348925322294,
0.03782003000378609,
0.044433172792196274,
0.022609801962971687,
0.04118022322654724,
-0.00763192493468523,
-0.015335343778133392,
0.016836706548929214,
0.008364732377231121,
0.0064165364019572735,
0.022216586396098137,
-0.018624041229486465,
-0.02731049433350563,
0.018624041229486465,
-0.027096014469861984,
0.04493362829089165,
-0.0532626137137413,
-0.0052279578521847725,
0.007779380306601524,
-0.04218113049864769,
-0.007944708690047264,
0.08014415204524994,
-0.007810658775269985,
0.0763549953699112,
-0.01840956136584282,
-0.0625925064086914,
-0.017632070928812027,
0.035264141857624054,
-0.014888509176671505,
-0.02409329079091549,
-0.033834271132946014,
0.010813383385539055,
-0.04261009022593498,
0.015835797414183617,
-0.07935772091150284,
0.04504086822271347,
-0.0126185929402709,
-0.05258342623710632,
0.014638282358646393,
-0.002634086413308978,
0.013771424070000648,
0.05061735585331917,
-0.05562189966440201,
0.01910662278532982,
0.003996930085122585,
-0.018999382853507996,
0.015567696653306484,
-0.030920913442969322,
0.004888364113867283,
0.012976059690117836,
-0.04529109597206116,
0.021072691306471825,
0.003331147599965334,
-0.047364406287670135,
0.050152648240327835,
-0.027918189764022827,
0.019642822444438934,
0.0044996184296905994,
-0.024969084188342094,
0.040572527796030045,
0.011742797680199146,
-0.031117521226406097,
0.01419144868850708,
-0.011832164600491524,
-0.01601453125476837,
0.03681912273168564,
-0.03546074777841568,
-0.002254277700558305,
0.0005881452816538513,
-0.012850945815443993,
-0.03899967297911644,
0.0014086442533880472,
0.030992407351732254,
-0.007363824639469385,
0.06634591519832611,
-0.004162258934229612,
-0.03292272984981537,
-0.003387001808732748,
0.050939079374074936,
0.0028038835152983665,
0.029705524444580078,
0.05644407123327255,
-0.003154648235067725,
-0.016380934044718742,
0.010420168749988079,
0.042753078043460846,
-0.03361979126930237,
-0.05783819407224655,
-0.04650648310780525,
-0.013664184138178825,
0.04679245874285698,
0.00901711080223322,
0.010920623317360878,
-0.048401061445474625,
-0.004345460794866085,
0.02019689790904522,
0.028472263365983963,
-0.0176946260035038,
-0.0187849011272192,
0.029634032398462296,
0.01418251171708107,
-0.008619427680969238,
-0.0389639250934124,
0.01505830604583025,
-0.017176300287246704,
-0.03504965826869011,
-0.033816397190093994,
0.01363737415522337,
-0.09093965590000153,
0.024540124461054802,
0.026363207027316093,
-0.010750826448202133,
-0.030259599909186363,
0.029169324785470963,
-0.0015516311395913363,
-0.017265666276216507,
0.03971460834145546,
0.0035769061651080847,
0.036408036947250366,
-0.029008464887738228,
-0.04822232574224472,
-0.002770370803773403,
0.08950979262590408,
0.022091474384069443,
-0.05140378326177597,
-0.032100554555654526,
0.04017931595444679,
0.028615249320864677,
-0.05251193419098854,
-0.002455352805554867,
-0.05469248443841934,
0.0582314096391201,
0.01806103065609932,
0.0011874614283442497,
0.038785193115472794,
0.009866095148026943,
-0.03236865624785423,
0.02836502343416214,
-0.058696117252111435,
-0.034513458609580994,
0.05483546853065491,
0.010411232709884644,
0.04246710613369942,
-0.06391514092683792,
0.0004267264739610255,
-0.00006646655674558133,
0.037391070276498795,
-0.04010782018303871,
0.0003457378188613802,
-0.0017013205215334892,
0.056908778846263885,
0.06409387290477753,
-0.017971664667129517,
0.004122043959796429,
-0.0425385981798172,
-0.007788316812366247,
-0.027399862185120583,
0.031099647283554077,
0.017256729304790497,
0.014700839295983315,
-0.019053002819418907,
0.00470516225323081,
0.01916024275124073,
0.04046528786420822,
0.01631837897002697,
-0.026774294674396515,
0.10130620747804642,
0.01151938084512949,
0.0004418071184772998,
0.028883351013064384,
0.006599738262593746,
-0.01739971712231636,
-0.0029669778887182474,
0.04925898090004921,
-0.011001053266227245,
0.0332980714738369,
0.0036439313553273678,
0.006251208018511534,
0.008038544096052647,
-0.002282204804942012,
0.0029334654100239277,
0.021001199260354042,
0.04504086822271347,
-0.058267153799533844,
-0.008060885593295097,
-0.01703331246972084,
0.051939986646175385,
0.04296755790710449,
0.0176946260035038,
0.014218258671462536,
0.008454099297523499,
-0.02232382819056511,
0.0717436671257019,
-0.03179670870304108,
0.03664039075374603,
0.04575580358505249,
0.011224470101296902,
0.04925898090004921,
-0.0842907652258873,
-0.029634032398462296,
-0.0001547162828501314,
0.008918806910514832,
-0.0029491044115275145,
0.030599193647503853,
0.035657353699207306,
0.010902750305831432,
-0.033816397190093994,
-0.025362297892570496,
-0.021179933100938797,
0.014361245557665825,
0.03899967297911644,
-0.007104660850018263,
0.008324517868459225,
0.03928564488887787,
-0.014075271785259247,
0.025433791801333427,
0.008315580897033215,
0.055478911846876144,
0.037033602595329285,
-0.0038271332159638405,
-0.02016115002334118,
-0.03533563390374184,
0.0774988904595375,
-0.0021827842574566603,
-0.0021313983015716076,
-0.027096014469861984,
-0.06341468542814255,
-0.01806103065609932,
0.021573146805167198,
-0.03546074777841568,
-0.07521110028028488,
-0.028919097036123276,
-0.039893340319395065,
-0.017480146139860153,
0.005580957047641277,
0.025809133425354958,
0.07052828371524811,
-0.08121655136346817,
0.0391426607966423,
-0.03537138178944588,
-0.012243252247571945,
0.0005465338472276926,
0.0807160958647728,
-0.04010782018303871,
-0.020822465419769287,
0.01874915510416031,
0.024379264563322067,
-0.013351400382816792,
-0.0034227485302835703,
-0.007810658775269985,
0.051582518965005875,
0.014209321700036526,
0.008722200058400631,
0.012993932701647282,
-0.029008464887738228,
-0.0004755989648401737,
-0.002455352805554867,
-0.028114795684814453,
-0.013074363581836224,
-0.019750064238905907,
-0.03785577788949013,
-0.030706433579325676,
0.03476368635892868,
0.028668871149420738,
0.01096530631184578,
-0.0013081065844744444,
0.011805354617536068,
-0.013110109604895115,
0.009830348193645477,
0.0301166120916605,
0.005679260473698378,
0.005585425067692995,
-0.03463857248425484,
-0.017489083111286163,
-0.06377214938402176,
-0.06076942756772041,
0.020322011783719063,
-0.04790060594677925,
-0.015040433034300804,
0.01880277507007122,
0.042788825929164886,
-0.040536779910326004,
0.0326010100543499,
-0.02557677961885929,
-0.0055139316245913506,
0.007953645661473274,
-0.012493479065597057,
-0.004320885054767132,
-0.015746431425213814,
0.048758529126644135,
0.0029915536288172007,
-0.03054557368159294,
-0.030402585864067078,
0.04464765638113022,
-0.03653314709663391,
0.014647219330072403,
0.01705118641257286,
-0.004392378497868776,
0.051189303398132324,
-0.03009874001145363,
-0.03839197754859924,
-0.03013448603451252,
-0.025648271664977074,
-0.05251193419098854,
-0.0679902657866478,
0.028883351013064384,
-0.03612206131219864,
0.0678115263581276,
-0.00995546206831932,
-0.01805209368467331,
-0.025791259482502937,
0.027096014469861984,
0.012475606054067612,
0.0169528815895319,
-0.0014700839528813958,
-0.013324590399861336,
-0.05687303468585014,
-0.06248527020215988,
0.013110109604895115,
-0.0445404127240181,
0.011036800220608711,
-0.02977701835334301,
0.02016115002334118,
0.09236952662467957,
-0.01874915510416031,
0.023235369473695755,
0.03537138178944588,
0.006175246089696884,
0.04990242421627045,
-0.014450611546635628,
-0.0015639190096408129,
0.04143045097589493,
-0.005880335811525583,
0.07135045528411865,
-0.0095443744212389,
-0.02840076945722103,
0.03685487061738968,
-0.01664903573691845,
0.019231736660003662,
0.0021034711971879005,
-0.0468996986746788,
-0.04289606586098671,
-0.05780244618654251,
0.029526792466640472,
-0.0021827842574566603,
-0.05522868409752846,
-0.0018934591207653284,
0.013270970433950424,
-0.020447123795747757,
-0.02589849941432476,
-0.041251715272665024,
-0.012734769843518734,
-0.052333198487758636,
0.047328658401966095,
0.024021796882152557,
-0.04568430781364441,
-0.0241469107568264,
-0.02412903681397438,
0.02552315965294838,
-0.089438296854496,
0.059017837047576904,
0.007810658775269985,
0.0014343372313305736,
0.0496879406273365,
-0.012511352077126503,
0.029669778421521187,
0.01596091128885746,
-0.027381988242268562,
-0.005983107257634401,
-0.01916024275124073,
-0.08679303526878357,
-0.010867003351449966,
-0.06248527020215988,
0.0046470738016068935,
0.051904238760471344,
0.03728383034467697,
-0.044719148427248,
-0.00657292827963829,
-0.060447704046964645,
-0.02729262225329876,
-0.02094757929444313,
-0.05876760929822922,
0.04886576905846596,
0.016139645129442215,
-0.04039379581809044,
-0.01525491289794445,
0.01491531915962696,
0.049115993082523346,
-0.003080920549109578,
0.025004832074046135,
0.02237744815647602,
-0.01876702904701233,
0.02486184425652027,
0.0024196060840040445,
-0.007850873284041882,
0.0023682203609496355,
-0.017855487763881683,
-0.00813237950205803,
0.045219603925943375,
0.025398045778274536,
-0.011626620776951313,
-0.03789152577519417,
-0.026488320901989937,
0.028793983161449432,
-0.006916990503668785,
0.021894866600632668,
0.04100148752331734,
-0.04246710613369942,
-0.031046027317643166,
-0.03054557368159294,
-0.07110022753477097,
-0.005205616354942322,
-0.018338067457079887,
0.0645943284034729,
0.015719620510935783,
-0.05204722657799721,
0.025004832074046135,
0.006809750571846962,
0.04007207602262497,
-0.006219929549843073,
-0.022127220407128334,
0.06741831451654434,
0.005621172022074461,
-0.015031496062874794,
0.029240818694233894,
-0.028650997206568718,
0.0294195506721735,
-0.023664329200983047,
0.06627441942691803,
0.025952119380235672,
-0.02664918079972267,
-0.02802542969584465,
0.014897446148097515,
0.0006032258970662951,
-0.0391426607966423,
-0.08185999095439911,
-0.05290514603257179,
-0.004843680653721094,
-0.05676579475402832,
0.06563097983598709,
-0.011269154027104378,
0.023628583177924156,
0.018606169149279594
] |
18,163 | jsondiff | __call__ | null | def __call__(self, src):
if isinstance(src, string_types):
return json.loads(src, **self.kwargs)
else:
return json.load(src, **self.kwargs)
| (self, src) | [
-0.011832691729068756,
-0.05759081616997719,
-0.007943125441670418,
-0.05399138852953911,
-0.045043282210826874,
-0.0006076133577153087,
0.0039652553386986256,
0.10165855288505554,
0.09728541970252991,
-0.05442870035767555,
0.023917680606245995,
0.04783536121249199,
-0.03582606092095375,
-0.0014433445176109672,
-0.027634844183921814,
0.03178932145237923,
-0.026053788140416145,
0.06690895557403564,
-0.011614035815000534,
-0.021579734981060028,
-0.03200797736644745,
-0.004516101907938719,
0.032882604748010635,
0.08867370337247849,
0.01498639490455389,
0.03294988349080086,
0.07871641963720322,
-0.05594247952103615,
0.002476707799360156,
-0.01947726681828499,
0.035624224692583084,
0.0006817253888584673,
-0.014237916097044945,
0.09163398295640945,
-0.035355109721422195,
-0.00727033568546176,
-0.04689345508813858,
0.03552330657839775,
-0.11538346856832504,
-0.05133386701345444,
-0.07629436999559402,
0.009831142611801624,
0.006656414829194546,
0.005441188346594572,
0.011042163707315922,
-0.004270113538950682,
-0.07272858917713165,
-0.009309730492532253,
-0.01665996015071869,
-0.028660848736763,
0.03542238846421242,
0.01655063033103943,
-0.04430321231484413,
0.012606400065124035,
-0.02524644136428833,
0.04191480949521065,
-0.01117672212421894,
0.08039838820695877,
0.025599654763936996,
0.05789357051253319,
-0.02201704867184162,
-0.018922215327620506,
0.01568441465497017,
-0.019679104909300804,
-0.04396681860089302,
-0.010705769062042236,
-0.04228484258055687,
-0.013018484227359295,
-0.0034774828236550093,
-0.0027458237018436193,
-0.016819747164845467,
0.025498736649751663,
-0.012698909267783165,
0.02247118204832077,
0.04759988561272621,
0.0004953941097483039,
-0.05463054031133652,
-0.016331974416971207,
-0.029400918632745743,
0.018585819751024246,
0.05234305188059807,
-0.019443627446889877,
-0.011370149441063404,
-0.008212241344153881,
-0.03294988349080086,
-0.0493827760219574,
-0.03619609773159027,
-0.051232948899269104,
-0.0432940274477005,
0.04807083681225777,
-0.020133238285779953,
0.03834902495145798,
-0.09526704996824265,
0.030376464128494263,
0.00034007427166216075,
-0.01554985623806715,
0.02761802449822426,
-0.03363949432969093,
0.033219002187252045,
0.0257678534835577,
0.03113335184752941,
0.0050122844986617565,
-0.02381676249206066,
-0.035994257777929306,
0.026390183717012405,
-0.01969592459499836,
0.054226864129304886,
0.02213478647172451,
-0.020284615457057953,
0.01856900006532669,
-0.0007221978739835322,
-0.052578531205654144,
-0.0658661276102066,
0.029232719913125038,
0.06270401924848557,
-0.020721929147839546,
-0.006366274319589138,
-0.014994804747402668,
-0.023682203143835068,
0.03162112459540367,
-0.017492536455392838,
0.019443627446889877,
-0.0028677668888121843,
0.029468197375535965,
0.079254649579525,
0.024338174611330032,
-0.02231980487704277,
-0.05785993114113808,
0.08645349740982056,
-0.049651894718408585,
0.06267037987709045,
0.02295895479619503,
-0.0372052825987339,
-0.00960407592356205,
0.031267911195755005,
0.005352884531021118,
-0.0010039287153631449,
0.017240241169929504,
0.016483351588249207,
0.03264712914824486,
0.06515970081090927,
0.06744718551635742,
0.05799448862671852,
-0.07737083733081818,
-0.024775488302111626,
-0.04400045797228813,
0.07340137660503387,
-0.014784557744860649,
-0.0035615814849734306,
0.04440413415431976,
0.03572514280676842,
-0.013102582655847073,
-0.025414638221263885,
0.04951733723282814,
-0.0005718714091926813,
-0.03246211260557175,
-0.0384163036942482,
-0.01996503956615925,
0.0076025258749723434,
0.024489551782608032,
0.004945005755871534,
-0.003172624856233597,
0.022824397310614586,
-0.019712744280695915,
0.04416865482926369,
0.00020866998238489032,
0.025263261049985886,
-0.005727123934775591,
-0.0399300791323185,
-0.016441302374005318,
0.004261703230440617,
-0.025532376021146774,
-0.01838398352265358,
0.03686888515949249,
0.0978909283876419,
0.03072967752814293,
-0.001647284021601081,
0.06384775787591934,
-0.011622445657849312,
0.03612881526350975,
-0.005920550785958767,
0.023009413853287697,
0.002300100401043892,
0.02487640641629696,
0.047969918698072433,
0.03148656710982323,
0.01359876524657011,
0.02524644136428833,
0.04073742777109146,
0.016601091250777245,
0.015743283554911613,
-0.005567336454987526,
0.004764193203300238,
-0.024489551782608032,
-0.018552180379629135,
-0.07192123681306839,
-0.02502778358757496,
0.007585706189274788,
-0.03713800013065338,
0.03784443065524101,
-0.05664891004562378,
-0.03152020648121834,
0.020923765376210213,
-0.014431343413889408,
-0.047398049384355545,
0.0062275114469230175,
0.01187474187463522,
0.031452927738428116,
-0.006795177701860666,
-0.016180597245693207,
-0.03740711882710457,
-0.08012927323579788,
-0.01393516082316637,
0.020284615457057953,
0.04386590048670769,
-0.02554919570684433,
-0.04080470651388168,
-0.01327919028699398,
0.004949210677295923,
-0.0009461107547394931,
0.10199494659900665,
0.04124201834201813,
-0.028946785256266594,
-0.004978645127266645,
0.04198208823800087,
-0.01823260635137558,
-0.02040235325694084,
-0.013909931294620037,
-0.04783536121249199,
0.029770951718091965,
-0.013161452487111092,
-0.035355109721422195,
0.09560344368219376,
0.015095722861588001,
0.020536910742521286,
0.0236317440867424,
0.06613524258136749,
-0.026272445917129517,
-0.003164215013384819,
-0.008401463739573956,
0.05352043733000755,
0.008174397051334381,
-0.014069718308746815,
-0.04753260686993599,
-0.020721929147839546,
0.0193595290184021,
0.0032630308996886015,
0.06209850683808327,
-0.03421136736869812,
-0.011042163707315922,
0.07945648580789566,
0.0935850739479065,
-0.021176062524318695,
0.04521147906780243,
-0.044471412897109985,
-0.03192387893795967,
0.06902824342250824,
-0.059440985321998596,
0.06344408541917801,
-0.012412973679602146,
-0.0056556398048996925,
-0.05927278846502304,
0.040501952171325684,
0.060416530817747116,
-0.0612911581993103,
-0.039190009236335754,
-0.003172624856233597,
0.017004763707518578,
0.014078128151595592,
0.004688504617661238,
0.00793471559882164,
0.022033868357539177,
0.038550861179828644,
-0.0004291663644835353,
-0.03478323668241501,
-0.0055379015393555164,
-0.016189007088541985,
-0.01714773289859295,
0.05311676114797592,
-0.007144187577068806,
0.020469631999731064,
-0.021697474643588066,
0.00995729025453329,
-0.02070510946214199,
0.017273880541324615,
-0.0832241103053093,
0.06330952793359756,
-0.02993915043771267,
-0.036633409559726715,
-0.016945894807577133,
0.051232948899269104,
0.02119288221001625,
-0.05035832151770592,
-0.01388470083475113,
0.013481027446687222,
-0.0026827496476471424,
-0.050627440214157104,
-0.040232833474874496,
0.033740412443876266,
-0.0017776370514184237,
-0.015507807023823261,
-0.07481423765420914,
0.06391503661870956,
-0.01080668717622757,
-0.022067507728934288,
-0.00926768034696579,
-0.04588427022099495,
-0.06613524258136749,
-0.05140114575624466,
0.017341159284114838,
0.036667048931121826,
0.004070378839969635,
-0.019780023023486137,
-0.019309069961309433,
-0.045749712735414505,
0.04352950677275658,
0.016121728345751762,
0.06186303123831749,
0.020116416737437248,
0.021108781918883324,
-0.032731227576732635,
-0.030881056562066078,
-0.014036078937351704,
0.008906056173145771,
0.06287221610546112,
-0.017677554860711098,
0.01639925315976143,
0.04332767054438591,
0.04097290337085724,
0.02829081565141678,
0.014271555468440056,
-0.003563683945685625,
0.04679253697395325,
-0.002213899279013276,
0.02719753049314022,
-0.012808237224817276,
-0.014750918373465538,
-0.047364406287670135,
-0.0048567019402980804,
-0.02985505200922489,
0.04891182482242584,
-0.05917187035083771,
0.04373134300112724,
0.02761802449822426,
-0.005987829994410276,
0.007623550482094288,
0.0768326073884964,
-0.02670975774526596,
0.08638621866703033,
-0.0219497699290514,
-0.07367049157619476,
-0.023177610710263252,
0.07595797628164291,
0.010461882688105106,
-0.020015498623251915,
-0.02168065495789051,
-0.007678214460611343,
-0.00967976450920105,
0.01777847297489643,
-0.08544431626796722,
0.0372052825987339,
-0.011370149441063404,
-0.023160791024565697,
0.016407663002610207,
-0.0070684985257685184,
0.010823506861925125,
0.014969575218856335,
-0.03152020648121834,
0.02262255921959877,
0.014994804747402668,
-0.02936727926135063,
0.013119402341544628,
-0.07023926079273224,
-0.023850401863455772,
-0.01044506300240755,
-0.0234803669154644,
-0.0033113877288997173,
-0.020015498623251915,
-0.05540424585342407,
0.04231848567724228,
0.01292597595602274,
0.055807922035455704,
-0.01957818493247032,
0.017114093527197838,
0.0442022942006588,
0.025784673169255257,
-0.04521147906780243,
0.0009487388888373971,
-0.013775372877717018,
-0.020991044119000435,
0.0233289897441864,
-0.02427089586853981,
0.039560046046972275,
0.0010217996314167976,
-0.030208265408873558,
-0.050257403403520584,
0.005037514492869377,
0.025818312540650368,
-0.014868656173348427,
0.05984466150403023,
-0.024102697148919106,
-0.007421713322401047,
0.014919116161763668,
0.0533522367477417,
-0.0018743505934253335,
-0.014683639630675316,
0.06061836704611778,
0.03009052760899067,
-0.03552330657839775,
0.006690054666250944,
0.013514666818082333,
-0.025532376021146774,
-0.07124844938516617,
-0.03670068830251694,
-0.03360585495829582,
0.09439241886138916,
-0.019426807761192322,
-0.0008877672953531146,
-0.05836452171206474,
-0.0007311333902180195,
0.021916130557656288,
0.04262124001979828,
-0.0036793197505176067,
-0.010251635685563087,
0.012135447934269905,
-0.0029413532465696335,
0.007299770135432482,
-0.038853615522384644,
0.017828932031989098,
-0.012370924465358257,
-0.02112560160458088,
0.004688504617661238,
0.015070493333041668,
-0.07313226163387299,
0.035926979035139084,
0.021293800324201584,
-0.031150171533226967,
-0.046388864517211914,
0.05829724296927452,
0.010663719847798347,
-0.01856900006532669,
0.018787657842040062,
0.0027899756096303463,
0.035624224692583084,
-0.046086106449365616,
-0.04130930081009865,
-0.01804758794605732,
0.05301584303379059,
-0.004280625842511654,
-0.06603432446718216,
-0.014826606959104538,
0.030864236876368523,
0.01654222048819065,
-0.05984466150403023,
-0.013783782720565796,
-0.06865821033716202,
0.03612881526350975,
0.02528008073568344,
-0.024169975891709328,
0.022302985191345215,
-0.01657586172223091,
-0.029064523056149483,
0.044471412897109985,
-0.06734626740217209,
-0.012261595577001572,
0.041881170123815536,
-0.007051678840070963,
0.03098197467625141,
-0.05796084925532341,
-0.0060214693658053875,
-0.008830367587506771,
0.002724799094721675,
-0.037272561341524124,
0.02719753049314022,
0.023463547229766846,
0.05816268548369408,
0.053856831043958664,
-0.0055841561406850815,
-0.0344468429684639,
-0.03244529291987419,
-0.005117407999932766,
-0.034009527415037155,
0.035355109721422195,
0.03908909112215042,
-0.0001507207052782178,
-0.012858696281909943,
0.04003099724650383,
0.02295895479619503,
0.051232948899269104,
0.015314379706978798,
-0.001959500601515174,
0.0945269763469696,
-0.008510791696608067,
-0.01187474187463522,
0.005188892129808664,
-0.008645350113511086,
-0.006849842146039009,
-0.018030768260359764,
0.02374948374927044,
0.01110103353857994,
0.010184356942772865,
-0.0016041833441704512,
-0.030258724465966225,
0.016146957874298096,
-0.008998564444482327,
0.020318254828453064,
0.011899971403181553,
0.027853501960635185,
-0.06425143778324127,
-0.0009949931409209967,
-0.04494236409664154,
0.06613524258136749,
0.02265619859099388,
0.009318140335381031,
0.0533522367477417,
0.020654650405049324,
0.004844087176024914,
0.06808633357286453,
-0.09654534608125687,
0.01755981519818306,
0.045346036553382874,
-0.011437428183853626,
0.04030011594295502,
-0.039223648607730865,
-0.009225631132721901,
0.01205975841730833,
-0.005020694341510534,
0.0025460892356932163,
0.008620120584964752,
0.026777038350701332,
0.002163439989089966,
-0.026053788140416145,
-0.007888461463153362,
-0.012816647067666054,
-0.0003708228759933263,
0.026760218665003777,
-0.014103357680141926,
-0.00037791868089698255,
-0.010470292530953884,
0.0014349346747621894,
-0.0011006422573700547,
-0.01853536069393158,
0.007682419382035732,
0.038214463740587234,
-0.0242372564971447,
-0.0039652553386986256,
-0.01826624572277069,
0.06482330709695816,
0.012841876596212387,
-0.030712857842445374,
-0.04776808246970177,
-0.06771630048751831,
0.005361294373869896,
0.07178667932748795,
-0.016971124336123466,
-0.05328495800495148,
-0.04137657955288887,
-0.02100786380469799,
-0.04235212504863739,
-0.013985619880259037,
0.038214463740587234,
0.06411687284708023,
-0.08228220045566559,
0.05543788522481918,
-0.05886911600828171,
0.02985505200922489,
-0.015970349311828613,
0.07138300687074661,
-0.04144385829567909,
-0.02761802449822426,
0.02036871388554573,
0.003998894710093737,
0.014843426644802094,
0.022555280476808548,
0.015600315295159817,
0.03511963039636612,
0.014414523728191853,
0.016945894807577133,
0.010117078199982643,
-0.010773047804832458,
-0.020587369799613953,
-0.023194432258605957,
0.009015384130179882,
0.01243820320814848,
-0.03999735787510872,
-0.01841762289404869,
-0.04003099724650383,
0.02420361526310444,
0.03740711882710457,
0.010966475121676922,
-0.01073099859058857,
0.002684852108359337,
-0.014507031999528408,
0.020806027576327324,
0.0245400108397007,
-0.0008830367005430162,
-0.017357978969812393,
-0.02262255921959877,
-0.007173622027039528,
-0.06909552216529846,
-0.05722077935934067,
0.007964150048792362,
-0.018249426037073135,
-0.013371698558330536,
0.01110103353857994,
0.038281746208667755,
-0.026238804683089256,
0.021478816866874695,
0.016071269288659096,
0.021293800324201584,
0.0046590701676905155,
0.0071525974199175835,
-0.008359414525330067,
-0.03972824290394783,
0.05722077935934067,
0.027937600389122963,
-0.006526061799377203,
0.0025019373279064894,
0.018030768260359764,
-0.039223648607730865,
0.04258760064840317,
0.03259667009115219,
-0.017879391089081764,
0.04588427022099495,
-0.003597323317080736,
-0.01332123950123787,
-0.026272445917129517,
-0.011361739598214626,
-0.057153500616550446,
-0.056783467531204224,
0.04433685168623924,
-0.026507921516895294,
0.07467968016862869,
0.0029455581679940224,
0.01590307056903839,
-0.02374948374927044,
0.028358094394207,
0.011689724400639534,
-0.013968800194561481,
-0.0059499857015907764,
0.00611397810280323,
-0.05738897621631622,
-0.03545602783560753,
0.014734098687767982,
-0.041813891381025314,
0.0031663174740970135,
-0.03313490375876427,
0.004629635252058506,
0.047969918698072433,
-0.02618834562599659,
0.02420361526310444,
0.02734890952706337,
-0.018316704779863358,
0.056817106902599335,
0.022521641105413437,
0.047028012573719025,
0.06697623431682587,
0.00611397810280323,
0.04295763373374939,
0.0034732779022306204,
-0.04198208823800087,
0.05019012466073036,
-0.02021733671426773,
-0.001159511273726821,
-0.025633294135332108,
-0.04487508535385132,
-0.028391733765602112,
-0.04904638230800629,
0.023059872910380363,
0.01737479865550995,
-0.05594247952103615,
-0.0036772172898054123,
-0.018821297213435173,
-0.013413748703897,
-0.0017997130053117871,
-0.05022376403212547,
0.025263261049985886,
-0.0393245704472065,
0.034379564225673676,
0.013430568389594555,
-0.06515970081090927,
-0.037608955055475235,
0.005441188346594572,
0.024102697148919106,
-0.06243490055203438,
0.05526968836784363,
-0.003050681669265032,
0.009149942547082901,
0.039190009236335754,
-0.037608955055475235,
0.009301320649683475,
-0.019830482080578804,
-0.04467324912548065,
-0.053856831043958664,
-0.006458783056586981,
-0.04884454607963562,
-0.03683524578809738,
-0.05658163130283356,
-0.020469631999731064,
0.05177118256688118,
0.034985072910785675,
-0.03345447778701782,
0.025128701701760292,
-0.0609884038567543,
0.008813547901809216,
-0.045480597764253616,
-0.03296670317649841,
0.025902410969138145,
-0.014061308465898037,
-0.03178932145237923,
-0.024775488302111626,
0.016029218211770058,
0.021091962233185768,
0.015205051749944687,
0.018283065408468246,
0.027332089841365814,
-0.04430321231484413,
0.03281532600522041,
0.024977324530482292,
-0.005567336454987526,
-0.02783668227493763,
-0.01988094113767147,
0.004747373517602682,
0.04063650965690613,
0.039560046046972275,
0.00011977499525528401,
-0.041813891381025314,
-0.009091073647141457,
0.03222663700580597,
0.011445838026702404,
0.018821297213435173,
0.03528783097863197,
-0.015961939468979836,
-0.05267944931983948,
-0.054529618471860886,
-0.05412594601511955,
-0.0008877672953531146,
-0.005554721690714359,
0.06684167683124542,
0.00019185023847967386,
-0.05799448862671852,
0.03908909112215042,
-0.0010859249159693718,
0.009234040975570679,
0.008380439132452011,
-0.02381676249206066,
0.07017198204994202,
-0.013531486503779888,
-0.017425257712602615,
0.02487640641629696,
-0.024405453354120255,
0.039593685418367386,
0.008443512953817844,
0.04854179173707962,
0.04904638230800629,
-0.03865177929401398,
-0.04275579750537872,
0.008964925073087215,
0.014414523728191853,
-0.014616359956562519,
-0.07965832203626633,
-0.016256285831332207,
0.019712744280695915,
-0.033706773072481155,
0.045110560953617096,
-0.006244331132620573,
0.015247100964188576,
0.01972956396639347
] |
18,165 | jsondiff.symbols | Symbol | null | class Symbol(object):
def __init__(self, label):
self.label = label
def __repr__(self):
return self.label
def __str__(self):
return "$" + self.label
| (label) | [
0.048471856862306595,
-0.05686451122164726,
0.04549160972237587,
-0.006559972185641527,
0.0042006089352071285,
-0.04960229620337486,
-0.03338220715522766,
0.009591604582965374,
0.07666432112455368,
-0.06635335087776184,
-0.01413048803806305,
-0.030110785737633705,
0.049396760761737823,
-0.0023572223726660013,
-0.06553120911121368,
0.03115558624267578,
0.022146329283714294,
-0.014002028852701187,
-0.04497777298092842,
0.0263255275785923,
-0.007322161924093962,
0.055631302297115326,
0.05659046396613121,
-0.03641384094953537,
0.010602148249745369,
0.06529141962528229,
0.022112073376774788,
0.009600168094038963,
-0.06878550350666046,
-0.05837176367640495,
-0.009728627279400826,
-0.03297113999724388,
-0.026753723621368408,
0.005044156219810247,
0.01710217259824276,
0.007874535396695137,
-0.015235235914587975,
0.04186050221323967,
0.000774500600527972,
-0.010345229879021645,
0.03864046186208725,
-0.0013755816034972668,
-0.026359783485531807,
-0.023739220574498177,
-0.027096280828118324,
0.009197663515806198,
0.01194668561220169,
0.007339289877563715,
0.015115340240299702,
-0.04651927947998047,
0.026582445949316025,
0.008388371206820011,
-0.03369050845503807,
-0.03410157933831215,
-0.06186584755778313,
0.023328151553869247,
0.04268264025449753,
0.035865750163793564,
-0.026308400556445122,
0.06491460651159286,
0.004320503678172827,
0.065599724650383,
0.031909212470054626,
-0.027764268219470978,
-0.004628805443644524,
-0.0102424630895257,
-0.004560294095426798,
0.0030080811120569706,
-0.004864313639700413,
-0.02552051842212677,
0.043950099498033524,
-0.02057056501507759,
-0.014875550754368305,
-0.0015243799425661564,
-0.001288871862925589,
-0.08111756294965744,
-0.031189842149615288,
-0.05042443424463272,
0.020039601251482964,
-0.04076431691646576,
-0.035060737282037735,
-0.007690411061048508,
-0.011270134709775448,
0.0055794017389416695,
-0.011124547570943832,
-0.03802385926246643,
0.019508637487888336,
0.007433493155986071,
-0.039291322231292725,
0.04884866997599602,
-0.006315900012850761,
-0.004919979255646467,
-0.03238879144191742,
0.05864580720663071,
-0.061283499002456665,
-0.05213721841573715,
0.0731702372431755,
-0.06162605807185173,
0.04518330842256546,
0.0007991219172254205,
0.05426107347011566,
-0.024338696151971817,
-0.058440275490283966,
0.02896321937441826,
-0.08056947588920593,
-0.010345229879021645,
0.012340626679360867,
0.014661451801657677,
0.0038923071697354317,
0.0035112123005092144,
-0.014764219522476196,
0.047546952962875366,
0.011064600199460983,
-0.021512597799301147,
0.023756347596645355,
-0.01691376604139805,
-0.00903494842350483,
0.026394039392471313,
0.041826244443655014,
-0.0316522940993309,
-0.011509925127029419,
0.013890698552131653,
-0.059673480689525604,
0.021940793842077255,
0.016220087185502052,
0.05683025345206261,
0.035865750163793564,
-0.002140983007848263,
0.005027028266340494,
-0.01669110357761383,
0.0677235797047615,
0.013676599599421024,
-0.00715944729745388,
0.06529141962528229,
0.0949568822979927,
-0.004881441593170166,
0.0005229351227171719,
0.002549910917878151,
-0.013882134109735489,
0.05388426035642624,
0.06142052263021469,
-0.008611033670604229,
-0.05556279420852661,
0.023653581738471985,
-0.02683936432003975,
-0.0035090711899101734,
-0.01497831754386425,
-0.008696673437952995,
-0.0008060801192186773,
-0.01563774049282074,
-0.018840650096535683,
0.02139270305633545,
0.008611033670604229,
0.06912805885076523,
0.02490391582250595,
0.022129200398921967,
0.007908791303634644,
-0.006868273485451937,
0.03026493638753891,
0.02805544249713421,
0.013856442645192146,
-0.007416365202516317,
-0.019422998651862144,
-0.04275114834308624,
-0.03381040319800377,
0.041620709002017975,
-0.003202910767868161,
-0.023979010060429573,
-0.000836589140817523,
-0.006170313339680433,
-0.052719566971063614,
-0.11694905906915665,
-0.044326912611722946,
0.07371833175420761,
-0.007257932797074318,
0.004967080894857645,
-0.009266174398362637,
0.08673550933599472,
-0.012794515118002892,
-0.06837443262338638,
0.0508355014026165,
0.014918370172381401,
-0.10338378697633743,
-0.023653581738471985,
0.02310548909008503,
-0.032748475670814514,
0.04367605596780777,
0.02361932583153248,
0.046861838549375534,
-0.003299254924058914,
0.0035240580327808857,
0.00819140113890171,
-0.03942834585905075,
0.06827166676521301,
0.007502004504203796,
-0.08605039119720459,
0.012451957911252975,
-0.007579079829156399,
-0.03447839245200157,
0.044532448053359985,
0.018617989495396614,
0.05802920460700989,
0.023019850254058838,
0.006564253941178322,
0.0337076373398304,
0.003838782664388418,
0.020827483385801315,
-0.013085688464343548,
-0.05569981411099434,
-0.04247710481286049,
-0.0024321568198502064,
0.014395969919860363,
0.03651660680770874,
0.04257987067103386,
0.03447839245200157,
0.0209987610578537,
-0.019320230931043625,
0.02240324765443802,
-0.022745804861187935,
0.014798474498093128,
0.03699618577957153,
-0.009231919422745705,
0.013094251975417137,
0.0014933357015252113,
-0.029134497046470642,
-0.02874055691063404,
0.009745755232870579,
0.043333496898412704,
0.03613979369401932,
-0.020810354501008987,
0.022043561562895775,
-0.038777485489845276,
-0.0020242994651198387,
-0.011175931431353092,
0.020108113065361977,
0.0017909323796629906,
0.011869610287249088,
0.00873521063476801,
-0.023687835782766342,
0.01720494031906128,
-0.023174000903964043,
0.027404583990573883,
-0.005866293795406818,
-0.011287262663245201,
0.029528439044952393,
0.0228143148124218,
0.03149814158678055,
0.05316489189863205,
-0.060769662261009216,
-0.05748111382126808,
0.01326553151011467,
-0.013590960763394833,
0.03315954655408859,
-0.021820899099111557,
0.03105281852185726,
-0.0492597371339798,
-0.016948021948337555,
0.00336776627227664,
0.03730448707938194,
0.02019375190138817,
-0.09379218518733978,
0.06052987277507782,
0.02725043334066868,
0.03351923078298569,
0.05587109550833702,
0.03658511862158775,
-0.05155487358570099,
0.03843492642045021,
0.012426265515387058,
-0.026394039392471313,
0.11633245646953583,
0.008384089916944504,
-0.02260878123342991,
0.03935983404517174,
-0.02069045975804329,
-0.0070352703332901,
0.0013563127722591162,
0.005716424901038408,
-0.021649621427059174,
-0.042511358857154846,
0.003821654710918665,
-0.03963387757539749,
-0.027096280828118324,
-0.007253650575876236,
0.021615365520119667,
0.024184545502066612,
0.035660214722156525,
-0.020621949806809425,
0.033228058367967606,
-0.014113360084593296,
0.04490926116704941,
0.043025195598602295,
0.029614077880978584,
0.04374456778168678,
0.06327033042907715,
0.03518063202500343,
0.017222067341208458,
0.023482302203774452,
-0.01220360305160284,
0.02440720610320568,
-0.00448750052601099,
-0.012126527726650238,
0.027284687384963036,
0.02319112792611122,
-0.08002138137817383,
-0.027781397104263306,
0.046759068965911865,
0.024338696151971817,
0.014532992616295815,
-0.0064529231749475,
0.03187495470046997,
0.06121498718857765,
0.04912271723151207,
0.05665897578001022,
-0.0022009306121617556,
0.06806613504886627,
-0.040593039244413376,
-0.06940210610628128,
0.0518631748855114,
0.0427854061126709,
0.0001275892136618495,
-0.04922548308968544,
-0.05669322982430458,
-0.008452600799500942,
-0.008379807695746422,
0.00874805636703968,
-0.04518330842256546,
0.03310816362500191,
0.03447839245200157,
-0.03518063202500343,
-0.015980297699570656,
-0.047958020120859146,
0.03326231241226196,
-0.01629716344177723,
-0.0373387448489666,
-0.003922280855476856,
0.012529033236205578,
0.028072569519281387,
-0.07005296647548676,
-0.044326912611722946,
0.0536787286400795,
0.0025691797491163015,
-0.05683025345206261,
0.02622275985777378,
-0.020450670272111893,
0.001343466923572123,
-0.030179297551512718,
-0.020810354501008987,
0.0617288239300251,
0.025160832330584526,
-0.010233898647129536,
-0.00023818436602596194,
0.03987366706132889,
-0.02725043334066868,
0.042922429740428925,
0.0026419730857014656,
0.014515865594148636,
0.0034255729988217354,
-0.04216880351305008,
-0.03076164424419403,
0.0684429481625557,
-0.037784069776535034,
-0.0007124121184460819,
-0.0030337730422616005,
-0.054226819425821304,
-0.024852531030774117,
0.006354437675327063,
0.056145139038562775,
0.008345551788806915,
0.0022758650593459606,
-0.037372998893260956,
0.01877214014530182,
-0.028620662167668343,
-0.029391415417194366,
-0.058851342648267746,
0.058748576790094376,
0.0299566350877285,
-0.009214791469275951,
-0.03973664715886116,
-0.10016375035047531,
0.04764971882104874,
-0.015466461889445782,
-0.012691747397184372,
0.05789218097925186,
0.010396613739430904,
0.013590960763394833,
-0.015269490890204906,
0.03853769600391388,
0.05477491021156311,
0.059913270175457,
-0.006615637801587582,
-0.028672045096755028,
0.051006779074668884,
0.006902529392391443,
-0.016785306856036186,
-0.04871164634823799,
0.02793554775416851,
-0.02742171101272106,
-0.04549160972237587,
0.0303505752235651,
0.01935448683798313,
-0.00011869074660353363,
-0.022643037140369415,
-0.006392975337803364,
0.010893321596086025,
0.009257610887289047,
-0.0031815008260309696,
-0.01568056084215641,
-0.03331369534134865,
0.018943417817354202,
-0.0016228652093559504,
-0.04569714143872261,
-0.044635213911533356,
-0.09207940101623535,
0.007356417831033468,
-0.03644809499382973,
-0.015834711492061615,
-0.020005345344543457,
0.01916608028113842,
-0.029374288395047188,
-0.056761741638183594,
-0.03675639629364014,
0.010216771624982357,
0.03312528878450394,
-0.01815553568303585,
0.03492371737957001,
0.048574622720479965,
0.018104152753949165,
0.03562595695257187,
0.05792643874883652,
-0.08468016237020493,
-0.038777485489845276,
-0.0017320553306490183,
-0.03672214224934578,
0.02925439178943634,
-0.06868273764848709,
-0.01749611273407936,
-0.05878283083438873,
-0.016905201599001884,
0.03351923078298569,
0.030179297551512718,
0.04600544273853302,
0.03276560455560684,
0.04134666547179222,
-0.029511310160160065,
-0.022112073376774788,
-0.012897281907498837,
0.0007648661849088967,
0.03310816362500191,
-0.009103460237383842,
-0.012451957911252975,
0.0011357915354892612,
0.06792911142110825,
-0.017419038340449333,
0.05802920460700989,
-0.03826364874839783,
0.018532348796725273,
-0.04542309790849686,
-0.012451957911252975,
0.010559328831732273,
-0.039291322231292725,
0.05247977748513222,
0.0003508536028675735,
0.016776742413640022,
-0.04905420541763306,
0.03271422162652016,
0.0401819683611393,
0.044840749353170395,
-0.007913073524832726,
0.0005301609053276479,
-0.02490391582250595,
0.020159495994448662,
-0.021546853706240654,
-0.0012406996684148908,
-0.02623988874256611,
0.007095217704772949,
-0.06183158978819847,
0.017110737040638924,
-0.08310440182685852,
-0.055734071880578995,
-0.05436384305357933,
-0.06755229830741882,
-0.03250868618488312,
-0.015346566215157509,
0.024270184338092804,
0.0534389391541481,
0.08413206785917282,
0.01926884800195694,
-0.0066627394407987595,
0.018600860610604286,
-0.04011346027255058,
0.05172615125775337,
-0.04011346027255058,
-0.02137557417154312,
0.010636404156684875,
0.06142052263021469,
-0.012032324448227882,
0.027199048548936844,
-0.07303321361541748,
-0.008461165241897106,
-0.022865699604153633,
-0.02997376210987568,
-0.025674669072031975,
-0.03149814158678055,
0.052890844643116,
-0.020450670272111893,
0.008940745145082474,
0.022368991747498512,
0.013034304603934288,
-0.01669110357761383,
0.005258254241198301,
-0.04107261821627617,
0.052719566971063614,
-0.008405499160289764,
-0.0018048486672341824,
0.004701599013060331,
-0.0011111701605841517,
0.00461167749017477,
-0.019097568467259407,
0.01765882782638073,
0.007292188238352537,
-0.027062026783823967,
-0.048985693603754044,
-0.06488034874200821,
-0.010216771624982357,
-0.004440398886799812,
-0.03216613084077835,
-0.006157467141747475,
-0.026394039392471313,
0.06323607265949249,
0.02623988874256611,
0.011158803477883339,
-0.010576456785202026,
0.012135092169046402,
-0.038983020931482315,
0.08132310211658478,
-0.0052796644158661366,
0.00187336013186723,
-0.007784614339470863,
0.023156872019171715,
-0.0006192793371155858,
-0.007433493155986071,
0.020810354501008987,
-0.03651660680770874,
0.07070382684469223,
0.02271154895424843,
-0.010722042992711067,
-0.05193168669939041,
-0.014258947223424911,
-0.014918370172381401,
0.01926884800195694,
-0.024253055453300476,
-0.013453937135636806,
-0.055734071880578995,
0.02026226371526718,
0.04038750380277634,
0.019011929631233215,
0.04206603392958641,
0.03644809499382973,
0.03679065406322479,
-0.013984901830554008,
0.03057323768734932,
0.04425840079784393,
-0.0518631748855114,
0.006649893242865801,
-0.010071184486150742,
-0.015449333935976028,
-0.057138554751873016,
0.03439275175333023,
0.001113311154767871,
0.02793554775416851,
-0.017076481133699417,
0.08707806468009949,
0.026890747249126434,
-0.0435732863843441,
0.024235928431153297,
0.03067600540816784,
0.012400574050843716,
-0.0003000052529387176,
-0.0239961389452219,
-0.04007920250296593,
0.059776246547698975,
-0.06446928530931473,
-0.04891718178987503,
0.024287311360239983,
0.024989554658532143,
-0.03935983404517174,
-0.004157789051532745,
-0.0373387448489666,
-0.036379583179950714,
-0.026376910507678986,
-0.0355231910943985,
-0.0016849536914378405,
0.009797138161957264,
0.005797781981527805,
-0.05528874695301056,
-0.009291866794228554,
0.017881490290164948,
-0.004898569080978632,
0.019628532230854034,
-0.006354437675327063,
-0.0007803883054293692,
-0.008105762302875519,
0.0277471411973238,
0.07015573233366013,
0.02661670185625553,
0.0204849261790514,
-0.0007498793420381844,
-0.03620830550789833,
-0.03751002252101898,
-0.0075705163180828094,
0.020844610407948494,
-0.00006670500442851335,
-0.03391317278146744,
-0.02259165421128273,
-0.02351655811071396,
0.06231117248535156,
-0.02259165421128273,
-0.03826364874839783,
0.0277471411973238,
-0.047375671565532684,
0.020656203851103783,
-0.07269065827131271,
0.02380773238837719,
-0.02805544249713421,
0.03634532913565636,
-0.0012770964531227946,
-0.003479097504168749,
0.017478985711932182,
-0.0876946672797203,
-0.014515865594148636,
0.034427009522914886,
-0.024784019216895103,
-0.02944279834628105,
-0.07871966809034348,
-0.01013969536870718,
0.018515221774578094,
0.025674669072031975,
-0.025486262515187263,
0.0762532502412796,
-0.05587109550833702,
0.00022667658049613237,
-0.06142052263021469,
0.053815748542547226,
-0.015132468193769455,
0.009146279655396938,
-0.06207137927412987,
-0.06470907479524612,
0.0092747388407588,
-0.01413048803806305,
-0.010259591042995453,
0.025195088237524033,
-0.027558734640479088,
0.03451264649629593,
0.041517943143844604,
0.03463254123926163,
0.00022132412414066494,
-0.03396455571055412,
0.031224096193909645,
-0.03492371737957001,
-0.038469184190034866,
-0.027867035940289497,
-0.014250383712351322,
-0.03377614915370941,
0.004367605317384005,
-0.0009323981357738376,
0.005202588625252247,
0.006217414978891611,
-0.02370496466755867,
-0.06566823273897171,
-0.001997537212446332,
0.0017727339873090386,
-0.030401960015296936,
-0.053610216826200485,
-0.04895143583416939,
-0.012922973372042179,
0.018206920474767685,
0.027695756405591965,
0.07858264446258545,
-0.0042220186442136765,
0.009600168094038963,
-0.04929399490356445,
0.016374237835407257,
-0.06998445093631744,
0.0007311457302421331,
0.0682031586766243,
0.007215112913399935,
0.012674619443714619,
0.010807682760059834,
-0.06683292984962463,
-0.05772090330719948,
0.0031772188376635313,
0.01437027845531702,
0.0024921041913330555,
-0.028774812817573547,
0.008696673437952995,
0.0041128285229206085,
-0.0845431387424469,
0.03593425825238228,
-0.03463254123926163,
0.022934211418032646,
0.023174000903964043,
0.029905252158641815,
-0.003380612237378955,
0.03798960521817207,
0.007039552088826895,
-0.02492104284465313,
-0.0223004799336195,
0.037372998893260956,
0.041826244443655014,
0.010953268967568874,
0.03319380059838295,
-0.03600277006626129,
-0.03367338329553604,
0.0019279553089290857,
-0.02360219694674015,
-0.013077124953269958,
0.013590960763394833,
-0.03754428029060364,
0.07652729749679565,
0.038777485489845276,
-0.021735260263085365,
0.055220235139131546,
0.0562821626663208,
-0.005082693882286549,
0.05659046396613121,
-0.04192901402711868,
0.02492104284465313,
-0.03309103474020958,
-0.023533685132861137,
-0.02964833378791809,
0.0923534482717514,
-0.07029275596141815,
0.025263600051403046,
-0.03148101642727852,
-0.003528340021148324,
-0.006200287025421858,
-0.02562328614294529,
0.06268798559904099,
0.06823740899562836,
-0.006846863776445389,
0.008739492855966091,
-0.01448160968720913,
-0.006671303417533636,
-0.010396613739430904,
0.032320279628038406,
0.010919013991951942,
0.020844610407948494,
0.018224047496914864,
0.030230680480599403,
0.010276718996465206,
0.040318991988897324,
-0.03912004083395004,
0.028723428025841713,
0.027455966919660568,
-0.04014771431684494,
0.007343572098761797,
0.024852531030774117,
-0.01139859389513731,
-0.004962798673659563,
-0.06429800391197205,
-0.041415177285671234,
0.04066155105829239,
0.03781832382082939,
-0.03399880975484848,
-0.0022501731291413307,
-0.04579991102218628,
-0.007874535396695137
] |
18,166 | jsondiff.symbols | __init__ | null | def __init__(self, label):
self.label = label
| (self, label) | [
0.006413429509848356,
-0.003000508761033416,
0.019038289785385132,
-0.001533920643851161,
-0.06201331689953804,
-0.017136145383119583,
0.022472253069281578,
0.08288642019033432,
0.04110654816031456,
-0.03237014263868332,
-0.04390085116028786,
0.014383925125002861,
0.036258600652217865,
0.013357102870941162,
-0.03077099472284317,
0.037100259214639664,
0.045079171657562256,
0.006392388138920069,
-0.03275730833411217,
0.0034465871285647154,
-0.01976211555302143,
0.004376618657261133,
0.04847946763038635,
0.06847725063562393,
0.015393913723528385,
0.06194598600268364,
-0.011269792914390564,
-0.010226137936115265,
0.00422301609069109,
-0.026108212769031525,
-0.003330859122797847,
-0.017085645347833633,
-0.03395245969295502,
0.036426931619644165,
-0.024828894063830376,
-0.014484924264252186,
-0.046964485198259354,
0.013643266633152962,
-0.05376507714390755,
0.00922456569969654,
0.034272290766239166,
-0.04006289318203926,
-0.047940805554389954,
-0.02033444307744503,
0.0018874166999012232,
0.007250878494232893,
0.025670550763607025,
-0.027741027995944023,
-0.0025502219796180725,
-0.026916204020380974,
-0.04531483352184296,
0.04955678805708885,
-0.009485479444265366,
-0.011774786747992039,
-0.08672437816858292,
0.11002145707607269,
0.02927284501492977,
0.05164409801363945,
-0.015377080999314785,
0.06982389837503433,
-0.028599519282579422,
0.035888273268938065,
-0.0006912111421115696,
0.003976831212639809,
-0.02920551225543022,
-0.02013244479894638,
0.009182482026517391,
0.015545411966741085,
-0.01922345533967018,
-0.007616999559104443,
0.03043433278799057,
-0.0008095692028291523,
0.013517018407583237,
0.02050277404487133,
0.025704218074679375,
-0.05080244317650795,
-0.08369441330432892,
0.02040177583694458,
0.025165555998682976,
-0.01581474207341671,
-0.0011372895678505301,
0.016866814345121384,
-0.017203478142619133,
-0.00037664169212803245,
-0.01650490239262581,
-0.07130521535873413,
0.008702737279236317,
0.014510173350572586,
-0.005891602020710707,
0.03068682923913002,
-0.05282241851091385,
-0.005845310632139444,
0.007314003072679043,
0.058781351894140244,
-0.07042989134788513,
-0.03048483096063137,
0.04948945716023445,
-0.037032924592494965,
0.01942545361816883,
0.027337033301591873,
0.013399185612797737,
-0.06426896154880524,
-0.027858860790729523,
0.004317702725529671,
-0.017556972801685333,
-0.04972511902451515,
-0.027303365990519524,
-0.01468692161142826,
0.007082547061145306,
0.01689206436276436,
0.01890362612903118,
-0.007389752194285393,
-0.017439141869544983,
0.04204920306801796,
-0.01063013356178999,
-0.01657223515212536,
-0.025788383558392525,
-0.03169681876897812,
0.007524417247623205,
-0.03213448077440262,
-0.02974417246878147,
0.028448021039366722,
-0.07824047654867172,
-0.0067290510050952435,
0.045483168214559555,
0.03905290365219116,
0.0006901590968482196,
-0.01648806780576706,
0.022640584036707878,
-0.027337033301591873,
0.09096633642911911,
-0.027421198785305023,
-0.036696262657642365,
0.008929985575377941,
0.06857824325561523,
-0.034406956285238266,
0.04369885101914406,
0.0055002314038574696,
-0.01504041813313961,
0.06662560254335403,
0.03277413919568062,
0.017775803804397583,
0.028229190036654472,
-0.02110876701772213,
0.014064094983041286,
0.004671198781579733,
-0.0022977248299866915,
-0.018499629572033882,
0.0026638456620275974,
0.008643821813166142,
0.023448575288057327,
-0.006863716058433056,
0.008845819160342216,
0.011210876516997814,
-0.002257745945826173,
-0.017287643626332283,
-0.005092027131468058,
-0.07285386323928833,
0.047132816165685654,
-0.00845444854348898,
0.01979578286409378,
-0.0014855252811685205,
-0.013441269285976887,
-0.007284544873982668,
-0.04252053424715996,
0.06278764456510544,
0.00762541638687253,
-0.002316662110388279,
-0.04366518557071686,
0.01940861903131008,
-0.03420495614409447,
-0.13897447288036346,
-0.045146502554416656,
0.034103959798812866,
-0.056088048964738846,
0.016109323129057884,
0.00961172766983509,
0.07130521535873413,
-0.0032593184150755405,
0.0002531547797843814,
0.045281168073415756,
0.025199223309755325,
-0.056727711111307144,
-0.014535423368215561,
0.054202739149332047,
-0.03088882751762867,
0.026865703985095024,
0.05262042209506035,
0.02016611211001873,
-0.014863669872283936,
0.024576395750045776,
-0.022404920309782028,
-0.035416942089796066,
0.03199981525540352,
0.004197766538709402,
-0.011438123881816864,
0.017506474629044533,
-0.03107399120926857,
-0.02045227587223053,
0.047368478029966354,
0.04161154106259346,
0.04157787561416626,
-0.002430285792797804,
-0.02903718128800392,
0.03368312865495682,
0.047301147133111954,
0.027236033231019974,
0.05080244317650795,
-0.023263411596417427,
-0.08382907509803772,
0.004595449659973383,
0.0012330281315371394,
0.013272937387228012,
0.03061949647963047,
0.04204920306801796,
-0.03996189311146736,
-0.03800924867391586,
-0.0010278740664944053,
-0.011741121299564838,
0.022606918588280678,
0.05359674245119095,
0.03221864625811577,
0.0014444945845752954,
-0.03720125928521156,
-0.03156215324997902,
-0.028582686558365822,
0.046156492084264755,
0.006215639878064394,
0.025838881731033325,
-0.023701073601841927,
-0.010301887057721615,
-0.05989234149456024,
0.03969256207346916,
-0.0066154273226857185,
-0.005963142961263657,
0.04083721712231636,
0.018280798569321632,
0.023212911561131477,
-0.13015390932559967,
-0.01490575261414051,
0.023010913282632828,
0.012414447031915188,
-0.01555382926017046,
-0.027050869539380074,
0.046728819608688354,
0.03252164274454117,
0.015789493918418884,
0.03864890709519386,
-0.035517942160367966,
-0.04157787561416626,
-0.006400804501026869,
-0.017388641834259033,
-0.01020930428057909,
-0.00477640563622117,
0.007053089328110218,
-0.056660376489162445,
0.007751664612442255,
-0.03824491426348686,
0.03898557275533676,
0.037739917635917664,
-0.07797114551067352,
0.01064696628600359,
-0.002758532064035535,
0.06625527143478394,
0.02977783977985382,
0.07143988460302353,
-0.006009433884173632,
0.03915390372276306,
-0.018078802153468132,
-0.03258897364139557,
0.1085401400923729,
0.05066777765750885,
0.014392341487109661,
0.03851424157619476,
0.003644376527518034,
-0.07244987040758133,
-0.03242064267396927,
-0.0028111357241868973,
-0.035854604095220566,
-0.014653255231678486,
0.07103588432073593,
-0.037436921149492264,
-0.010015723295509815,
0.022926747798919678,
-0.047099146991968155,
-0.04369885101914406,
0.034575287252664566,
0.026815205812454224,
-0.03834591060876846,
-0.03959156572818756,
0.022893082350492477,
0.037302255630493164,
0.029020346701145172,
0.04740214720368385,
0.0051635680720210075,
0.028380688279867172,
0.000608623493462801,
0.046829819679260254,
-0.05103810504078865,
0.00003223613748559728,
-0.024643728509545326,
-0.09211098402738571,
0.0014550152700394392,
-0.0031204449478536844,
-0.06426896154880524,
-0.02932334505021572,
0.03371679410338402,
0.036325935274362564,
0.046459488570690155,
-0.03925490006804466,
0.04854679852724075,
0.08228042721748352,
0.05376507714390755,
0.07056456059217453,
-0.05834369361400604,
0.06164298951625824,
0.036830928176641464,
-0.07420051842927933,
0.028464853763580322,
0.026899371296167374,
-0.02895301580429077,
-0.04120754823088646,
-0.06433629244565964,
-0.01643756963312626,
0.0030531121883541346,
0.02989567071199417,
0.023600073531270027,
0.027202367782592773,
0.010024139657616615,
0.012523862533271313,
0.011076211929321289,
-0.01892045885324478,
0.03093932569026947,
-0.06177765503525734,
-0.06908324360847473,
0.004321910906583071,
-0.013559101149439812,
0.025232888758182526,
-0.022371254861354828,
-0.07810580730438232,
0.03481094911694527,
-0.024862559512257576,
-0.07884646952152252,
0.04403551667928696,
0.036157604306936264,
0.0014560673153027892,
-0.008046245202422142,
-0.046796150505542755,
0.06430262327194214,
0.007217212114483118,
-0.010891047306358814,
0.02201775833964348,
0.007393960375338793,
0.00844603218138218,
0.02925601229071617,
0.005727478768676519,
0.00014492288755718619,
-0.0034129207488149405,
-0.02051960863173008,
-0.03302663564682007,
0.027320198714733124,
-0.056222714483737946,
-0.00853861402720213,
-0.025670550763607025,
-0.0031246531289070845,
0.010444968938827515,
0.008332408033311367,
0.045415833592414856,
-0.006333472207188606,
-0.013222438283264637,
0.01073113176971674,
-0.015520162880420685,
-0.03174731880426407,
0.005449731834232807,
-0.0076843323186039925,
0.03115815669298172,
0.003680146997794509,
0.00977164227515459,
-0.04979245364665985,
-0.06487495452165604,
0.025704218074679375,
-0.011791620403528214,
0.006017850711941719,
0.04299186170101166,
-0.004401868209242821,
-0.01637023687362671,
0.005799019709229469,
0.03723492473363876,
0.05972401052713394,
0.025485387071967125,
0.008126202039420605,
-0.014308176003396511,
0.024610063061118126,
-0.045112837105989456,
-0.0003676990745589137,
-0.06783758848905563,
0.047940805554389954,
-0.008879485540091991,
0.004153579473495483,
-0.029306510463356972,
0.00491107115522027,
-0.016445985063910484,
-0.04134221374988556,
0.027084534987807274,
-0.005049944389611483,
0.06426896154880524,
0.02977783977985382,
0.005765353329479694,
-0.025014057755470276,
-0.01608407311141491,
0.013862097635865211,
0.011884202249348164,
-0.036931928247213364,
-0.08382907509803772,
-0.00422722427174449,
0.0037958750035613775,
-0.018011469393968582,
-0.010756381787359715,
0.010310303419828415,
-0.05019644647836685,
-0.04817647114396095,
0.05012911558151245,
0.05174509808421135,
0.009737975895404816,
0.034777283668518066,
0.025838881731033325,
0.034709952771663666,
-0.02154642902314663,
0.06191232055425644,
-0.0071120052598416805,
-0.13453051447868347,
0.023717906326055527,
-0.03191564977169037,
-0.0023250787053257227,
0.007137254811823368,
-0.035551607608795166,
-0.035618942230939865,
-0.037908248603343964,
-0.02141176536679268,
0.05023011565208435,
0.04531483352184296,
-0.03014816902577877,
0.047806140035390854,
0.046526823192834854,
-0.05137476697564125,
-0.035585276782512665,
-0.05251942202448845,
0.0025817840360105038,
-0.008201951161026955,
-0.05241842195391655,
-0.0066575100645422935,
0.04800814017653465,
0.055987052619457245,
-0.028919348493218422,
0.027421198785305023,
-0.04804180562496185,
-0.08133777230978012,
-0.06511061638593674,
0.005028903018683195,
-0.006590177770704031,
-0.07682649046182632,
0.023768404498696327,
0.012313447892665863,
0.006973131559789181,
-0.013870513997972012,
0.02927284501492977,
0.06275397539138794,
0.04157787561416626,
-0.04228486865758896,
-0.01072271540760994,
-0.016546985134482384,
-0.02213558927178383,
-0.023398075252771378,
-0.01945911906659603,
-0.011185627430677414,
-0.006299805827438831,
-0.04858046770095825,
-0.00491948751732707,
-0.05268775299191475,
-0.02945800870656967,
-0.007516000885516405,
-0.022371254861354828,
0.04851313307881355,
0.045180171728134155,
-0.02021661028265953,
0.00256705516949296,
0.018415464088320732,
-0.0045786164700984955,
0.02242175303399563,
-0.0034045041538774967,
-0.06450462341308594,
0.054202739149332047,
-0.02206825651228428,
-0.024795226752758026,
-0.004511283710598946,
0.057333704084157944,
0.012389197014272213,
0.018651127815246582,
-0.05447206646203995,
-0.022556418552994728,
-0.02013244479894638,
0.013491768389940262,
-0.02156326361000538,
-0.06113799288868904,
0.03753792122006416,
-0.04110654816031456,
-0.02100776880979538,
-0.0003435014223214239,
-0.0017075124196708202,
-0.00006608325929846615,
0.004957362078130245,
0.005685396026819944,
-0.007957871071994305,
0.045146502554416656,
0.03878357261419296,
0.008618571795523167,
-0.06460562348365784,
0.037268590182065964,
-0.022909915074706078,
0.024896226823329926,
0.04073621705174446,
-0.0051635680720210075,
0.023078246042132378,
-0.1011335551738739,
-0.01964428462088108,
0.03129282221198082,
-0.018196633085608482,
-0.024357564747333527,
0.023145578801631927,
0.05534739047288895,
0.005891602020710707,
-0.02016611211001873,
-0.00476378109306097,
0.057569365948438644,
-0.024239733815193176,
0.057401034981012344,
-0.04103921726346016,
0.011825286783277988,
0.023398075252771378,
0.037605252116918564,
0.00976322591304779,
-0.012936274521052837,
0.04888346418738365,
0.009190899319946766,
0.06756825745105743,
-0.003962102346122265,
-0.034709952771663666,
0.004570199642330408,
0.013878930360078812,
0.007751664612442255,
0.03253847733139992,
-0.07810580730438232,
-0.06494228541851044,
-0.03375046327710152,
-0.02152959629893303,
0.05073510855436325,
0.005554939154535532,
0.011236126534640789,
0.07918313145637512,
0.047772474586963654,
-0.028700517490506172,
-0.001859010779298842,
0.05992600694298744,
-0.04130854457616806,
0.007162504363805056,
0.018550129607319832,
-0.017018312588334084,
-0.012406030669808388,
0.02006511203944683,
-0.01954328455030918,
0.03137698769569397,
-0.047637809067964554,
0.001108883647248149,
0.035989269614219666,
-0.03955789655447006,
0.058141693472862244,
0.04120754823088646,
0.04006289318203926,
-0.03100665844976902,
-0.006754300557076931,
-0.05457306653261185,
0.06322530657052994,
-0.0021567470394074917,
-0.018011469393968582,
-0.03090566024184227,
0.012818442657589912,
0.0030173417180776596,
-0.018869958817958832,
-0.037133924663066864,
-0.011438123881816864,
-0.03129282221198082,
0.025317054241895676,
-0.01956011913716793,
0.023078246042132378,
0.006299805827438831,
-0.04221753403544426,
0.012448113411664963,
-0.07709582149982452,
0.027589529752731323,
0.02131076529622078,
-0.023330744355916977,
0.004406076390296221,
-0.04454050958156586,
0.06477395445108414,
0.03417129069566727,
0.018028302118182182,
-0.013104605488479137,
-0.012035701423883438,
-0.05427007004618645,
0.00036506890319287777,
0.02243858575820923,
-0.006846882868558168,
0.0006522844778373837,
0.009855808690190315,
-0.024677395820617676,
-0.04295819252729416,
0.023936737328767776,
-0.00791578833013773,
0.034272290766239166,
0.009477062150835991,
-0.03952423110604286,
0.011673788540065289,
-0.01944228634238243,
0.034709952771663666,
-0.06231631338596344,
-0.016496485099196434,
-0.0025586385745555162,
-0.06016167253255844,
0.01685839705169201,
0.000053524152463069186,
0.014855253510177135,
-0.02057010680437088,
-0.03056899644434452,
-0.07925046235322952,
0.026226045563817024,
-0.028414353728294373,
0.010074639692902565,
-0.023095078766345978,
0.00967906042933464,
0.05184609815478325,
-0.06073400005698204,
-0.04198187217116356,
0.01035238616168499,
0.036460600793361664,
-0.003425545757636428,
0.004351368639618158,
-0.07009322941303253,
-0.008862652815878391,
0.010167221538722515,
-0.006085183005779982,
-0.0008742716163396835,
0.028279688209295273,
-0.03898557275533676,
0.04851313307881355,
0.017994634807109833,
0.015890492126345634,
-0.012397613376379013,
0.056323714554309845,
0.01557907834649086,
-0.046425823122262955,
-0.058141693472862244,
0.007894746959209442,
0.04177987575531006,
0.004679615143686533,
0.04305919259786606,
0.035450611263513565,
-0.011934702284634113,
-0.037167590111494064,
-0.036797262728214264,
-0.045045506209135056,
0.0032340686302632093,
0.025569552555680275,
-0.008290325291454792,
0.0026596374809741974,
0.013752682134509087,
-0.028010359033942223,
-0.006278764456510544,
-0.03689826279878616,
0.06292230635881424,
-0.01971161738038063,
-0.008761653676629066,
0.0033455882221460342,
-0.016378654167056084,
-0.06453829258680344,
0.034575287252664566,
0.05413540452718735,
0.002219871385022998,
0.00983055867254734,
0.05342841148376465,
-0.05009545013308525,
-0.05396707355976105,
0.023667406290769577,
0.02120976708829403,
0.05975767597556114,
-0.015225582756102085,
-0.0005042054108344018,
-0.04013022407889366,
-0.09062966704368591,
0.03038383275270462,
0.006880549248307943,
0.026158712804317474,
-0.011640122160315514,
-0.03169681876897812,
0.00483953021466732,
-0.012683777138590813,
0.008584905415773392,
-0.03272363916039467,
-0.001356120454147458,
0.00983897503465414,
-0.010916296392679214,
0.05117277055978775,
0.08254975825548172,
-0.00543289864435792,
-0.008854235522449017,
0.027168700471520424,
0.023869404569268227,
0.0010210355976596475,
-0.00506256939843297,
-0.07857713848352432,
0.013761098496615887,
0.02083943784236908,
-0.014880502596497536,
0.026663707569241524,
0.027774695307016373,
0.027959858998656273,
0.01959378458559513,
-0.047166481614112854,
-0.026630040258169174,
-0.03464261814951897,
-0.0009921037126332521,
-0.0037685211282223463,
0.024677395820617676,
-0.06928523629903793,
0.028195522725582123,
-0.028397521004080772,
-0.01956011913716793,
0.06591860949993134,
0.01628607138991356,
0.056559376418590546,
0.06130632758140564,
0.0038337495643645525,
-0.02102460153400898,
-0.0005207755020819604,
0.03169681876897812,
-0.04787347465753555,
0.04120754823088646,
0.010444968938827515,
0.013895764015614986,
0.03154531866312027,
0.05046577751636505,
0.03152848780155182,
0.01573057658970356,
-0.02203459106385708,
0.03100665844976902,
0.004890029784291983,
-0.055179059505462646,
0.046964485198259354,
0.02159692905843258,
0.006724842824041843,
0.035585276782512665,
-0.05184609815478325,
-0.026428041979670525,
0.028835183009505272,
0.02055327408015728,
0.046560488641262054,
0.04268886521458626,
-0.028835183009505272,
0.011774786747992039
] |
18,167 | jsondiff.symbols | __repr__ | null | def __repr__(self):
return self.label
| (self) | [
0.031809739768505096,
-0.05117729678750038,
0.05647612363100052,
0.02005506120622158,
-0.008472257293760777,
-0.02563895285129547,
0.025202972814440727,
0.007772174663841724,
0.0937691479921341,
-0.053860247135162354,
-0.049131546169519424,
-0.023375213146209717,
0.03829912841320038,
0.016718139871954918,
-0.018411753699183464,
0.03306737542152405,
0.011754680424928665,
-0.044872358441352844,
-0.01244218647480011,
0.025454500690102577,
-0.00845129694789648,
0.023442286998033524,
0.08250074833631516,
-0.02360997162759304,
0.004825120326131582,
0.03967414051294327,
-0.01127677969634533,
-0.02771824039518833,
-0.00800274033099413,
-0.004162766505032778,
-0.05271999165415764,
-0.05204925313591957,
-0.015250900760293007,
-0.00295124645344913,
-0.02117854729294777,
0.01690259389579296,
-0.05815296992659569,
0.021916357800364494,
-0.014806536957621574,
-0.013230303302407265,
0.012073280289769173,
-0.04306136816740036,
-0.037561316043138504,
-0.0374942421913147,
-0.0010909970151260495,
-0.01970292255282402,
0.04423515871167183,
-0.022520022466778755,
-0.012517644092440605,
-0.07156772166490555,
0.006707378197461367,
0.051110222935676575,
-0.038064371794462204,
-0.0013571960153058171,
-0.0740494579076767,
0.0454089492559433,
0.023995645344257355,
0.024699920788407326,
-0.01919987052679062,
0.07002502679824829,
-0.05013765022158623,
0.02924416959285736,
0.006413930561393499,
-0.016625912860035896,
0.003144083544611931,
-0.03474421799182892,
-0.0003479452570900321,
0.022117579355835915,
-0.02813745103776455,
-0.005692887119948864,
0.00531978951767087,
-0.04188757762312889,
0.008539331145584583,
0.028103914111852646,
-0.007420036941766739,
-0.06435729563236237,
-0.04393332824110985,
0.01990414410829544,
0.05201571807265282,
-0.04782360792160034,
-0.026594754308462143,
0.008568675257265568,
0.004787391051650047,
-0.019971217960119247,
-0.012727250345051289,
-0.07552507519721985,
0.004690972622483969,
0.004200495779514313,
-0.04299429431557655,
0.02223495952785015,
-0.019082490354776382,
-0.005571315996348858,
-0.009918535128235817,
0.0680798888206482,
-0.08813495188951492,
-0.01990414410829544,
0.024414855986833572,
-0.041820503771305084,
0.030149664729833603,
-0.0025257470551878214,
0.028523126617074013,
-0.02183251641690731,
-0.024045951664447784,
0.005785113666206598,
-0.04057963937520981,
-0.021966664120554924,
-0.043799180537462234,
0.018763890489935875,
-0.004833504557609558,
0.023677045479416847,
-0.00942386593669653,
0.034509461373090744,
0.012651791796088219,
-0.011821754276752472,
0.01935078576207161,
-0.04504004493355751,
-0.03335243836045265,
-0.005692887119948864,
0.012534412555396557,
-0.01817699521780014,
-0.029780758544802666,
0.029227400198578835,
-0.04779006913304329,
-0.029227400198578835,
-0.018495595082640648,
0.08518370240926743,
-0.011436079628765583,
-0.005969566758722067,
-0.009960456751286983,
-0.049735210835933685,
0.08068975806236267,
-0.011863674968481064,
-0.04768946021795273,
0.038265593349933624,
0.09437280893325806,
-0.014563394710421562,
0.051982179284095764,
0.008363261818885803,
0.017455952242016792,
0.11992792040109634,
0.041820503771305084,
-0.010354515165090561,
0.03990890085697174,
0.02620908059179783,
0.003311767941340804,
-0.02584017440676689,
0.014404094778001308,
0.047454699873924255,
0.005768345203250647,
-0.025672489777207375,
0.024247171357274055,
0.017355341464281082,
0.035414956510066986,
-0.011436079628765583,
-0.005294636823236942,
0.024565773084759712,
0.004854464903473854,
-0.04470467567443848,
0.033033836632966995,
-0.04235709458589554,
-0.023576434701681137,
-0.022117579355835915,
-0.0021987624932080507,
-0.015930023044347763,
-0.035113126039505005,
0.05007057636976242,
0.028472820296883583,
-0.005240139085799456,
-0.01732180453836918,
0.02010536566376686,
-0.03779607638716698,
-0.1204645112156868,
-0.06308288872241974,
0.05976273864507675,
-0.039841827005147934,
0.042021725326776505,
-0.0010543160606175661,
0.11335469037294388,
-0.00807400606572628,
0.003777092322707176,
0.04752177372574806,
-0.003133603138849139,
-0.09269596636295319,
-0.02062518708407879,
0.06311643123626709,
-0.046079687774181366,
0.03575032576918602,
0.020709030330181122,
0.02060841955244541,
-0.02478376217186451,
0.029948443174362183,
-0.012878166511654854,
-0.039539992809295654,
0.03474421799182892,
-0.007440997753292322,
-0.03422439843416214,
-0.009507708251476288,
-0.026795975863933563,
-0.012819476425647736,
0.03031734935939312,
0.025856943801045418,
0.03139052912592888,
-0.02235233783721924,
0.03315121680498123,
0.01358244102448225,
0.0234590545296669,
0.02067549340426922,
0.013800431042909622,
-0.007776366546750069,
-0.08806787431240082,
0.01378366257995367,
0.0005132716614753008,
-0.0007744925678707659,
0.0286405049264431,
0.05271999165415764,
-0.028808189556002617,
-0.06854940205812454,
-0.010119756683707237,
-0.06385423988103867,
0.03528080880641937,
0.01686067134141922,
-0.01063957903534174,
0.020222745835781097,
-0.037863150238990784,
-0.05637551471590996,
-0.031206076964735985,
0.036991190165281296,
0.017154119908809662,
0.027382871136069298,
-0.01244218647480011,
0.018663279712200165,
-0.05510111153125763,
0.02563895285129547,
0.0002772033622022718,
0.0004627042799256742,
0.08250074833631516,
-0.009574782103300095,
0.024867605417966843,
-0.05305536091327667,
0.04175342991948128,
-0.013867503963410854,
0.01685228757560253,
0.0013152749743312597,
-0.018093151971697807,
0.045375414192676544,
-0.007046939339488745,
0.0395064577460289,
0.05043948441743851,
-0.029361547902226448,
-0.031189309433102608,
0.019082490354776382,
-0.047052256762981415,
-0.015779107809066772,
-0.02228526398539543,
0.03494543954730034,
-0.09826309233903885,
-0.024146560579538345,
-0.023895034566521645,
0.050607167184352875,
0.05325658246874809,
-0.06539693474769592,
0.028774652630090714,
-0.001662172144278884,
0.052988287061452866,
0.01737210899591446,
0.07445190101861954,
-0.0410156175494194,
0.04322905093431473,
0.0004509139689616859,
-0.011410927399992943,
0.12187305837869644,
0.03276554122567177,
-0.03863449767231941,
0.038064371794462204,
-0.010899489745497704,
-0.045073579996824265,
-0.021798979490995407,
-0.0022343953605741262,
-0.05352487787604332,
-0.06311643123626709,
0.022721244022250175,
-0.032732006162405014,
-0.022167885676026344,
0.00843033567070961,
-0.03621984273195267,
-0.025924015790224075,
0.03269846737384796,
-0.007839248515665531,
0.0002848015574272722,
-0.007906322367489338,
0.07082991302013397,
0.04504004493355751,
0.007042746990919113,
0.0229560025036335,
0.01995445042848587,
-0.002500594360753894,
0.01224096491932869,
0.029546000063419342,
-0.040344879031181335,
0.031910352408885956,
-0.03722595050930977,
-0.06596706807613373,
0.011058789677917957,
0.013548904098570347,
-0.06948843598365784,
-0.0042298403568565845,
0.047756534069776535,
0.053290121257305145,
0.017959004268050194,
-0.025924015790224075,
-0.004202591720968485,
0.05134497955441475,
0.06311643123626709,
0.0651286393404007,
-0.04406747594475746,
0.04752177372574806,
0.02523650974035263,
-0.024398088455200195,
0.03920462727546692,
0.04453699290752411,
-0.039741214364767075,
0.008426143787801266,
-0.060869455337524414,
0.02330813929438591,
0.02671213448047638,
0.0015217363834381104,
-0.016424693167209625,
0.03903694078326225,
0.02874111570417881,
0.011654069647192955,
-0.0016139629296958447,
-0.061171289533376694,
0.01965261809527874,
-0.014881995506584644,
-0.04239062964916229,
0.0123415756970644,
0.029445389285683632,
0.03139052912592888,
-0.0429607555270195,
-0.06385423988103867,
0.028858494013547897,
0.016642682254314423,
-0.07250675559043884,
0.015200595371425152,
0.015728801488876343,
0.037293024361133575,
-0.010413204319775105,
-0.0010192070621997118,
0.055738311260938644,
0.013221919536590576,
-0.036387525498867035,
0.03625337779521942,
0.007671563886106014,
-0.0028087145183235407,
-0.016692986711859703,
0.0006644496461376548,
-0.004632283002138138,
0.010505431331694126,
-0.031004855409264565,
0.028003303334116936,
0.024968216195702553,
-0.0636865571141243,
-0.000711610889993608,
-0.004846080671995878,
-0.03635399043560028,
-0.004971844144165516,
-0.005391055252403021,
0.036991190165281296,
0.03202773258090019,
-0.014412478543817997,
-0.03752778097987175,
0.014739463105797768,
-0.04125037416815758,
-0.025404194369912148,
-0.027751777321100235,
0.05815296992659569,
0.01025390438735485,
0.008962733671069145,
-0.054966963827610016,
-0.05915907397866249,
0.052787065505981445,
0.00422564847394824,
-0.014974221587181091,
0.046280909329652786,
0.013909425586462021,
-0.010874336585402489,
0.009449019096791744,
0.029546000063419342,
0.010614425875246525,
-0.004271761514246464,
-0.01711219921708107,
-0.008442912250757217,
-0.0028087145183235407,
-0.019166333600878716,
-0.023039843887090683,
-0.09202522784471512,
0.04178696498274803,
-0.02360997162759304,
-0.027802081778645515,
-0.016366003081202507,
0.00908849760890007,
0.015150290913879871,
-0.04239062964916229,
0.0053365579806268215,
-0.004552633035928011,
0.04889678582549095,
0.008027893491089344,
0.007755406200885773,
-0.03266493231058121,
-0.04779006913304329,
0.002473345724865794,
0.010631194338202477,
-0.0675768330693245,
-0.08109220117330551,
0.02153068408370018,
-0.010203598998486996,
-0.042725998908281326,
0.0031734283547848463,
0.006862486246973276,
-0.019786765798926353,
-0.05748223140835762,
0.038869258016347885,
0.05560416355729103,
0.01681036688387394,
0.015167059376835823,
0.02015567198395729,
0.02330813929438591,
0.01462208479642868,
0.0533236563205719,
0.02523650974035263,
-0.08652517944574356,
-0.016667835414409637,
-0.0007854968425817788,
-0.0055168187245726585,
0.02493467926979065,
-0.07518970966339111,
-0.02153068408370018,
-0.04782360792160034,
-0.03662228584289551,
0.0780738815665245,
0.05365902557969093,
-0.01241703424602747,
0.03759485483169556,
0.03467714414000511,
-0.00590249290689826,
-0.026997197419404984,
-0.06130543723702431,
-0.005722232162952423,
0.04047902673482895,
-0.026024626567959785,
-0.01130193192511797,
0.04057963937520981,
0.057415157556533813,
-0.03249724581837654,
0.012324807234108448,
-0.012039744295179844,
-0.05335719510912895,
-0.07626289129257202,
0.002251163823530078,
-0.008065622299909592,
-0.06761037558317184,
0.03652167320251465,
-0.007671563886106014,
0.02773500792682171,
-0.0023433901369571686,
-0.022067274898290634,
0.05671088397502899,
0.0340399444103241,
-0.05074131488800049,
-0.005525202956050634,
0.02035689353942871,
-0.010555736720561981,
-0.027181649580597878,
-0.04255831614136696,
-0.02381119318306446,
0.031239613890647888,
-0.062278006225824356,
0.006820565089583397,
-0.04081439599394798,
-0.047957755625247955,
-0.038366202265024185,
-0.03839974105358124,
0.02035689353942871,
0.01256794948130846,
-0.021815747022628784,
0.025370657444000244,
0.01955200731754303,
0.03890279307961464,
0.014404094778001308,
-0.0037666121497750282,
-0.02600785903632641,
0.05557062849402428,
-0.04859495535492897,
-0.023140454664826393,
-0.011813369579613209,
0.030703023076057434,
0.015871332958340645,
-0.010614425875246525,
-0.05936029553413391,
0.008426143787801266,
-0.000649777241051197,
-0.003946872893720865,
0.004971844144165516,
-0.03427470102906227,
0.04061317443847656,
-0.022151116281747818,
0.03424116596579552,
0.009180723689496517,
0.024113023653626442,
-0.014974221587181091,
0.008291996084153652,
-0.023341676220297813,
0.04510711878538132,
0.021010862663388252,
0.006409738212823868,
-0.017405645921826363,
-0.00010722634760895744,
0.03635399043560028,
-0.007914706133306026,
0.027299029752612114,
0.033687807619571686,
-0.02843928337097168,
-0.03266493231058121,
-0.05788467451930046,
-0.04322905093431473,
0.0662018209695816,
-0.026930123567581177,
-0.004343027248978615,
-0.042725998908281326,
0.07170186936855316,
0.010832415893673897,
-0.011134248226881027,
0.003781284438446164,
0.03601862117648125,
-0.045476023107767105,
0.0661347508430481,
-0.06683902442455292,
0.03172589838504791,
-0.014102262444794178,
0.05312243476510048,
0.01140254270285368,
-0.056845031678676605,
0.025404194369912148,
0.0043975249864161015,
0.06596706807613373,
-0.00985146127641201,
-0.01053896825760603,
-0.01172952726483345,
0.02959630638360977,
0.002953342394903302,
0.041619282215833664,
-0.049735210835933685,
-0.023173991590738297,
-0.040948543697595596,
0.0207257978618145,
0.0977265015244484,
0.011570227332413197,
0.04738762602210045,
0.04728701710700989,
0.045274801552295685,
-0.01140254270285368,
0.01022875215858221,
0.08934227377176285,
-0.05845480039715767,
0.031759437173604965,
0.037863150238990784,
-0.03484483063220978,
0.03147437050938606,
0.01063957903534174,
-0.03625337779521942,
0.01170437503606081,
-0.02939508482813835,
0.031809739768505096,
-0.00429272186011076,
-0.033436279743909836,
0.07270798087120056,
0.03793022409081459,
0.025052057579159737,
-0.016516918316483498,
-0.00888727605342865,
-0.0675768330693245,
0.0449058972299099,
0.034811291843652725,
-0.0217319056391716,
-0.033285364508628845,
0.035012513399124146,
-0.030250275507569313,
-0.004435253795236349,
-0.016055786982178688,
-0.01716250367462635,
-0.05345780402421951,
0.0019378034630790353,
-0.012299655005335808,
0.008300380781292915,
0.060701772570610046,
-0.06546401232481003,
-0.0028150028083473444,
-0.03484483063220978,
0.02060841955244541,
0.035783860832452774,
0.025873711332678795,
-0.014840073883533478,
0.014613700099289417,
0.04011012241244316,
0.03980828821659088,
0.012383497320115566,
0.028422515839338303,
-0.00878666527569294,
-0.051512666046619415,
-0.0028611160814762115,
-0.0144460154697299,
0.004431061912328005,
-0.002729064552113414,
-0.03534788265824318,
-0.016885824501514435,
-0.05681149289011955,
0.019216638058423996,
-0.001002962701022625,
-0.01286978181451559,
0.033385973423719406,
-0.007638026960194111,
0.02899264171719551,
-0.06797927618026733,
0.025555111467838287,
-0.03772900253534317,
-0.0019116027979180217,
0.0008384222746826708,
-0.018160225823521614,
0.04138452187180519,
0.001598242437466979,
0.010857568122446537,
0.007839248515665531,
-0.023727349936962128,
-0.07257383316755295,
-0.020742567256093025,
-0.029328010976314545,
0.013146460987627506,
0.002301469212397933,
-0.020189208909869194,
0.05530233308672905,
-0.0400095097720623,
-0.04259185120463371,
-0.04037841781973839,
0.025119131430983543,
-0.004248704761266708,
0.024498699232935905,
-0.06740915030241013,
-0.041619282215833664,
0.010689884424209595,
-0.032631393522024155,
-0.00784763228148222,
0.01335606724023819,
-0.019015416502952576,
0.019484933465719223,
-0.000593707780353725,
0.014135799370706081,
-0.019233407452702522,
0.04047902673482895,
-0.044402845203876495,
-0.028154220432043076,
-0.05996396020054817,
-0.021161777898669243,
0.021463610231876373,
-0.04091500863432884,
0.04889678582549095,
0.04332966357469559,
-0.03316798433661461,
-0.014873610809445381,
-0.004066348075866699,
-0.06928721815347672,
0.016441460698843002,
0.027869155630469322,
-0.029428621754050255,
-0.024247171357274055,
-0.03695765510201454,
0.0018550092354416847,
0.013909425586462021,
-0.012760787270963192,
0.0518815703690052,
-0.03615276888012886,
0.0043975249864161015,
-0.0018602494383230805,
-0.04007658362388611,
-0.028623735532164574,
0.03642106428742409,
0.04376564174890518,
0.005017957184463739,
-0.010044299066066742,
0.041451595723629,
-0.06486034393310547,
-0.06499449163675308,
0.010077835991978645,
0.01797577366232872,
0.03261462599039078,
0.0129703925922513,
0.021497147157788277,
0.020138902589678764,
-0.08800080418586731,
0.022436179220676422,
0.008434528484940529,
0.01782485842704773,
-0.002439808798953891,
0.005282060243189335,
-0.004686780273914337,
0.042424168437719345,
0.02478376217186451,
-0.002599108964204788,
-0.0007053227163851261,
-0.00037545597297139466,
0.0077134850434958935,
0.03219541534781456,
0.09812894463539124,
-0.023492591455578804,
-0.01033774670213461,
-0.001829856657423079,
-0.006275590509176254,
-0.008132696151733398,
0.022100811824202538,
-0.06472619622945786,
0.03066948615014553,
-0.011327085085213184,
0.0019325633766129613,
0.028824957087635994,
0.02996521256864071,
0.007449381984770298,
0.0770677775144577,
-0.04275953769683838,
-0.04027780517935753,
-0.05718039721250534,
0.024699920788407326,
-0.017003202810883522,
0.04027780517935753,
-0.05013765022158623,
0.017095429822802544,
-0.000887679576408118,
0.00605760095641017,
0.04621383547782898,
-0.001889594248495996,
0.0582871176302433,
0.040344879031181335,
0.042524777352809906,
0.006195940542966127,
0.004535864572972059,
0.01157861202955246,
-0.00235387054271996,
0.028020072728395462,
-0.001716669648885727,
0.059092000126838684,
0.004464598372578621,
0.04061317443847656,
0.05848833918571472,
0.049735210835933685,
-0.019837070256471634,
0.02062518708407879,
0.03395610302686691,
-0.04433577135205269,
0.04671688750386238,
0.014881995506584644,
0.008480641059577465,
0.02761762961745262,
-0.04279307276010513,
-0.03219541534781456,
-0.003424955066293478,
0.03715887665748596,
-0.020558113232254982,
0.06211032345890999,
-0.052284013479948044,
-0.007558376993983984
] |
18,168 | jsondiff.symbols | __str__ | null | def __str__(self):
return "$" + self.label
| (self) | [
0.0062865871004760265,
-0.04689093679189682,
0.051560018211603165,
0.016058310866355896,
0.006586742587387562,
-0.04979243874549866,
0.017092179507017136,
-0.00010715181269915774,
0.11592666804790497,
-0.07090336829423904,
-0.048525117337703705,
-0.0301989633589983,
0.02286183275282383,
-0.003626877209171653,
-0.005548705346882343,
0.01669197343289852,
0.021611185744404793,
-0.05306079611182213,
0.011889487504959106,
0.022461624816060066,
0.0029035862535238266,
0.027964474633336067,
0.07123687118291855,
-0.02819792740046978,
-0.009012998081743717,
0.03438446298241615,
0.004594044294208288,
-0.017792541533708572,
-0.03386753052473068,
-0.032016571611166,
-0.00907136220484972,
-0.04885862022638321,
-0.021511133760213852,
0.00214694463647902,
-0.02994883432984352,
0.02117762714624405,
-0.04769134894013405,
0.02217814512550831,
0.0032537674997001886,
0.019426722079515457,
0.034584566950798035,
-0.0011881149839609861,
-0.04442299157381058,
-0.05079295486211777,
-0.021227654069662094,
-0.0158998966217041,
0.03166639059782028,
0.02919844537973404,
0.0287148617208004,
-0.024812841787934303,
0.0024929570499807596,
0.04055432230234146,
-0.051693420857191086,
-0.03835318237543106,
-0.07530564069747925,
0.055995650589466095,
0.06163189932703972,
0.02114427648484707,
-0.01445748284459114,
0.07463863492012024,
-0.028181253001093864,
0.028381356969475746,
0.003299624426290393,
-0.010413723066449165,
-0.007808207999914885,
-0.005694614257663488,
0.025329776108264923,
0.027180735021829605,
0.015257896855473518,
-0.023295391350984573,
0.03915359824895859,
-0.04909207671880722,
0.009563283063471317,
0.0030161445029079914,
0.00688689760863781,
-0.07103676348924637,
-0.06373298913240433,
-0.029281822964549065,
0.04362257942557335,
-0.048625167459249496,
0.007036975584924221,
-0.031282857060432434,
0.019376695156097412,
-0.018442878499627113,
0.0009692516759969294,
-0.07163707911968231,
-0.003378832247108221,
-0.0062574055045843124,
-0.02241159975528717,
0.04462309554219246,
0.0059989383444190025,
-0.025496529415249825,
-0.035685136914253235,
0.05562879145145416,
-0.07744008302688599,
-0.028514757752418518,
0.04222185164690018,
-0.054861728101968765,
0.03265023231506348,
0.01642516814172268,
0.03735266625881195,
0.004314733203500509,
-0.010071879252791405,
0.013198497705161572,
-0.048558466136455536,
-0.04572366550564766,
-0.03233340010046959,
0.04058767482638359,
0.017575763165950775,
0.03260020539164543,
0.0033204685896635056,
0.0051901862025260925,
0.031099429354071617,
-0.03350067138671875,
0.03166639059782028,
-0.02547985501587391,
-0.02616354078054428,
0.020360538735985756,
0.04042091965675354,
-0.013331900350749493,
0.015574728138744831,
-0.012814966030418873,
-0.06956934183835983,
0.0015789421740919352,
-0.00790409091860056,
0.06560061872005463,
-0.022945208474993706,
-0.004523174371570349,
0.016842050477862358,
-0.045423511415719986,
0.06750160455703735,
0.009046348743140697,
-0.020443914458155632,
-0.008887933567166328,
0.12533153593540192,
-0.019443396478891373,
0.039954014122486115,
0.016858724877238274,
0.010897306725382805,
0.1268656700849533,
0.0301989633589983,
0.001338192611001432,
0.010964008048176765,
0.012639875523746014,
0.020877473056316376,
0.0069035729393363,
0.0030911832582205534,
0.05636250600218773,
0.00042313567246310413,
-0.03104940429329872,
0.012139616534113884,
0.02706400863826275,
0.005544536281377077,
0.0533609502017498,
0.0185929574072361,
0.01724225841462612,
-0.005094303283840418,
-0.029215121641755104,
0.022144794464111328,
-0.0008514823857694864,
0.030032210052013397,
-0.024362608790397644,
-0.002219898859038949,
-0.007216235157102346,
-0.03323386609554291,
0.03495142236351967,
-0.006511703599244356,
0.013023407198488712,
0.0072579230181872845,
0.004114629700779915,
-0.0294319000095129,
-0.0975838378071785,
-0.0687689259648323,
0.059030551463365555,
-0.026863904669880867,
0.05469497665762901,
-0.012748264707624912,
0.09911796450614929,
-0.020960848778486252,
-0.02412915602326393,
0.01686706393957138,
0.025913411751389503,
-0.060197822749614716,
-0.009138062596321106,
0.06620093435049057,
-0.049558982253074646,
0.0478581041097641,
0.01849290542304516,
0.02176126278936863,
-0.03648554906249046,
0.03431776165962219,
0.02017710916697979,
-0.051626719534397125,
0.031516313552856445,
0.0006451255758292973,
-0.04252200946211815,
0.02017710916697979,
-0.05256053805351257,
-0.00810836348682642,
0.010663853026926517,
-0.012806628830730915,
0.0497257374227047,
-0.013048420660197735,
0.03266690671443939,
0.033133815973997116,
0.02124432846903801,
0.04245530813932419,
0.02189466543495655,
-0.05679606273770332,
-0.08611123263835907,
0.0283313300460577,
0.04065437614917755,
-0.003960383124649525,
0.021978041157126427,
0.04278881475329399,
-0.01904319040477276,
-0.043155670166015625,
0.00345178646966815,
-0.05849694460630417,
0.015983272343873978,
0.0043480838648974895,
-0.0020479350350797176,
0.014232366345822811,
-0.01879305951297283,
-0.02396240271627903,
-0.019026514142751694,
0.04118798300623894,
0.020810771733522415,
0.022161470726132393,
-0.006649274844676256,
-0.000016626443539280444,
-0.04792480543255806,
-0.004435629118233919,
0.02382900007069111,
0.00015476760745514184,
0.05836354196071625,
-0.036552250385284424,
0.02079409547150135,
-0.06399979442358017,
0.025763334706425667,
-0.02603013999760151,
-0.004781641531735659,
0.008079181425273418,
-0.014540859498083591,
0.03635215014219284,
-0.009154737927019596,
0.011039046570658684,
0.04392273351550102,
-0.022428274154663086,
-0.016258414834737778,
0.04582371562719345,
-0.021494457498192787,
-0.005019264295697212,
-0.0016185460845008492,
-0.0011016118805855513,
-0.06173194944858551,
-0.013265199027955532,
0.006515872664749622,
0.019393371418118477,
0.006169860251247883,
-0.08110864460468292,
0.024796167388558388,
-0.03528492897748947,
0.017859242856502533,
0.009254789911210537,
0.06299927085638046,
-0.020093733444809914,
0.036618951708078384,
0.018542930483818054,
-0.02251165173947811,
0.08751196414232254,
0.026246918365359306,
-0.0375194177031517,
0.02464609034359455,
-0.014932729303836823,
-0.016475193202495575,
-0.011164112016558647,
0.025112997740507126,
-0.07010295242071152,
-0.035651784390211105,
0.00874619372189045,
-0.027964474633336067,
-0.031449612230062485,
0.006907742004841566,
-0.005807172507047653,
-0.025146348401904106,
0.04975908622145653,
-0.002359554637223482,
0.0007274598465301096,
0.010888969525694847,
0.04765800014138222,
0.024245882406830788,
0.030148938298225403,
0.025046296417713165,
0.01855960674583912,
0.019376695156097412,
0.04492324963212013,
0.01972687616944313,
-0.04375598207116127,
0.02014375850558281,
-0.04692428559064865,
-0.031099429354071617,
0.001269406988285482,
-0.029698705300688744,
-0.061164990067481995,
-0.008529414422810078,
0.027330812066793442,
0.01869300752878189,
0.050692904740571976,
-0.00812503881752491,
-0.006774339359253645,
0.04222185164690018,
0.05612904950976372,
0.06596747785806656,
-0.02464609034359455,
0.08511071652173996,
-0.011305851861834526,
-0.007428844925016165,
0.04178829491138458,
0.02557990700006485,
-0.021644536405801773,
-0.0014997345861047506,
-0.07477203011512756,
0.030632521957159042,
0.0014007249847054482,
0.007124520838260651,
-0.043122317641973495,
0.058063384145498276,
0.029148420318961143,
-0.011656032875180244,
-0.0015518448781222105,
-0.05973091721534729,
0.030599171295762062,
-0.0426887609064579,
-0.021044224500656128,
-0.02282848209142685,
0.04502330347895622,
-0.00797079224139452,
-0.046290624886751175,
-0.04272211343050003,
0.037686172872781754,
0.003908272832632065,
-0.04572366550564766,
0.028414707630872726,
0.01969352550804615,
0.01982692815363407,
-0.012164629064500332,
-0.008671154268085957,
0.05933070927858353,
0.004256369546055794,
0.009213102050125599,
-0.0055862246081233025,
0.03591858968138695,
-0.015274572186172009,
0.04338912293314934,
-0.003981227055191994,
0.0025012947153300047,
0.022611703723669052,
-0.030732573941349983,
0.007499714847654104,
0.016233401373028755,
-0.08764536678791046,
0.002784774638712406,
0.028081201016902924,
-0.03585188835859299,
0.02241159975528717,
-0.010030191391706467,
0.03521822765469551,
0.036919109523296356,
-0.013523666188120842,
-0.02392905205488205,
0.01800932176411152,
-0.01406561303883791,
-0.02056064084172249,
-0.050526149570941925,
0.05779658257961273,
0.01308177039027214,
-9.444992770113458e-7,
-0.0375194177031517,
-0.07757348567247391,
0.04672418162226677,
-0.012673226185142994,
-0.03825313225388527,
0.0500592440366745,
0.00398539612069726,
0.031549662351608276,
0.01608332432806492,
0.023645572364330292,
0.009963490068912506,
0.0010557547211647034,
0.02409580536186695,
-0.013657068833708763,
0.05406131595373154,
-0.025079647079110146,
-0.029148420318961143,
-0.0872451588511467,
0.0012079168809577823,
-0.05756312608718872,
-0.012306369841098785,
0.00013861340994480997,
0.018943138420581818,
-0.036652304232120514,
-0.027414189651608467,
-0.009663335047662258,
-0.01403226237744093,
0.03518487885594368,
0.004206343553960323,
-0.006174028851091862,
-0.030449092388153076,
0.008083350025117397,
-0.030248990282416344,
-0.021744588389992714,
-0.03415101021528244,
-0.06896903365850449,
0.02599678933620453,
0.004719109274446964,
-0.04368928074836731,
-0.04142143949866295,
0.002041681669652462,
-0.0364188477396965,
-0.08931289613246918,
0.020844122394919395,
0.023395441472530365,
0.04495660215616226,
0.015307922847568989,
0.009179751388728619,
0.03029901534318924,
0.010763904079794884,
0.07463863492012024,
0.0314662866294384,
-0.08457710593938828,
-0.03216664865612984,
-0.0322333499789238,
-0.02412915602326393,
0.045190054923295975,
-0.06306597590446472,
0.0033559035509824753,
-0.042055100202560425,
-0.02858145907521248,
0.035685136914253235,
0.044256240129470825,
-0.010805592872202396,
0.03136623278260231,
0.014215691015124321,
-0.020477265119552612,
-0.03273360803723335,
-0.0382864810526371,
-0.037786222994327545,
0.006157353520393372,
0.006073976866900921,
-0.02327871508896351,
0.05286069214344025,
0.029832107946276665,
-0.031182806938886642,
0.06356623023748398,
-0.03945375233888626,
-0.004769135266542435,
-0.09091372042894363,
-0.0005286590312607586,
-0.005081797018647194,
-0.057062868028879166,
0.06680124253034592,
-0.006866053678095341,
0.05869704857468605,
-0.0020562727004289627,
-0.025863386690616608,
0.019460072740912437,
0.04482319951057434,
-0.0588638000190258,
0.00924645271152258,
-0.009188088588416576,
-0.028147902339696884,
-0.026980631053447723,
-0.011005695909261703,
-0.03126618266105652,
0.02189466543495655,
-0.031132780015468597,
0.008029155433177948,
-0.04152148962020874,
-0.026980631053447723,
-0.04789145290851593,
-0.06373298913240433,
0.0031141117215156555,
0.017825892195105553,
0.004694096278399229,
0.05552874132990837,
0.026697151362895966,
0.03371744975447655,
-0.01632511615753174,
0.0022344898898154497,
0.0007602893165312707,
0.045190054923295975,
-0.05672936141490936,
-0.0301989633589983,
-0.00005074240834801458,
0.03166639059782028,
0.008066674694418907,
0.004869186785072088,
-0.0857110321521759,
0.013515328988432884,
-0.007683143485337496,
-0.012931693345308304,
0.001757159479893744,
-0.03084930032491684,
0.03872004151344299,
-0.04699098691344261,
0.029115069657564163,
0.015749817714095116,
0.030932676047086716,
-0.03016561269760132,
0.018509579822421074,
-0.048625167459249496,
0.02007705718278885,
0.014724287204444408,
-0.015483013354241848,
0.002176126232370734,
0.0032350076362490654,
0.03838653489947319,
0.008879595436155796,
0.030098911374807358,
0.000713390065357089,
-0.04719109088182449,
-0.04932552948594093,
-0.06266576796770096,
-0.018359502777457237,
0.05946411192417145,
-0.02024381048977375,
0.0062657431699335575,
-0.05349435284733772,
0.08844577521085739,
-0.001696711522527039,
0.013498653657734394,
0.0009499708539806306,
0.0277810450643301,
-0.031032728031277657,
0.08631134033203125,
-0.08851248025894165,
-0.010913982056081295,
-0.009229777380824089,
0.029548626393079758,
0.004685758613049984,
-0.04992584139108658,
0.03343397006392479,
-0.03325054422020912,
0.07170377671718597,
0.037852924317121506,
0.013607042841613293,
-0.026497047394514084,
0.019360020756721497,
-0.002155282301828265,
0.015282910317182541,
-0.0467575341463089,
-0.023728948086500168,
-0.07677306979894638,
0.00847105123102665,
0.08017483353614807,
-0.03230005130171776,
0.030415741726756096,
0.06419989466667175,
0.036785706877708435,
-0.012089590542018414,
-0.0009411121136508882,
0.09378187358379364,
-0.00050468830158934,
0.018226100131869316,
0.02306193672120571,
-0.03184981644153595,
0.009596633724868298,
0.004823329858481884,
-0.04068772494792938,
0.0007462195353582501,
-0.048625167459249496,
0.03845323622226715,
0.00979673769325018,
-0.09564950317144394,
0.03301708772778511,
0.057096216827631,
0.002968203043565154,
-0.009730036370456219,
0.01930999383330345,
-0.07930771261453629,
0.0456569641828537,
0.00781654566526413,
-0.017192231491208076,
-0.016049973666667938,
0.028147902339696884,
-0.007241247687488794,
-0.0032141634728759527,
-0.015824858099222183,
-0.024012427777051926,
-0.061131641268730164,
-0.010597151704132557,
-0.01914324052631855,
0.00816255807876587,
0.04722444340586662,
-0.07143697142601013,
-0.0024846193846315145,
-0.000019020260879187845,
0.031549662351608276,
0.016016623005270958,
0.018893111497163773,
0.004410616122186184,
-0.010788917541503906,
0.06730149686336517,
0.05416136607527733,
0.04025416821241379,
0.03088265098631382,
0.005590393673628569,
-0.052760642021894455,
-0.00826261006295681,
-0.02134438045322895,
0.029215121641755104,
0.0021511134691536427,
-0.004506499040871859,
-0.028898291289806366,
-0.030115587636828423,
0.05833018943667412,
-0.04348917677998543,
-0.04659078270196915,
0.010372035205364227,
-0.05856364592909813,
0.06736820191144943,
-0.08984649926424026,
0.03695245832204819,
-0.03598529100418091,
0.013898860663175583,
0.0036289615090936422,
-0.028498083353042603,
0.04282216355204582,
-0.07036975771188736,
-0.016925426200032234,
0.00872951839119196,
-0.030098911374807358,
-0.030699223279953003,
-0.0500592440366745,
-0.0018832663772627711,
0.005819678772240877,
0.014465820975601673,
-0.03491807356476784,
0.007820714265108109,
-0.019493423402309418,
-0.010305333882570267,
-0.0541280172765255,
0.046223923563957214,
-0.014057275839149952,
0.018025996163487434,
-0.08864588290452957,
-0.0647001564502716,
-0.03133288398385048,
-0.03805302828550339,
-0.009029673412442207,
-0.004448135383427143,
-0.03598529100418091,
0.060231175273656845,
0.009404867887496948,
0.02162786014378071,
0.019360020756721497,
0.02111092582345009,
-0.0028077031020075083,
-0.03208327293395996,
-0.03081594966351986,
-0.047291144728660583,
0.0281645767390728,
-0.04085448011755943,
0.05612904950976372,
-0.020393889397382736,
0.015933247283101082,
-0.041087932884693146,
-0.016817037016153336,
-0.05869704857468605,
0.02719740942120552,
0.0014538775430992246,
-0.03505147621035576,
-0.04882527142763138,
-0.024245882406830788,
-0.018059346824884415,
0.02564660832285881,
0.023045260459184647,
0.07397162169218063,
-0.030549144372344017,
0.02929849736392498,
-0.036685653030872345,
-0.005135991610586643,
-0.04148814082145691,
0.04719109088182449,
0.061031587421894073,
-0.007724831346422434,
0.005386121105402708,
0.015774831175804138,
-0.06056468188762665,
-0.08184236288070679,
-0.015466338023543358,
-0.00871284306049347,
0.022595027461647987,
0.04969238489866257,
0.012381408363580704,
0.022528326138854027,
-0.05539533868432045,
0.004233441315591335,
-0.029181770980358124,
0.02086079679429531,
0.042121801525354385,
0.02179461345076561,
-0.0036706498358398676,
0.021194303408265114,
-0.02127767913043499,
0.0011558065889403224,
-0.0143574308604002,
0.019460072740912437,
0.005119316279888153,
0.03841988369822502,
0.08617793768644333,
-0.02861480973660946,
0.005331926513463259,
-0.0085544278845191,
-0.025329776108264923,
-0.01526623498648405,
0.006324106361716986,
-0.027564266696572304,
0.029698705300688744,
-0.0048816935159265995,
0.004669083282351494,
0.03491807356476784,
0.025263074785470963,
0.035618435591459274,
0.062398962676525116,
-0.024295907467603683,
-0.012473122216761112,
-0.04705768823623657,
-0.004831667523831129,
-0.003293371293693781,
0.047257792204618454,
-0.03952045366168022,
-0.0013652900233864784,
0.010288658551871777,
0.02457938902080059,
0.036552250385284424,
-0.0018144807545468211,
0.042188502848148346,
0.04255535826086998,
0.0149077158421278,
0.012139616534113884,
0.0167253240942955,
-0.0057446397840976715,
-0.0023470481391996145,
0.04288886487483978,
0.034684617072343826,
0.059230655431747437,
-0.016541894525289536,
0.044322941452264786,
0.04332242161035538,
0.06409984081983566,
-0.03393423184752464,
0.02919844537973404,
-0.003066170262172818,
-0.04969238489866257,
0.032616883516311646,
0.010672190226614475,
-0.009746711701154709,
0.03495142236351967,
-0.0052985758520662785,
-0.05856364592909813,
0.026080165058374405,
0.03945375233888626,
0.011022371239960194,
0.02603013999760151,
-0.04509000480175018,
-0.01354867871850729
] |
18,169 | jsondiff | SymmetricJsonDiffSyntax | null | class SymmetricJsonDiffSyntax(object):
def emit_set_diff(self, a, b, s, added, removed):
if s == 0.0 or len(removed) == len(a):
return [a, b]
else:
d = {}
if added:
d[add] = added
if removed:
d[discard] = removed
return d
def emit_list_diff(self, a, b, s, inserted, changed, deleted):
if s == 0.0:
return [a, b]
elif s == 1.0:
return {}
else:
d = changed
if inserted:
d[insert] = inserted
if deleted:
d[delete] = deleted
return d
def emit_dict_diff(self, a, b, s, added, changed, removed):
if s == 0.0:
return [a, b]
elif s == 1.0:
return {}
else:
d = changed
if added:
d[insert] = added
if removed:
d[delete] = removed
return d
def emit_value_diff(self, a, b, s):
if s == 1.0:
return {}
else:
return [a, b]
def patch(self, a, d):
if isinstance(d, list):
_, b = d
return b
elif isinstance(d, dict):
if not d:
return a
if isinstance(a, dict):
a = dict(a)
for k, v in d.items():
if k is delete:
for kdel, _ in v.items():
del a[kdel]
elif k is insert:
for kk, vv in v.items():
a[kk] = vv
else:
a[k] = self.patch(a[k], v)
return a
elif isinstance(a, (list, tuple)):
original_type = type(a)
a = list(a)
if delete in d:
for pos, value in d[delete]:
a.pop(pos)
if insert in d:
for pos, value in d[insert]:
a.insert(pos, value)
for k, v in d.items():
if k is not delete and k is not insert:
k = int(k)
a[k] = self.patch(a[k], v)
if original_type is not list:
a = original_type(a)
return a
elif isinstance(a, set):
a = set(a)
if discard in d:
for x in d[discard]:
a.discard(x)
if add in d:
for x in d[add]:
a.add(x)
return a
raise Exception("Invalid symmetric diff")
def unpatch(self, b, d):
if isinstance(d, list):
a, _ = d
return a
elif isinstance(d, dict):
if not d:
return b
if isinstance(b, dict):
b = dict(b)
for k, v in d.items():
if k is delete:
for kk, vv in v.items():
b[kk] = vv
elif k is insert:
for kk, vv in v.items():
del b[kk]
else:
b[k] = self.unpatch(b[k], v)
return b
elif isinstance(b, (list, tuple)):
original_type = type(b)
b = list(b)
for k, v in d.items():
if k is not delete and k is not insert:
k = int(k)
b[k] = self.unpatch(b[k], v)
if insert in d:
for pos, value in reversed(d[insert]):
b.pop(pos)
if delete in d:
for pos, value in reversed(d[delete]):
b.insert(pos, value)
if original_type is not list:
b = original_type(b)
return b
elif isinstance(b, set):
b = set(b)
if discard in d:
for x in d[discard]:
b.add(x)
if add in d:
for x in d[add]:
b.discard(x)
return b
raise Exception("Invalid symmetric diff")
| () | [
0.015454347245395184,
-0.045371267944574356,
0.024380315095186234,
0.011612425558269024,
-0.062164027243852615,
-0.03454840928316116,
-0.06362761557102203,
0.002594982273876667,
0.00910891778767109,
-0.008829680271446705,
-0.03360477834939957,
0.007924565114080906,
-0.011102095246315002,
-0.009113731794059277,
-0.044331349432468414,
-0.019854743033647537,
-0.0031510498374700546,
0.035588327795267105,
0.014491459354758263,
-0.038265157490968704,
0.04028721898794174,
-0.03366255387663841,
0.025747615844011307,
0.11908994615077972,
-0.032372284680604935,
-0.039324332028627396,
0.04175081104040146,
-0.02638312242925167,
0.015964677557349205,
0.03360477834939957,
0.028617022559046745,
-0.018121546134352684,
0.029926549643278122,
-0.0010501493234187365,
-0.003993576858192682,
-0.08843160420656204,
-0.016994968056678772,
0.06728658825159073,
-0.04386916384100914,
-0.03173677623271942,
-0.01971030980348587,
-0.01738012209534645,
0.004997387062758207,
-0.03768742457032204,
0.062356606125831604,
0.03246857225894928,
-0.01312415860593319,
0.07013674080371857,
-0.03674379363656044,
-0.018535587936639786,
0.055231235921382904,
-0.050416797399520874,
-0.0032882613595575094,
0.0749511793255806,
-0.020297672599554062,
-0.008290463127195835,
0.02763487584888935,
0.05731107294559479,
0.000809427467174828,
0.0042704069055616856,
0.0010363078908994794,
0.010139207355678082,
-0.05033976584672928,
-0.020567281171679497,
-0.025786131620407104,
-0.027384525164961815,
-0.01293158158659935,
-0.03849624842405319,
-0.025612812489271164,
-0.004077829420566559,
-0.051495231688022614,
0.0066439248621463776,
0.015964677557349205,
-0.009609619155526161,
0.027500072494149208,
0.037725940346717834,
0.024707697331905365,
0.041096046566963196,
0.01651352271437645,
-0.04044128209352493,
-0.020028064027428627,
-0.02565132826566696,
0.020740600302815437,
0.023263366892933846,
0.00029563659336417913,
0.04910727217793465,
0.05657928064465523,
0.039863549172878265,
-0.005849542561918497,
-0.03252634406089783,
-0.07348758727312088,
-0.031178303062915802,
-0.006619852967560291,
-0.007192770950496197,
-0.020470991730690002,
0.03818812593817711,
-0.04321439936757088,
-0.08049740642309189,
-0.004927577450871468,
0.01765936054289341,
0.07090704888105392,
0.03982503339648247,
-0.058042868971824646,
-0.028424443677067757,
0.003548240987583995,
-0.0258631631731987,
0.02303227409720421,
-0.04125010967254639,
-0.02817409299314022,
-0.014578119851648808,
-0.045217204838991165,
0.04402322322130203,
-0.017524555325508118,
-0.017023853957653046,
0.036820825189352036,
0.006379130762070417,
-0.039516910910606384,
-0.05191890522837639,
0.041327137500047684,
-0.002173718996345997,
-0.01684090495109558,
0.03283447027206421,
0.019199980422854424,
0.0329885333776474,
0.004662783350795507,
-0.007289059925824404,
0.06193293631076813,
0.025997966527938843,
-0.012796777300536633,
0.037514105439186096,
0.0031245704740285873,
-0.008391565643250942,
-0.018968887627124786,
0.09651985764503479,
0.022512312978506088,
0.021896066144108772,
-0.03695562854409218,
0.014934387989342213,
0.02832815609872341,
-0.030542796477675438,
0.03048502467572689,
-0.03085092082619667,
0.02426476962864399,
0.03013838455080986,
-0.09729017317295074,
-0.012970097362995148,
-0.03799554705619812,
0.0054499441757798195,
-0.03139013797044754,
0.05638670176267624,
-0.026883823797106743,
0.02208864316344261,
0.03048502467572689,
-0.007500894833356142,
-0.01079397089779377,
0.011631683446466923,
-0.04494759812951088,
-0.054306864738464355,
-0.006123965606093407,
0.007717544678598642,
0.02214641682803631,
-0.019199980422854424,
0.07926491647958755,
0.0009129378595389426,
0.0040802364237606525,
0.004520757589489222,
0.03891991823911667,
-0.04887617751955986,
-0.05727255716919899,
0.01997029036283493,
0.02603648230433464,
0.04028721898794174,
-0.005652150604873896,
0.014221850782632828,
0.046141576021909714,
0.038977693766355515,
0.007616441696882248,
0.005223665852099657,
0.00047211587661877275,
-0.034182511270046234,
-0.00040441282908432186,
-0.020451733842492104,
-0.005839913617819548,
0.02087540552020073,
0.005782140418887138,
-0.005695480387657881,
-0.006090264767408371,
-0.019719939678907394,
0.04009464383125305,
0.02178051881492138,
0.010755455121397972,
-0.0196236502379179,
0.026633473113179207,
0.041481200605630875,
0.0061095221899449825,
0.011525765061378479,
-0.042867761105298996,
-0.007014636881649494,
0.04687337204813957,
0.04125010967254639,
-0.07414235174655914,
-0.06928939372301102,
0.05338249355554581,
-0.008276019245386124,
0.010572507046163082,
-0.00458815973252058,
-0.0017464375123381615,
-0.02464992366731167,
0.02869405224919319,
-0.0023735181894153357,
0.003384550102055073,
-0.02087540552020073,
0.027172690257430077,
-0.029868775978684425,
0.005093676038086414,
-0.04768219590187073,
0.07818648219108582,
0.026286832988262177,
-0.015926161780953407,
-0.060353800654411316,
0.061124108731746674,
-0.011371703818440437,
0.0029945806600153446,
0.02208864316344261,
0.014462572522461414,
0.011005805805325508,
0.014260366559028625,
0.04498611390590668,
-0.009123360738158226,
-0.027711907401680946,
0.026344606652855873,
-0.049877580255270004,
0.015560264699161053,
-0.04606454819440842,
0.028790341690182686,
-0.04494759812951088,
0.003952654078602791,
-0.08042038232088089,
0.08080553263425827,
-0.0037841484881937504,
-0.021299075335264206,
0.025805389508605003,
0.03940136358141899,
0.04887617751955986,
-0.04121159389615059,
-0.02195383980870247,
0.023224851116538048,
-0.008150843903422356,
-0.017245318740606308,
-0.008954855613410473,
-0.014318139292299747,
0.008540813811123371,
0.035222429782152176,
0.030985726043581963,
0.028982918709516525,
-0.013634489849209785,
0.033797357231378555,
0.008049741387367249,
0.024861760437488556,
-0.01882445439696312,
0.014019644819200039,
-0.04086495190858841,
-0.04980055242776871,
0.03585793823003769,
-0.023109303787350655,
-0.059121303260326385,
0.04259815067052841,
0.03662824630737305,
-0.016975710168480873,
0.057696230709552765,
0.038592539727687836,
-0.07995819300413132,
-0.005690666381269693,
0.004053757060319185,
-0.03462544083595276,
0.03893917798995972,
0.04856805503368378,
0.00025110304704867303,
0.00296569406054914,
-0.05107156187295914,
-0.012893065810203552,
-0.051110077649354935,
0.015473605133593082,
0.01612836867570877,
-0.00593138812109828,
0.04171229526400566,
-0.0338551290333271,
-0.0517263263463974,
-0.01595504954457283,
-0.028289640322327614,
0.09189800173044205,
-0.01312415860593319,
0.004138009622693062,
-0.007799390237778425,
0.03191009908914566,
0.06362761557102203,
-0.05118710920214653,
-0.025381719693541527,
0.03670527786016464,
0.0013408210361376405,
-0.023494459688663483,
0.017514927312731743,
0.10907591879367828,
0.027788938954472542,
0.0312360767275095,
-0.05935239791870117,
0.047335557639598846,
-0.03728301078081131,
0.004843324888497591,
-0.0003851550573017448,
-0.023783326148986816,
0.059275366365909576,
-0.039324332028627396,
0.00211353856138885,
0.008049741387367249,
-0.03227599337697029,
-0.052881792187690735,
-0.004934799391776323,
0.01804451458156109,
0.059121303260326385,
0.0010603800183162093,
-0.029329558834433556,
-0.04983906447887421,
0.02655644156038761,
-0.009359268471598625,
-0.06801838427782059,
0.05068640783429146,
-0.006523563992232084,
0.04082643613219261,
0.023821841925382614,
-0.025632070377469063,
-0.039305076003074646,
0.030985726043581963,
0.017264576628804207,
0.0011199587024748325,
-0.02821260876953602,
0.013230076991021633,
-0.045563843101263046,
-0.02231973595917225,
-0.03139013797044754,
0.03766816481947899,
-0.009956258349120617,
0.03795703127980232,
-0.008887453004717827,
-0.027865968644618988,
0.02087540552020073,
0.0008341014618054032,
0.024938790127635002,
0.016734987497329712,
0.06200996786355972,
-0.02726897969841957,
0.01452997513115406,
-0.01945033110678196,
0.022685633972287178,
0.01507882121950388,
-0.00930630974471569,
-0.041288621723651886,
-0.07745468616485596,
0.0034254728816449642,
-0.028251124545931816,
0.04479353502392769,
0.037706680595874786,
0.03537649288773537,
0.01656166836619377,
0.04656524956226349,
-0.03691711276769638,
-0.030234672129154205,
-0.07460453361272812,
-0.035434264689683914,
-0.05122562497854233,
-0.0077945757657289505,
-0.017062369734048843,
0.03940136358141899,
-0.013191561214625835,
0.011997580528259277,
0.015666183084249496,
-0.032930757850408554,
0.06347355246543884,
-0.03724449500441551,
0.003136606654152274,
-0.006321357563138008,
-0.013682633638381958,
0.009407412260770798,
0.042521119117736816,
0.012151642702519894,
0.011689456179738045,
0.0383421890437603,
-0.05480756610631943,
0.026344606652855873,
0.013268591836094856,
-0.062472153455019,
-0.06081598624587059,
0.011882034130394459,
0.030754633247852325,
-0.1017579659819603,
-0.014751438982784748,
-0.016629070043563843,
-0.006600595079362392,
-0.045024625957012177,
-0.012363477610051632,
0.06401277333498001,
-0.009575918316841125,
-0.005613635294139385,
0.004682041238993406,
-0.0124886529520154,
-0.04829844459891319,
0.03360477834939957,
0.07156181335449219,
-0.03192935511469841,
0.0571184977889061,
-0.014125562272965908,
-0.03083166293799877,
-0.018400782719254494,
-0.016118738800287247,
0.042328543961048126,
-0.002431291388347745,
0.008078627288341522,
0.02461140975356102,
-0.026614215224981308,
0.056309670209884644,
0.056309670209884644,
-0.030581312254071236,
-0.01239236444234848,
0.01901703141629696,
0.012998983263969421,
-0.03373958542943001,
-0.03533797711133957,
0.014347026124596596,
-0.05033976584672928,
0.07437344640493393,
0.05184187367558479,
-0.06790284067392349,
0.034163255244493484,
-0.03849624842405319,
0.010562878102064133,
-0.01854521594941616,
0.05222702771425247,
0.002549245022237301,
0.05785029008984566,
0.06555338948965073,
-0.002260378794744611,
0.05565490946173668,
0.0006535599823109806,
-0.05619412660598755,
-0.0027249720878899097,
-0.010225866921246052,
0.003153457073494792,
0.0077945757657289505,
0.01293158158659935,
0.008372308686375618,
0.07529781758785248,
0.017871195450425148,
0.029888033866882324,
-0.03139013797044754,
-0.020201383158564568,
-0.030966468155384064,
0.02657569944858551,
0.001366096897982061,
-0.04171229526400566,
0.05114859342575073,
0.03687859699130058,
-0.00843971036374569,
-0.029888033866882324,
0.03572313115000725,
-0.03624309226870537,
0.000595184916164726,
-0.007703101262450218,
-0.004325773101300001,
-0.06085450202226639,
0.038091834634542465,
0.03670527786016464,
-0.02480398677289486,
-0.02208864316344261,
0.05068640783429146,
-0.02191532403230667,
0.006634295918047428,
0.003601199947297573,
-0.07106111198663712,
-0.0642438679933548,
-0.02726897969841957,
-0.028751825913786888,
-0.011535394005477428,
-0.025555038824677467,
-0.052881792187690735,
0.03714820742607117,
-0.03599274158477783,
0.004525572061538696,
-0.01346116978675127,
0.07703101634979248,
-0.01356708724051714,
-0.05426834896206856,
-0.03287298604846001,
0.005541418679058552,
-0.008925968781113625,
-0.02195383980870247,
0.008357864804565907,
-0.055731937289237976,
-0.04082643613219261,
0.034509893506765366,
-0.016542410477995872,
-0.0026840493083000183,
-0.023667778819799423,
0.005551047623157501,
0.023590747267007828,
0.051264140754938126,
0.011968693695962429,
0.016975710168480873,
0.02836667001247406,
-0.046103060245513916,
-0.015656553208827972,
-0.06690143793821335,
-0.004073014948517084,
0.1087677925825119,
0.028655536472797394,
0.006619852967560291,
-0.014019644819200039,
-0.026460153982043266,
-0.0055751195177435875,
0.020625054836273193,
-0.05473053455352783,
0.006210625637322664,
-0.04259815067052841,
-0.0039261747151613235,
-0.014385541900992393,
0.014789954759180546,
-0.027750423178076744,
-0.004619453568011522,
-0.05384467914700508,
0.05838950723409653,
-0.06370464712381363,
-0.010187352076172829,
0.02370629459619522,
-0.011188754811882973,
-0.020663568750023842,
-0.020432475954294205,
0.06744065135717392,
0.023841097950935364,
-0.0005226674838922918,
-0.018757052719593048,
-0.016590554267168045,
0.052342575043439865,
0.06643924862146378,
0.0033701069187372923,
-0.026652731001377106,
-0.031505685299634933,
0.061432234942913055,
-0.03926656022667885,
-0.011891663074493408,
-0.009267793968319893,
0.007332389708608389,
-0.05542381480336189,
0.01473218109458685,
0.04849102348089218,
0.06023825332522392,
-0.0383421890437603,
-0.09428596496582031,
0.0031510498374700546,
0.017784535884857178,
0.06116262450814247,
0.028405185788869858,
-0.0057002948597073555,
0.00544031523168087,
0.008540813811123371,
-0.05785029008984566,
0.014327768236398697,
0.0677102580666542,
0.04017167538404465,
0.044138770550489426,
-0.02195383980870247,
0.031833067536354065,
-0.0018306901911273599,
0.03516465798020363,
0.05384467914700508,
-0.014260366559028625,
-0.027018629014492035,
0.009917743504047394,
-0.04760516807436943,
-0.006215440109372139,
-0.021838292479515076,
-0.03591571003198624,
0.007245729677379131,
0.05642521753907204,
0.008921154774725437,
0.005223665852099657,
0.038226641714572906,
-0.005204407963901758,
-0.013576716184616089,
0.044677987694740295,
0.03728301078081131,
0.017004596069455147,
-0.06174035742878914,
-0.008781535550951958,
0.02853999100625515,
-0.014308511279523373,
-0.010274011641740799,
0.04175081104040146,
-0.010774713009595871,
0.01569506898522377,
-0.03641641139984131,
-0.02927178516983986,
-0.025612812489271164,
-0.03268040716648102,
0.0038852517027407885,
-0.032179705798625946,
0.020297672599554062,
-0.01741863787174225,
0.0076068127527832985,
-0.011650941334664822,
-0.001552656409330666,
-0.05311288312077522,
0.04044128209352493,
0.05134117230772972,
0.04017167538404465,
-0.03786074370145798,
0.03710969164967537,
-0.027172690257430077,
-0.00834342185407877,
0.05010867491364479,
-0.03171752020716667,
-0.04471650347113609,
-0.017043111845850945,
0.005238108802586794,
-0.03194861486554146,
-0.010023660957813263,
-0.06890424340963364,
-0.004455762915313244,
-0.00757792592048645,
0.019402187317609787,
-0.045063141733407974,
-0.05785029008984566,
-0.008088256232440472,
-0.0357038751244545,
0.03335442766547203,
0.00492276344448328,
-0.022955242544412613,
-0.040210191160440445,
0.003788962960243225,
-0.021164271980524063,
-0.012074611149728298,
0.12109275162220001,
0.05496162921190262,
-0.039170268923044205,
0.006499491631984711,
0.04336846247315407,
-0.05785029008984566,
-0.003047539386898279,
-0.009898485615849495,
-0.05496162921190262,
0.010659166611731052,
0.05311288312077522,
-0.02763487584888935,
0.06455198675394058,
-0.023937387391924858,
-0.029926549643278122,
-0.022704891860485077,
0.05122562497854233,
-0.005888058338314295,
-0.05403725802898407,
0.008054555393755436,
-0.004503907170146704,
0.028251124545931816,
0.0016694065416231751,
-0.06266473233699799,
0.005589562933892012,
0.022030869498848915,
0.027153432369232178,
0.017495669424533844,
0.01748603954911232,
0.09944704174995422,
-0.0005963885341770947,
-0.0015189553378149867,
-0.015396573580801487,
-0.005676222965121269,
0.010755455121397972,
-0.05461498722434044,
-0.050224222242832184,
0.03533797711133957,
0.05946794152259827,
0.02601722441613674,
-0.043792132288217545,
-0.014607005752623081,
0.023417428135871887,
-0.006229883059859276,
-0.012132384814321995,
-0.0819609984755516,
0.0017283833585679531,
0.022801179438829422,
-0.004963685758411884,
-0.02264711819589138,
-0.03246857225894928,
0.014789954759180546,
-0.05811990052461624,
-0.00928223691880703,
-0.013172303326427937,
-0.037899259477853775,
-0.02905995026230812,
-0.020066579803824425,
-0.03316185250878334,
-0.0003731189644895494,
0.010938404127955437,
0.06863463670015335,
-0.011573909781873226,
0.016157254576683044,
0.011622054502367973,
0.06871166825294495,
0.015473605133593082,
-0.03903546556830406,
-0.053228430449962616,
0.035973481833934784,
-0.040556829422712326,
-0.0347602441906929,
0.04918430373072624,
0.023436686024069786,
-0.047528136521577835,
0.04598751664161682,
0.00876709260046482,
-0.007919751107692719,
0.006590966135263443,
0.027346009388566017,
0.033450718969106674,
-0.04159674793481827,
-0.005151449237018824,
0.01727420464158058,
0.057888805866241455,
0.011111724190413952,
0.022338993847370148,
0.0661311224102974,
-0.03947839513421059,
-0.07005970925092697,
-0.048606570810079575,
-0.01943107321858406,
0.0981375128030777,
0.02156868390738964,
-0.00014398180064745247,
0.012228673323988914,
-0.011631683446466923,
-0.022897468879818916,
-0.0030018023680895567,
0.01979697123169899,
0.06905830651521683,
0.00942185614258051,
-0.0018451334908604622,
-0.009773310273885727,
0.03171752020716667,
-0.04625712335109711,
-0.021010208874940872,
0.029021434485912323,
0.04960797354578972,
-0.015560264699161053,
-0.0249965637922287,
0.022724149748682976,
-0.04198190197348595,
-0.10183499753475189,
0.0019691053312271833,
0.02690308168530464,
0.015666183084249496,
-0.010736197233200073,
0.01995103247463703,
0.016523152589797974,
-0.0446394719183445,
-0.011044321581721306,
0.01927701197564602,
0.045563843101263046,
0.047720711678266525,
-0.029194753617048264,
0.021819034591317177,
-0.02068282663822174,
0.054499443620443344
] |
18,170 | jsondiff | emit_dict_diff | null | def emit_dict_diff(self, a, b, s, added, changed, removed):
if s == 0.0:
return [a, b]
elif s == 1.0:
return {}
else:
d = changed
if added:
d[insert] = added
if removed:
d[delete] = removed
return d
| (self, a, b, s, added, changed, removed) | [
0.0007128591532818973,
-0.04119083657860756,
0.0007524319225922227,
-0.014342923648655415,
-0.04590439051389694,
-0.016998695209622383,
-0.055472202599048615,
0.04207023233175278,
0.016110507771372795,
-0.02585419826209545,
-0.009409520775079727,
0.01444845087826252,
-0.008156383410096169,
-0.00033609356614761055,
-0.020560242235660553,
-0.019434617832303047,
-0.0291079580783844,
0.030321521684527397,
-0.019223563373088837,
-0.05920083820819855,
0.03429638594388962,
-0.02318083867430687,
0.03426120802760124,
0.09004999697208405,
-0.04632650315761566,
-0.03343457728624344,
-0.013331620022654533,
-0.06391438841819763,
0.04787423461675644,
0.03630140423774719,
-0.001699429820291698,
-0.08392941206693649,
0.019540145993232727,
-0.002279830165207386,
-0.005535788368433714,
-0.020507479086518288,
0.017623065039515495,
0.031411971896886826,
-0.028369266539812088,
-0.013322826474905014,
-0.013190917670726776,
-0.030374284833669662,
-0.006318449508398771,
0.006542694754898548,
0.03985415771603584,
0.04667825996875763,
-0.019803963601589203,
0.052552614361047745,
0.00787058100104332,
0.009312788024544716,
0.041964706033468246,
-0.03287176415324211,
0.02047230303287506,
0.061698317527770996,
0.011616800911724567,
-0.05561290681362152,
0.028210975229740143,
0.019962254911661148,
-0.018994919955730438,
0.030901921913027763,
0.020314011722803116,
-0.000892585376277566,
-0.010579115711152554,
-0.01811552606523037,
-0.019786376506090164,
-0.03521095588803291,
0.004075993318110704,
-0.06141690909862518,
-0.011300219222903252,
0.044251129031181335,
0.003099865512922406,
-0.01604894921183586,
0.005439054686576128,
-0.014756239019334316,
-0.00530714588239789,
0.044145602732896805,
0.02685670740902424,
0.03440191224217415,
0.03482402116060257,
-0.049844078719615936,
-0.001508161542005837,
-0.03285417705774307,
-0.02500997856259346,
0.042210936546325684,
0.0189773328602314,
0.02877378836274147,
0.00006107669469201937,
0.018942156806588173,
0.035404421389102936,
-0.029512478038668633,
-0.05272849276661873,
-0.008776356466114521,
0.007571586407721043,
0.019329091534018517,
0.008275101892650127,
0.016040155664086342,
-0.06310534477233887,
-0.034331560134887695,
0.05086417868733406,
0.02694464661180973,
0.08392941206693649,
0.004018832929432392,
-0.05209532752633095,
0.009418315254151821,
0.009673339314758778,
-0.06936663389205933,
0.02694464661180973,
-0.06447720527648926,
-0.022037625312805176,
-0.0005760033964179456,
-0.02532656118273735,
0.05016066133975983,
-0.029565243050456047,
0.016664525493979454,
-0.005786415655165911,
0.0155740762129426,
0.00751882279291749,
-0.05603501573204994,
-0.010649466887116432,
0.010587909258902073,
-0.02446475438773632,
-0.0019852330442517996,
0.017104223370552063,
0.037884313613176346,
-0.00781781692057848,
-0.03491196036338806,
0.04178882762789726,
0.0013234886573627591,
0.0344722643494606,
0.012601722963154316,
0.03953757509589195,
-0.051356635987758636,
-0.025783846154808998,
0.0470300167798996,
0.026258720085024834,
0.003264751983806491,
-0.030761219561100006,
0.05410034954547882,
0.07052743434906006,
0.03468331694602966,
0.004506896715611219,
-0.010464794002473354,
0.0030910714995115995,
0.04646720364689827,
-0.04667825996875763,
-0.0100163035094738,
-0.0037110447883605957,
0.059974703937768936,
-0.043371737003326416,
0.056105367839336395,
-0.006195334251970053,
0.03728632628917694,
-0.01617206446826458,
-0.02446475438773632,
-0.03791949152946472,
-0.02038436383008957,
-0.018748689442873,
-0.05870837718248367,
-0.015785131603479385,
0.020630594342947006,
0.0648641362786293,
-0.021580340340733528,
0.07429124414920807,
-0.03176372870802879,
0.01482659112662077,
0.02803509682416916,
0.03784913942217827,
0.022231092676520348,
-0.011608007363975048,
-0.010667054913938046,
0.003992450889199972,
0.052447088062763214,
-0.02641700953245163,
0.004342010244727135,
0.05835661664605141,
0.007650732062757015,
0.019135624170303345,
-0.008648844435811043,
-0.01411428116261959,
-0.018819041550159454,
0.048014938831329346,
-0.005289557855576277,
-0.023233601823449135,
0.08048218488693237,
0.007773847319185734,
-0.02393711730837822,
0.0012850151397287846,
0.012074085883796215,
0.010482382029294968,
0.01735924743115902,
-0.0031174535397440195,
0.012399462051689625,
-0.006722970865666866,
0.029987351968884468,
-0.010816551744937897,
0.04108531028032303,
-0.04481394216418266,
-0.023128075525164604,
0.014246190898120403,
0.05497974157333374,
-0.09560776501893997,
-0.05691441148519516,
-0.03612552583217621,
0.014325336553156376,
0.0008002489921636879,
-0.01971602439880371,
0.03781396150588989,
-0.027313992381095886,
0.007888168096542358,
-0.011819061823189259,
-0.0018863012082874775,
-0.0240426454693079,
0.014852972701191902,
-0.037989839911460876,
0.011678358539938927,
-0.05058277025818825,
0.040592849254608154,
0.0495978482067585,
-0.028826551511883736,
-0.05951741710305214,
0.03623105213046074,
-0.04805011302232742,
0.0338742770254612,
0.025396913290023804,
0.00862246286123991,
0.01304141990840435,
0.00922484789043665,
-0.01509040966629982,
-0.051778748631477356,
-0.011986146681010723,
0.027208466082811356,
-0.0036209067329764366,
-0.0010997927747666836,
-0.048120465129613876,
0.06947216391563416,
0.0012399462284520268,
0.0016367729986086488,
-0.0659194067120552,
0.06521589308977127,
-0.015406991355121136,
-0.018045173957943916,
0.044778767973184586,
0.04569333791732788,
0.0730249211192131,
-0.02523862197995186,
-0.060185756534338,
0.048788804560899734,
0.010148212313652039,
-0.061381734907627106,
0.025607967749238014,
-0.005790812894701958,
-0.008428996428847313,
0.008749974891543388,
0.039396874606609344,
0.03925617039203644,
-0.002308410592377186,
0.014272572472691536,
0.03579135611653328,
0.017658241093158722,
-0.03848230093717575,
0.019557733088731766,
0.005091694183647633,
-0.06771337240934372,
0.01830899342894554,
-0.005386291071772575,
-0.04646720364689827,
0.03728632628917694,
0.052341558039188385,
-0.03922099247574806,
0.07879374921321869,
0.004467323888093233,
-0.05747722461819649,
-0.038200896233320236,
-0.04256269335746765,
-0.00528076384216547,
0.01962808519601822,
0.07253246009349823,
-0.048014938831329346,
0.013885638676583767,
-0.023110486567020416,
0.0009695324115455151,
-0.024499930441379547,
-0.011467304080724716,
0.03007529117166996,
-0.008908266201615334,
0.04136671498417854,
-0.009453490376472473,
-0.03612552583217621,
0.006894452963024378,
-0.07330632209777832,
0.03361045569181442,
-0.016840403899550438,
-0.027507459744811058,
-0.016242416575551033,
0.007505632005631924,
0.037356678396463394,
0.006428373511880636,
-0.04115566238760948,
0.04076872766017914,
0.05167321860790253,
-0.04020591452717781,
0.003000933676958084,
0.0860399529337883,
0.04840187355875969,
-0.038411952555179596,
-0.03301246836781502,
0.04674861207604408,
-0.04600992053747177,
0.022336618974804878,
-0.0424923412501812,
-0.06655257195234299,
0.038236070424318314,
-0.0018917974084615707,
0.056879233568906784,
0.009770072996616364,
-0.004902624059468508,
-0.07193446904420853,
0.0217738077044487,
0.006366815883666277,
0.08188921213150024,
-0.02425369992852211,
-0.0025722288992255926,
-0.06866312026977539,
0.014879354275763035,
0.021175818517804146,
-0.09483390301465988,
0.019645672291517258,
-0.006696588825434446,
0.08596960455179214,
0.024658221751451492,
-0.030163230374455452,
-0.05237673595547676,
0.04312550649046898,
0.017552712932229042,
-0.02757781185209751,
-0.013665790669620037,
0.02727881632745266,
-0.020771298557519913,
-0.03471849486231804,
-0.018484871834516525,
0.023690886795520782,
-0.01811552606523037,
-0.004137550946325064,
0.020102957263588905,
0.028633084148168564,
0.008108017034828663,
-0.0238140020519495,
0.009189672768115997,
-0.003418646054342389,
-0.006221715826541185,
-0.024112997576594353,
0.04643202945590019,
0.001535642659291625,
0.06676363199949265,
0.07682390511035919,
0.03222101554274559,
0.000884890672750771,
-0.07281386107206345,
0.018045173957943916,
-0.009743690490722656,
0.02275872975587845,
0.0547335110604763,
0.023339129984378815,
0.013560262508690357,
0.03577376902103424,
-0.0172361321747303,
-0.012197201140224934,
-0.0536782406270504,
-0.03686421737074852,
-0.06570835411548615,
-0.021949686110019684,
0.005672094412147999,
0.03630140423774719,
-0.001374053885228932,
0.022459734231233597,
-0.03232654184103012,
-0.030233582481741905,
0.039502400904893875,
-0.02166827954351902,
-0.007448471151292324,
-0.007233019452542067,
0.020560242235660553,
-0.04045214504003525,
0.09912534803152084,
0.028210975229740143,
-0.00447172112762928,
0.05202497914433479,
-0.056316424161195755,
0.06514554470777512,
0.028316501528024673,
-0.05033653974533081,
-0.02274114079773426,
0.016216034069657326,
0.03784913942217827,
-0.06792443245649338,
-0.03781396150588989,
-0.021492401137948036,
-0.029600419104099274,
-0.09947710484266281,
-0.027120525017380714,
0.05554255470633507,
-0.0006677901837974787,
-0.08463292568922043,
-0.01779894344508648,
-0.016840403899550438,
-0.06514554470777512,
-0.0036516855470836163,
0.04365314170718193,
-0.03623105213046074,
0.029037605971097946,
-0.06324604898691177,
-0.037251152098178864,
-0.045236051082611084,
-0.05016066133975983,
0.03040946088731289,
-0.006533901207149029,
-0.012610516510903835,
-0.006507519166916609,
-0.038763709366321564,
0.039291344583034515,
0.0420350544154644,
-0.016110507771372795,
0.015107996761798859,
0.028545144945383072,
0.0612410306930542,
-0.017596684396266937,
-0.05357271060347557,
0.04766318202018738,
0.01244343165308237,
0.03253759443759918,
0.04924609139561653,
-0.05107523128390312,
0.027313992381095886,
-0.06648222357034683,
0.03545718640089035,
-0.01735924743115902,
0.07689425349235535,
-0.0028338488191366196,
0.07928620278835297,
0.0809042900800705,
0.012891923077404499,
0.013498704880475998,
0.0035219748970121145,
-0.002391953021287918,
-0.01669090799987316,
-0.03287176415324211,
-0.01249619573354721,
-0.043160680681467056,
0.04076872766017914,
-0.01174871064722538,
0.09842182695865631,
0.0010371358366683125,
0.006846086122095585,
-0.02652253769338131,
0.053748589009046555,
-0.03290694206953049,
-0.02209038846194744,
-0.02284666895866394,
-0.054698336869478226,
0.021826570853590965,
0.01906527206301689,
0.010244945995509624,
-0.0455174595117569,
0.05969329923391342,
-0.025396913290023804,
-0.027841629460453987,
0.00585237005725503,
-0.03406774252653122,
-0.04386419802904129,
0.048788804560899734,
0.04527122899889946,
-0.03967827931046486,
-0.02618836797773838,
0.008178369142115116,
-0.0341029167175293,
-0.0260828398168087,
-0.004594836384057999,
-0.028545144945383072,
-0.03742703050374985,
0.004546469543129206,
-0.005601742770522833,
0.007268195506185293,
-0.047909412533044815,
-0.022336618974804878,
0.023444656282663345,
-0.01585548184812069,
-0.004682775586843491,
0.006050234194844961,
0.016216034069657326,
-0.0047531272284686565,
-0.010482382029294968,
-0.06753749400377274,
0.004060604143887758,
-0.009286405518651009,
-0.04558781161904335,
-0.017939647659659386,
0.012065292336046696,
-0.0145539790391922,
0.019557733088731766,
-0.007241813465952873,
-0.001706025330349803,
-0.03988933190703392,
-0.026381835341453552,
0.010878109373152256,
0.0047751120291650295,
-0.011344188824295998,
-0.00531154265627265,
0.007109904196113348,
-0.0627535879611969,
-0.003974862862378359,
-0.023004960268735886,
-0.030268758535385132,
0.08160781115293503,
0.07295456528663635,
-0.018678339198231697,
-0.06377368420362473,
-0.03936169669032097,
-0.00032042936072684824,
-0.02091200090944767,
-0.060537517070770264,
0.02166827954351902,
0.009453490376472473,
-0.005487421527504921,
-0.042844098061323166,
-0.005570963956415653,
-0.017095427960157394,
-0.035105425864458084,
-0.04826116934418678,
0.04794458672404289,
-0.04541192948818207,
-0.06630634516477585,
-0.005399482324719429,
0.0018742094980552793,
0.008266308344900608,
-0.0368993915617466,
0.06785407662391663,
0.02856273204088211,
-0.008859899826347828,
-0.08287413418292999,
0.0032537595834583044,
0.07344702631235123,
0.04432148113846779,
0.05149734020233154,
-0.026680829003453255,
0.0043661934323608875,
0.09004999697208405,
-0.001698330626823008,
-0.013190917670726776,
0.010464794002473354,
-0.01616327092051506,
-0.06254253536462784,
-0.038200896233320236,
0.032713476568460464,
0.01735924743115902,
-0.04055767506361008,
-0.0319044329226017,
-0.03343457728624344,
-0.01917080022394657,
0.018994919955730438,
0.013542675413191319,
0.01282157190144062,
-0.011924589052796364,
0.05863802507519722,
0.03577376902103424,
-0.024306463077664375,
0.06370333582162857,
0.06331640481948853,
0.036829039454460144,
-0.020102957263588905,
0.020753709599375725,
-0.00835864432156086,
0.052763670682907104,
0.005223603453487158,
-0.004300239030271769,
-0.039959684014320374,
-0.005439054686576128,
-0.0184496957808733,
-0.031429558992385864,
-0.015494930557906628,
-0.008749974891543388,
-0.019205976277589798,
0.04238681495189667,
0.028597908094525337,
0.032942116260528564,
0.07267315685749054,
0.021527577191591263,
-0.050617948174476624,
0.025150682777166367,
0.02372606284916401,
0.058919429779052734,
-0.05758275091648102,
-0.019962254911661148,
-0.0379546657204628,
-0.012962274253368378,
-0.00010133647447219118,
-0.012135643512010574,
0.02499239146709442,
0.059024956077337265,
-0.07851234078407288,
0.0014422069070860744,
-0.03781396150588989,
-0.022477323189377785,
0.018379345536231995,
-0.0342436209321022,
0.0145539790391922,
-0.013806493021547794,
0.0612410306930542,
-0.016787640750408173,
-0.01422860287129879,
-0.018889393657445908,
0.0022325627505779266,
0.03209789842367172,
0.02879137545824051,
-0.04520087689161301,
0.07879374921321869,
-0.023901941254734993,
0.031552672386169434,
0.0014916729414835572,
-0.018361756578087807,
-0.014386894181370735,
0.004726745188236237,
-0.005236794240772724,
-0.021756218746304512,
0.015908246859908104,
-0.05853249505162239,
-0.04685413837432861,
0.02954765409231186,
0.025590378791093826,
0.0008887380245141685,
-0.07977866381406784,
-0.024851687252521515,
0.006621840409934521,
0.0666932761669159,
-0.027542635798454285,
0.030321521684527397,
0.03459537774324417,
0.02803509682416916,
0.005790812894701958,
0.017825325950980186,
0.07457265257835388,
0.07042191177606583,
-0.026786355301737785,
0.028633084148168564,
0.0012399462284520268,
-0.025168269872665405,
0.024640632793307304,
0.019381854683160782,
-0.02360294759273529,
0.025484852492809296,
0.003194400342181325,
-0.004196910187602043,
0.03535165637731552,
-0.03711044788360596,
-0.02469339780509472,
-0.03623105213046074,
0.03204513341188431,
-0.01288312952965498,
-0.02856273204088211,
0.0047751120291650295,
-0.024095408618450165,
-0.008169574663043022,
0.00555337592959404,
-0.0582159161567688,
-0.04980890452861786,
0.0688038244843483,
0.018080350011587143,
0.01411428116261959,
0.044567711651325226,
0.060854099690914154,
0.00477071525529027,
-0.01217961311340332,
-0.0556480810046196,
-0.019030096009373665,
0.0015873070806264877,
-0.03967827931046486,
-0.04776870831847191,
0.04031144455075264,
0.06588423252105713,
0.019030096009373665,
-0.04396972432732582,
-0.01163438893854618,
0.04045214504003525,
-0.011898207478225231,
-0.02675117924809456,
-0.008969823829829693,
0.03953757509589195,
-0.023743651807308197,
-0.016840403899550438,
0.01745598018169403,
0.025520028546452522,
0.02284666895866394,
-0.06391438841819763,
-0.011317807249724865,
-0.016638142988085747,
-0.005839179269969463,
0.016638142988085747,
-0.010447206906974316,
-0.045763690024614334,
-0.0283516775816679,
0.01088690385222435,
0.05768827721476555,
0.01779894344508648,
0.017860502004623413,
-0.014123075641691685,
0.027894392609596252,
-0.05167321860790253,
-0.025590378791093826,
-0.04681896045804024,
0.0100163035094738,
-0.052658140659332275,
-0.04815564304590225,
0.04530640318989754,
-0.012733631767332554,
-0.0043705906718969345,
0.005263175815343857,
-0.0189773328602314,
-0.004221093375235796,
0.0235150083899498,
0.032273776829242706,
0.04667825996875763,
-0.0547335110604763,
-0.016901962459087372,
0.049633026123046875,
0.05835661664605141,
-0.021052703261375427,
-0.0050081517547369,
0.04622097313404083,
-0.06838171184062958,
-0.07316561788320541,
-0.017174573615193367,
-0.003150430740788579,
0.03728632628917694,
0.00724621070548892,
-0.003766006790101528,
0.0035791355185210705,
0.006230509839951992,
-0.004058405756950378,
-0.036829039454460144,
0.02362053655087948,
0.034542616456747055,
0.02984664961695671,
0.021193407475948334,
0.035316482186317444,
0.02200244925916195,
-0.06324604898691177,
-0.024288875982165337,
0.011669564992189407,
0.07386913895606995,
-0.04667825996875763,
-0.025062743574380875,
0.033276285976171494,
-0.02189692296087742,
-0.044462185353040695,
0.00025365035980939865,
0.006358022335916758,
-0.011836649850010872,
-0.00922484789043665,
0.006102997809648514,
0.024341639131307602,
0.0032603549771010876,
-0.005135663785040379,
0.049527496099472046,
0.03554512560367584,
0.0567033551633358,
-0.010904491879045963,
0.03633657842874527,
-0.020736122503876686,
0.05870837718248367
] |
18,171 | jsondiff | emit_list_diff | null | def emit_list_diff(self, a, b, s, inserted, changed, deleted):
if s == 0.0:
return [a, b]
elif s == 1.0:
return {}
else:
d = changed
if inserted:
d[insert] = inserted
if deleted:
d[delete] = deleted
return d
| (self, a, b, s, inserted, changed, deleted) | [
0.0026884209364652634,
-0.04415988549590111,
0.004960829857736826,
-0.01296346727758646,
-0.03449767455458641,
-0.011585707776248455,
-0.035195499658584595,
0.027394160628318787,
0.008687044493854046,
0.0022478061728179455,
-0.014493318274617195,
-0.005479726474732161,
-0.024745998904109,
-0.032601017504930496,
-0.0227956622838974,
-0.01299925334751606,
-0.03932878002524376,
0.007380856201052666,
-0.008857027627527714,
-0.0450187511742115,
0.028789812698960304,
-0.010646326467394829,
0.029040314257144928,
0.07379066944122314,
-0.0270541924983263,
-0.03054332546889782,
-0.0027085505425930023,
-0.060299359261989594,
0.01810770109295845,
0.042442161589860916,
0.021990478038787842,
-0.06770705431699753,
0.01834031008183956,
-0.035284966230392456,
-0.0037396338302642107,
-0.001567872823216021,
-0.00011882060061907396,
0.037288982421159744,
-0.009805356152355671,
-0.00920594111084938,
0.012355105951428413,
-0.05557561293244362,
0.013312380760908127,
0.015692148357629776,
0.04863313212990761,
0.059261567890644073,
-0.004983196500688791,
0.048990994691848755,
0.003095486434176564,
0.008248666301369667,
0.057329125702381134,
-0.022026265040040016,
0.0011932384222745895,
0.018054021522402763,
0.014985375106334686,
-0.03444399684667587,
0.04237058758735657,
0.026177436113357544,
0.01170201227068901,
0.03897092118859291,
0.035267073661088943,
0.01393863558769226,
-0.010422663763165474,
-0.025944828987121582,
-0.007345070131123066,
-0.031330615282058716,
0.010064803995192051,
-0.07074886560440063,
-0.025944828987121582,
0.06502310931682587,
-0.010708951391279697,
-0.014886963181197643,
0.005537878721952438,
-0.01352709624916315,
0.01243562437593937,
0.04874049127101898,
0.04598497226834297,
0.048167914152145386,
0.03070436231791973,
-0.047344837337732315,
-0.016595743596553802,
-0.012238801456987858,
-0.0004025921516586095,
0.0502077154815197,
0.03711004927754402,
0.018241899088025093,
-0.002444629091769457,
0.023278772830963135,
0.024173423647880554,
-0.021936800330877304,
-0.05976257100701332,
-0.017910877242684364,
-0.011263634078204632,
0.007148247677832842,
-0.02100636437535286,
0.028503526002168655,
-0.07500739395618439,
-0.05400102958083153,
0.04859734699130058,
0.050637148320674896,
0.08774720132350922,
0.024549175053834915,
-0.06198130175471306,
0.001630498212762177,
0.020290644839406013,
-0.07028364390134811,
0.005027928855270147,
-0.06323380768299103,
-0.007908699102699757,
0.018966564908623695,
-0.026105865836143494,
0.07486424595117569,
0.00005315474481903948,
0.008816768415272236,
-0.02159683220088482,
0.017597749829292297,
0.029040314257144928,
-0.04827527329325676,
-0.019091814756393433,
-0.015781613066792488,
0.0025229109451174736,
-0.0412612222135067,
0.005842059385031462,
0.032976772636175156,
-0.017275676131248474,
-0.009778516367077827,
0.04144015163183212,
-0.004191431682556868,
0.025211215019226074,
0.0040035555139184,
0.03465871140360832,
-0.04061707481741905,
-0.03054332546889782,
0.0539652444422245,
0.020612718537449837,
-0.015280609019100666,
-0.04129701107740402,
0.023726098239421844,
0.04523346573114395,
0.009581693448126316,
-0.0033549347426742315,
-0.008673624135553837,
0.03210001438856125,
0.05596925690770149,
-0.059941500425338745,
-0.01266823336482048,
0.008244193159043789,
0.0718582272529602,
-0.034247174859046936,
0.07557997107505798,
-0.016586797311902046,
0.05031507462263107,
-0.008637838065624237,
-0.0594404973089695,
-0.046378616243600845,
-0.0031111426651477814,
-0.04319366440176964,
-0.07124986499547958,
-0.010977346450090408,
0.03158111870288849,
0.04895520582795143,
-0.04226323217153549,
0.042800020426511765,
0.018823420628905296,
0.007890806533396244,
0.025819577276706696,
0.012954520992934704,
0.011165223084390163,
-0.03464081883430481,
-0.012981360778212547,
0.025569075718522072,
0.04952778294682503,
-0.013795491307973862,
-0.01419808343052864,
0.03249366208910942,
0.015745826065540314,
0.0014482134720310569,
0.014967481605708599,
-0.004513505380600691,
-0.046378616243600845,
0.01527166273444891,
-0.013249755837023258,
0.001210013055242598,
0.044589318335056305,
0.003061937168240547,
-0.006776968017220497,
-0.021346330642700195,
0.015396913513541222,
0.002321614883840084,
0.011728852055966854,
-0.04612811654806137,
-0.00720639992505312,
-0.004019211977720261,
0.005537878721952438,
-0.04201272875070572,
0.06051407381892204,
-0.0727170929312706,
-0.0010931495344266295,
-0.0018944197800010443,
0.03614382818341255,
-0.08288030326366425,
-0.04655754566192627,
-0.034014564007520676,
0.009188047610223293,
0.01638997346162796,
0.013026093132793903,
0.02340402454137802,
-0.029147673398256302,
0.015110625885426998,
-0.030883291736245155,
0.012328267097473145,
-0.016354188323020935,
-0.005743648391216993,
-0.02159683220088482,
0.01166622620075941,
-0.05654183402657509,
0.0041466993279755116,
0.04226323217153549,
-0.019270744174718857,
-0.06269701570272446,
0.04133279621601105,
-0.07643882930278778,
-0.009751676581799984,
0.01236405223608017,
0.00964431930333376,
0.053535811603069305,
0.02265251986682415,
-0.035732291638851166,
-0.07164350897073746,
0.0038559383247047663,
0.0080428970977664,
-0.023636633530259132,
0.009581693448126316,
-0.0336209200322628,
0.04551975429058075,
0.002199718728661537,
-0.0030261510983109474,
-0.04551975429058075,
0.04412410035729408,
0.005479726474732161,
-0.06004885584115982,
0.03600068762898445,
0.0718582272529602,
0.064629465341568,
-0.004014738369733095,
-0.04390938580036163,
0.03954349830746651,
0.015012213960289955,
-0.05879634991288185,
0.03732476755976677,
-0.029827605932950974,
-0.004484429489821196,
0.024781784042716026,
0.011836209334433079,
0.04916992411017418,
-0.02159683220088482,
0.008284452371299267,
0.039221424609422684,
0.012748751789331436,
-0.04358731210231781,
0.0019346789922565222,
0.0066159311681985855,
-0.05142443999648094,
0.010279519483447075,
-0.00923277996480465,
-0.053321097046136856,
0.012936628423631191,
0.06634718924760818,
-0.04330102354288101,
0.09876927733421326,
0.041976943612098694,
-0.0503508597612381,
-0.051674939692020416,
-0.037503696978092194,
0.0012178412871435285,
0.01662258245050907,
0.07289601862430573,
-0.05253380537033081,
-0.000362612510798499,
-0.0409749373793602,
0.007215346209704876,
-0.008163674734532833,
-0.018662383779883385,
0.03668062016367912,
-0.006794861052185297,
0.03560703992843628,
-0.00033549347426742315,
-0.04784584045410156,
-0.02265251986682415,
-0.05564718320965767,
0.02479967661201954,
-0.001643917988985777,
-0.011317312717437744,
-0.033280953764915466,
0.015226930379867554,
0.03668062016367912,
0.019879106432199478,
-0.002323851455003023,
0.04315787926316261,
0.034605033695697784,
-0.03641222417354584,
-0.009715890511870384,
0.09519068151712418,
0.042800020426511765,
-0.04387360066175461,
-0.06219601631164551,
0.027519410476088524,
-0.05489567667245865,
0.013750758953392506,
-0.06119401007890701,
-0.048919420689344406,
0.041833799332380295,
-0.021256865933537483,
0.03313780948519707,
0.02658897638320923,
-0.0002664377389010042,
-0.07908699661493301,
0.023815562948584557,
0.015906862914562225,
0.08767562359571457,
-0.015155358240008354,
-0.006038882303982973,
-0.04612811654806137,
0.06577461212873459,
0.014815391972661018,
-0.06946057081222534,
0.008127888664603233,
0.008651258423924446,
0.057329125702381134,
0.03410403057932854,
-0.02562275528907776,
-0.053822100162506104,
0.029934963211417198,
-0.002134856767952442,
-0.01757091097533703,
-0.027913056313991547,
0.03925720974802971,
-0.029666569083929062,
-0.02072007581591606,
-0.02347559668123722,
0.012211962603032589,
-0.003164821770042181,
-0.020469574257731438,
0.05156758427619934,
0.04237058758735657,
0.039149850606918335,
0.010190054774284363,
0.038255203515291214,
-0.012650340795516968,
0.023046163842082024,
-0.008025003597140312,
0.02653529681265354,
-0.007837126962840557,
0.059046849608421326,
0.08660204708576202,
0.032887306064367294,
-0.01494064275175333,
-0.06595354527235031,
-0.005233698058873415,
-0.0006586855161003768,
0.026660548523068428,
0.03129483014345169,
0.04655754566192627,
0.010861041955649853,
0.03764684125781059,
-0.016989389434456825,
-0.0027063139714300632,
-0.0630548819899559,
-0.03344199061393738,
-0.04358731210231781,
-0.036251187324523926,
0.005493146367371082,
0.04730905219912529,
-0.010691058821976185,
0.03703847900032997,
-0.050637148320674896,
-0.03771841153502464,
0.027555197477340698,
-0.01855502463877201,
-0.00002428832885925658,
-0.0248175710439682,
-0.009456442669034004,
0.011889888904988766,
0.08459803462028503,
0.017034120857715607,
0.017633536830544472,
0.04373045638203621,
-0.03489132225513458,
0.05095922201871872,
0.0270541924983263,
-0.04763112589716911,
-0.014099672436714172,
-0.014180190861225128,
0.015951596200466156,
-0.07260973006486893,
-0.03492710739374161,
-0.011370992287993431,
-0.028342489153146744,
-0.08502746373414993,
-0.03950770944356918,
0.05346423760056496,
0.005636290181428194,
-0.09211308509111404,
-0.0007336123962886631,
-0.027913056313991547,
-0.05478832125663757,
-0.0010282874573022127,
0.04469667747616768,
-0.0649157464504242,
0.016300508752465248,
-0.058295346796512604,
-0.025569075718522072,
-0.01855502463877201,
-0.04938463866710663,
0.045483969151973724,
-0.002489361446350813,
-0.04609232768416405,
0.03344199061393738,
-0.03397877886891365,
0.028431953862309456,
0.028074093163013458,
-0.016819406300783157,
0.06190972775220871,
0.04433881863951683,
0.04956356808543205,
-0.012086711823940277,
-0.053822100162506104,
0.05571875348687172,
-0.012891896069049835,
0.0038671214133501053,
0.06344852596521378,
-0.028342489153146744,
0.007121407892554998,
-0.06412845849990845,
0.041976943612098694,
-0.015674253925681114,
0.0808047205209732,
-0.008879393339157104,
0.06684818863868713,
0.06863749027252197,
0.022920913994312286,
0.04290737956762314,
0.0113978311419487,
0.004790846724063158,
-0.005985203664749861,
-0.012784537859261036,
-0.021400010213255882,
-0.05274851992726326,
0.027376266196370125,
-0.01773194782435894,
0.07693983614444733,
0.01263244729489088,
0.03465871140360832,
-0.007855020463466644,
0.047130122780799866,
-0.031330615282058716,
-0.01709674671292305,
-0.035284966230392456,
-0.05392945557832718,
0.002379766898229718,
0.057042837142944336,
0.008320238441228867,
-0.02265251986682415,
0.04806055873632431,
-0.013428685255348682,
-0.05729333683848381,
0.0028740607667714357,
-0.04247794672846794,
-0.028736133128404617,
0.04423145949840546,
0.061122436076402664,
-0.04909835010766983,
-0.04058128967881203,
0.0030194411519914865,
-0.026356367394328117,
-0.02703629992902279,
-0.014860124327242374,
-0.04373045638203621,
-0.030203359201550484,
-0.005976256914436817,
-0.03465871140360832,
-0.01751723140478134,
-0.032314732670784,
-0.009545907378196716,
-0.0009136605658568442,
-0.037217408418655396,
0.00023903910187073052,
-0.00986798107624054,
-0.002343981061130762,
-0.0412612222135067,
-0.015808451920747757,
-0.062482304871082306,
0.02503228560090065,
-0.029380280524492264,
-0.043408382683992386,
-0.01829557679593563,
0.0002588891366031021,
-0.026767905801534653,
0.038183629512786865,
0.014618569053709507,
0.0022712908685207367,
-0.0448756068944931,
-0.0044821929186582565,
0.008892813697457314,
0.026875263080000877,
-0.02072007581591606,
0.02710787206888199,
-0.0011619257275015116,
-0.08695990592241287,
-0.012587714940309525,
-0.009179101325571537,
-0.031241152435541153,
0.07500739395618439,
0.06101508066058159,
-0.056649189442396164,
-0.07321809232234955,
-0.034980785101652145,
0.021364223212003708,
0.0065085734240710735,
-0.03982978314161301,
0.017463553696870804,
-0.0025609335862100124,
-0.036304865032434464,
-0.05260537564754486,
0.009375924244523048,
-0.030597005039453506,
-0.043408382683992386,
-0.051138151437044144,
0.04358731210231781,
-0.03002442792057991,
-0.07175087183713913,
-0.015808451920747757,
0.005783907603472471,
-0.009375924244523048,
-0.041690655052661896,
0.08552847057580948,
0.02503228560090065,
0.015522164292633533,
-0.06946057081222534,
0.005430520977824926,
0.05661340430378914,
0.06284016370773315,
0.01869816891849041,
-0.04344416782259941,
-0.009921659715473652,
0.07253815978765488,
-0.02428078092634678,
-0.0321715883910656,
0.002028617076575756,
-0.009581693448126316,
-0.023743990808725357,
-0.04852577671408653,
0.0056631299667060375,
0.01605895347893238,
-0.05206858739256859,
-0.03551757335662842,
-0.03671640530228615,
-0.019395995885133743,
0.023457704111933708,
0.0066785565577447414,
0.01584423892199993,
0.01270401943475008,
0.04201272875070572,
0.03768262639641762,
0.0025117278564721346,
0.0672418400645256,
0.07078465074300766,
0.009787462651729584,
-0.005819693207740784,
0.012050925754010677,
0.02420920878648758,
0.04305052012205124,
0.007403222378343344,
-0.005027928855270147,
-0.026249008253216743,
-0.014242815785109997,
0.02145368978381157,
-0.04144015163183212,
-0.008248666301369667,
-0.02802041359245777,
-0.008526007644832134,
0.018304523080587387,
0.010476342402398586,
0.013750758953392506,
0.0910395085811615,
0.03775419667363167,
-0.053822100162506104,
0.02213362231850624,
0.013536043465137482,
0.05983414128422737,
-0.047344837337732315,
-0.006119400728493929,
-0.0412612222135067,
-0.0005057564121671021,
-0.0053276363760232925,
-0.014958535321056843,
0.014546996913850307,
0.05074450373649597,
-0.09390238672494888,
0.00640568882226944,
-0.02576589770615101,
0.00138335139490664,
0.011907781474292278,
-0.05124551057815552,
0.032010551542043686,
-0.04115386679768562,
0.05267694965004921,
-0.03485553339123726,
-0.012686125934123993,
0.01930653117597103,
0.016962550580501556,
0.050171930342912674,
0.029326602816581726,
-0.058366917073726654,
0.056577619165182114,
-0.009358030743896961,
0.03410403057932854,
0.029684461653232574,
0.02064850553870201,
-0.0005736938328482211,
0.012712965719401836,
0.022187301889061928,
0.0025564602110534906,
0.009085163474082947,
-0.05847427621483803,
-0.05274851992726326,
0.018608704209327698,
0.025748005136847496,
0.011871995404362679,
-0.07636725902557373,
-0.0034980785567313433,
0.015423753298819065,
0.05954785272479057,
-0.019682282581925392,
0.01980753429234028,
0.01556689664721489,
0.0160142220556736,
-0.031187472864985466,
0.02637425996363163,
0.05754384025931358,
0.0545378178358078,
-0.01686413772404194,
0.03127693757414818,
-0.017901930958032608,
-0.01192567404359579,
0.011344152502715588,
0.011710958555340767,
-0.01400126051157713,
0.010368985123932362,
0.027734126895666122,
-0.00640568882226944,
0.06928163766860962,
-0.03381774201989174,
0.0029456326737999916,
-0.04172644019126892,
0.04952778294682503,
-0.020380109548568726,
-0.02929081581532955,
0.019718069583177567,
-0.015665307641029358,
-0.004871365148574114,
0.013321327045559883,
-0.0415475107729435,
-0.04076021909713745,
0.03925720974802971,
0.016050007194280624,
0.025390146300196648,
0.051138151437044144,
0.041690655052661896,
0.032976772636175156,
-0.023582953959703445,
-0.057185981422662735,
-0.011317312717437744,
0.02429867349565029,
-0.021865228191018105,
-0.0548241063952446,
0.04118965193629265,
0.04551975429058075,
0.004488902632147074,
-0.028575096279382706,
-0.0007056546164676547,
0.010127429850399494,
0.0061059813015162945,
-0.02585536241531372,
-0.022223087027668953,
0.048990994691848755,
-0.018358202651143074,
-0.012748751789331436,
0.03435453027486801,
0.022473588585853577,
-0.00009778236562851816,
-0.03546389564871788,
-0.017812466248869896,
-0.025962721556425095,
-0.010261626914143562,
0.046378616243600845,
-0.022258874028921127,
-0.036537475883960724,
-0.009375924244523048,
0.021793656051158905,
0.05067293345928192,
0.013804437592625618,
0.002290302189067006,
0.02018328756093979,
0.03011389449238777,
-0.05672076344490051,
-0.011576761491596699,
-0.05571875348687172,
-0.012882948853075504,
-0.03469449654221535,
-0.01943178102374077,
0.02614165097475052,
-0.01210460439324379,
-0.008275505155324936,
-0.0007537420024164021,
-0.04233480244874954,
0.02206205017864704,
0.029040314257144928,
0.04584182798862457,
0.06040671840310097,
-0.0369311198592186,
-0.025372251868247986,
0.05518196523189545,
0.03025703690946102,
-0.01841188222169876,
0.0013867063680663705,
0.04959935322403908,
-0.040116071701049805,
-0.0669555515050888,
-0.03725319355726242,
0.0020711130928248167,
0.051209721714258194,
0.028521418571472168,
-0.018125593662261963,
0.022026265040040016,
-0.004656649194657803,
-0.005479726474732161,
-0.022670412436127663,
-0.013509203679859638,
0.03786155581474304,
0.04186958447098732,
0.007698456756770611,
0.030901184305548668,
0.03746791183948517,
-0.08960806578397751,
-0.01758880354464054,
0.01490485668182373,
0.051818083971738815,
-0.051603369414806366,
-0.04219165816903114,
0.025533288717269897,
-0.037575267255306244,
-0.048919420689344406,
-0.018519239500164986,
0.010118482634425163,
-0.014815391972661018,
0.002077822806313634,
-0.01170201227068901,
-0.01206881832331419,
-0.013518149964511395,
0.01013637613505125,
0.05689969286322594,
0.03800470009446144,
0.07450638711452484,
-0.02338613197207451,
0.044517748057842255,
-0.04351573809981346,
0.07203716039657593
] |
18,172 | jsondiff | emit_set_diff | null | def emit_set_diff(self, a, b, s, added, removed):
if s == 0.0 or len(removed) == len(a):
return [a, b]
else:
d = {}
if added:
d[add] = added
if removed:
d[discard] = removed
return d
| (self, a, b, s, added, removed) | [
-0.027166150510311127,
-0.013386349193751812,
-0.009201438166201115,
0.008258044719696045,
-0.04356599226593971,
-0.016972137615084648,
-0.024876968935132027,
0.04975393787026405,
0.04428136348724365,
-0.013207506388425827,
-0.02087089978158474,
-0.0020768067333847284,
0.0028726549353450537,
-0.012983953580260277,
-0.01335058081895113,
0.0015603994252160192,
-0.02405429445207119,
0.033676013350486755,
0.003672974416986108,
-0.06012679263949394,
0.031476251780986786,
-0.01709732785820961,
0.018197208642959595,
0.0961456373333931,
-0.052973099052906036,
-0.003932295832782984,
0.004433054476976395,
-0.05626380071043968,
-0.0000403443154937122,
0.04013222083449364,
0.02292758785188198,
-0.0465705431997776,
-0.00013427146768663079,
-0.02916918508708477,
-0.007998723536729813,
-0.002157285576686263,
0.025771180167794228,
0.06284520030021667,
-0.004314571153372526,
-0.01843864470720291,
-0.01759808510541916,
-0.035965193063020706,
0.04825166240334511,
-0.014593535102903843,
0.055763039737939835,
0.02809613198041916,
0.003889820771291852,
0.07461301982402802,
-0.006415968760848045,
0.03312160074710846,
0.05848144367337227,
0.010390739887952805,
0.013448943383991718,
0.05415346100926399,
0.020137647166848183,
-0.023571420460939407,
0.03913070261478424,
0.016659162938594818,
-0.0031722160056233406,
0.024394094944000244,
0.014173255302011967,
0.03795034438371658,
0.0041580842807888985,
-0.023982757702469826,
-0.03047473356127739,
-0.04782244190573692,
-0.01746395416557789,
-0.07260999083518982,
-0.03217373788356781,
0.05590611323714256,
0.0015536928549408913,
-0.001653173821978271,
-0.004218443762511015,
-0.01970842480659485,
0.02961629070341587,
-0.0019180841045454144,
0.07318228483200073,
0.01852806657552719,
0.017240401357412338,
-0.05343808978796005,
0.0010099003557115793,
-0.021961839869618416,
-0.027702677994966507,
0.03410523384809494,
0.0375211238861084,
0.038844555616378784,
0.02262355573475361,
0.012438484467566013,
0.0034047109074890614,
-0.04986124485731125,
-0.04406675323843956,
0.0018644313095137477,
0.002734052250161767,
0.03653749078512192,
0.0004937725025229156,
0.04875241965055466,
-0.08870580047369003,
-0.018563834950327873,
0.03258507326245308,
0.0026245112530887127,
0.06964120268821716,
0.014110660180449486,
-0.03998914733529091,
0.008012136444449425,
0.03263872489333153,
-0.051363520324230194,
0.018742676824331284,
-0.07547146826982498,
-0.012787227518856525,
0.012474252842366695,
-0.003022435586899519,
0.04374483600258827,
-0.025234654545783997,
0.03145836666226387,
-0.004587305709719658,
-0.006263952702283859,
0.007757286541163921,
-0.05447537451982498,
-0.01861748658120632,
-0.009469701908528805,
-0.03916647285223007,
0.007855650037527084,
0.015916967764496803,
0.04367329925298691,
-0.011168704368174076,
-0.03988184034824371,
0.0611998476088047,
0.022820282727479935,
0.03769996389746666,
-0.005025469698011875,
0.029365912079811096,
-0.040632978081703186,
-0.02355353534221649,
0.08126595616340637,
0.015443035401403904,
-0.0012653095182031393,
-0.011410141363739967,
0.05325924605131149,
0.05959026515483856,
0.046463239938020706,
0.0041469065472483635,
0.0014217966236174107,
0.01260838471353054,
0.06931929290294647,
-0.049575094133615494,
-0.002194172004237771,
-0.020763594657182693,
0.030403196811676025,
-0.018152497708797455,
0.05855298042297363,
-0.012375889346003532,
0.016229942440986633,
-0.04102643206715584,
-0.027666909620165825,
-0.02602156065404415,
-0.010641119442880154,
-0.017615970224142075,
-0.005825789179652929,
-0.014727666042745113,
0.028596889227628708,
0.06831777095794678,
-0.008740919642150402,
0.05916104465723038,
0.006232655607163906,
0.005307146348059177,
-0.00040658688521943986,
0.05465421825647354,
0.04639170318841934,
-0.03347928449511528,
0.00454483088105917,
0.013493654318153858,
0.051005832850933075,
-0.028167668730020523,
-0.0135115385055542,
0.011678404174745083,
-0.05318770930171013,
0.02755960449576378,
-0.005852615460753441,
-0.004801916889846325,
-0.02966994419693947,
0.05551266297698021,
-0.012474252842366695,
-0.010158244520425797,
0.03410523384809494,
0.023589303717017174,
-0.028668425977230072,
-0.01287664845585823,
0.009755849838256836,
-0.013493654318153858,
0.0036953298840671778,
-0.007345948833972216,
-0.003505309810861945,
-0.01795577071607113,
0.047643598169088364,
-0.011588983237743378,
0.035875771194696426,
-0.05980487912893295,
-0.025324074551463127,
-0.012483195401728153,
0.013887107372283936,
-0.07976368069648743,
-0.03330044448375702,
-0.014262676239013672,
0.001275369431823492,
0.03127952292561531,
-0.005870499648153782,
0.01997668854892254,
-0.024555053561925888,
-0.00033113776589743793,
0.00036103796446695924,
0.020495330914855003,
-0.0256281066685915,
0.048895493149757385,
-0.04320830851793289,
-0.0006175649468787014,
-0.026504434645175934,
0.03630499541759491,
0.05898220092058182,
-0.004640958737581968,
-0.06434747576713562,
0.0201555322855711,
-0.0695696696639061,
0.0483589693903923,
0.07210922986268997,
0.009174611419439316,
0.021782996132969856,
0.011311777867376804,
-0.02527042292058468,
-0.04295792803168297,
-0.0041983239352703094,
0.025145232677459717,
0.004363752901554108,
0.01566658914089203,
-0.03827226161956787,
0.02135377563536167,
0.012867705896496773,
-0.002038802718743682,
-0.057372622191905975,
0.06542052328586578,
-0.013431059196591377,
-0.05408192425966263,
0.027434414252638817,
0.05554842948913574,
0.08334052562713623,
-0.016453495249152184,
-0.03371177986264229,
0.038129184395074844,
0.014074891805648804,
-0.025020042434334755,
0.03406946361064911,
0.007337006740272045,
-0.004757205955684185,
-0.0018644313095137477,
0.014334212988615036,
0.04410251975059509,
-0.018197208642959595,
-0.02337469346821308,
0.01606898382306099,
0.01584543101489544,
-0.04066874831914902,
0.03047473356127739,
0.02916918508708477,
-0.029383795335888863,
0.007037445902824402,
-0.019314972683787346,
-0.038343798369169235,
0.043279845267534256,
0.037986110895872116,
-0.08076520264148712,
0.06066332012414932,
-0.012232815846800804,
-0.031297408044338226,
-0.002877125982195139,
-0.024876968935132027,
-0.030081281438469887,
0.012626268900930882,
0.027809983119368553,
-0.027613256126642227,
-0.00884375348687172,
-0.02854323759675026,
0.021246470510959625,
-0.0012686628615483642,
0.006415968760848045,
0.04492519423365593,
-0.0004191617190372199,
0.056478410959243774,
0.0048063877038657665,
-0.033228907734155655,
-0.02688000351190567,
-0.07461301982402802,
0.011436967179179192,
-0.019314972683787346,
-0.0066439928486943245,
-0.061235617846250534,
0.0158007200807333,
0.040239524096250534,
0.015398325398564339,
-0.0466778501868248,
0.03183393552899361,
0.05372423678636551,
-0.04141988605260849,
-0.019762078300118446,
0.04560479521751404,
0.022498365491628647,
-0.04442443698644638,
-0.05257964879274368,
0.058910664170980453,
-0.032549306750297546,
0.0347311832010746,
-0.06059178337454796,
-0.03365812823176384,
0.04163449630141258,
-0.013395290821790695,
0.017928944900631905,
0.011660519987344742,
0.030528387054800987,
-0.05987641587853432,
0.027720563113689423,
0.006608224473893642,
0.07228807359933853,
0.008749861270189285,
-0.03068934567272663,
-0.0704638808965683,
0.027523836120963097,
0.0020823953673243523,
-0.04939625412225723,
-0.006362316198647022,
-0.019762078300118446,
0.07432687282562256,
0.024841200560331345,
-0.04953932762145996,
-0.03092183917760849,
0.0158007200807333,
0.026540203019976616,
-0.002322714775800705,
-0.013904991559684277,
0.04513980448246002,
-0.0329427570104599,
0.011115050874650478,
-0.022319523617625237,
0.018832098692655563,
-0.002134930342435837,
-0.017392417415976524,
0.020477447658777237,
0.01615840569138527,
0.039238009601831436,
-0.05536958575248718,
0.011678404174745083,
-0.010730540379881859,
0.014504113234579563,
0.019440162926912308,
0.055584199726581573,
-0.02738076262176037,
0.02813190035521984,
0.10308472067117691,
0.059447191655635834,
-0.02575329691171646,
-0.020531101152300835,
0.01276934240013361,
-0.014611419290304184,
0.004971817135810852,
0.03312160074710846,
0.04792974516749382,
-0.0031319763511419296,
0.002903952496126294,
-0.03228104114532471,
-0.015908025205135345,
-0.05290156230330467,
-0.05250810831785202,
-0.09700408577919006,
-0.0256281066685915,
0.01049804501235485,
0.05250810831785202,
-0.00866044033318758,
0.01234012097120285,
-0.010936209000647068,
-0.027255572378635406,
0.02185453288257122,
-0.026361361145973206,
-0.004122315905988216,
-0.04252870753407478,
0.022051259875297546,
-0.040632978081703186,
0.08605892956256866,
0.01879633031785488,
0.004439760930836201,
0.04252870753407478,
-0.058052223175764084,
0.08970731496810913,
0.06456208229064941,
-0.004180439747869968,
-0.0648839995265007,
0.03723497316241264,
0.03837956488132477,
-0.058231063187122345,
-0.069676972925663,
-0.022104913368821144,
-0.0251810010522604,
-0.07100040465593338,
-0.022909702733159065,
0.08097980916500092,
-0.016274653375148773,
-0.07278883457183838,
0.007676807232201099,
0.004716966766864061,
-0.0134847117587924,
-0.01737453229725361,
0.022641438990831375,
-0.03482060134410858,
0.013127027079463005,
-0.07983522117137909,
-0.059983719140291214,
0.0033577647991478443,
-0.06595705449581146,
0.0027586431242525578,
-0.02072782628238201,
-0.03669844567775726,
-0.01397652830928564,
0.005557525437325239,
-0.0013390820240601897,
0.04353022575378418,
-0.0374138168990612,
0.009925750084221363,
-0.005512814968824387,
0.051685433834791183,
-0.03181605041027069,
-0.04446020349860191,
0.04074028506875038,
-0.013949702493846416,
0.02509157918393612,
0.03916647285223007,
-0.05097006633877754,
0.04707130417227745,
-0.05994795262813568,
0.015997447073459625,
-0.018724793568253517,
0.05343808978796005,
-0.0006930140662007034,
0.07661605626344681,
0.09743330627679825,
0.0018677846528589725,
-0.01081101968884468,
-0.018742676824331284,
-0.017213575541973114,
0.001116646802984178,
-0.04127681255340576,
-0.0394168496131897,
-0.006111936643719673,
0.0483589693903923,
0.00228359317407012,
0.0750422477722168,
-0.00464542955160141,
-0.010614292696118355,
-0.042886391282081604,
0.06645781546831131,
-0.027076730504631996,
-0.0233389250934124,
-0.02979513257741928,
-0.08212440460920334,
0.022462597116827965,
0.051363520324230194,
0.00440846337005496,
-0.04059721156954765,
0.07532839477062225,
-0.03047473356127739,
0.0020052697509527206,
0.02813190035521984,
-0.051542360335588455,
-0.044352900236845016,
0.054368071258068085,
0.045533258467912674,
-0.08226747810840607,
-0.024358326569199562,
-0.00627289479598403,
-0.03905916586518288,
-0.04614132270216942,
-0.03734228014945984,
-0.01476343534886837,
-0.04206371679902077,
0.013118085451424122,
0.0072386437095701694,
0.01346682757139206,
-0.04124104231595993,
-0.029097648337483406,
0.0033108186908066273,
-0.025198886170983315,
0.019046708941459656,
-0.025824833661317825,
0.007395130582153797,
0.011633694171905518,
0.001688942313194275,
-0.08849118649959564,
-0.000720399315468967,
-0.009523354470729828,
-0.019851500168442726,
-0.008307226933538914,
0.02069205790758133,
-0.024000640958547592,
0.0557272732257843,
-0.00540550984442234,
-0.0026133337523788214,
-0.04453174024820328,
-0.009746907278895378,
0.011320719495415688,
0.03110068291425705,
-0.011383314616978168,
-0.0030179645400494337,
-0.006590340286493301,
-0.05361693352460861,
-0.03609038516879082,
-0.01979784667491913,
-0.05107736960053444,
0.06356056779623032,
0.08355513960123062,
-0.0066797612234950066,
-0.05926835164427757,
-0.052794259041547775,
-0.011866188608109951,
0.00442187674343586,
-0.031476251780986786,
0.00819097924977541,
0.019261319190263748,
0.0012630739947780967,
-0.03303217887878418,
-0.011115050874650478,
-0.022730860859155655,
-0.05415346100926399,
-0.04252870753407478,
0.017615970224142075,
-0.053652700036764145,
-0.07754603773355484,
-0.0020198007114231586,
-0.024805432185530663,
-0.009943634271621704,
-0.02391122095286846,
0.07933446019887924,
0.015201598405838013,
0.0025596809573471546,
-0.03469541296362877,
0.014978045597672462,
0.08198132365942001,
0.05379577353596687,
0.07697374373674393,
-0.006398084573447704,
-0.025341959670186043,
0.09285493940114975,
-0.02958052232861519,
0.006943553686141968,
0.013207506388425827,
-0.0059554497711360455,
-0.068568155169487,
-0.03219161927700043,
0.021711459383368492,
0.029813017696142197,
-0.022784514352679253,
-0.07518532127141953,
-0.03514251857995987,
0.016900600865483284,
0.002229940379038453,
0.02822132036089897,
0.024304673075675964,
-0.02723768725991249,
0.05386731028556824,
0.021693576127290726,
-0.03680575266480446,
0.032102201133966446,
0.0659928247332573,
-0.02450140006840229,
-0.010596408508718014,
0.013967586681246758,
-0.025020042434334755,
0.04671361669898033,
-0.0447821207344532,
0.006299721542745829,
-0.04975393787026405,
0.008472655899822712,
-0.0042631542310118675,
-0.04270755127072334,
-0.027613256126642227,
0.012277526780962944,
-0.0361798033118248,
0.03065357729792595,
0.03873724862933159,
0.02620040252804756,
0.057014938443899155,
0.02661173976957798,
-0.024251021444797516,
-0.008553135208785534,
-0.01402123924344778,
0.09678947180509567,
-0.012787227518856525,
-0.033389862626791,
0.017285112291574478,
-0.011454851366579533,
-0.020173415541648865,
-0.020209183916449547,
0.047679368406534195,
0.043959446251392365,
-0.06892583519220352,
0.006438324227929115,
-0.00819097924977541,
-0.03698459640145302,
0.03077876567840576,
-0.02984878607094288,
0.021532617509365082,
-0.01970842480659485,
0.02949110046029091,
-0.026450781151652336,
-0.030939724296331406,
-0.015085350722074509,
-0.017079442739486694,
0.04918164387345314,
0.029365912079811096,
-0.035518087446689606,
0.06155753135681152,
-0.02593213878571987,
0.03317525237798691,
0.029097648337483406,
-0.03474906459450722,
-0.022373177111148834,
0.011159761808812618,
-0.015621878206729889,
-0.0116426357999444,
0.006746827159076929,
-0.037628427147865295,
-0.0025261479895561934,
0.018563834950327873,
0.036144036799669266,
-0.01234012097120285,
-0.03698459640145302,
-0.028561120852828026,
0.0026513375341892242,
0.06238020583987236,
0.006277366075664759,
0.03641229867935181,
0.02553868480026722,
0.03213796764612198,
-0.004578363616019487,
-0.000709780550096184,
0.03279968351125717,
0.04682092368602753,
-0.022909702733159065,
0.01861748658120632,
0.0027564074844121933,
-0.03591154143214226,
0.029687827453017235,
-0.012080799788236618,
-0.004296686965972185,
0.02235529199242592,
0.012644153088331223,
0.0007897007162682712,
0.029383795335888863,
-0.007430898956954479,
-0.041312579065561295,
-0.02006611041724682,
0.034212540835142136,
-0.0021092218812555075,
0.002269062213599682,
0.011052456684410572,
-0.02804247848689556,
0.02881150133907795,
0.012071858160197735,
0.001253014081157744,
-0.03482060134410858,
0.03237046301364899,
0.02221221849322319,
0.018885750323534012,
0.027076730504631996,
0.049110107123851776,
0.022999124601483345,
-0.026719044893980026,
-0.043458689004182816,
-0.03047473356127739,
0.013538365252315998,
-0.05089852958917618,
-0.04127681255340576,
0.01956535130739212,
0.031565673649311066,
-0.00792271550744772,
-0.05426076427102089,
-0.015505630522966385,
0.03380120173096657,
-0.008553135208785534,
-0.04249294102191925,
-0.020709943026304245,
0.030939724296331406,
-0.025699643418192863,
-0.017392417415976524,
0.03262084349989891,
0.006898843217641115,
0.03567904606461525,
-0.07396919280290604,
0.004721437580883503,
-0.00879904255270958,
-0.01498698815703392,
0.07904831320047379,
-0.009881039150059223,
-0.062308669090270996,
0.007833294570446014,
0.017937885597348213,
0.03308583050966263,
0.026629623025655746,
0.011365430429577827,
-0.016703873872756958,
0.014012296684086323,
-0.05182851105928421,
-0.02090667001903057,
-0.013931818306446075,
0.014593535102903843,
-0.033389862626791,
-0.04878818988800049,
0.00841453205794096,
-0.012760400772094727,
0.01559505145996809,
-0.0032191621139645576,
-0.08305437862873077,
0.018778445199131966,
0.0041647907346487045,
0.030367428436875343,
0.0704638808965683,
-0.05994795262813568,
0.005427864845842123,
0.05358116328716278,
0.050111621618270874,
-0.026110980659723282,
-0.004640958737581968,
0.04217102378606796,
-0.07776065170764923,
-0.062487512826919556,
-0.04510403797030449,
-0.009505470283329487,
0.06849661469459534,
0.0014832735760137439,
0.023303156718611717,
0.01184830442070961,
-0.0005342914955690503,
-0.0028011181857436895,
-0.03119010291993618,
0.024626590311527252,
0.03186970576643944,
0.031386829912662506,
-0.007421956863254309,
0.020620521157979965,
0.02208702825009823,
-0.10487314313650131,
-0.015487746335566044,
-0.007573972921818495,
0.0732538178563118,
-0.0648839995265007,
-0.046105556190013885,
0.03074299730360508,
-0.03451656922698021,
-0.046963997185230255,
0.013645670376718044,
0.007757286541163921,
-0.007131338119506836,
0.0013960880460217595,
-0.0037758087273687124,
0.02346411533653736,
-0.013967586681246758,
-0.00163528963457793,
0.046248629689216614,
0.046427469700574875,
0.047464754432439804,
-0.008968942798674107,
0.05150659382343292,
-0.03033166006207466,
0.07153693586587906
] |
18,173 | jsondiff | emit_value_diff | null | def emit_value_diff(self, a, b, s):
if s == 1.0:
return {}
else:
return [a, b]
| (self, a, b, s) | [
0.02098963037133217,
-0.06807542592287064,
0.03220640495419502,
-0.008254101499915123,
-0.025409426540136337,
-0.0002668826200533658,
-0.04659275338053703,
0.03600989282131195,
0.013752433471381664,
-0.0006328144227154553,
0.019017450511455536,
0.048741020262241364,
0.008984864689409733,
-0.034900542348623276,
-0.034935757517814636,
-0.0003367673489265144,
-0.013822868466377258,
0.010503618977963924,
0.013523519970476627,
0.010450792498886585,
0.0029956884682178497,
-0.01686037704348564,
0.007307630963623524,
0.07022369652986526,
-0.03600989282131195,
-0.051523201167583466,
0.004785177763551474,
-0.05458712577819824,
-0.010794163681566715,
0.024388117715716362,
-0.027117474004626274,
-0.08121155202388763,
0.009218180552124977,
-0.0037132450379431248,
0.014157434925436974,
-0.023630941286683083,
-0.014201456680893898,
0.034231409430503845,
-0.10290553420782089,
-0.005502734333276749,
0.006607683375477791,
-0.0388801209628582,
-0.026518777012825012,
0.017186138778924942,
-0.01403417345136404,
0.021148107945919037,
-0.008179264143109322,
0.02889595739543438,
-0.018542014062404633,
-0.02093680389225483,
0.06310975551605225,
0.007466109935194254,
-0.009526333771646023,
0.048001453280448914,
0.016085593029856682,
0.014712110161781311,
0.030604006722569466,
0.032030314207077026,
-0.009658399038016796,
0.04676884040236473,
0.00896285381168127,
0.035023804754018784,
0.007642197422683239,
-0.009086115285754204,
-0.00270954635925591,
-0.02440572716295719,
0.01119036041200161,
-0.023560507223010063,
-0.026870952919125557,
0.060855839401483536,
-0.011075903661549091,
-0.01942245103418827,
-0.0229618102312088,
0.01579504832625389,
0.008667906746268272,
0.013162540271878242,
0.027082256972789764,
0.06286323815584183,
0.016649072989821434,
-0.06187714636325836,
-0.014976241625845432,
0.014298304915428162,
0.003000090830028057,
-0.010952642187476158,
-0.014870588667690754,
0.029019219800829887,
-0.015381243079900742,
0.046381447464227676,
0.03310444951057434,
0.04683927446603775,
-0.0708928257226944,
-0.030427919700741768,
0.008113231509923935,
0.03969012200832367,
0.0013624769635498524,
0.06004583463072777,
-0.028402913361787796,
-0.05194581300020218,
0.03451314941048622,
0.02512768656015396,
0.09100201725959778,
0.006347954273223877,
-0.0562775656580925,
0.004719145130366087,
0.025039641186594963,
-0.052931901067495346,
0.015346025116741657,
-0.06388454139232635,
0.04275404289364815,
0.02518051117658615,
-0.02150028385221958,
0.01884136162698269,
-0.01940484158694744,
-0.015381243079900742,
-0.058672353625297546,
0.02532138116657734,
0.015645373612642288,
-0.020778324455022812,
0.007325239945203066,
0.01660505123436451,
0.010547640733420849,
-0.00270954635925591,
0.026342689990997314,
0.06075018644332886,
0.0044308016076684,
0.01546928659081459,
0.029794003814458847,
-0.02590247057378292,
0.00935024581849575,
0.0434936098754406,
0.07128021866083145,
-0.021834850311279297,
-0.0040213982574641705,
0.05839061364531517,
-0.015390046872198582,
0.015231568366289139,
-0.043704915791749954,
0.022609634324908257,
0.07039978355169296,
0.02014441043138504,
0.011736231856048107,
-0.004912841133773327,
0.00404781149700284,
0.005463114473968744,
0.0006030997028574347,
0.017080487683415413,
0.01938723400235176,
0.1110759899020195,
-0.04972710832953453,
0.060151487588882446,
-0.017423857003450394,
0.06694846600294113,
0.014685696922242641,
-0.03262901306152344,
-0.009737638756632805,
-0.04483187571167946,
0.017732011154294014,
-0.04197926074266434,
0.014395153149962425,
0.002258322201669216,
0.0708928257226944,
-0.04666318744421005,
0.0855080857872963,
-0.010891011916100979,
-0.001083488343283534,
0.03410814702510834,
0.013065692037343979,
0.08050720393657684,
-0.010644488967955112,
-0.012097210623323917,
-0.008051601238548756,
0.013717216439545155,
-0.034988585859537125,
0.009288615547120571,
0.02875508740544319,
0.00810442678630352,
0.009271007031202316,
0.037858810275793076,
-0.0010636785300448537,
-0.01222047209739685,
0.00940307229757309,
-0.029741177335381508,
-0.0708928257226944,
0.04028882086277008,
0.013990151695907116,
-0.00832013413310051,
0.006347954273223877,
-0.009182962588965893,
-0.003015498397871852,
0.0035063421819359064,
-0.01007220521569252,
0.013981346972286701,
-0.009235789068043232,
0.02308507077395916,
0.0074264900758862495,
0.018225055187940598,
-0.02676529996097088,
-0.030163787305355072,
-0.0030881345737725496,
0.010714923962950706,
-0.07642197608947754,
-0.07684458047151566,
-0.053636252880096436,
0.0035393587313592434,
0.024176813662052155,
0.0008094522054307163,
0.036344461143016815,
0.0023353605065494776,
-0.03375597298145294,
-0.035763371735811234,
-0.03167814016342163,
-0.017749620601534843,
-0.018330708146095276,
-0.005128548480570316,
-0.00468392763286829,
-0.037823595106601715,
0.04416274279356003,
0.012282103300094604,
-0.0375770702958107,
-0.03733054921030998,
0.06370845437049866,
-0.08431069552898407,
0.07557675242424011,
0.02820921689271927,
0.03440749645233154,
0.05493929982185364,
0.0009404172888025641,
-0.02604334056377411,
-0.04782536253333092,
0.013074496760964394,
0.029212916269898415,
0.012431777082383633,
0.03454836830496788,
-0.03919707611203194,
-0.01406058669090271,
0.021112890914082527,
0.045113615691661835,
-0.02819160744547844,
0.005652408581227064,
-0.011973950080573559,
-0.050044067203998566,
0.023630941286683083,
0.020496584475040436,
0.060116272419691086,
0.0033060426358133554,
-0.072548046708107,
0.04902276024222374,
0.024176813662052155,
-0.06370845437049866,
0.040711428970098495,
-0.005172570236027241,
-0.0014208060456439853,
0.030850529670715332,
-0.008342145010828972,
0.04673362150788307,
-0.0520162470638752,
0.021465064957737923,
0.03743620216846466,
0.05603104084730148,
-0.03410814702510834,
0.01629689708352089,
0.0004322397871874273,
-0.06060931459069252,
0.004384578671306372,
-0.0520162470638752,
-0.038598380982875824,
-0.030815312638878822,
0.050924502313137054,
-0.015751026570796967,
0.114809051156044,
-0.03771794214844704,
-0.08170460164546967,
-0.06265193223953247,
-0.03181901201605797,
0.003140960820019245,
0.033474233001470566,
0.09839769452810287,
-0.05631278082728386,
0.044233180582523346,
-0.01007220521569252,
0.016992444172501564,
0.0019292585784569383,
-0.010979055427014828,
0.027205517515540123,
0.004444008227437735,
0.040817081928253174,
0.02389507368206978,
-0.06434237211942673,
0.013814063742756844,
-0.062440626323223114,
0.011745035648345947,
-0.008205677382647991,
-0.016428964212536812,
-0.021183324977755547,
0.022574417293071747,
0.009226985275745392,
0.047191448509693146,
-0.0446205735206604,
0.03764750808477402,
0.006722140125930309,
-0.027592910453677177,
-0.03528793528676033,
0.060186706483364105,
0.04676884040236473,
-0.03895055502653122,
-0.04972710832953453,
0.03410814702510834,
-0.027909867465496063,
0.016367333009839058,
-0.03268183767795563,
-0.06321541219949722,
0.054516687989234924,
0.014148630201816559,
-0.0007879915647208691,
0.006642900872975588,
0.02155311033129692,
-0.04962145537137985,
0.025691166520118713,
0.009226985275745392,
0.05979931354522705,
-0.012810365296900272,
-0.02385985665023327,
-0.01612081006169319,
0.029705960303544998,
0.005898931063711643,
-0.034988585859537125,
-0.019580930471420288,
-0.015213959850370884,
0.05765104666352272,
0.016728311777114868,
-0.04599405452609062,
-0.04127490893006325,
0.058742787688970566,
0.006039801053702831,
0.018401144072413445,
-0.00039757255581207573,
0.015751026570796967,
-0.023560507223010063,
-0.029265742748975754,
-0.03768272325396538,
0.0016321110306307673,
-0.050889287143945694,
-0.013514715246856213,
0.035710543394088745,
0.05289668217301369,
0.026289863511919975,
0.0023133493959903717,
0.0011819873470813036,
0.05603104084730148,
0.018277881667017937,
-0.02653638646006584,
0.050889287143945694,
0.02530377358198166,
0.06881499290466309,
0.08586025983095169,
0.058848440647125244,
-0.0187004916369915,
-0.03993664309382439,
-0.015011458657681942,
0.01039796695113182,
0.018982231616973877,
0.06511715799570084,
0.016578637063503265,
0.008377362973988056,
0.02944182977080345,
-0.024828337132930756,
-0.012396560050547123,
-0.014580044895410538,
-0.026923777535557747,
-0.03099139966070652,
-0.04983276128768921,
0.007290022447705269,
0.014958633109927177,
-0.05307277292013168,
0.004448410589247942,
-0.005339853465557098,
-0.002246216172352433,
0.014483196660876274,
-0.013409063220024109,
-0.03095618262887001,
-0.014298304915428162,
-0.012035580351948738,
-0.07099848240613937,
0.10248292237520218,
0.016446571797132492,
0.016596246510744095,
0.045007962733507156,
-0.06659629195928574,
0.03516467288136482,
0.045853182673454285,
0.0030815312638878822,
-0.025409426540136337,
0.0036406090948730707,
0.025022033601999283,
-0.03585141524672508,
-0.033579885959625244,
0.026835734024643898,
-0.027751389890909195,
-0.0803663358092308,
-0.0133298235014081,
0.039161860942840576,
0.009640790522098541,
-0.09276289492845535,
-0.013479498215019703,
-0.041380561888217926,
-0.06603281199932098,
0.01954571157693863,
0.021465064957737923,
-0.05064276233315468,
0.02098963037133217,
-0.05039624124765396,
-0.062264539301395416,
-0.03954925015568733,
-0.05779191479086876,
0.002588486298918724,
0.009209375828504562,
-0.05747495964169502,
0.022715287283062935,
-0.055185820907354355,
0.009922530502080917,
0.025092467665672302,
-0.04257795587182045,
0.04342317581176758,
0.03690794110298157,
0.07494284212589264,
-0.011824275366961956,
-0.030128570273518562,
0.03303401544690132,
0.013805259950459003,
0.03232966363430023,
0.02452898770570755,
-0.03475967049598694,
-0.023190723732113838,
-0.08311329782009125,
0.03747142106294632,
-0.01882375404238701,
0.020707890391349792,
-0.020549410954117775,
0.06120801344513893,
0.06004583463072777,
0.017010051757097244,
0.03169574961066246,
0.01256384328007698,
0.03726011514663696,
-0.013232975266873837,
-0.0564536526799202,
-0.005027297884225845,
-0.04405708983540535,
-0.02537420764565468,
-0.052931901067495346,
0.036414895206689835,
-0.027117474004626274,
0.017300596460700035,
-0.014580044895410538,
0.06328584998846054,
-0.01705407351255417,
-0.03662620112299919,
-0.03328053653240204,
-0.012871995568275452,
-0.013831673189997673,
0.040711428970098495,
0.021887674927711487,
-0.04553622752428055,
0.022521590813994408,
-0.03410814702510834,
-0.0446205735206604,
0.038598380982875824,
-0.051593635231256485,
-0.030656833201646805,
0.030146179720759392,
0.030850529670715332,
-0.03835185617208481,
-0.013541128486394882,
0.0022098980844020844,
-0.010723728686571121,
-0.02511007711291313,
-0.039302729070186615,
-0.020478975027799606,
-0.024757901206612587,
-0.02669486403465271,
-0.05265016108751297,
-0.008549047634005547,
-0.022486373782157898,
0.0011555742239579558,
0.02227506786584854,
-0.012009167112410069,
0.008839592337608337,
-0.052227552980184555,
0.0028790305368602276,
-0.010530032217502594,
-0.032822709530591965,
-0.015161133371293545,
0.027240736410021782,
-0.03402010351419449,
-0.06899107992649078,
-0.01792570762336254,
0.04690970852971077,
-0.017212552949786186,
0.016737116500735283,
0.029723569750785828,
-0.008659102953970432,
-0.0043625677935779095,
-0.050114501267671585,
-0.026342689990997314,
0.023349201306700706,
-0.02007397450506687,
0.022151807323098183,
-0.023613333702087402,
-0.08212720602750778,
0.0000012209192163936677,
-0.013365041464567184,
-0.011058295145630836,
0.023454854264855385,
0.08564896136522293,
-0.045148834586143494,
-0.058108873665332794,
-0.013822868466377258,
-0.020672671496868134,
-0.050924502313137054,
-0.06761759519577026,
-0.0031497650779783726,
0.005718441680073738,
-0.030480746179819107,
-0.03410814702510834,
0.0008468708256259561,
-0.029934873804450035,
-0.05927105247974396,
-0.04543057456612587,
0.025479860603809357,
-0.04204969480633736,
-0.06335628032684326,
-0.019915495067834854,
-0.022081371396780014,
0.028543783351778984,
-0.047297101467847824,
0.019175928086042404,
0.01655222475528717,
0.02079593390226364,
-0.10720206797122955,
0.008689917623996735,
0.03821098804473877,
0.03298118710517883,
0.03402010351419449,
-0.019352015107870102,
0.026835734024643898,
0.05930626764893532,
-0.0034006896894425154,
0.043634481728076935,
0.012827973812818527,
-0.031290747225284576,
-0.02162354439496994,
-0.05698191374540329,
0.0477549284696579,
0.01515232864767313,
-0.045148834586143494,
-0.010961446911096573,
-0.024722684174776077,
0.008733939379453659,
0.0036450112238526344,
-0.0011698813177645206,
0.02884313277900219,
-0.0027029430493712425,
0.07973241806030273,
0.004067621193826199,
-0.06377889215946198,
0.05067798122763634,
0.06321541219949722,
0.010098617523908615,
-0.012643082067370415,
0.01185949333012104,
-0.00019782329036388546,
0.00832013413310051,
-0.025673557072877884,
-0.00879997294396162,
-0.018489187583327293,
0.01441276166588068,
-0.0018280083313584328,
-0.03298118710517883,
-0.024916380643844604,
0.0034689237363636494,
-0.010301118716597557,
0.0223102867603302,
0.020584627985954285,
-0.0050140912644565105,
0.09086114913225174,
0.05779191479086876,
-0.04159186780452728,
0.009491115808486938,
0.0019501689821481705,
0.08938201516866684,
-0.04543057456612587,
-0.014395153149962425,
-0.048600148409605026,
-0.011287208646535873,
-0.00972003024071455,
-0.008571058511734009,
0.011665796861052513,
0.038598380982875824,
-0.05388277396559715,
0.031431619077920914,
-0.04208490997552872,
0.019123101606965065,
0.007637795060873032,
-0.01801375113427639,
0.00969361700117588,
-0.0011203567264601588,
0.06483541429042816,
0.0037880821619182825,
-0.019950713962316513,
-0.0003166823589708656,
0.018524404615163803,
0.047297101467847824,
0.009182962588965893,
-0.044338833540678024,
0.06916716694831848,
0.019158320501446724,
0.014166238717734814,
0.01192112360149622,
-0.031343575567007065,
0.02588486112654209,
0.01411341316998005,
0.026923777535557747,
-0.02817399986088276,
0.029336176812648773,
-0.018418751657009125,
-0.021465064957737923,
0.05176972225308418,
0.0024432139471173286,
0.0054146903567016125,
-0.0821976438164711,
-0.007659805938601494,
0.020707890391349792,
0.04919884726405144,
-0.055115386843681335,
-0.019105494022369385,
0.058707572519779205,
0.014395153149962425,
-0.011789058335125446,
0.02447616122663021,
0.07719676196575165,
0.0273111704736948,
-0.012422973290085793,
0.014324718154966831,
0.023947900161147118,
-0.02377181127667427,
0.010292313992977142,
-0.016323311254382133,
-0.016666682437062263,
0.007131543476134539,
0.0019699789118021727,
-0.0038783270865678787,
0.04624057561159134,
-0.024335291236639023,
-0.012607865035533905,
-0.013109713792800903,
0.032910753041505814,
0.025356600061058998,
-0.007408881559967995,
-0.027857042849063873,
0.004521046299487352,
-0.034970976412296295,
0.009059702046215534,
-0.02158832736313343,
-0.008681113831698895,
0.0359218493103981,
-0.0014395152684301138,
0.007452903315424919,
0.0375770702958107,
0.034160975366830826,
-0.009992965497076511,
-0.007219587452709675,
-0.033597495406866074,
-0.01864766515791416,
0.032171186059713364,
-0.037894029170274734,
-0.028966393321752548,
0.02965313382446766,
0.04050012305378914,
-0.0033280537463724613,
-0.014562436379492283,
0.011533730663359165,
0.02236311137676239,
-0.008791168220341206,
-0.012731125578284264,
-0.021359413862228394,
-0.007593773305416107,
-0.02880791388452053,
0.019175928086042404,
0.02019723504781723,
-0.006660509388893843,
-0.0033368580043315887,
-0.06494107097387314,
-0.022028544917702675,
-0.02380703017115593,
-0.005022895988076925,
0.045641880482435226,
-0.02734638750553131,
-0.0037022395990788937,
0.002341963816434145,
0.03597467392683029,
0.02525094710290432,
-0.006255508400499821,
-0.012713517062366009,
0.03410814702510834,
0.0446205735206604,
-0.0577566996216774,
0.023384420201182365,
-0.05074841529130936,
0.004030202515423298,
-0.07973241806030273,
-0.03511184826493263,
0.07473153620958328,
-0.055784519761800766,
0.013409063220024109,
-0.04895232245326042,
0.008311329409480095,
-0.0416623018682003,
0.03225922957062721,
0.042155347764492035,
0.0718436986207962,
-0.06874455511569977,
-0.007188771851360798,
0.04095795005559921,
0.03449553996324539,
-0.04955102130770683,
0.03764750808477402,
0.038598380982875824,
-0.030022917315363884,
-0.014615261927247047,
-0.021271370351314545,
-0.012643082067370415,
0.021870067343115807,
-0.0024057955015450716,
-0.00936785526573658,
0.0042921327985823154,
0.017318205907940865,
-0.012414168566465378,
-0.014069391414523125,
0.00888801645487547,
0.009411877021193504,
0.04824797436594963,
0.017212552949786186,
0.028508566319942474,
-0.008126437664031982,
-0.07677415013313293,
-0.01885897107422352,
0.006290725897997618,
0.09543942660093307,
-0.06726542115211487,
-0.04884667322039604,
0.007444099057465792,
-0.00027362347464077175,
-0.0005662313778884709,
0.005498331971466541,
0.03884490206837654,
-0.03620358929038048,
-0.009491115808486938,
-0.005216591991484165,
-0.01301286555826664,
0.01664026826620102,
0.011172751896083355,
0.08705765753984451,
0.03315727412700653,
0.1022011861205101,
-0.0474027544260025,
0.05416451394557953,
-0.04891710728406906,
0.06867412477731705
] |
18,174 | jsondiff | patch | null | def patch(self, a, d):
if isinstance(d, list):
_, b = d
return b
elif isinstance(d, dict):
if not d:
return a
if isinstance(a, dict):
a = dict(a)
for k, v in d.items():
if k is delete:
for kdel, _ in v.items():
del a[kdel]
elif k is insert:
for kk, vv in v.items():
a[kk] = vv
else:
a[k] = self.patch(a[k], v)
return a
elif isinstance(a, (list, tuple)):
original_type = type(a)
a = list(a)
if delete in d:
for pos, value in d[delete]:
a.pop(pos)
if insert in d:
for pos, value in d[insert]:
a.insert(pos, value)
for k, v in d.items():
if k is not delete and k is not insert:
k = int(k)
a[k] = self.patch(a[k], v)
if original_type is not list:
a = original_type(a)
return a
elif isinstance(a, set):
a = set(a)
if discard in d:
for x in d[discard]:
a.discard(x)
if add in d:
for x in d[add]:
a.add(x)
return a
raise Exception("Invalid symmetric diff")
| (self, a, d) | [
-0.004680269863456488,
-0.0014227554202079773,
-0.0027661446947604418,
0.016480153426527977,
-0.05747978389263153,
-0.03753553330898285,
-0.042988453060388565,
0.034566301852464676,
0.023977922275662422,
-0.018459638580679893,
-0.04915100336074829,
-0.007376385387033224,
-0.016078652814030647,
0.013893748633563519,
-0.03684457764029503,
-0.022876132279634476,
-0.025453198701143265,
0.054641276597976685,
-0.014855479821562767,
-0.016265397891402245,
0.06588326394557953,
-0.006405317224562168,
0.01711508259177208,
0.08896481245756149,
-0.039477668702602386,
-0.027899544686079025,
0.06267126649618149,
-0.02069122903048992,
0.04646189138293266,
0.05161602422595024,
0.06763865798711777,
0.0137910395860672,
0.030420588329434395,
0.04825463518500328,
0.04403422027826309,
-0.022876132279634476,
-0.03822648525238037,
0.030513959005475044,
-0.022838784381747246,
-0.008996388874948025,
-0.04661128669977188,
-0.012707925401628017,
0.04268966242671013,
-0.023006852716207504,
0.07888063788414001,
0.04993532970547676,
-0.01159679889678955,
0.0869479775428772,
-0.02338034100830555,
0.02489296719431877,
0.052811186760663986,
-0.05677015706896782,
0.011503426358103752,
0.017161767929792404,
-0.04171859472990036,
0.016321420669555664,
0.032848257571458817,
0.04504263773560524,
-0.010663079097867012,
-0.00664808414876461,
0.03144767880439758,
-0.009383883327245712,
-0.020467136055231094,
-0.05337141826748848,
-0.013903086073696613,
-0.01883312687277794,
-0.018095487728714943,
-0.03146635368466377,
-0.0359855554997921,
0.02095266990363598,
-0.047134168446063995,
-0.012735936790704727,
-0.0056396666914224625,
-0.0169843602925539,
0.0190852303057909,
0.09038406610488892,
0.0600942000746727,
0.00500473752617836,
0.03484641760587692,
-0.030140470713377,
-0.015116921626031399,
-0.05430513620376587,
0.02504236251115799,
0.05329671874642372,
-0.02405261993408203,
0.06069178134202957,
0.0796276181936264,
0.017357848584651947,
0.00957062654197216,
-0.019832206889986992,
-0.004192401189357042,
-0.015369025990366936,
-0.016610873863101006,
-0.013184121809899807,
-0.021363506093621254,
0.051279883831739426,
0.006834828294813633,
-0.03587350994348526,
-0.002719458658248186,
0.03254946693778038,
0.04433301091194153,
-0.020672554150223732,
-0.021232785657048225,
-0.02427671104669571,
0.0077078561298549175,
-0.050458211451768875,
0.045490823686122894,
-0.04074752703309059,
-0.04478119686245918,
0.031260933727025986,
-0.04078487679362297,
0.019365346059203148,
-0.018198195844888687,
0.00829143077135086,
-0.020541833713650703,
-0.005168138537555933,
-0.017283150926232338,
-0.08776964992284775,
0.03247477114200592,
0.009421231225132942,
-0.035556044429540634,
0.032792236655950546,
0.02926277555525303,
0.016209373250603676,
0.004528540652245283,
0.012371785938739777,
0.025210430845618248,
0.03404342010617256,
-0.0011607302585616708,
0.026050779968500137,
0.017367186024785042,
-0.019570764154195786,
-0.0036811898462474346,
0.07335302233695984,
0.04082222655415535,
-0.0081747155636549,
-0.03647109121084213,
0.020485809072852135,
0.007959960028529167,
-0.05019677057862282,
0.00383758801035583,
-0.03564941883087158,
0.04324989765882492,
0.054529231041669846,
-0.050420861691236496,
-0.03146635368466377,
-0.0052941907197237015,
0.012707925401628017,
-0.049524493515491486,
0.07663971185684204,
-0.039515018463134766,
0.02838507853448391,
0.040486086159944534,
-0.006806816440075636,
-0.04108366742730141,
0.0028058276511728764,
-0.04896426200866699,
-0.08717206865549088,
0.0166202113032341,
-0.011774205602705479,
0.0216436218470335,
-0.03253079578280449,
0.03486509248614311,
-0.0033170392271131277,
0.004892691038548946,
-0.023044202476739883,
0.018366266041994095,
-0.03479039669036865,
-0.011269996874034405,
0.018515661358833313,
0.0485907718539238,
0.03443558141589165,
-0.015294328331947327,
0.029561566188931465,
0.028814589604735374,
0.015630466863512993,
-0.004542546346783638,
-0.04074752703309059,
0.012306425720453262,
-0.04507998749613762,
0.00447952002286911,
0.020299065858125687,
0.04268966242671013,
0.03501448780298233,
0.025565244257450104,
0.002272440353408456,
-0.029766984283924103,
0.004990731831640005,
0.03312837332487106,
0.04306315258145332,
-0.01130734570324421,
-0.02662968635559082,
0.03083142451941967,
0.00895904004573822,
-0.05030881613492966,
0.027245940640568733,
-0.05930987372994423,
-0.009211144410073757,
0.013333517126739025,
0.05531355366110802,
-0.03658313676714897,
-0.07925412803888321,
0.06084117665886879,
0.030532633885741234,
0.02078459970653057,
0.018207533285021782,
-0.004729290027171373,
-0.028963984921574593,
0.014920840971171856,
-0.015546432696282864,
0.0166202113032341,
-0.02009364776313305,
0.022185180336236954,
-0.05247504636645317,
0.017488569021224976,
-0.04735826328396797,
0.05146662890911102,
0.00503274891525507,
-0.02506103552877903,
-0.05852555111050606,
0.0017472229665145278,
0.006115864031016827,
0.03322174772620201,
0.039701759815216064,
0.003951968625187874,
0.000685700390022248,
-0.007684512995183468,
0.026218848302960396,
-0.023660456761717796,
-0.0074977693147957325,
-0.007656501606106758,
-0.06819888949394226,
0.004334793426096439,
-0.04362338408827782,
0.06450135260820389,
-0.05979540944099426,
-0.02414599061012268,
-0.07843245565891266,
0.08440826088190079,
0.04339929297566414,
0.012530517764389515,
0.061961639672517776,
0.052138905972242355,
0.07600478082895279,
-0.02408996783196926,
-0.011960948817431927,
-0.0079459547996521,
-0.015238305553793907,
0.04324989765882492,
0.009626650251448154,
-0.02248397096991539,
-0.007693850435316563,
0.001142639433965087,
0.050346165895462036,
0.025583919137716293,
0.01994425244629383,
0.04321254789829254,
0.006988891866058111,
0.002274774480611086,
-0.017946092411875725,
-0.013697667978703976,
0.00957062654197216,
-0.01409916765987873,
0.03895478695631027,
-0.05154132843017578,
-0.051242537796497345,
0.0400005504488945,
0.016041304916143417,
-0.018581021577119827,
0.030308540910482407,
0.044594451785087585,
-0.032941631972789764,
0.011111264117062092,
0.027768824249505997,
-0.0231935977935791,
0.053856950253248215,
0.07466022670269012,
0.019514741376042366,
0.003601823700591922,
-0.02670438401401043,
-0.002314457669854164,
-0.02405261993408203,
-0.01833825558423996,
0.022185180336236954,
-0.027376661077141762,
0.04507998749613762,
-0.02422068826854229,
0.0008823651005513966,
-0.03322174772620201,
-0.007717193104326725,
0.06603265553712845,
0.0165268387645483,
0.019001195207238197,
-0.02334299311041832,
0.013006715103983879,
0.04747030884027481,
-0.0767144113779068,
0.000658272358123213,
0.050570257008075714,
-0.004888022784143686,
0.011111264117062092,
0.00855754129588604,
0.07230725139379501,
0.04407157003879547,
0.004645255394279957,
-0.07040246576070786,
0.06255921721458435,
-0.010831148363649845,
-0.021008692681789398,
0.0216436218470335,
0.013594958931207657,
0.043660733848810196,
-0.04892691224813461,
0.01456602755934,
0.023511061444878578,
-0.05923517793416977,
-0.05053291097283363,
-0.01791808009147644,
-0.022689389064908028,
0.05508946254849434,
-0.020579181611537933,
-0.021027367562055588,
-0.041233062744140625,
0.012894668616354465,
-0.010392299853265285,
-0.04313784837722778,
0.06816153973340988,
0.01329616829752922,
0.035537369549274445,
0.023940572515130043,
-0.007413734216243029,
-0.05647136643528938,
0.016498826444149017,
-0.021886389702558517,
0.008380134589970112,
-0.020579181611537933,
-0.004425831139087677,
-0.038021065294742584,
-0.011167287826538086,
-0.035350628197193146,
0.016825629398226738,
0.03604158014059067,
-0.015471735037863255,
0.001229008543305099,
-0.006064509507268667,
0.05071965232491493,
0.003744215937331319,
0.03777829930186272,
0.010102846659719944,
0.028179660439491272,
-0.008945034816861153,
-0.016302745789289474,
-0.008249413222074509,
0.0043698083609342575,
0.0017507243901491165,
-0.01546239759773016,
-0.03846925124526024,
-0.034659676253795624,
0.01331484317779541,
-0.025621268898248672,
0.05901108309626579,
-0.004906696733087301,
0.043287243694067,
0.03322174772620201,
0.01669490896165371,
-0.032997652888298035,
-0.10442721098661423,
-0.06984223425388336,
-0.03813311085104942,
-0.02323094569146633,
0.01422988809645176,
-0.005466928705573082,
0.015546432696282864,
-0.018254220485687256,
0.0453040786087513,
-0.023025527596473694,
-0.05348346382379532,
0.061252012848854065,
-0.017759349197149277,
0.043772779405117035,
0.019533416256308556,
-0.040336690843105316,
0.04489324241876602,
0.03393137454986572,
-0.008464168757200241,
-0.018235545605421066,
0.06427726149559021,
-0.020429786294698715,
-0.0048319995403289795,
-0.0011286336230114102,
-0.05841350555419922,
-0.06517363339662552,
0.006260590627789497,
0.0319705605506897,
-0.10143930464982986,
-0.055388253182172775,
0.012297088280320168,
-0.0012826974270865321,
-0.06834828108549118,
-0.029020007699728012,
0.05053291097283363,
0.0013562279054895043,
0.00001956799314939417,
-0.01121397316455841,
0.019402695819735527,
-0.03822648525238037,
0.014248562045395374,
0.06782539933919907,
-0.03155972436070442,
0.041419804096221924,
-0.004285773262381554,
0.007558460813015699,
0.0071289497427642345,
-0.010242904536426067,
0.060355640947818756,
-0.0039753117598593235,
0.007021571975201368,
0.03006577491760254,
-0.03241874650120735,
0.02752605639398098,
0.04560286924242973,
-0.04997267946600914,
-0.058040015399456024,
0.040411386638879776,
-0.01293201744556427,
-0.06199898570775986,
-0.02005629800260067,
0.03486509248614311,
-0.033707279711961746,
0.0231935977935791,
0.03932827338576317,
-0.09113103896379471,
0.04138245806097984,
-0.012988041155040264,
0.050420861691236496,
-0.008982383646070957,
0.03925357386469841,
0.022166505455970764,
0.010943194851279259,
0.04171859472990036,
0.022801434621214867,
0.021419528871774673,
-0.0009302182588726282,
-0.07510840892791748,
0.016302745789289474,
0.005373556632548571,
-0.0017297157319262624,
0.0002398492506472394,
0.03307235240936279,
0.0004586897848639637,
0.09800321608781815,
0.0034267513547092676,
0.06954344362020493,
0.029841681942343712,
-0.04915100336074829,
-0.03559339419007301,
-0.03774094954133034,
-0.03185851499438286,
-0.0022887804079800844,
0.03254946693778038,
0.02832905575633049,
-0.058749642223119736,
-0.032082609832286835,
-0.014743434265255928,
-0.0037605559919029474,
0.05733038857579231,
-0.037796974182128906,
-0.027694126591086388,
-0.051279883831739426,
-0.00967333558946848,
0.07189641892910004,
-0.06550977379083633,
-0.005915114190429449,
0.019533416256308556,
-0.021419528871774673,
0.011587461456656456,
-0.003914619795978069,
-0.046275146305561066,
-0.029823007062077522,
-0.002063520485535264,
-0.0017378857592120767,
-0.009024401195347309,
-0.018711742013692856,
-0.03891743719577789,
0.003996320068836212,
-0.06625674664974213,
-0.003720873035490513,
0.042951107025146484,
0.046312496066093445,
0.024482131004333496,
0.04108366742730141,
-0.03329644352197647,
-0.0012103341287001967,
-0.031148888170719147,
0.02595740742981434,
-0.017012372612953186,
-0.06379172950983047,
-0.05848820134997368,
0.03393137454986572,
-0.011354031041264534,
-0.019514741376042366,
-0.03936562314629555,
0.01919727772474289,
0.01843162626028061,
0.08104687184095383,
-0.005583643913269043,
-0.005555632058531046,
0.03615362569689751,
-0.0398138090968132,
0.013165447860956192,
-0.06603265553712845,
0.006209236104041338,
0.08321309834718704,
0.014033806510269642,
0.006526700686663389,
-0.007030909415334463,
-0.035425323992967606,
-0.02670438401401043,
0.010130858980119228,
-0.05837615579366684,
0.05154132843017578,
-0.028982659801840782,
-0.005578975193202496,
-0.023697806522250175,
-0.010289590805768967,
-0.034342210739851,
0.007142955437302589,
-0.03592953458428383,
0.044557102024555206,
-0.027974242344498634,
-0.026909802109003067,
0.04829198122024536,
-0.011792879551649094,
-0.010831148363649845,
-0.015658479183912277,
0.08373598009347916,
-0.018982522189617157,
0.007880594581365585,
-0.039477668702602386,
-0.02599475532770157,
0.038021065294742584,
0.0502341203391552,
0.01540637481957674,
-0.05606053024530411,
-0.05318467319011688,
0.05430513620376587,
-0.06084117665886879,
-0.035350628197193146,
0.009841405786573887,
-0.0014180868165567517,
-0.06748925894498825,
0.00500473752617836,
0.024687549099326134,
0.09299848228693008,
-0.04085957258939743,
-0.1030079573392868,
0.0006238414789550006,
-0.02080327458679676,
0.034734372049570084,
0.025658616796135902,
-0.009822730906307697,
-0.007110275328159332,
0.023977922275662422,
-0.05759182944893837,
0.014005795121192932,
0.03684457764029503,
0.010616392828524113,
0.011251321993768215,
-0.005000068806111813,
0.02825435809791088,
-0.010999217629432678,
0.02084062434732914,
-0.020635204389691353,
0.007297019474208355,
-0.030364563688635826,
0.023828526958823204,
-0.010102846659719944,
-0.04732091352343559,
-0.031111540272831917,
-0.028553148731589317,
-0.004565889481455088,
0.03344583883881569,
0.009085092693567276,
0.010140195488929749,
0.03766625374555588,
-0.03583616018295288,
-0.010709764435887337,
0.041195712983608246,
0.004563555121421814,
0.02009364776313305,
-0.04507998749613762,
-0.0036811898462474346,
-0.004565889481455088,
-0.05075700208544731,
0.0023973253555595875,
0.02748870849609375,
-0.030364563688635826,
0.03402474522590637,
-0.026480291038751602,
-0.03929092362523079,
-0.02403394505381584,
-0.033875349909067154,
-0.013445563614368439,
-0.012185041792690754,
-0.007577135227620602,
-0.05307262763381004,
0.03669518232345581,
-0.009201807901263237,
-0.014948852360248566,
-0.08508054167032242,
0.021326158195734024,
0.04437036067247391,
0.044669151306152344,
-0.038655996322631836,
0.03940296918153763,
-0.06416521966457367,
-0.02586403489112854,
0.04485589265823364,
-0.004680269863456488,
-0.037049997597932816,
-0.035350628197193146,
-0.012782622128725052,
-0.02913205511868,
-0.005588312167674303,
-0.04761970415711403,
-0.029449518769979477,
0.012642564252018929,
0.02741401083767414,
-0.009215813130140305,
-0.032885607331991196,
0.019458718597888947,
0.01211968157440424,
0.004773641936480999,
0.010849823243916035,
-0.031223585829138756,
-0.027208590880036354,
0.018926497548818588,
-0.02573331445455551,
-0.025490546599030495,
0.08687327802181244,
0.0652109831571579,
-0.00241833389736712,
0.012101007625460625,
0.005303527694195509,
-0.010149532929062843,
0.002127713756635785,
-0.01906655542552471,
-0.04743295907974243,
-0.0039029482286423445,
0.028515798971056938,
-0.039664413779973984,
0.06016889587044716,
-0.08313839882612228,
-0.03755420446395874,
-0.017759349197149277,
0.07223255187273026,
0.04403422027826309,
-0.01919727772474289,
-0.013109424151480198,
0.02003762498497963,
-0.008048663847148418,
0.011223310604691505,
-0.08089747279882431,
-0.034342210739851,
0.019869554787874222,
0.028851937502622604,
0.00026377581525593996,
0.011615472845733166,
0.10054293274879456,
-0.015098247677087784,
-0.015611792914569378,
-0.005280185025185347,
-0.02588270977139473,
0.027171242982149124,
-0.02832905575633049,
-0.09142982959747314,
0.020485809072852135,
0.027806172147393227,
0.06696637719869614,
-0.015639804303646088,
-0.02248397096991539,
-0.004148049745708704,
-0.004911365453153849,
0.02491164207458496,
-0.06382907927036285,
0.004285773262381554,
0.009183133020997047,
-0.032250676304101944,
-0.04138245806097984,
0.001262855832464993,
0.042988453060388565,
-0.07932882755994797,
-0.014117841608822346,
-0.061961639672517776,
-0.0166202113032341,
-0.03083142451941967,
-0.024575501680374146,
-0.01837560348212719,
0.0048319995403289795,
0.03282958269119263,
0.04007524996995926,
0.027694126591086388,
0.01465006172657013,
0.028870612382888794,
0.062185730785131454,
-0.02408996783196926,
-0.04422096535563469,
-0.004888022784143686,
0.017012372612953186,
-0.008506186306476593,
-0.007521111983805895,
0.04478119686245918,
0.02747003361582756,
-0.07070125639438629,
0.04272701218724251,
0.011830228380858898,
0.012269076891243458,
-0.03531327843666077,
0.0451173335313797,
0.04414626583456993,
-0.050420861691236496,
-0.0019257968524470925,
-0.01040163729339838,
0.037049997597932816,
0.01678827963769436,
-0.022073132917284966,
0.05232565104961395,
-0.042988453060388565,
-0.0515039786696434,
-0.018235545605421066,
-0.008627570234239101,
0.0453040786087513,
0.03594820946455002,
-0.004897359758615494,
0.016209373250603676,
0.03482774272561073,
-0.01747923344373703,
0.014836805872619152,
-0.00041404631338082254,
0.06311944872140884,
0.020653879269957542,
0.006606066599488258,
0.023996595293283463,
0.007931948639452457,
-0.042988453060388565,
-0.02913205511868,
0.010000137612223625,
-0.0006903689936734736,
-0.022764086723327637,
-0.007124281022697687,
0.032960306853055954,
-0.025621268898248672,
-0.10084172338247299,
0.0013200462562963367,
0.013912423513829708,
-0.017012372612953186,
0.01287599466741085,
-0.01409916765987873,
0.04855342209339142,
-0.04022464528679848,
0.011372705921530724,
0.02158759906888008,
0.019664136692881584,
0.04930039867758751,
-0.04829198122024536,
0.043772779405117035,
0.01256786659359932,
0.04519203305244446
] |
18,175 | jsondiff | unpatch | null | def unpatch(self, b, d):
if isinstance(d, list):
a, _ = d
return a
elif isinstance(d, dict):
if not d:
return b
if isinstance(b, dict):
b = dict(b)
for k, v in d.items():
if k is delete:
for kk, vv in v.items():
b[kk] = vv
elif k is insert:
for kk, vv in v.items():
del b[kk]
else:
b[k] = self.unpatch(b[k], v)
return b
elif isinstance(b, (list, tuple)):
original_type = type(b)
b = list(b)
for k, v in d.items():
if k is not delete and k is not insert:
k = int(k)
b[k] = self.unpatch(b[k], v)
if insert in d:
for pos, value in reversed(d[insert]):
b.pop(pos)
if delete in d:
for pos, value in reversed(d[delete]):
b.insert(pos, value)
if original_type is not list:
b = original_type(b)
return b
elif isinstance(b, set):
b = set(b)
if discard in d:
for x in d[discard]:
b.add(x)
if add in d:
for x in d[add]:
b.discard(x)
return b
raise Exception("Invalid symmetric diff")
| (self, b, d) | [
0.010637998580932617,
-0.002259652828797698,
-0.014067231677472591,
0.007554453797638416,
-0.07979420572519302,
-0.04730867221951485,
-0.03971273452043533,
0.04045020416378975,
0.014758609235286713,
-0.029627839103341103,
-0.03952836990356445,
0.008070682175457478,
-0.05202847719192505,
0.008891117759048939,
-0.04096643254160881,
0.006849248427897692,
-0.019598253071308136,
0.0684003010392189,
-0.015099689364433289,
-0.04255199432373047,
0.05236033722758293,
-0.003954680636525154,
0.011301720514893532,
0.11047293990850449,
-0.05287656560540199,
-0.05394589900970459,
0.03491918370127678,
-0.041445787996053696,
0.043731942772865295,
0.04553874582052231,
0.07920423150062561,
0.00929211638867855,
0.03405265510082245,
0.025829870253801346,
0.032762084156274796,
-0.02394932322204113,
-0.004738241899758577,
0.04889423027634621,
-0.009651632979512215,
-0.02448398992419243,
-0.03703940659761429,
-0.02535051666200161,
0.0807529166340828,
-0.011956225149333477,
0.10582688450813293,
0.05191785469651222,
-0.004268105141818523,
0.03220898285508156,
-0.021810662001371384,
0.038459036499261856,
0.04384256526827812,
-0.02831883169710636,
0.010186297819018364,
0.041630156338214874,
-0.05719076469540596,
0.010287700220942497,
0.015072033740580082,
0.04708743095397949,
-0.02553488314151764,
0.017634740099310875,
-0.014546587131917477,
0.015431550331413746,
-0.05590019375085831,
-0.05962441489100456,
-0.004535437561571598,
-0.004565397277474403,
-0.019801057875156403,
-0.04823051020503044,
-0.04771428182721138,
0.022511258721351624,
-0.05394589900970459,
0.011043606325984001,
-0.024096816778182983,
-0.008420980535447598,
0.04115080088376999,
0.06061999872326851,
0.06987524032592773,
0.016961799934506416,
0.01096064131706953,
-0.03901213780045509,
0.0020107568707317114,
-0.036099135875701904,
0.0300150103867054,
0.04867298901081085,
-0.01394739281386137,
0.04893110319972038,
0.09859967976808548,
0.030217815190553665,
-0.007821786217391491,
-0.016169019043445587,
-0.027562923729419708,
-0.0348823107779026,
-0.017846763134002686,
-0.00969772506505251,
-0.000566641625482589,
0.04546499624848366,
-0.030217815190553665,
-0.00002752907676040195,
-0.014076449908316135,
0.0014622638700529933,
0.07422631233930588,
-0.04126141965389252,
-0.053024061024188995,
-0.02088882587850094,
-0.003701175330206752,
-0.039085887372493744,
0.04277323558926582,
-0.05984565243124962,
-0.041003305464982986,
0.019672000780701637,
-0.04019208997488022,
0.026954513043165207,
-0.022326890379190445,
0.01802191138267517,
-0.020925698801875114,
-0.014399092644453049,
-0.009126185439527035,
-0.0717557892203331,
0.04306822270154953,
0.01276744157075882,
-0.049521081149578094,
0.02606954798102379,
0.026807017624378204,
0.01780989021062851,
0.022437511011958122,
0.01722913235425949,
0.035214170813560486,
0.04299447312951088,
0.004447863437235355,
0.021036319434642792,
0.018316900357604027,
-0.024705229327082634,
-0.025129275396466255,
0.05608455836772919,
0.01911889761686325,
-0.0062638819217681885,
-0.035933203995227814,
0.017634740099310875,
0.030033446848392487,
-0.028632255271077156,
0.02551644667983055,
-0.025719251483678818,
0.05173349007964134,
0.07116581499576569,
-0.05357716232538223,
-0.013080866076052189,
-0.01254620123654604,
0.02824508398771286,
-0.025461135432124138,
0.07780303806066513,
-0.0659666508436203,
0.03482700139284134,
0.055568329989910126,
-0.014537368901073933,
-0.034347645938396454,
0.0005819095531478524,
-0.029793769121170044,
-0.05265532433986664,
-0.009845218621194363,
0.0027562924660742283,
0.050479792058467865,
-0.027267936617136,
0.038459036499261856,
-0.016344169154763222,
-0.011329376138746738,
-0.033462680876255035,
0.07492690533399582,
-0.048451751470565796,
-0.016722122207283974,
0.023912450298666954,
0.016224330291152,
0.021534111350774765,
-0.009937401860952377,
0.015717320144176483,
0.030844664201140404,
0.016777431592345238,
-0.003821014193817973,
-0.03685504198074341,
-0.00018984079360961914,
-0.019985424354672432,
0.01245401706546545,
0.018132532015442848,
0.02439180575311184,
0.018141750246286392,
0.04166702926158905,
0.025239896029233932,
-0.03949149325489998,
-0.003943157382309437,
0.02621704339981079,
0.04277323558926582,
-0.008642220869660378,
-0.02544269897043705,
0.0382377952337265,
0.033462680876255035,
-0.01403957698494196,
0.027083570137619972,
-0.0556052029132843,
0.013680060394108295,
-0.0029406598769128323,
0.044174425303936005,
-0.04955795407295227,
-0.07699181884527206,
0.058739449828863144,
0.02957252971827984,
0.009425782598555088,
0.003371618688106537,
-0.01429769117385149,
-0.031453076750040054,
0.042330753058195114,
-0.014094887301325798,
0.03420015051960945,
-0.038200922310352325,
0.013504911214113235,
-0.05590019375085831,
0.01486922986805439,
-0.058555081486701965,
0.03941774740815163,
0.013624750077724457,
-0.01162436418235302,
-0.04686618968844414,
0.00009427223267266527,
0.0028392577078193426,
0.05885006859898567,
0.015938561409711838,
-0.03445826470851898,
0.025682376697659492,
-0.02597736567258835,
0.024520862847566605,
-0.003613600740209222,
-0.007139626890420914,
0.0058905379846692085,
-0.063385508954525,
0.013587876223027706,
-0.03659692779183388,
0.07964671403169632,
-0.05700639635324478,
-0.037481889128685,
-0.08952880650758743,
0.09992712736129761,
0.04668182134628296,
0.009614759124815464,
0.04155641049146652,
0.05011105537414551,
0.061799947172403336,
-0.008351842872798443,
-0.0030697169713675976,
0.005208378657698631,
-0.0017837544437497854,
0.018169406801462173,
0.00014014802582096308,
-0.01867641694843769,
-0.01038910262286663,
0.03062342293560505,
0.046903062611818314,
0.04085581377148628,
0.013265233486890793,
0.051807235926389694,
-0.014841575175523758,
-0.004848862532526255,
-0.0033900553826242685,
-0.010684089735150337,
-0.006816984154284,
-0.009670069441199303,
0.03993397578597069,
-0.024318058043718338,
-0.04070831835269928,
0.03919650614261627,
0.02332247421145439,
-0.01930326595902443,
0.02903786301612854,
-0.0015648182015866041,
-0.04852549731731415,
-0.010140206664800644,
0.010942204855382442,
-0.037942808121442795,
0.07559063285589218,
0.07817177474498749,
-0.0008129449561238289,
0.034790124744176865,
-0.02158942073583603,
0.005051666405051947,
-0.043031349778175354,
-0.002638758160173893,
0.032669901847839355,
-0.029443472623825073,
0.04358445107936859,
-0.03298332542181015,
-0.03497449308633804,
-0.005816791206598282,
-0.013578657992184162,
0.07581187039613724,
0.01009411457926035,
0.018261589109897614,
-0.005641642026603222,
0.010684089735150337,
0.049779195338487625,
-0.0738944485783577,
-0.018399864435195923,
0.03668911010026932,
0.005318999290466309,
-0.0029037862550467253,
-0.005005574785172939,
0.03893839195370674,
0.06349612772464752,
0.022492822259664536,
-0.08812761306762695,
0.09151997417211533,
-0.009587104432284832,
-0.03325987607240677,
0.022400638088583946,
0.008066073060035706,
0.014509713277220726,
-0.0394546203315258,
0.005222206469625235,
0.018814692273736,
-0.05807572603225708,
-0.05593706667423248,
0.0018840042175725102,
-0.025811433792114258,
0.047234926372766495,
0.0035375491715967655,
-0.04848862439393997,
-0.050406042486429214,
0.027673544362187386,
-0.005272907204926014,
-0.044248174875974655,
0.03770313039422035,
-0.0002834648475982249,
0.031102778390049934,
0.03349955379962921,
-0.008093728683888912,
-0.05508897453546524,
0.02315654419362545,
-0.021478800103068352,
0.029148483648896217,
-0.04126141965389252,
0.009338208474218845,
-0.029978137463331223,
-0.0022446729708462954,
-0.04045020416378975,
-0.004491650499403477,
0.039085887372493744,
-0.01811409555375576,
0.000247887714067474,
0.0033969690557569265,
0.051807235926389694,
-0.02877974882721901,
0.028540071099996567,
0.017468810081481934,
0.03622819110751152,
-0.007757257670164108,
0.014924540184438229,
-0.003051280276849866,
-0.0016028439858928323,
0.012601510621607304,
-0.016344169154763222,
-0.05866570398211479,
-0.021202249452471733,
0.02378339320421219,
-0.017173822969198227,
0.03569352626800537,
0.004173616878688335,
0.01704476587474346,
0.011688892729580402,
0.03676285594701767,
-0.04764053225517273,
-0.11917507648468018,
-0.07551687955856323,
-0.06758908182382584,
-0.018528923392295837,
0.004862689878791571,
-0.028724439442157745,
0.022603441029787064,
-0.005752262659370899,
0.034513574093580246,
-0.02007760852575302,
-0.049521081149578094,
0.05261845141649246,
-0.009250633418560028,
0.05877632275223732,
0.011347812600433826,
-0.03246709704399109,
0.029277540743350983,
0.037242211401462555,
-0.015164217911660671,
0.011264847591519356,
0.024410242214798927,
-0.009112358093261719,
0.009504138492047787,
0.004712891299277544,
-0.04745616391301155,
-0.060214389115571976,
0.0003315732174087316,
0.033112384378910065,
-0.07972045987844467,
-0.0496685728430748,
-0.016076836735010147,
-0.00844863522797823,
-0.02667796052992344,
-0.027747292071580887,
0.06924839317798615,
0.041630156338214874,
-0.020132917910814285,
0.009872873313724995,
0.023967759683728218,
-0.03263302892446518,
0.010066458955407143,
0.07765554636716843,
-0.022750936448574066,
0.0197273101657629,
0.008614566177129745,
-0.01377224363386631,
0.0017295965226367116,
-0.0300150103867054,
0.04550187289714813,
-0.006116387899965048,
0.0019185731653124094,
0.02623547986149788,
-0.021478800103068352,
0.005683124531060457,
0.04365819692611694,
-0.03220898285508156,
-0.04115080088376999,
-0.002452086191624403,
-0.03462419658899307,
-0.03246709704399109,
-0.03685504198074341,
0.023838702589273453,
-0.03694722428917885,
0.05151224881410599,
0.03243022412061691,
-0.07094457000494003,
0.03069717064499855,
0.0006527758087031543,
0.03897526487708092,
-0.008232004009187222,
0.05401964485645294,
0.030512802302837372,
0.02378339320421219,
0.05283969268202782,
-0.008499336428940296,
0.03475325182080269,
0.005623205564916134,
-0.06714659929275513,
0.007333212997764349,
0.027138879522681236,
-0.013219141401350498,
0.008697531186044216,
0.038901519030332565,
-0.004427121952176094,
0.08385028690099716,
-0.024170564487576485,
0.06467607617378235,
0.01254620123654604,
-0.05877632275223732,
-0.05449900031089783,
-0.01096064131706953,
-0.02201346680521965,
-0.01613214612007141,
0.03475325182080269,
0.023967759683728218,
-0.0556052029132843,
-0.03456888347864151,
0.009513357654213905,
-0.004374116193503141,
0.059698160737752914,
-0.005475711543112993,
-0.042588867247104645,
-0.01981949433684349,
0.018575014546513557,
0.04535437747836113,
-0.059698160737752914,
0.007932406850159168,
0.03493762016296387,
-0.03558290749788284,
0.02306436002254486,
0.021017882972955704,
-0.03462419658899307,
-0.020575400441884995,
-0.015698883682489395,
0.007098144385963678,
-0.0009460351429879665,
-0.041703902184963226,
-0.03445826470851898,
0.01412254199385643,
-0.04693993553519249,
0.008420980535447598,
0.021902846172451973,
0.06972774863243103,
0.018492048606276512,
0.02245594747364521,
-0.02597736567258835,
-0.004673713352531195,
-0.03674441948533058,
0.01780989021062851,
-0.015108907595276833,
-0.08975004404783249,
-0.06120997294783592,
0.06784719973802567,
-0.03043905645608902,
-0.015228746458888054,
-0.02588518150150776,
0.010011149570345879,
-0.011476869694888592,
0.07271450012922287,
0.0007536017219536006,
0.008550037629902363,
0.05018480494618416,
-0.04365819692611694,
-0.00184828310739249,
-0.061615582555532455,
0.019063588231801987,
0.06758908182382584,
0.03370235860347748,
-0.006840030197054148,
0.007480706553906202,
-0.04085581377148628,
-0.023304037749767303,
0.010988296009600163,
-0.039085887372493744,
0.059956274926662445,
0.0031250272877514362,
-0.008167475461959839,
-0.03879090026021004,
-0.009163059294223785,
-0.06722035259008408,
-0.005328217521309853,
-0.022824682295322418,
0.057227637618780136,
-0.03150838613510132,
-0.03423702344298363,
0.01017707958817482,
-0.007075098343193531,
-0.03886464610695839,
-0.0023622072767466307,
0.06950650364160538,
-0.028005406260490417,
0.007098144385963678,
-0.017173822969198227,
-0.019266391173005104,
0.03668911010026932,
0.037408143281936646,
0.022658752277493477,
-0.04970544949173927,
-0.05497835576534271,
0.07371008396148682,
-0.06806843727827072,
0.002677936339750886,
-0.006586525123566389,
0.019100461155176163,
-0.07245638221502304,
-0.012407924979925156,
0.02992282621562481,
0.07529564201831818,
-0.04970544949173927,
-0.10125456750392914,
-0.019690437242388725,
0.030752480030059814,
0.037684693932533264,
0.020280413329601288,
-0.015459205955266953,
0.00828731432557106,
0.02509240247309208,
-0.04988981410861015,
0.014777046628296375,
0.06183682382106781,
-0.005586331710219383,
0.010831584222614765,
-0.007254856638610363,
0.02647515758872032,
-0.026032675057649612,
0.005143850110471249,
-0.03692878782749176,
0.03598851338028908,
-0.008868071250617504,
0.035214170813560486,
0.007642028387635946,
-0.04428504779934883,
-0.00653121480718255,
-0.03919650614261627,
-0.0034361472353339195,
0.03886464610695839,
0.030494365841150284,
0.012518545612692833,
0.02378339320421219,
-0.029793769121170044,
-0.013385072350502014,
0.035380102694034576,
0.02394932322204113,
-0.006826202385127544,
-0.013080866076052189,
-0.016233548521995544,
0.005415792111307383,
-0.05272907391190529,
0.00899712834507227,
0.004300369415432215,
-0.014989068731665611,
0.025756124407052994,
-0.030162503942847252,
-0.025645503774285316,
0.007231810595840216,
-0.030328435823321342,
0.020132917910814285,
-0.011458433233201504,
-0.012997901067137718,
-0.058555081486701965,
0.009660851210355759,
-0.031029030680656433,
-0.017256787046790123,
-0.07359945774078369,
0.04528063163161278,
0.03681816905736923,
0.014306909404695034,
-0.006946041248738766,
0.02289843000471592,
-0.06286928057670593,
0.0012836579699069262,
0.011541398242115974,
-0.023635899648070335,
-0.03971273452043533,
-0.020317286252975464,
-0.01689727045595646,
-0.02544269897043705,
0.0058767106384038925,
-0.05239721015095711,
-0.010591906495392323,
0.012518545612692833,
0.06983836740255356,
-0.012656820937991142,
-0.005010183900594711,
0.004646058194339275,
-0.004062996245920658,
0.014214725233614445,
0.02182909846305847,
-0.04498564451932907,
-0.01779145374894142,
0.025848308578133583,
-0.020114481449127197,
-0.014933758415281773,
0.11084167659282684,
0.06751533597707748,
-0.01981949433684349,
0.0031549870036542416,
0.015431550331413746,
-0.04078206792473793,
-0.005678515415638685,
-0.005512584932148457,
-0.03252240642905235,
-0.018197061493992805,
0.03952836990356445,
-0.03025468811392784,
0.055826444178819656,
-0.03790593519806862,
-0.04668182134628296,
-0.04992668703198433,
0.0591081865131855,
0.0347348153591156,
-0.007328603882342577,
-0.02957252971827984,
0.017819108441472054,
-0.015496078878641129,
0.002119072712957859,
-0.05685890093445778,
-0.02166316844522953,
0.021460363641381264,
0.043990060687065125,
-0.0013043992221355438,
0.01946919597685337,
0.08237534761428833,
-0.035398539155721664,
0.004404075909405947,
-0.024631483480334282,
-0.04730867221951485,
-0.007093535270541906,
-0.041888270527124405,
-0.09550230950117111,
0.0176716148853302,
0.037592511624097824,
0.06050937622785568,
-0.012619948014616966,
0.003424624213948846,
-0.00011991082283202559,
-0.0009529489325359464,
0.008582302369177341,
-0.05932942405343056,
-0.0056969523429870605,
-0.0021087019704282284,
-0.016159800812602043,
-0.03770313039422035,
-0.017164604738354683,
0.05361403524875641,
-0.07677058130502701,
-0.011384686455130577,
-0.06183682382106781,
-0.03440295532345772,
-0.021073192358016968,
-0.013191486708819866,
-0.03327831253409386,
0.01855657808482647,
0.03429233282804489,
0.033647049218416214,
-0.005106976721435785,
0.010103332810103893,
0.00952257588505745,
0.05593706667423248,
0.004996356088668108,
-0.015818722546100616,
-0.018842346966266632,
-0.018547359853982925,
-0.012444798834621906,
0.005240642931312323,
0.03949149325489998,
0.021552547812461853,
-0.0717557892203331,
0.055826444178819656,
0.015099689364433289,
-0.019247954711318016,
-0.030033446848392487,
0.006134824827313423,
0.04362132400274277,
-0.05844446271657944,
0.0010330334771424532,
-0.016141364350914955,
0.04222013056278229,
0.04299447312951088,
-0.013357417657971382,
0.024981781840324402,
-0.04693993553519249,
-0.04480127617716789,
0.00165469734929502,
-0.004046864341944456,
0.04236762598156929,
0.011163445189595222,
0.009476483799517155,
0.0028000797610729933,
0.037942808121442795,
-0.00929211638867855,
0.015348585322499275,
0.02903786301612854,
0.06316426396369934,
0.018870001658797264,
-0.004321110434830189,
0.013836772181093693,
0.03445826470851898,
-0.04421129822731018,
-0.008379497565329075,
0.003560595214366913,
-0.009264461696147919,
-0.01876859925687313,
-0.002267718780785799,
0.031268708407878876,
-0.018823910504579544,
-0.0970509946346283,
-0.009278289042413235,
0.018224716186523438,
-0.02105475589632988,
0.02807915396988392,
-0.003367009339854121,
0.023525279015302658,
-0.04491189494729042,
0.0023622072767466307,
0.012343396432697773,
0.004558483604341745,
0.044616907835006714,
-0.02973845973610878,
0.053024061024188995,
-0.005558676552027464,
0.03252240642905235
] |
18,176 | jsondiff | diff | null | def diff(a, b, fp=None, cls=JsonDiffer, **kwargs):
return cls(**kwargs).diff(a, b, fp)
| (a, b, fp=None, cls=<class 'jsondiff.JsonDiffer'>, **kwargs) | [
-0.007258289959281683,
-0.07356470078229904,
0.05960914492607117,
0.008643326349556446,
-0.08864230662584305,
-0.03159284591674805,
-0.0337492972612381,
0.07707112282514572,
-0.019180119037628174,
0.007166246417909861,
0.016567835584282875,
-0.014788327738642693,
-0.01562986895442009,
0.020705413073301315,
-0.03867581859230995,
0.004900222644209862,
-0.04810808598995209,
0.022809265181422234,
-0.025807254016399384,
-0.01563863456249237,
0.011290673166513443,
-0.0017652634996920824,
-0.005106224678456783,
0.092569500207901,
0.00450136698782444,
-0.01701490581035614,
0.0019241481786593795,
-0.026455942541360855,
0.02589491382241249,
0.045583464205265045,
0.04102511703968048,
-0.051719699054956436,
0.0034801221918314695,
-0.005062394309788942,
-0.044356219470500946,
-0.05063271149992943,
0.009362142533063889,
0.06101171299815178,
-0.08183985203504562,
-0.026946840807795525,
-0.0047643487341701984,
0.0011352036381140351,
0.004238385707139969,
0.026946840807795525,
-0.0032522049732506275,
0.021599549800157547,
-0.03664209321141243,
-0.04102511703968048,
-0.053227461874485016,
0.004856392275542021,
0.03527458757162094,
-0.016971074044704437,
0.0023887488059699535,
0.0542793869972229,
-0.010335174389183521,
0.031049352139234543,
-0.003306992817670107,
0.05091322213411331,
-0.0767204761505127,
0.029611719772219658,
-0.022581346333026886,
-0.0062852585688233376,
0.018601560965180397,
-0.06062600761651993,
-0.02887537144124508,
-0.018075596541166306,
-0.05848709121346474,
0.001028367318212986,
0.001028367318212986,
0.06216883286833763,
-0.02428196184337139,
0.05252617597579956,
0.027683189138770103,
0.03161038085818291,
0.019197652116417885,
0.0550508014857769,
0.01557727251201868,
0.061222098767757416,
-0.010203683748841286,
-0.00799463875591755,
-0.013938020914793015,
-0.017567165195941925,
-0.0007401834009215236,
0.00768782664090395,
0.0005697933374904096,
0.007126799318939447,
-0.0008289396646432579,
-0.02687671221792698,
0.013780232518911362,
-0.017856445163488388,
-0.0838034451007843,
-0.014963649213314056,
-0.047091227024793625,
-0.029962362721562386,
0.017330482602119446,
-0.0037847424391657114,
-0.032574646174907684,
0.0450575016438961,
0.01124684326350689,
0.03604600206017494,
0.044075705111026764,
0.008156809955835342,
-0.0020468728616833687,
0.016971074044704437,
0.0322941318154335,
-0.04442634806036949,
0.01551591046154499,
-0.04989636316895485,
-0.021459292620420456,
0.020565155893564224,
-0.014613007195293903,
0.03515186533331871,
0.0013795573031529784,
0.03734337538480759,
0.04614449292421341,
0.03601093590259552,
0.009537463076412678,
-0.035467442125082016,
0.061467550694942474,
0.010361472144722939,
0.004464111290872097,
0.011360801756381989,
0.02189759537577629,
0.03161038085818291,
0.04190172255039215,
-0.025859849527478218,
0.03927190974354744,
-0.051088545471429825,
0.03976280614733696,
0.02976950816810131,
0.05340278148651123,
-0.0022265769075602293,
-0.019285311922430992,
0.04390038177371025,
0.015349355526268482,
0.04663538932800293,
-0.0036028469912707806,
0.06883103400468826,
0.014025681652128696,
-0.00017039012163877487,
0.031172076240181923,
-0.00036379112862050533,
0.04200691729784012,
0.029979893937706947,
-0.1326829493045807,
0.012149746529757977,
-0.06564018875360489,
0.0003396844840608537,
-0.014937350526452065,
0.10098490864038467,
-0.00981797743588686,
0.012167278677225113,
0.0175321027636528,
-0.010291343554854393,
0.039096586406230927,
-0.05838190019130707,
-0.04617955535650253,
-0.020232046023011208,
0.010992627590894699,
0.03888620063662529,
0.026561133563518524,
-0.010238747112452984,
0.09930182248353958,
0.0016885605873540044,
0.03814985230565071,
0.017356781288981438,
0.03618625923991203,
-0.010089724324643612,
-0.04365493357181549,
0.0390615239739418,
0.0342927910387516,
0.00003876238042721525,
0.012114682234823704,
-0.0028533495496958494,
0.0059784469194710255,
0.0010343940230086446,
0.04021864011883736,
-0.01951322890818119,
0.024194300174713135,
-0.010396536439657211,
-0.0030922244768589735,
0.02738514356315136,
0.014253598637878895,
0.01863662339746952,
0.028437068685889244,
-0.041586145758628845,
-0.051088545471429825,
0.01910999044775963,
0.037203121930360794,
0.005513845942914486,
0.011352036148309708,
0.021704742684960365,
0.006302790716290474,
0.012421494349837303,
-0.02915588580071926,
-0.011965659447014332,
-0.04912494868040085,
-0.030348068103194237,
0.08254113793373108,
0.046319812536239624,
-0.0701284110546112,
-0.03699273616075516,
0.024334557354450226,
-0.011115352623164654,
0.011203013360500336,
0.030470792204141617,
-0.014165937900543213,
0.017689891159534454,
-0.024334557354450226,
-0.02938380278646946,
-0.019355440512299538,
-0.027087097987532616,
-0.009081629104912281,
-0.013973085209727287,
0.030365601181983948,
-0.0014211960369721055,
0.024054042994976044,
0.009791678749024868,
-0.0007429228280670941,
-0.004393983166664839,
0.08969423174858093,
0.014279897324740887,
-0.008437324315309525,
0.031435057520866394,
0.022791732102632523,
0.039447229355573654,
-0.007639613468199968,
0.018794413655996323,
-0.03201361745595932,
-0.040604349225759506,
-0.019600890576839447,
-0.008555665612220764,
0.017610996961593628,
-0.021056054159998894,
0.039973191916942596,
-0.02738514356315136,
-0.013359461911022663,
-0.03222400322556496,
0.01013355515897274,
-0.026070235297083855,
-0.002228768542408943,
0.009046564809978008,
0.05803125724196434,
0.03331099450588226,
0.016304854303598404,
-0.05413912981748581,
0.022686539217829704,
-0.02563193254172802,
-0.015033777803182602,
-0.006986542604863644,
0.004192363936454058,
0.0006727944128215313,
0.010343939997255802,
0.04786263778805733,
0.004052107222378254,
-0.0025048991665244102,
0.04789770394563675,
-0.03515186533331871,
0.01912752352654934,
0.03173310309648514,
0.050702840089797974,
-0.023352758958935738,
-0.04411076754331589,
0.017672358080744743,
-0.04113031178712845,
-0.037729084491729736,
-0.013973085209727287,
-0.041691336780786514,
-0.01181663665920496,
0.06174806132912636,
-0.09930182248353958,
-0.09095654636621475,
-0.005022947210818529,
-0.006982159800827503,
-0.057084523141384125,
-0.03338112309575081,
0.007056671194732189,
-0.04653019830584526,
0.014271130785346031,
-0.07938535511493683,
-0.018285982310771942,
-0.07030373066663742,
-0.029822105541825294,
0.006070490460842848,
-0.02738514356315136,
0.009546229615807533,
-0.007928892970085144,
-0.041200440376996994,
-0.008393493480980396,
-0.05364823341369629,
0.05768061429262161,
-0.0012590240221470594,
-0.0005270587862469256,
-0.019162587821483612,
0.007600166369229555,
0.052701499313116074,
-0.03688754141330719,
-0.0838034451007843,
0.016427580267190933,
0.01636621728539467,
-0.05515599250793457,
-0.06514929234981537,
0.08464498817920685,
0.054945606738328934,
-0.06693756580352783,
-0.038079723715782166,
0.04025370627641678,
-0.011956893838942051,
0.007345950696617365,
-0.0008886583964340389,
-0.017216524109244347,
0.034748625010252,
-0.026473473757505417,
0.01665549725294113,
-0.026543602347373962,
0.007306503597646952,
-0.029050692915916443,
0.05953901633620262,
-0.015182800590991974,
0.017733721062541008,
-0.028664985671639442,
-0.00747305853292346,
-0.047231484204530716,
0.04302377626299858,
0.023352758958935738,
-0.032451920211315155,
0.01988140307366848,
0.022072916850447655,
0.07959574460983276,
0.05063271149992943,
-0.04379519075155258,
0.002183842472732067,
0.09719797223806381,
0.01520033273845911,
-0.0107647106051445,
0.022072916850447655,
0.0021641189232468605,
-0.0375186987221241,
0.020161917433142662,
-0.004562729503959417,
0.02338782325387001,
-0.03062858246266842,
0.017970403656363487,
-0.011807871051132679,
-0.02075800858438015,
0.029804572463035583,
0.02927860990166664,
-0.0005182927707210183,
0.06216883286833763,
0.015796422958374023,
-0.05512093007564545,
0.0019493505824357271,
0.012035788036882877,
0.0332934632897377,
0.0012217683251947165,
0.04617955535650253,
-0.04477698728442192,
-0.013341929763555527,
0.00163267704192549,
-0.03790440410375595,
-0.038570623844861984,
0.05354303866624832,
-0.044075705111026764,
-0.01182540226727724,
0.011869233101606369,
-0.025456611067056656,
0.025561803951859474,
-0.07629970461130142,
-0.07265303283929825,
-0.025298822671175003,
-0.009642655961215496,
0.021546952426433563,
0.03843036666512489,
-0.06444800645112991,
-0.016532771289348602,
-0.045828916132450104,
-0.010659517720341682,
0.027034500613808632,
0.012710774317383766,
0.07945548743009567,
0.010747178457677364,
-0.009020266123116016,
-0.051474250853061676,
0.043584804981946945,
-0.008275152184069157,
0.01925024762749672,
-0.005518229212611914,
-0.05641830340027809,
0.04540814459323883,
0.04288352280855179,
-0.01665549725294113,
-0.06634147465229034,
-0.014963649213314056,
0.035186927765607834,
-0.05803125724196434,
-0.04954572021961212,
-0.0010234364308416843,
0.007275822106748819,
-0.013964319601655006,
-0.01988140307366848,
0.05561182647943497,
0.0542793869972229,
-0.03713299334049225,
0.018321046605706215,
0.008235705085098743,
0.018671687692403793,
0.015726296231150627,
0.04975610598921776,
-0.038851138204336166,
0.030979223549365997,
-0.008603879250586033,
-0.04113031178712845,
-0.04263807088136673,
0.021476825699210167,
0.010396536439657211,
0.03415253385901451,
-0.062098704278469086,
-0.01963595487177372,
-0.03530965372920036,
-0.01062445342540741,
0.01814572513103485,
0.022791732102632523,
0.011465994641184807,
-0.019671019166707993,
0.03962254896759987,
-0.030961692333221436,
-0.001981127541512251,
0.003460398642346263,
0.024685200303792953,
0.04302377626299858,
0.04102511703968048,
-0.018163258209824562,
-0.024439750239253044,
-0.009853040799498558,
0.052456047385931015,
-0.023703401908278465,
0.020302174612879753,
-0.04053422063589096,
0.09895118325948715,
0.046074364334344864,
0.011325737461447716,
0.003655443200841546,
0.03793947026133537,
-0.01877688057720661,
-0.11865726858377457,
-0.07833342999219894,
0.039692677557468414,
-0.054069001227617264,
0.020810604095458984,
-0.018829477950930595,
0.091026671230793,
0.016427580267190933,
0.02328263223171234,
-0.03353891149163246,
-0.0026933690533041954,
-0.06223896145820618,
-0.01019491720944643,
-0.0382901094853878,
-0.04035889729857445,
0.04968597739934921,
0.02012685313820839,
-0.013710103929042816,
-0.042567942291498184,
-0.016594134271144867,
-0.027087097987532616,
-0.0014518771786242723,
0.0435146763920784,
-0.0033683551009744406,
-0.02999742701649666,
0.03425772860646248,
0.01802300103008747,
-0.0016381557798013091,
-0.04653019830584526,
0.03064611367881298,
-0.02889290452003479,
0.06153767928481102,
0.024825455620884895,
-0.060836393386125565,
-0.034310322254896164,
-0.020687879994511604,
-0.012658177874982357,
-0.008468004874885082,
-0.040464092046022415,
-0.020828137174248695,
0.039973191916942596,
-0.047441866248846054,
0.012465324252843857,
0.008183108642697334,
0.07573868334293365,
-0.037694018334150314,
-0.01044913288205862,
-0.02440468594431877,
-0.025614401325583458,
-0.0032982267439365387,
-0.022669008001685143,
-0.018058065325021744,
0.025719594210386276,
-0.028349408879876137,
0.004781880881637335,
-0.034590836614370346,
-0.024790391325950623,
0.005684784147888422,
0.013403291814029217,
0.01250038854777813,
0.011536123231053352,
0.019600890576839447,
0.024194300174713135,
-0.013052649796009064,
-0.04586397856473923,
0.03217140585184097,
-0.03190842643380165,
0.011343269608914852,
0.05575208365917206,
0.06690250337123871,
-0.0281390231102705,
-0.009353375993669033,
-0.044461410492658615,
0.005329758860170841,
0.013473420403897762,
-0.026333216577768326,
0.02687671221792698,
0.012237407267093658,
0.03331099450588226,
-0.09782912582159042,
0.010694582015275955,
-0.018198322504758835,
-0.013788998126983643,
0.0013696954119950533,
0.08822153508663177,
-0.0470561608672142,
-0.022283300757408142,
-0.038570623844861984,
0.04288352280855179,
-0.061081841588020325,
-0.05943382531404495,
-0.0066797309555113316,
-0.03923684358596802,
0.04530294984579086,
-0.04954572021961212,
-0.02687671221792698,
0.03155778348445892,
0.056067660450935364,
-0.0223709624260664,
0.04312897101044655,
-0.025544272735714912,
0.019074926152825356,
-0.028314344584941864,
0.008437324315309525,
0.02251121960580349,
0.03948229178786278,
0.017716189846396446,
-0.045478273183107376,
0.021424228325486183,
0.07552829384803772,
-0.08871243894100189,
0.030698711052536964,
-0.023422887548804283,
0.007034755777567625,
0.06974270194768906,
-0.04642500728368759,
0.027858510613441467,
0.016471410170197487,
0.030803903937339783,
0.017917808145284653,
-0.00010649381874827668,
0.022090448066592216,
0.1085587739944458,
0.03688754141330719,
-0.04691590368747711,
-0.008354046382009983,
-0.006311556790024042,
0.0981096401810646,
-0.0157613605260849,
0.0014146214816719294,
0.01925024762749672,
-0.006096788216382265,
-0.0001311483356403187,
-0.019583357498049736,
-0.005627804901450872,
-0.024299493059515953,
-0.0171463955193758,
0.03176816925406456,
-0.0008541420684196055,
-0.0410601831972599,
-0.011404632590711117,
0.007595783099532127,
-0.013271801173686981,
-0.024948181584477425,
0.040464092046022415,
0.029944829642772675,
-0.05477028712630272,
-0.02177487127482891,
0.016094470396637917,
-0.037729084491729736,
-0.02763059176504612,
0.027700720354914665,
-0.0021915128454566,
0.009756614454090595,
-0.02652606926858425,
0.0005659581511281431,
0.01875934936106205,
-0.038570623844861984,
0.017356781288981438,
-0.07061930745840073,
0.028822775930166245,
0.02812149189412594,
-0.03064611367881298,
-0.05736503750085831,
-0.02787604182958603,
0.027577996253967285,
0.04614449292421341,
0.022931989282369614,
0.05200021341443062,
-0.02189759537577629,
0.05687413737177849,
-0.008617027662694454,
0.026228023692965508,
-0.02438715286552906,
-0.03159284591674805,
0.018285982310771942,
-0.03076883964240551,
-0.00987933948636055,
0.004527665209025145,
0.043970510363578796,
-0.03213634341955185,
0.028700049966573715,
-0.02775331772863865,
0.019162587821483612,
-0.0034099938347935677,
0.0009450898505747318,
0.003035245230421424,
-0.01926778070628643,
0.028489666059613228,
-0.01811066083610058,
-0.0255267396569252,
-0.02600010670721531,
0.0018047107150778174,
-0.006031042896211147,
-0.00043830255162902176,
0.032855160534381866,
-0.005960914772003889,
0.0014485899591818452,
-0.028682518750429153,
-0.00006536871660500765,
-0.06367659568786621,
-0.04242768511176109,
-0.032697368413209915,
-0.03313567116856575,
0.0654999315738678,
0.0019701700657606125,
-0.0370628647506237,
0.03678235039114952,
-0.025035841390490532,
-0.011632549576461315,
-0.06613108515739441,
0.021722273901104927,
0.012105916626751423,
0.014201002195477486,
0.06669211387634277,
0.00700407475233078,
0.006631517317146063,
-0.00913422554731369,
-0.0111854812130332,
0.012176045216619968,
-0.010983861982822418,
-0.008086682297289371,
0.0435146763920784,
-0.03976280614733696,
0.0060836393386125565,
0.012474090792238712,
-0.03578301891684532,
0.04838860034942627,
0.007188161835074425,
0.02102098986506462,
-0.06115197017788887,
-0.02787604182958603,
0.015235396102070808,
0.04011344909667969,
0.055576764047145844,
0.005697933025658131,
-0.002802944742143154,
0.0482834093272686,
-0.02840200439095497,
0.002995797898620367,
-0.014463984407484531,
0.07111020386219025,
-0.02887537144124508,
0.06805962324142456,
0.03250451758503914,
0.037694018334150314,
0.057084523141384125,
-0.03534471616148949,
-0.025579337030649185,
0.007823700085282326,
-0.0005812987801618874,
-0.011089054867625237,
0.0023997065145522356,
-0.0590481199324131,
-0.0375186987221241,
0.03737844154238701,
-0.00010594594641588628,
0.034590836614370346,
0.01700613833963871,
-0.015954213216900826,
0.028419537469744682,
-0.026911776512861252,
-0.02149435691535473,
0.002098373370245099,
0.01532305683940649,
-0.07030373066663742,
-0.05655856058001518,
0.03273243457078934,
0.07342444360256195,
-0.003981978632509708,
0.029453931376338005,
0.03310060873627663,
-0.01050172932446003,
-0.015016245655715466,
0.005697933025658131,
0.0395173579454422,
-0.05925850570201874,
-0.011842934414744377,
0.0482834093272686,
0.05185995623469353,
0.022318365052342415,
0.004575878381729126,
0.005562059115618467,
-0.02326509915292263,
-0.04502243921160698,
-0.027420207858085632,
0.0006070490344427526,
0.04617955535650253,
-0.009730316698551178,
-0.04302377626299858,
-0.016786986961960793,
-0.026052704080939293,
-0.01861909218132496,
-0.01949569769203663,
0.08653845638036728,
0.060941584408283234,
0.0021520655136555433,
0.013911723159253597,
0.010694582015275955,
0.029979893937706947,
-0.00334424851462245,
-0.018215853720903397,
0.015919148921966553,
0.03962254896759987,
-0.06444800645112991,
-0.03401227667927742,
-0.016050638630986214,
-0.07202187180519104,
-0.05813644826412201,
0.05512093007564545,
0.048353537917137146,
0.019162587821483612,
-0.0001195744116557762,
0.005491930991411209,
-0.0028489665128290653,
-0.05775074288249016,
-0.01662919856607914,
0.04242768511176109,
0.032346729189157486,
0.050211939960718155,
0.0033968447241932154,
0.02440468594431877,
0.005829423666000366,
0.06774403899908066
] |
18,178 | jsondiff | patch | null | def patch(a, d, fp=None, cls=JsonDiffer, **kwargs):
return cls(**kwargs).patch(a, d, fp)
| (a, d, fp=None, cls=<class 'jsondiff.JsonDiffer'>, **kwargs) | [
-0.0005704701179638505,
-0.037740763276815414,
0.027143267914652824,
0.04580853506922722,
-0.07069556415081024,
-0.03733053803443909,
-0.047244325280189514,
0.07486619055271149,
0.0012328136945143342,
-0.02181033231317997,
-0.012135843746364117,
-0.03565545007586479,
-0.03832191601395607,
0.04666317254304886,
-0.035552892833948135,
-0.011776896193623543,
-0.04635550454258919,
0.052611447870731354,
-0.027826976031064987,
0.0003714999766089022,
0.04690247029066086,
0.005820077378302813,
0.024237502366304398,
0.08888223767280579,
0.02016943134367466,
-0.0004470819258131087,
0.03856121748685837,
-0.001033042324706912,
0.05671370401978493,
0.02382727712392807,
0.04946638271212578,
-0.02864742837846279,
0.0009876397671177983,
0.04973986744880676,
-0.005670515820384026,
-0.04068071395158768,
-0.019707925617694855,
0.05363700911402702,
-0.08040423691272736,
-0.015152712352573872,
-0.031177153810858727,
0.049637310206890106,
-0.009136068634688854,
-0.01108464039862156,
0.04905615746974945,
0.04638969153165817,
-0.017383314669132233,
0.05924342945218086,
-0.0191267728805542,
0.02382727712392807,
0.050047535449266434,
-0.042013950645923615,
-0.008700203150510788,
0.03558707982301712,
-0.023724719882011414,
0.0384928435087204,
0.02486993372440338,
0.060952700674533844,
-0.026220260187983513,
-0.007978035137057304,
-0.005072270054370165,
-0.034578606486320496,
0.02791243977844715,
-0.07302017509937286,
-0.03541615232825279,
-0.0463213175535202,
-0.02504086121916771,
0.02035745047032833,
-0.011041908524930477,
0.020186522975564003,
-0.0281517393887043,
0.01736622117459774,
0.03514266759157181,
-0.0006730265449732542,
0.0415695384144783,
0.0905231386423111,
0.018015746027231216,
0.002969863126054406,
0.023536698892712593,
0.02109243907034397,
-0.008704476989805698,
-0.046526432037353516,
-0.004048842005431652,
0.05062868818640709,
-0.042800214141607285,
0.008213059976696968,
0.06659330427646637,
-0.04351811110973358,
-0.015768051147460938,
-0.03406582772731781,
-0.0015020243590697646,
0.015033062547445297,
-0.05739741399884224,
-0.056406036019325256,
0.00989669468253851,
0.0031023318879306316,
0.02345123514533043,
0.02375890500843525,
0.013084490783512592,
0.053295157849788666,
0.023724719882011414,
-0.041706278920173645,
-0.017400406301021576,
0.0010661594569683075,
0.0365784578025341,
-0.016973087564110756,
0.04683410003781319,
-0.019400257617235184,
-0.06953325867652893,
0.023741813376545906,
0.004956894088536501,
0.044133447110652924,
-0.058046936988830566,
0.040543973445892334,
0.04355229437351227,
0.01669960469007492,
-0.004166354890912771,
-0.058593906462192535,
0.08307070285081863,
0.013024666346609592,
-0.015938978642225266,
0.02510923147201538,
-0.009033511392772198,
0.0410909429192543,
0.040065377950668335,
-0.018477249890565872,
0.008674564771354198,
-0.005726066883653402,
0.06673004478216171,
-0.0285106860101223,
0.0021344556007534266,
0.02539980784058571,
-0.00036215237923897803,
0.04556923732161522,
0.024716097861528397,
0.03437349572777748,
-0.023861462250351906,
0.006166205275803804,
0.008730115368962288,
-0.03138226643204689,
-0.026527928188443184,
-0.019759204238653183,
0.043039511889219284,
0.014340806752443314,
-0.054628390818834305,
-0.021553942933678627,
-0.04088582843542099,
0.0020981335546821356,
-0.06666167825460434,
0.0900445431470871,
-0.0014486095169559121,
0.024938303977251053,
0.02083604782819748,
0.015528752468526363,
0.012426420114934444,
-0.052064478397369385,
-0.06368754059076309,
-0.052303776144981384,
0.028784170746803284,
0.011537597514688969,
0.0011954233050346375,
-0.05332934111356735,
0.05435490608215332,
-0.015161258168518543,
0.016178276389837265,
-0.0059439996257424355,
-0.0003650902071967721,
-0.049637310206890106,
-0.019417349249124527,
0.05271400138735771,
0.04040723294019699,
-0.0012317453511059284,
0.003565972438082099,
0.03845866024494171,
0.03492046147584915,
0.026596300303936005,
0.022135095670819283,
-0.018665269017219543,
0.02473319135606289,
-0.011956370435655117,
0.018733641132712364,
0.04768873751163483,
0.059756211936473846,
0.03733053803443909,
0.03215143829584122,
-0.011041908524930477,
-0.06327731162309647,
0.0018246497493237257,
0.014161333441734314,
0.039518408477306366,
0.03157028555870056,
0.0034270938485860825,
0.02656211517751217,
0.017195293679833412,
-0.06563611328601837,
-0.022989731281995773,
-0.0479964055120945,
-0.06266197562217712,
0.062183380126953125,
0.055653952062129974,
-0.034458957612514496,
-0.06915721297264099,
0.04262928664684296,
0.0329035185277462,
-0.012016194872558117,
0.034151289612054825,
0.01979338936507702,
-0.015511658973991871,
-0.008157509379088879,
-0.029399508610367775,
-0.017896097153425217,
-0.006191844120621681,
0.0003747048613149673,
-0.03514266759157181,
0.0339803621172905,
-0.030903669074177742,
0.04973986744880676,
0.0032689860090613365,
-0.01748587004840374,
-0.0032476200722157955,
0.01404168363660574,
0.04779129475355148,
0.003155746730044484,
0.03880051523447037,
-0.013939127326011658,
0.021365921944379807,
0.0055508664809167385,
0.025741662830114365,
-0.01784481853246689,
-0.0563034787774086,
-0.0213830154389143,
-0.05001335218548775,
0.020323265343904495,
-0.05343189835548401,
0.033296652138233185,
-0.0425267331302166,
-0.0163321103900671,
-0.027091989293694496,
0.027006525546312332,
0.017571333795785904,
0.030117403715848923,
0.03345048800110817,
0.0655677393078804,
0.06208082288503647,
0.016058627516031265,
-0.004597946535795927,
0.004360784776508808,
-0.03497174009680748,
0.029963569715619087,
-0.017708076164126396,
0.01370837539434433,
0.012358048930764198,
0.002117362804710865,
0.11137627810239792,
0.017622612416744232,
-0.0027433843351900578,
0.06631982326507568,
0.0126486262306571,
0.01401604525744915,
0.011127372272312641,
-0.01784481853246689,
-0.0027690234128385782,
-0.0027690234128385782,
0.026852691546082497,
-0.04016793519258499,
-0.03157028555870056,
-0.010161632671952248,
-0.0323052741587162,
-0.0011868770234286785,
0.04126187041401863,
-0.04416763409972191,
-0.055722326040267944,
0.011631608009338379,
0.029091838747262955,
-0.049876607954502106,
0.00386082218028605,
-0.00871302280575037,
-0.0027476574759930372,
0.05886738747358322,
-0.07732754200696945,
0.0010634887730702758,
-0.05527791380882263,
0.015486020594835281,
0.01656286232173443,
-0.03288642689585686,
-0.020066874101758003,
-0.011212836019694805,
0.04509064182639122,
-0.030749835073947906,
-0.0326642207801342,
0.051517512649297714,
0.0022135095205157995,
-0.005153460428118706,
-0.029331138357520103,
-0.003444186644628644,
0.027553493157029152,
-0.09202729910612106,
-0.03934748098254204,
0.03815099224448204,
-0.016349203884601593,
-0.0005194589612074196,
-0.05791019648313522,
0.06020062044262886,
0.062046635895967484,
-0.0425267331302166,
-0.05100473016500473,
0.02876707725226879,
-0.009853962808847427,
-0.03651008754968643,
0.026664670556783676,
0.03430512547492981,
0.02528015896677971,
-0.09544584900140762,
0.01352890208363533,
-0.020152337849140167,
-0.031416453421115875,
-0.05373956635594368,
0.011101732961833477,
-0.001858835224993527,
0.0190071240067482,
-0.051825180649757385,
-0.03016868233680725,
-0.03324537351727486,
0.04485134407877922,
0.007149037439376116,
-0.022442763671278954,
0.07609687000513077,
0.042492546141147614,
0.004482570569962263,
-0.0016943176742643118,
-0.03297189250588417,
-0.05001335218548775,
0.05069705843925476,
-0.019229330122470856,
-0.010400930419564247,
-0.003452732926234603,
-0.019024217501282692,
-0.08122468739748001,
0.023793090134859085,
-0.0004169025633018464,
0.026647578924894333,
0.0185285285115242,
-0.016349203884601593,
0.009067697450518608,
-0.01950281299650669,
0.055106986314058304,
0.06679841876029968,
0.011870906688272953,
0.044509489089250565,
0.0010367813520133495,
-0.026493743062019348,
-0.03363850712776184,
0.01480231061577797,
0.037569835782051086,
0.005469676107168198,
-0.003681348403915763,
-0.0006874485407024622,
-0.013571633957326412,
-0.016169730573892593,
-0.06221756339073181,
-0.025075046345591545,
-0.015315093100070953,
0.0053372071124613285,
-0.011016269214451313,
-0.00032769981771707535,
-0.010093261487782001,
-0.028254294767975807,
-0.05979039520025253,
-0.0217419620603323,
-0.03345048800110817,
-0.010298374108970165,
0.0056876083835959435,
0.00031461319304071367,
-0.04126187041401863,
0.026151888072490692,
-0.034578606486320496,
-0.04057816043496132,
0.020682211965322495,
-0.00245280796661973,
0.07684894651174545,
0.0252972524613142,
-0.0525088906288147,
-0.0096232108771801,
0.022083817049860954,
-0.020083967596292496,
-0.012255492620170116,
0.021793240681290627,
-0.024288780987262726,
0.016588501632213593,
0.011041908524930477,
0.0021483434829860926,
-0.06601215153932571,
-0.00816605519503355,
0.017656797543168068,
-0.0781479999423027,
-0.0422874316573143,
0.010913712903857231,
0.003651436185464263,
-0.03514266759157181,
-0.01693890243768692,
0.014939052984118462,
0.0076746391132473946,
0.04433856159448624,
0.005546593572944403,
0.04826989024877548,
-0.018990032374858856,
0.03363850712776184,
0.05100473016500473,
-0.02905765362083912,
0.04160372167825699,
0.0160928126424551,
0.02663048543035984,
-0.0022006898652762175,
0.02601514756679535,
0.038356103003025055,
0.025878405198454857,
-0.010794064030051231,
-0.04874848946928978,
-0.05319260060787201,
0.015819327905774117,
0.02584422007203102,
0.015280907042324543,
-0.034886278212070465,
0.034646980464458466,
0.025912590324878693,
-0.05086798593401909,
-0.010212910361588001,
0.004053115379065275,
-0.005230377893894911,
0.07349877059459686,
0.04806477949023247,
-0.04683410003781319,
-0.015178350731730461,
0.013751107268035412,
0.04580853506922722,
-0.018203765153884888,
0.018784917891025543,
-0.014580105431377888,
0.01786191016435623,
0.03733053803443909,
0.02594677545130253,
0.010349652729928493,
0.03215143829584122,
-0.04382577911019325,
-0.0555855818092823,
-0.04782548174262047,
0.043962519615888596,
-0.015349278226494789,
0.04837244749069214,
-0.002009464893490076,
0.10638520121574402,
-0.0009267468703910708,
0.07131090015172958,
0.015007423236966133,
-0.06149967014789581,
-0.06495240330696106,
0.009486469440162182,
-0.05524372681975365,
-0.003019004827365279,
0.03175830841064453,
-0.0024506712798029184,
-0.05032102018594742,
-0.04854337498545647,
-0.028835447505116463,
-0.01967374049127102,
0.036339160054922104,
-0.012238400056958199,
-0.013503262773156166,
-0.08013075590133667,
-0.012657172046601772,
0.0629696473479271,
-0.017195293679833412,
-0.03504011034965515,
0.01316140778362751,
-0.04526156932115555,
0.08108794689178467,
-0.02064802683889866,
-0.032630037516355515,
-0.04915871471166611,
0.0011665793135762215,
-0.01364855095744133,
-0.016605595126748085,
-0.02772442065179348,
0.0016750883078202605,
0.04488552734255791,
-0.06891791522502899,
0.013836571015417576,
0.04649224504828453,
0.051517512649297714,
-0.010059076361358166,
0.03685194253921509,
-0.006781543605029583,
-0.004931254778057337,
-0.025382716208696365,
0.01005052961409092,
0.005576505791395903,
-0.004365057684481144,
-0.028715798631310463,
0.015691133216023445,
-0.05148332566022873,
-0.026596300303936005,
-0.0163321103900671,
0.013614365831017494,
0.00426463782787323,
0.02717745304107666,
-0.03644171729683876,
-0.003516830736771226,
0.027809884399175644,
-0.013964766636490822,
0.055175356566905975,
-0.037877507507801056,
0.03941585123538971,
0.03138226643204689,
0.03910818323493004,
0.010135993361473083,
-0.0006148043903522193,
-0.029382415115833282,
-0.004307369701564312,
-0.021536849439144135,
-0.055106986314058304,
0.044988084584474564,
0.0059354533441364765,
0.04375740885734558,
-0.0724732056260109,
-0.01152050495147705,
0.01656286232173443,
0.013383613899350166,
0.02083604782819748,
0.06854187697172165,
-0.0023139293771237135,
0.015007423236966133,
0.019895946606993675,
0.022511135786771774,
-0.01486213505268097,
0.0008140416466630995,
0.027040710672736168,
-0.004083027597516775,
0.015195444226264954,
-0.0570213720202446,
-0.05391049385070801,
0.017229478806257248,
0.06710609048604965,
-0.0016174003249034286,
0.006375591270625591,
-0.04266347363591194,
-0.008999326266348362,
-0.03746728226542473,
-0.03004903346300125,
0.02199835330247879,
-0.01767389103770256,
0.0005571164074353874,
-0.03215143829584122,
0.002138728741556406,
0.09346309304237366,
-0.08669436722993851,
-0.02131464332342148,
0.014101509004831314,
-0.042253248393535614,
0.0255365502089262,
-0.04574016481637955,
-0.00393132958561182,
0.025929683819413185,
0.07124253362417221,
0.007529350928962231,
0.01969083398580551,
0.025365622714161873,
0.07807962596416473,
0.0724732056260109,
-0.05920924246311188,
-0.028681613504886627,
-0.010682960972189903,
0.07568664103746414,
-0.0038202267605811357,
0.013118675909936428,
0.0010875253938138485,
-0.017169654369354248,
0.019913040101528168,
-0.04611620679497719,
-0.008486543782055378,
-0.03493755683302879,
0.006888373289257288,
0.02644246444106102,
-0.03151900693774223,
-0.05729485675692558,
-0.01566549390554428,
-0.03192923218011856,
-0.007554990239441395,
0.030732741579413414,
0.019707925617694855,
-0.003006185172125697,
-0.05411560833454132,
0.004155671689659357,
-0.005093635991215706,
-0.07028533518314362,
-0.018784917891025543,
0.042560916393995285,
-0.022870082408189774,
-0.0019186597783118486,
0.009939426556229591,
-0.010101808235049248,
-0.018049931153655052,
-0.04129605367779732,
-0.027946626767516136,
-0.03418547660112381,
-0.0037005776539444923,
-0.03297189250588417,
-0.011982008814811707,
-0.003653572639450431,
-0.02413494512438774,
-0.05746578425168991,
0.019844667986035347,
0.03493755683302879,
0.049192897975444794,
-0.03059600107371807,
0.04416763409972191,
-0.06091851741075516,
-0.014751032926142216,
0.027382565662264824,
-0.021776147186756134,
-0.016238100826740265,
-0.04362066462635994,
-0.028784170746803284,
-0.012135843746364117,
0.04081745818257332,
-0.014050230383872986,
0.011930731125175953,
-0.011195743456482887,
0.029467878863215446,
-0.03565545007586479,
-0.04806477949023247,
0.022750433534383774,
0.02796371839940548,
-0.010315467603504658,
-0.019536999985575676,
-0.007901118136942387,
-0.06502077728509903,
-0.0164517592638731,
-0.0185285285115242,
-0.023075195029377937,
0.04464622959494591,
0.0011462817201390862,
-0.00987105630338192,
-0.004790239501744509,
-0.005734613630920649,
-0.04238998889923096,
-0.021981259807944298,
-0.03493755683302879,
-0.061328742653131485,
0.027433844283223152,
-0.013682736083865166,
-0.04444111883640289,
0.03688612952828407,
-0.0860106572508812,
-0.0185285285115242,
0.004529575351625681,
0.06119200214743614,
0.023177752271294594,
-0.0021632995922118425,
0.049329642206430435,
0.01564840041100979,
-0.03903981298208237,
0.02345123514533043,
-0.03315991163253784,
-0.011554691009223461,
0.0030467805918306112,
-0.006785816978663206,
0.010836795903742313,
-0.04611620679497719,
0.05599580705165863,
0.0127682751044631,
-0.0570213720202446,
0.029826827347278595,
-0.012016194872558117,
0.02833975851535797,
-0.035860564559698105,
-0.08519020676612854,
0.01206747256219387,
-0.006033736281096935,
0.08758318424224854,
0.033057354390621185,
-0.009589025750756264,
-0.003942012786865234,
-0.0010148813016712666,
0.031057504937052727,
-0.0325445719063282,
0.07643872499465942,
0.026698855683207512,
0.020083967596292496,
0.009332634508609772,
0.03931329771876335,
0.06765305250883102,
-0.03979189321398735,
-0.050047535449266434,
-0.006157658528536558,
0.010016344487667084,
-0.04478297382593155,
-0.012255492620170116,
-0.02351960726082325,
-0.026493743062019348,
0.030271237716078758,
0.00048473934293724597,
0.060713402926921844,
0.007879751734435558,
-0.011631608009338379,
0.03466407209634781,
0.0036557093262672424,
-0.04758618026971817,
0.031177153810858727,
-0.0026728769298642874,
-0.06064503267407417,
-0.014614290557801723,
0.05972202494740486,
0.07185786962509155,
-0.01986176148056984,
0.06228593736886978,
0.03514266759157181,
0.003651436185464263,
-0.050731245428323746,
0.018802011385560036,
0.0560641810297966,
-0.04215069115161896,
0.03517685458064079,
-0.0008300660992972553,
0.047244325280189514,
0.03163865581154823,
-0.03235655277967453,
-0.010759877972304821,
-0.03668101504445076,
-0.050491947680711746,
-0.011896545067429543,
0.010700053535401821,
0.06358498334884644,
-0.0015810782788321376,
-0.08190839737653732,
0.00023582635913044214,
-0.007166130468249321,
-0.019639555364847183,
-0.033365022391080856,
0.04379159212112427,
0.0650891438126564,
-0.02644246444106102,
-0.0008525002631358802,
0.015067248605191708,
0.017759354785084724,
-0.017400406301021576,
-0.0024934031534940004,
0.02936532348394394,
0.03623660281300545,
-0.052679818123579025,
-0.00608074152842164,
0.008785666897892952,
-0.023502513766288757,
-0.09257426857948303,
0.049808237701654434,
0.0467999167740345,
-0.055483024567365646,
-0.006183297839015722,
0.024169130250811577,
0.07192624360322952,
-0.02960462123155594,
-0.05438908934593201,
0.004576580598950386,
0.031091690063476562,
0.032630037516355515,
-0.011862359941005707,
0.03986026346683502,
-0.0032518934458494186,
0.04221906140446663
] |
18,179 | jsondiff | similarity | null | def similarity(a, b, cls=JsonDiffer, **kwargs):
return cls(**kwargs).similarity(a, b)
| (a, b, cls=<class 'jsondiff.JsonDiffer'>, **kwargs) | [
0.021663391962647438,
-0.09064872562885284,
0.06547234952449799,
0.010797254741191864,
-0.05954849720001221,
-0.03533646836876869,
-0.055622220039367676,
0.04184582084417343,
0.017960984259843826,
0.06605784595012665,
0.011356920935213566,
0.019596930593252182,
0.0389527752995491,
0.023127134889364243,
-0.0190458744764328,
-0.05014610290527344,
-0.01120193675160408,
-0.004305125679820776,
0.005966904107481241,
-0.000430781627073884,
-0.02204224281013012,
0.03476819396018982,
0.004367549903690815,
0.08314058184623718,
0.010444234125316143,
-0.01918363943696022,
0.020475177094340324,
-0.007994618266820908,
0.010547557845711708,
0.06967414915561676,
0.017926542088389397,
-0.023609308525919914,
0.0035861695650964975,
0.0386083647608757,
0.005799003876745701,
-0.06068504974246025,
0.006741826422512531,
0.013001479208469391,
-0.10952239483594894,
-0.04708085209131241,
-0.03466486930847168,
-0.005437373649328947,
-0.0038014259189367294,
-0.006754742003977299,
0.009350732900202274,
0.024435892701148987,
-0.06547234952449799,
0.01572231762111187,
-0.05724094808101654,
-0.010650880634784698,
-0.008920219726860523,
-0.061856042593717575,
0.004989640321582556,
0.08369164168834686,
-0.02200780063867569,
0.0765279084444046,
0.009281850419938564,
0.0652657002210617,
-0.04966392740607262,
0.029274852946400642,
0.011081392876803875,
-0.018133189529180527,
0.001841517398133874,
-0.03221955895423889,
-0.0391249805688858,
-0.01908031664788723,
-0.06282038986682892,
0.03754069283604622,
-0.0008755549206398427,
0.03533646836876869,
-0.039434950798749924,
0.004882012493908405,
0.010022331960499287,
0.01436189841479063,
-0.0035840170457959175,
0.08720462024211884,
0.0020653840620070696,
0.05448566749691963,
0.014293016865849495,
0.0033170992974191904,
0.02829328551888466,
-0.03781622275710106,
-0.0015380061231553555,
-0.10869580507278442,
-0.04129476472735405,
-0.0018673482118174434,
-0.02176671475172043,
-0.02252441644668579,
0.020061884075403214,
-0.06378474086523056,
-0.10607828944921494,
0.006858064793050289,
-0.016626395285129547,
0.013509484007954597,
-0.027621684595942497,
0.04181138053536415,
-0.0320301353931427,
-0.0193902850151062,
0.045772094279527664,
0.018305392935872078,
0.04229355230927467,
0.07763002067804337,
0.020234089344739914,
0.013733350671827793,
0.006604062393307686,
-0.06998412311077118,
-0.02529691718518734,
-0.04349898919463158,
-0.02500416897237301,
0.05334911495447159,
-0.021405084058642387,
0.06061616539955139,
0.01897699385881424,
0.026381809264421463,
0.027294496074318886,
0.015128211118280888,
-0.004490246064960957,
-0.023333780467510223,
0.013741960749030113,
0.026777880266308784,
0.011158885434269905,
0.0718439370393753,
0.03211623802781105,
0.024022599682211876,
0.02257607877254486,
0.0032482172828167677,
0.05827417969703674,
-0.03166850283741951,
-0.004203955177217722,
0.056035514920949936,
0.04198358207941055,
-0.0029425532557070255,
0.02235221117734909,
0.08720462024211884,
0.04222467169165611,
0.08238288015127182,
-0.011804654262959957,
0.05761979892849922,
0.062475983053445816,
0.015696488320827484,
0.031100226566195488,
0.00806780532002449,
0.046254269778728485,
-0.01617005094885826,
-0.06660889834165573,
0.015240143984556198,
-0.05011166259646416,
-0.013242566026747227,
-0.0020761466585099697,
0.015024888329207897,
0.005278083961457014,
0.003017893061041832,
0.11337978392839432,
0.004290057346224785,
-0.008390689268708229,
-0.06240709871053696,
-0.01873590610921383,
-0.05338355526328087,
0.016488630324602127,
0.058962997049093246,
0.06829651445150375,
-0.013397550210356712,
0.05755091831088066,
0.0021730121225118637,
0.013561145402491093,
-0.0017607962945476174,
0.033511098474264145,
0.012157674878835678,
-0.06158051639795303,
-0.015438180416822433,
0.0036873400676995516,
-0.023609308525919914,
-0.04670200124382973,
-0.021026233211159706,
0.005618188995867968,
-0.015016277320683002,
0.015265975147485733,
-0.012235166504979134,
0.055450014770030975,
-0.019683033227920532,
-0.020079106092453003,
-0.014318847097456455,
-0.003553881077095866,
-0.017272163182497025,
0.012975648045539856,
0.004139378201216459,
-0.005136014893651009,
0.03578420355916023,
0.030428627505898476,
0.0009250638540834188,
0.03750625252723694,
-0.009359342977404594,
-0.0512482151389122,
0.016643615439534187,
0.016652224585413933,
-0.012123233638703823,
-0.03130687400698662,
-0.0014702003682032228,
-0.002492667641490698,
0.1028408408164978,
-0.07921431213617325,
-0.027604464441537857,
0.0016940669156610966,
0.0060616168193519115,
0.01432745810598135,
-0.029154310002923012,
0.0035947798751294613,
0.0346304289996624,
-0.0036615091376006603,
-0.09622816741466522,
-0.036748550832271576,
0.0020298666786402464,
-0.024160364642739296,
0.015584554523229599,
0.03165128082036972,
0.029257632791996002,
0.04456665739417076,
-0.013388940133154392,
0.033717744052410126,
-0.02584797330200672,
0.07432368397712708,
-0.03142741695046425,
-0.006888200994580984,
0.062338218092918396,
0.014206914231181145,
-0.001181756961159408,
0.0025701599661260843,
0.031186329200863838,
-0.033338893204927444,
-0.08775568008422852,
-0.024280907586216927,
0.010022331960499287,
0.05823973938822746,
0.002970536705106497,
-0.05710318312048912,
-0.05362464487552643,
0.02243831381201744,
0.0287410169839859,
-0.026674557477235794,
-0.0386083647608757,
-0.013285617344081402,
-0.010117044672369957,
0.007538274861872196,
0.04374007508158684,
-0.0025055829901248217,
-0.08279617130756378,
0.0009821067797020078,
-0.0027660431805998087,
0.015662046149373055,
-0.026950085535645485,
-0.01882200874388218,
0.004251311533153057,
0.03190958872437477,
-0.01864980347454548,
0.015171262435615063,
-0.006746131461113691,
-0.017978204414248466,
-0.004352482035756111,
0.03206457570195198,
-0.0058592758141458035,
-0.015420959331095219,
-0.02183559723198414,
-0.030773036181926727,
0.014293016865849495,
-0.06430135667324066,
-0.04084702953696251,
0.010642270557582378,
0.058377500623464584,
-0.023264897987246513,
0.008588725700974464,
-0.06836539506912231,
-0.05321134999394417,
0.015567333437502384,
-0.002746670041233301,
-0.042465757578611374,
-0.03406215459108353,
-0.006526570301502943,
-0.03225399926304817,
0.004813130479305983,
-0.06030619889497757,
-0.022886047139763832,
-0.015593164600431919,
-0.026381809264421463,
-0.04866513982415199,
0.03550867363810539,
0.03543979302048683,
0.04201802611351013,
-0.03547423332929611,
-0.014585765078663826,
-0.06395694613456726,
0.01949360780417919,
-0.033321671187877655,
-0.010986680164933205,
-0.005312524735927582,
-0.013302837498486042,
0.03268451243638992,
-0.02534857951104641,
-0.01933862455189228,
0.03232288360595703,
0.0006785953883081675,
-0.06447356194257736,
-0.01407776027917862,
0.06808986514806747,
0.008459571748971939,
-0.06085725501179695,
-0.0006898963474668562,
0.05600107088685036,
0.0020901383832097054,
0.016264764592051506,
0.0227655041962862,
-0.04012376815080643,
0.04029597342014313,
-0.030704155564308167,
0.02486640401184559,
-0.0562766008079052,
0.058997441083192825,
-0.01854648068547249,
0.0801786556839943,
-0.007456477265805006,
0.027552803978323936,
0.02517637424170971,
-0.006771962624043226,
-0.05796420946717262,
0.03760957717895508,
0.01868424378335476,
-0.058721911162137985,
-0.03437212109565735,
-0.014387729577720165,
0.0453588031232357,
0.015662046149373055,
0.02240387350320816,
0.006965693086385727,
0.07439257204532623,
-0.001672541256994009,
-0.0033515403047204018,
0.004221175331622362,
0.04150141030550003,
-0.0007227229652926326,
0.020044663920998573,
-0.002748822560533881,
-0.03277061507105827,
-0.03585308417677879,
0.011486074887216091,
-0.010581998154520988,
-0.042500197887420654,
0.02250719629228115,
-0.014301626943051815,
-0.030773036181926727,
0.011477464810013771,
-0.061856042593717575,
-0.061752721667289734,
0.013371719978749752,
0.035887524485588074,
0.018236512318253517,
0.008033364079892635,
0.06881312280893326,
-0.03466486930847168,
-0.045186597853899,
-0.01920085959136486,
0.005975514184683561,
-0.02192169986665249,
0.02571021020412445,
-0.019803578034043312,
-0.022937709465622902,
0.014043319039046764,
0.01880478858947754,
-0.007529664319008589,
-0.03771289810538292,
-0.02825884334743023,
-0.0649212896823883,
-0.01871868595480919,
0.0007469392730854452,
-0.01908031664788723,
-0.011899366974830627,
0.008227095007896423,
0.004705502185970545,
-0.03816063329577446,
0.020371854305267334,
0.004460109863430262,
0.036300819367170334,
-0.01409498043358326,
-0.0027961789164692163,
-0.021439524367451668,
-0.004679671488702297,
0.03592196851968765,
0.03612861409783363,
0.033270008862018585,
-0.046185385435819626,
0.004382617771625519,
0.04973280802369118,
-0.06430135667324066,
-0.052281443029642105,
-0.016798600554466248,
0.01882200874388218,
-0.08823785185813904,
-0.048906225711107254,
-0.016126999631524086,
0.013733350671827793,
-0.058928556740283966,
-0.013078970834612846,
0.01854648068547249,
0.007262746803462505,
-0.03564643859863281,
-0.018425937741994858,
-0.04463554173707962,
0.03867724910378456,
0.019648592919111252,
0.03795398771762848,
-0.029240412637591362,
0.03847059980034828,
-0.05431346222758293,
-0.04801075905561447,
-0.031100226566195488,
0.024263687431812286,
-0.03506094217300415,
0.026777880266308784,
0.014559934847056866,
-0.04442889615893364,
-0.024521995335817337,
0.055656664073467255,
0.033459436148405075,
0.01406054012477398,
0.02247275598347187,
-0.014999057166278362,
0.049078430980443954,
-0.04725305736064911,
0.020079106092453003,
-0.04408448562026024,
0.05383129045367241,
-0.00004099959187442437,
0.012786222621798515,
-0.01594618521630764,
-0.006483518984168768,
-0.042982373386621475,
0.023299338296055794,
-0.0013754875399172306,
-0.011787433177232742,
-0.04849293455481529,
0.05183371156454086,
0.013173684477806091,
0.03199569135904312,
-0.05169594660401344,
-0.014921564608812332,
-0.011055562645196915,
-0.11758159101009369,
-0.0967792198061943,
0.039159420877695084,
-0.02505583129823208,
0.027673346921801567,
-0.0448421873152256,
0.07322157174348831,
0.024676978588104248,
-0.021026233211159706,
-0.005174760706722736,
0.07101734727621078,
-0.0110383415594697,
-0.004705502185970545,
-0.07487474381923676,
-0.0029834520537406206,
0.02550356276333332,
0.0071163722313940525,
-0.027501141652464867,
-0.029412617906928062,
0.020940130576491356,
-0.05476119741797447,
0.0444977767765522,
0.010306470096111298,
-0.008403604850172997,
0.01257096603512764,
0.010134265758097172,
0.03881501033902168,
0.012321269139647484,
-0.019717475399374962,
-0.0015423111617565155,
0.009746803902089596,
0.036748550832271576,
-0.00636728061363101,
-0.046150945127010345,
-0.02853437140583992,
0.00013238261453807354,
-0.00941100437194109,
-0.0053814067505300045,
0.003947800025343895,
-0.020302971825003624,
0.04770078882575035,
-0.027501141652464867,
0.027380598708987236,
-0.02820718288421631,
0.10897133499383926,
-0.021439524367451668,
0.007081931456923485,
0.04074370861053467,
0.029739806428551674,
0.046323150396347046,
-0.04084702953696251,
0.01584286242723465,
0.005583747755736113,
-0.02524525672197342,
-0.0346304289996624,
0.023144355043768883,
0.0006145566585473716,
-0.00017503026174381375,
-0.032718952745199203,
0.02221444807946682,
0.0644046738743782,
0.003551728557795286,
-0.02496972866356373,
-0.05686209723353386,
-0.04022709280252457,
0.03511260449886322,
-0.06626449525356293,
-0.007960177026689053,
0.0512482151389122,
0.039572712033987045,
0.013905555009841919,
0.011666890233755112,
-0.039434950798749924,
-0.03161684051156044,
-0.00550625566393137,
-0.039676036685705185,
0.014034708961844444,
0.027725007385015488,
-0.016712497919797897,
-0.07694119960069656,
-0.00977263506501913,
-0.01753908209502697,
0.005445983726531267,
-0.013139243237674236,
0.06746992468833923,
-0.020096326246857643,
-0.046150945127010345,
-0.04225911200046539,
-0.05197147652506828,
-0.005992734804749489,
-0.06433579325675964,
0.030962463468313217,
-0.02524525672197342,
0.06932973861694336,
0.06877868622541428,
0.013690299354493618,
0.029154310002923012,
0.020905690267682076,
-0.02550356276333332,
0.02231777086853981,
-0.016531681641936302,
0.04835516959428787,
0.006229516584426165,
0.030411407351493835,
0.006195075809955597,
0.039744917303323746,
0.0026325841899961233,
-0.017272163182497025,
0.012338489294052124,
0.015765368938446045,
-0.01433606818318367,
0.03530202805995941,
-0.03867724910378456,
-0.0289132222533226,
0.052281443029642105,
0.010194537229835987,
0.05789532884955406,
0.0022214448545128107,
0.06853760033845901,
0.02254163660109043,
-0.020337412133812904,
0.011520516127347946,
0.06350921094417572,
0.05792976915836334,
-0.002171935746446252,
-0.0173152144998312,
0.016454190015792847,
0.07005300372838974,
-0.010891967453062534,
0.030807478353381157,
0.020595720037817955,
0.019855238497257233,
-0.006974303163588047,
-0.03206457570195198,
-0.049388401210308075,
-0.03235732391476631,
-0.004171666689217091,
0.0574820339679718,
-0.0004819049790967256,
0.0025766175240278244,
-0.007417731452733278,
-0.012760392390191555,
-0.03196125105023384,
-0.018081527203321457,
-0.010780034586787224,
0.036748550832271576,
-0.026261266320943832,
-0.0013754875399172306,
-0.0022989369463175535,
-0.015197092667222023,
-0.02519359439611435,
0.01406054012477398,
-0.0040941741317510605,
0.020905690267682076,
0.0018802635604515672,
-0.029274852946400642,
0.03194403275847435,
-0.004346024245023727,
-0.004053275566548109,
-0.04845849424600601,
0.046426475048065186,
0.030859138816595078,
-0.04666756093502045,
-0.04401560127735138,
-0.007077626418322325,
-0.007370374631136656,
0.006229516584426165,
0.062338218092918396,
0.021577289327979088,
-0.0195624902844429,
0.059100762009620667,
-0.0021633256692439318,
-0.03438934311270714,
-0.0054115429520606995,
-0.030755816027522087,
-0.013673078268766403,
-0.007663123309612274,
-0.005230727605521679,
0.02543468214571476,
0.01567065715789795,
-0.04856181517243385,
0.039744917303323746,
-0.03130687400698662,
-0.00966931227594614,
0.0022279024124145508,
-0.03540535271167755,
-0.005979819223284721,
-0.05286693945527077,
0.058033090084791183,
-0.02846548892557621,
0.013733350671827793,
-0.03235732391476631,
0.0005828063585795462,
0.019579710438847542,
-0.03409659489989281,
0.06020287424325943,
-0.036231935024261475,
0.020836807787418365,
-0.030618052929639816,
0.04828628897666931,
-0.0444977767765522,
-0.03440656140446663,
-0.015067939646542072,
-0.009032153524458408,
0.05930740758776665,
0.00958320964127779,
-0.049629487097263336,
0.03442378342151642,
0.03547423332929611,
-0.0010100901126861572,
-0.01625615358352661,
-0.0046064844354987144,
0.0012366472510620952,
-0.030755816027522087,
0.03478541225194931,
-0.006414636969566345,
0.008196959272027016,
0.024246467277407646,
-0.006802098359912634,
0.004516076762229204,
0.026932865381240845,
0.010702542029321194,
0.039986006915569305,
-0.05472675710916519,
0.0110383415594697,
0.037024080753326416,
0.0008335799211636186,
0.08148741722106934,
0.03516426682472229,
-0.006535180378705263,
-0.03736848756670952,
0.013509484007954597,
0.0455310083925724,
0.014206914231181145,
0.036679670214653015,
-0.01740131713449955,
-0.009832906536757946,
0.00977263506501913,
-0.023609308525919914,
0.030686935409903526,
-0.01913197711110115,
0.026175163686275482,
-0.03461321070790291,
0.03881501033902168,
0.036369699984788895,
-0.010762813501060009,
0.0227655041962862,
-0.049388401210308075,
-0.021112335845828056,
-0.026760660111904144,
0.003063096897676587,
0.04026153311133385,
-0.007400510832667351,
-0.04411892592906952,
-0.011821874417364597,
0.02887878194451332,
-0.006845149677246809,
0.026571234688162804,
0.0008863176917657256,
-0.004104936961084604,
0.033270008862018585,
-0.01442217081785202,
-0.0026067534927278757,
0.024229247123003006,
0.06278595328330994,
-0.061890482902526855,
-0.036541905254125595,
-0.006974303163588047,
0.048871785402297974,
0.026330146938562393,
0.03382106497883797,
0.05303914472460747,
0.01415525283664465,
0.024160364642739296,
0.0029425532557070255,
0.022834384813904762,
-0.031065786257386208,
-0.046082064509391785,
0.07008744031190872,
0.024332569912075996,
-0.03142741695046425,
0.002010493539273739,
0.055415574461221695,
-0.03259840980172157,
-0.03230566158890724,
-0.026261266320943832,
-0.03881501033902168,
0.05369352549314499,
-0.0054115429520606995,
-0.005854970775544643,
-0.052660293877124786,
-0.03464765101671219,
-0.018098747357726097,
-0.05049051344394684,
0.07556356489658356,
0.08527592569589615,
-0.01416386291384697,
0.02169783227145672,
0.0500427782535553,
-0.00970375258475542,
-0.014654647558927536,
-0.018374275416135788,
-0.026795100420713425,
0.06829651445150375,
-0.024298127740621567,
-0.061477191746234894,
0.018236512318253517,
-0.04036485776305199,
-0.03273617476224899,
0.017805999144911766,
0.03507816419005394,
0.0286549162119627,
0.005644019693136215,
-0.04198358207941055,
0.020957350730895996,
-0.06729771941900253,
0.010134265758097172,
0.049181751906871796,
0.013561145402491093,
0.02836216613650322,
-0.045875418931245804,
0.014697698876261711,
0.033562757074832916,
0.08479375392198563
] |
18,183 | aiohttp.client_reqrep | ClientResponse | null | class ClientResponse(HeadersMixin):
# Some of these attributes are None when created,
# but will be set by the start() method.
# As the end user will likely never see the None values, we cheat the types below.
# from the Status-Line of the response
version: Optional[HttpVersion] = None # HTTP-Version
status: int = None # type: ignore[assignment] # Status-Code
reason: Optional[str] = None # Reason-Phrase
content: StreamReader = None # type: ignore[assignment] # Payload stream
_headers: CIMultiDictProxy[str] = None # type: ignore[assignment]
_raw_headers: RawHeaders = None # type: ignore[assignment]
_connection = None # current connection
_source_traceback: Optional[traceback.StackSummary] = None
# set up by ClientRequest after ClientResponse object creation
# post-init stage allows to not change ctor signature
_closed = True # to allow __del__ for non-initialized properly response
_released = False
__writer = None
def __init__(
self,
method: str,
url: URL,
*,
writer: "asyncio.Task[None]",
continue100: Optional["asyncio.Future[bool]"],
timer: BaseTimerContext,
request_info: RequestInfo,
traces: List["Trace"],
loop: asyncio.AbstractEventLoop,
session: "ClientSession",
) -> None:
assert isinstance(url, URL)
self.method = method
self.cookies = SimpleCookie()
self._real_url = url
self._url = url.with_fragment(None)
self._body: Any = None
self._writer: Optional[asyncio.Task[None]] = writer
self._continue = continue100 # None by default
self._closed = True
self._history: Tuple[ClientResponse, ...] = ()
self._request_info = request_info
self._timer = timer if timer is not None else TimerNoop()
self._cache: Dict[str, Any] = {}
self._traces = traces
self._loop = loop
# store a reference to session #1985
self._session: Optional[ClientSession] = session
# Save reference to _resolve_charset, so that get_encoding() will still
# work after the response has finished reading the body.
if session is None:
# TODO: Fix session=None in tests (see ClientRequest.__init__).
self._resolve_charset: Callable[
["ClientResponse", bytes], str
] = lambda *_: "utf-8"
else:
self._resolve_charset = session._resolve_charset
if loop.get_debug():
self._source_traceback = traceback.extract_stack(sys._getframe(1))
def __reset_writer(self, _: object = None) -> None:
self.__writer = None
@property
def _writer(self) -> Optional["asyncio.Task[None]"]:
return self.__writer
@_writer.setter
def _writer(self, writer: Optional["asyncio.Task[None]"]) -> None:
if self.__writer is not None:
self.__writer.remove_done_callback(self.__reset_writer)
self.__writer = writer
if writer is not None:
writer.add_done_callback(self.__reset_writer)
@reify
def url(self) -> URL:
return self._url
@reify
def url_obj(self) -> URL:
warnings.warn("Deprecated, use .url #1654", DeprecationWarning, stacklevel=2)
return self._url
@reify
def real_url(self) -> URL:
return self._real_url
@reify
def host(self) -> str:
assert self._url.host is not None
return self._url.host
@reify
def headers(self) -> "CIMultiDictProxy[str]":
return self._headers
@reify
def raw_headers(self) -> RawHeaders:
return self._raw_headers
@reify
def request_info(self) -> RequestInfo:
return self._request_info
@reify
def content_disposition(self) -> Optional[ContentDisposition]:
raw = self._headers.get(hdrs.CONTENT_DISPOSITION)
if raw is None:
return None
disposition_type, params_dct = multipart.parse_content_disposition(raw)
params = MappingProxyType(params_dct)
filename = multipart.content_disposition_filename(params)
return ContentDisposition(disposition_type, params, filename)
def __del__(self, _warnings: Any = warnings) -> None:
if self._closed:
return
if self._connection is not None:
self._connection.release()
self._cleanup_writer()
if self._loop.get_debug():
kwargs = {"source": self}
_warnings.warn(f"Unclosed response {self!r}", ResourceWarning, **kwargs)
context = {"client_response": self, "message": "Unclosed response"}
if self._source_traceback:
context["source_traceback"] = self._source_traceback
self._loop.call_exception_handler(context)
def __repr__(self) -> str:
out = io.StringIO()
ascii_encodable_url = str(self.url)
if self.reason:
ascii_encodable_reason = self.reason.encode(
"ascii", "backslashreplace"
).decode("ascii")
else:
ascii_encodable_reason = "None"
print(
"<ClientResponse({}) [{} {}]>".format(
ascii_encodable_url, self.status, ascii_encodable_reason
),
file=out,
)
print(self.headers, file=out)
return out.getvalue()
@property
def connection(self) -> Optional["Connection"]:
return self._connection
@reify
def history(self) -> Tuple["ClientResponse", ...]:
"""A sequence of of responses, if redirects occurred."""
return self._history
@reify
def links(self) -> "MultiDictProxy[MultiDictProxy[Union[str, URL]]]":
links_str = ", ".join(self.headers.getall("link", []))
if not links_str:
return MultiDictProxy(MultiDict())
links: MultiDict[MultiDictProxy[Union[str, URL]]] = MultiDict()
for val in re.split(r",(?=\s*<)", links_str):
match = re.match(r"\s*<(.*)>(.*)", val)
if match is None: # pragma: no cover
# the check exists to suppress mypy error
continue
url, params_str = match.groups()
params = params_str.split(";")[1:]
link: MultiDict[Union[str, URL]] = MultiDict()
for param in params:
match = re.match(r"^\s*(\S*)\s*=\s*(['\"]?)(.*?)(\2)\s*$", param, re.M)
if match is None: # pragma: no cover
# the check exists to suppress mypy error
continue
key, _, value, _ = match.groups()
link.add(key, value)
key = link.get("rel", url)
link.add("url", self.url.join(URL(url)))
links.add(str(key), MultiDictProxy(link))
return MultiDictProxy(links)
async def start(self, connection: "Connection") -> "ClientResponse":
"""Start response processing."""
self._closed = False
self._protocol = connection.protocol
self._connection = connection
with self._timer:
while True:
# read response
try:
protocol = self._protocol
message, payload = await protocol.read() # type: ignore[union-attr]
except http.HttpProcessingError as exc:
raise ClientResponseError(
self.request_info,
self.history,
status=exc.code,
message=exc.message,
headers=exc.headers,
) from exc
if message.code < 100 or message.code > 199 or message.code == 101:
break
if self._continue is not None:
set_result(self._continue, True)
self._continue = None
# payload eof handler
payload.on_eof(self._response_eof)
# response status
self.version = message.version
self | (method: str, url: yarl.URL, *, writer: 'asyncio.Task[None]', continue100: Optional[ForwardRef('asyncio.Future[bool]')], timer: aiohttp.helpers.BaseTimerContext, request_info: aiohttp.client_reqrep.RequestInfo, traces: List[ForwardRef('Trace')], loop: asyncio.events.AbstractEventLoop, session: 'ClientSession') -> None | [
-0.031890153884887695,
-0.0009663483360782266,
-0.12924236059188843,
0.006091082468628883,
-0.018026240170001984,
0.03697744011878967,
-0.06029067933559418,
0.07517415285110474,
-0.006238235160708427,
-0.034097447991371155,
0.060584984719753265,
0.05764192342758179,
0.05915549769997597,
0.04071933031082153,
0.015535150654613972,
0.011141582392156124,
0.031869132071733475,
-0.012392383068799973,
0.00774129806086421,
-0.061299726366996765,
-0.021011343225836754,
0.037481967359781265,
0.019213974475860596,
0.019960250705480576,
-0.01287588570266962,
0.0123188067227602,
-0.05041040480136871,
-0.015198800712823868,
0.020349154248833656,
0.014862450771033764,
-0.015177778899669647,
-0.034160513430833817,
0.007510057650506496,
0.012634134851396084,
0.01718536578118801,
0.005126704927533865,
-0.04578559845685959,
-0.040025610476732254,
-0.11250896751880646,
0.018572809174656868,
-0.05205010995268822,
0.008592682890594006,
-0.02120053954422474,
-0.024700678884983063,
0.011435888707637787,
0.004170210566371679,
-0.05999637022614479,
0.04885479062795639,
0.009070930071175098,
-0.025037027895450592,
0.02156842313706875,
0.02194681577384472,
0.0010031366255134344,
-0.005402616690844297,
0.03132256120443344,
0.05179784819483757,
-0.02835848182439804,
0.061131551861763,
-0.04893887788057327,
0.0020391198340803385,
-0.059744108468294144,
0.018110327422618866,
0.023418346419930458,
-0.0028721108101308346,
0.005231813993304968,
-0.015608727000653744,
-0.004241159185767174,
-0.018141860142350197,
0.003910064697265625,
-0.03697744011878967,
0.023292213678359985,
0.033382706344127655,
0.009218082763254642,
-0.0159976314753294,
0.02537337876856327,
-0.03231059014797211,
-0.05848279967904091,
0.003437073202803731,
0.00233079819008708,
-0.028106220066547394,
0.013821869157254696,
0.02350243367254734,
0.03554795682430267,
-0.07223109155893326,
0.058693017810583115,
-0.04776165261864662,
0.0257097277790308,
-0.013275301083922386,
-0.09140302240848541,
0.038953494280576706,
-0.02755965106189251,
0.030061252415180206,
-0.015556172467768192,
-0.018373100087046623,
-0.022178055718541145,
0.0003049811057280749,
-0.011257203295826912,
-0.03502240777015686,
0.0041938601061701775,
-0.02354447729885578,
-0.040109697729349136,
0.03905860707163811,
-0.07614115625619888,
0.01905631087720394,
0.008876478299498558,
-0.034139491617679596,
0.002809045370668173,
-0.025142136961221695,
0.022850755602121353,
-0.03508547320961952,
-0.0004339042061474174,
-0.04801391437649727,
0.03840692713856697,
0.009202316403388977,
0.005413127597421408,
-0.0004348896036390215,
-0.032941244542598724,
-0.03691437467932701,
-0.009759395383298397,
-0.024385351687669754,
0.022598493844270706,
-0.025163158774375916,
-0.02270360291004181,
0.02501600608229637,
0.010132533498108387,
0.0001829558314057067,
-0.016481133177876472,
0.0003971159749198705,
0.01981309801340103,
-0.021358203142881393,
-0.01361165102571249,
0.05629652738571167,
0.0335298590362072,
0.06340191513299942,
0.002610651543363929,
0.062434908002614975,
-0.10056854784488678,
0.037019483745098114,
-0.04578559845685959,
0.030481688678264618,
0.001329632243141532,
0.01713281124830246,
-0.0011818223865702748,
-0.015871500596404076,
-0.011320268735289574,
-0.03619963303208351,
-0.005675900727510452,
-0.02901015803217888,
-0.034854233264923096,
-0.03882736340165138,
0.018488720059394836,
-0.0589873231947422,
-0.018783027306199074,
0.05171376094222069,
-0.011866836808621883,
-0.02758067287504673,
-0.05865097418427467,
0.053521640598773956,
-0.005237069446593523,
-0.0034291900228708982,
0.0038443715311586857,
-0.07046525180339813,
0.03460197150707245,
-0.040025610476732254,
0.018341567367315292,
-0.02278769016265869,
0.04086648300290108,
-0.05823053792119026,
0.01981309801340103,
0.05600221827626228,
-0.017816022038459778,
0.0580623596906662,
-0.0336349681019783,
-0.017437627539038658,
-0.019140398129820824,
0.046836692839860916,
0.06571431457996368,
0.023187104612588882,
-0.06394848227500916,
-0.01021662075072527,
0.01980258710682392,
-0.08328858762979507,
-0.04431406781077385,
0.018015729263424873,
0.029998185113072395,
0.04071933031082153,
0.03794444724917412,
-0.017069745808839798,
0.06033272296190262,
0.015766391530632973,
-0.049065008759498596,
-0.01360114011913538,
0.04830821976065636,
-0.01474683079868555,
0.04219086095690727,
-0.03392927348613739,
0.013338366523385048,
-0.028232350945472717,
0.10267073661088943,
-0.04944340139627457,
-0.06289739161729813,
0.02243031933903694,
0.018478209152817726,
-0.011141582392156124,
-0.02684490755200386,
0.035611022263765335,
0.009969614446163177,
-0.01940317079424858,
-0.03287817910313606,
0.04780369624495506,
-0.06487344205379486,
0.01601865328848362,
0.01153048686683178,
-0.007604655809700489,
0.030124317854642868,
-0.021505357697606087,
-0.027055125683546066,
0.007641443982720375,
0.03687233105301857,
0.006443198304623365,
0.07702407240867615,
-0.012465959414839745,
-0.050074055790901184,
-0.017385073006153107,
-0.008808156475424767,
-0.02760169468820095,
0.0017316752346232533,
0.010432095266878605,
-0.004015174228698015,
-0.0019405799685046077,
-0.0006644876557402313,
0.04139203205704689,
0.03428664430975914,
0.003973130602389574,
-0.0003524445346556604,
0.020349154248833656,
-0.017721423879265785,
0.047173041850328445,
-0.026529580354690552,
0.008303632028400898,
-0.009207571856677532,
0.012497492134571075,
0.02272462472319603,
-0.009827717207372189,
-0.03916371613740921,
0.0208536796271801,
0.024112066254019737,
0.04696282371878624,
-0.010442606173455715,
0.0018998500891029835,
0.004690501373261213,
-0.046037860214710236,
-0.008603193797171116,
-0.03737685829401016,
0.015829456970095634,
-0.009538666345179081,
0.006558818742632866,
-0.06150994449853897,
-0.015377486124634743,
0.01634449139237404,
0.003860137891024351,
0.027118191123008728,
-0.04065626487135887,
0.03386620804667473,
-0.013853401876986027,
-0.005024223122745752,
0.019581858068704605,
-0.006774292327463627,
-0.05629652738571167,
0.021074408665299416,
0.11402253806591034,
-0.01283384207636118,
-0.00381809426471591,
-0.012760265730321407,
-0.05621244013309479,
0.008119691163301468,
0.018331056460738182,
-0.056885138154029846,
-0.07706611603498459,
-0.015745369717478752,
-0.002132404362782836,
-0.008456041105091572,
0.06689154356718063,
-0.028778918087482452,
0.0537739023566246,
-0.026235274970531464,
-0.0019103609956800938,
0.08845996111631393,
0.01562974788248539,
-0.011940413154661655,
0.000812626036349684,
-0.034791167825460434,
0.034412775188684464,
0.008103924803435802,
-0.006059549283236265,
-0.014294860884547234,
-0.06525183469057083,
0.005145099014043808,
-0.01361165102571249,
-0.05028427392244339,
-0.006317067425698042,
0.005053128115832806,
0.0694141611456871,
-0.011709173209965229,
-0.021410757675766945,
-0.02575177140533924,
-0.007541590370237827,
0.009423046372830868,
-0.012339828535914421,
-0.011614574119448662,
0.03132256120443344,
0.01634449139237404,
-0.022472362965345383,
-0.04860252887010574,
-0.030397601425647736,
0.03241569921374321,
0.033277593553066254,
0.04658442735671997,
0.03920575976371765,
0.04919113963842392,
-0.04645829647779465,
0.013937489129602909,
0.04250618815422058,
0.04174940288066864,
0.05659083276987076,
0.0029325487557798624,
0.015072669833898544,
0.01399004366248846,
-0.018783027306199074,
0.027748847380280495,
-0.03321452811360359,
0.008913266472518444,
-0.12386076897382736,
-0.02827439457178116,
0.002187586622312665,
-0.01972901076078415,
-0.023376302793622017,
-0.04288458451628685,
0.041581228375434875,
-0.05486704036593437,
-0.012970483861863613,
-0.0294936615973711,
0.019171930849552155,
0.03836488351225853,
-0.00027919650892727077,
-0.031133366748690605,
0.0048560481518507,
0.03367701172828674,
0.046206034719944,
-0.01417924091219902,
0.005455171223729849,
-0.03218445926904678,
0.06306556612253189,
0.07614115625619888,
0.03346679359674454,
-0.07609911262989044,
-0.022157033905386925,
-0.0417073592543602,
-0.01827850192785263,
0.02755965106189251,
-0.02791702188551426,
0.02048579789698124,
-0.012434426695108414,
0.05032631754875183,
-0.03249978646636009,
-0.017773978412151337,
0.039689261466264725,
-0.00465108547359705,
0.003936342429369688,
0.00020200687868054956,
-0.05768396705389023,
-0.030040230602025986,
-0.003849626984447241,
-0.00023583893198519945,
-0.007772830780595541,
0.004112400114536285,
-0.00949662271887064,
-0.01792113110423088,
-0.039352912455797195,
0.01471529807895422,
0.023208126425743103,
0.008634726516902447,
-0.03464401513338089,
-0.01416873000562191,
0.02501600608229637,
-0.03958415240049362,
0.04292662814259529,
-0.016470622271299362,
-0.0017566387541592121,
0.026529580354690552,
0.06642905622720718,
-0.010773700661957264,
-0.011604063212871552,
-0.019192952662706375,
-0.02911526896059513,
-0.05638061463832855,
-0.016544198617339134,
0.038154665380716324,
0.011929902248084545,
-0.04086648300290108,
0.05074675753712654,
0.023018930107355118,
0.010658079758286476,
0.0751321092247963,
-0.0005751447752118111,
0.038175687193870544,
0.09989584982395172,
-0.013107126578688622,
0.04759347811341286,
0.004553859122097492,
-0.018709450960159302,
-0.06104746460914612,
-0.0566328763961792,
-0.014378948137164116,
-0.03575817495584488,
0.028841983526945114,
-0.019939228892326355,
-0.016849016770720482,
0.03905860707163811,
0.016291936859488487,
0.02236725203692913,
0.04961157590150833,
0.0021652509458363056,
0.034076426178216934,
-0.003647291800007224,
-0.012581579387187958,
-0.012623623944818974,
0.016701864078640938,
-0.03325657173991203,
-0.014021576382219791,
0.058735061436891556,
-0.04149714112281799,
-0.03765014186501503,
-0.016165805980563164,
0.03203730657696724,
0.036367807537317276,
-0.05957593396306038,
0.043431151658296585,
0.020349154248833656,
-0.010910342447459698,
-0.03319350630044937,
0.021158495917916298,
-0.028022130951285362,
-0.013012527488172054,
0.10258664935827255,
-0.0024687540717422962,
-0.02088521234691143,
-0.005392105784267187,
0.0064116655848920345,
-0.02120053954422474,
-0.0327100045979023,
0.05482499673962593,
-0.01896171271800995,
0.014420991763472557,
-0.07092773914337158,
0.005071522202342749,
0.062392864376306534,
0.02909424714744091,
-0.05915549769997597,
-0.05890323594212532,
0.05701126903295517,
0.004046706948429346,
0.05171376094222069,
-0.0038522547110915184,
-0.015230333432555199,
0.04725712910294533,
0.04132896661758423,
0.016239382326602936,
-0.06445300579071045,
-0.009932826273143291,
-0.01598712056875229,
-0.0012245230609551072,
-0.020044337958097458,
0.012255741283297539,
-0.003237365512177348,
-0.008025093004107475,
-0.0007042321376502514,
0.011456910520792007,
-0.008072392083704472,
-0.029703879728913307,
-0.014053110033273697,
-0.023292213678359985,
0.04246414452791214,
-0.02602505497634411,
-0.004795610439032316,
-0.028022130951285362,
0.044482242316007614,
-0.019676456227898598,
0.014063620939850807,
0.0032662705052644014,
0.013012527488172054,
0.04982179403305054,
-0.05066267028450966,
0.010384796187281609,
-0.024490460753440857,
0.01606069691479206,
-0.02983001060783863,
0.007000277284532785,
0.02465863525867462,
-0.060921333730220795,
0.014872961677610874,
-0.07572071999311447,
0.018320545554161072,
0.014925516210496426,
0.04771960899233818,
0.025100093334913254,
-0.027433520182967186,
0.02232520841062069,
-0.02535235695540905,
-0.0388483852148056,
-0.022871777415275574,
0.02726534567773342,
-0.018940690904855728,
-0.02009689249098301,
-0.00933370366692543,
0.013475008308887482,
-0.045701511204242706,
0.04469246044754982,
-0.00854538381099701,
-0.04393567517399788,
0.0701289027929306,
0.0751321092247963,
0.02390184812247753,
-0.01569281332194805,
-0.03950006514787674,
0.025541553273797035,
0.012486981227993965,
-0.009974869899451733,
0.015514128841459751,
0.011919391341507435,
-0.008897500112652779,
-0.011036473326385021,
-0.02491089701652527,
-0.01786857657134533,
0.038554079830646515,
0.025856880471110344,
-0.018331056460738182,
-0.027748847380280495,
-0.017795000225305557,
-0.011162604205310345,
0.041160792112350464,
0.09283250570297241,
-0.03876429796218872,
-0.0679846778512001,
-0.03762912005186081,
-0.023271191865205765,
0.06268716603517532,
0.049065008759498596,
0.0035395547747612,
-0.034833211451768875,
-0.04282151535153389,
-0.02046477422118187,
0.037460945546627045,
-0.037524010986089706,
-0.09165528416633606,
-0.018751494586467743,
0.024427395313978195,
-0.050494495779275894,
0.027643738314509392,
-0.018341567367315292,
0.010663335211575031,
0.008329909294843674,
-0.0871986523270607,
-0.022808711975812912,
0.015776902437210083,
0.059786152094602585,
0.07946261018514633,
0.034412775188684464,
-0.020338643342256546,
-0.0030297746416181326,
-0.005237069446593523,
0.02423819713294506,
-0.021778641268610954,
0.011393845081329346,
0.01822594739496708,
0.027391476556658745,
0.017816022038459778,
-0.004792982712388039,
0.09560739248991013,
0.02200988121330738,
0.07412305474281311,
0.016996169462800026,
0.010295453481376171,
-0.08471807092428207,
0.004729917272925377,
-0.01864638552069664,
0.02531031332910061,
0.035653065890073776,
0.06083724647760391,
-0.031932197511196136,
-0.05654878914356232,
-0.011120560579001904,
-0.03161687031388283,
-0.059744108468294144,
0.038596123456954956,
0.05629652738571167,
0.017721423879265785,
0.025247247889637947,
-0.0030586798675358295,
0.043389108031988144,
0.03218445926904678,
0.05331142246723175,
-0.026151185855269432,
-0.02758067287504673,
0.0003596707829274237,
-0.013464497402310371,
-0.014399969950318336,
0.041959621012210846,
0.009990636259317398,
-0.025646662339568138,
-0.02533133514225483,
-0.023187104612588882,
-0.015020115301012993,
-0.0425272099673748,
-0.05881914868950844,
-0.029893076047301292,
-0.07958874106407166,
0.06306556612253189,
0.004401450511068106,
-0.02465863525867462,
0.08101822435855865,
-0.0803455263376236,
-0.035968393087387085,
0.03830181807279587,
-0.053521640598773956,
0.04645829647779465,
0.026004033163189888,
-0.00492962496355176,
-0.052722811698913574,
0.012718222104012966,
0.0388483852148056,
0.015514128841459751,
0.03510649502277374,
0.0120875658467412,
0.036641091108322144,
0.038154665380716324,
0.03287817910313606,
0.004088750574737787,
0.04540720582008362,
-0.005875608418136835,
0.021021854132413864,
-0.035926349461078644,
-0.02278769016265869,
-0.008335165679454803,
-0.10182986408472061,
0.026971038430929184,
0.04435611143708229,
-0.04881274700164795,
0.050872888416051865,
-0.018909158185124397,
0.017080256715416908,
0.11738603562116623,
0.04923318326473236,
-0.008713558316230774,
-0.01026392076164484,
0.01550361793488264,
-0.013643183745443821,
0.0031795555260032415,
0.006763781420886517,
0.024763744324445724,
0.03542182594537735,
-0.012529024854302406,
0.07475371658802032,
-0.04582764208316803,
0.01343296468257904,
0.014589167200028896,
-0.006175169721245766,
-0.02278769016265869,
0.04540720582008362,
-0.005082033108919859,
0.014315882697701454,
0.004735172726213932,
-0.04019378498196602,
-0.0004279918211977929,
0.014347415417432785,
0.008797645568847656,
-0.0023176593240350485,
-0.05436251685023308,
0.008986842818558216,
-0.012949462048709393,
0.011919391341507435,
0.06596657633781433,
-0.06483139842748642,
0.002735468791797757,
0.02943059615790844,
-0.034139491617679596,
0.038196709007024765,
-0.008503340184688568,
-0.017269453033804893,
-0.07609911262989044,
0.0597020648419857,
0.0072683063335716724,
-0.007152685895562172,
0.02497396245598793,
-0.031869132071733475,
0.0030902125872671604,
-0.009034141898155212,
-0.08295223861932755,
-0.01633398048579693,
0.001091165584512055,
0.028926070779561996,
-0.046332165598869324,
0.0079988157376647,
-0.01097340788692236,
0.005865097511559725,
0.037797294557094574,
-0.004645830020308495,
0.0033924016170203686,
0.01825748011469841,
0.003618386574089527,
0.019644923508167267,
0.033277593553066254,
0.04212779551744461,
-0.014032087288796902,
-0.026613667607307434,
0.0022756156977266073,
-0.0068215918727219105,
0.012066544033586979,
-0.009843483567237854,
0.02943059615790844,
-0.02720228023827076,
0.022955864667892456,
0.02050681971013546,
0.04830821976065636,
0.02052784152328968,
-0.026550602167844772,
-0.010001147165894508,
0.01941368170082569,
0.011414866894483566,
-0.0006076629506424069,
0.005042617209255695,
0.038869407027959824,
-0.06579840183258057,
0.0009518958395346999,
-0.021841706708073616,
-0.07374466210603714,
0.022451341152191162,
-0.023376302793622017,
0.042338013648986816,
0.035947371274232864,
-0.048224132508039474,
-0.07067547738552094,
-0.020296599715948105,
-0.023691629990935326,
-0.047173041850328445,
-0.007462758105248213,
0.03828079625964165,
0.024511482566595078,
0.006038527470082045,
0.003124373033642769,
0.015903033316135406,
-0.017595291137695312,
-0.06802672147750854,
0.02577279321849346,
-0.008918521925807,
-0.015398507937788963,
-0.02082214690744877,
0.01980258710682392,
0.007404948119074106,
0.01821543648838997,
-0.0401727631688118,
0.05966002121567726,
0.04298969358205795,
0.006059549283236265,
-0.03645189478993416,
0.05289098620414734,
-0.01286537479609251,
0.05183989182114601
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.