text
stringlengths
25
2.19k
embedding
listlengths
768
768
def purecloud ( self, purecloud ) : self. _ purecloud = purecloud
[ -0.4193343222141266, -0.03474903479218483, 0.3072488605976105, 0.4266264736652374, -0.34892722964286804, 0.8051650524139404, 0.7028491497039795, 0.4412823021411896, -0.10440195351839066, -1.113653302192688, -0.9998321533203125, -0.3993525803089142, -0.3610299527645111, 0.43184006214141846,...
def create _ or _ update ( clss, * * kwargs ) : model = update ( clss, * * kwargs ) if model is none : model = create ( clss, * * kwargs ) db. session. add ( model ) return model
[ -0.2993992865085602, -0.1824968159198761, 0.4678211212158203, 0.16890573501586914, 0.9060202240943909, 0.46668368577957153, -0.6903777122497559, -0.40186670422554016, 0.7807057499885559, 0.21509785950183868, -0.4081733822822571, -1.248979926109314, -0.3792952597141266, -0.08052529394626617...
async def toggle ( self ) - > bool : if self. _ wfl : await self. _ lock. acquire ( ) elif self. _ lock. locked ( ) and not self. _ wfl : return false try : if self. _ state is true : return await self. off ( ) else : return await self. on ( ) finally : if self. _ wfl : self. _ lock. release ( )
[ -0.8632616400718689, 0.6089228987693787, 0.7682534456253052, -0.05136721581220627, -0.196671724319458, -0.0016041776398196816, -0.2825947701931, 0.4429064393043518, -0.15677769482135773, 0.09462838619947433, 0.24953319132328033, -0.19549043476581573, -1.121427059173584, -0.1708671450614929...
def _ trim _ file ( self, in _ path, start, end ) : # generate the output file name name, extension = os. path. splitext ( in _ path ) out _ path ='{ } { } { } '. format ( name, self. postfix, extension ) # properly format the command and its arguments cmd = f'ffmpeg - loglevel error - i { shlex. quote ( in _ path ) } ...
[ 0.22346773743629456, -1.0079575777053833, 0.9737585783004761, 0.046840351074934006, -0.5529372096061707, -0.09341807663440704, -0.14986057579517365, 0.05416933074593544, -1.1075446605682373, 0.6389660835266113, 0.37488073110580444, 0.9060422778129578, -0.45522868633270264, -0.6148520708084...
def reduce _ all _ v1 ( input _ tensor, axis = none, keepdims = none, name = none, reduction _ indices = none, keep _ dims = none ) : axis = deprecation. deprecated _ argument _ lookup ( " axis ", axis, " reduction _ indices ", reduction _ indices ) keepdims = deprecation. deprecated _ argument _ lookup ( " keepdims ",...
[ 0.47291433811187744, 0.13446223735809326, 1.065302848815918, 1.1511948108673096, -0.4020058512687683, -0.0916021540760994, -0.4534556567668915, 0.28788426518440247, 0.008243273943662643, 0.8118838667869568, -0.44486674666404724, 0.7517998218536377, 0.34669288992881775, -0.17602737247943878...
def gengrid _ pneanet ( * args ) : return _ snap. gengrid _ pneanet ( * args )
[ -1.4389511346817017, 0.8884695768356323, 0.7793651819229126, 0.11656370013952255, 0.2866860032081604, 0.7326535582542419, -0.57331782579422, -0.309263676404953, -1.6778340339660645, -0.33651435375213623, -0.499348521232605, -0.7640016078948975, -0.3212015926837921, 0.8743568658828735, -0...
def cachedvalue ( policy, state, action ) : v = 0 for nextstate in possiblenextstates ( state, action ) : p = prob ( nextstate, state, action ) vnow = reward ( nextstate, state, action ) vfut = value ( policy, nextstate ) v + = p * ( vnow + gamma * vfut ) return v
[ 0.13109104335308075, 0.12771634757518768, 0.35313186049461365, 0.012018656358122826, -0.12880563735961914, 0.1643974483013153, -0.4120541214942932, -0.04250289499759674, 1.027492642402649, 0.4767375886440277, 0.12654294073581696, 1.0305126905441284, 0.14823342859745026, -0.1391415596008300...
def test _ is _ mono _ 1 ( ) : assert mono _ 22050 _ 16bits. is _ mono ( )
[ -0.02926824241876602, 0.5855521559715271, 0.27518054842948914, 2.174686908721924, 1.2827799320220947, 0.35464826226234436, 0.781715989112854, -0.3190405070781708, 1.3873919248580933, -0.9346053600311279, -0.9216822385787964, 1.418755054473877, -0.13290977478027344, -0.006776864640414715, ...
def log _ error ( e ) : print ( e )
[ -0.12870946526527405, -0.03954921290278435, 0.21193337440490723, 0.04038941115140915, 0.77412348985672, 0.42784419655799866, -0.2686270773410797, 0.7946462035179138, -0.13556154072284698, -0.09192806482315063, -0.027507008984684944, 1.0733885765075684, 0.8159456253051758, 0.244555994868278...
def delattrdate ( self, * args ) : return _ snap. tneanetmp _ delattrdate ( self, * args )
[ 0.7267083525657654, -0.3850279748439789, 0.0724126473069191, -0.8969767689704895, 0.2514269948005676, 0.5074175596237183, -1.0464974641799927, 0.47193780541419983, -0.5174300670623779, -0.4041541516780853, 0.14902129769325256, -1.148883581161499, -0.4254422187805176, 1.8420195579528809, ...
def parent ( self, * args ) : return _ snap. tunionfind _ parent ( self, * args )
[ -0.8481842279434204, 0.7347398400306702, 0.04103782773017883, 0.6895843744277954, 0.6945706009864807, 0.2685987651348114, 1.7863637208938599, -1.1670951843261719, -0.600928544998169, 0.10132923722267151, 0.0905444324016571, -1.6115450859069824, -0.7836120128631592, -0.18311721086502075, ...
def removeline ( self, event, plot ) : # # remove single line del self. currdicgrain. pointslist [ int ( event ) ] self. redraw ( )
[ 0.7078340649604797, -0.34424644708633423, 0.42637524008750916, 0.29728686809539795, 0.17482852935791016, 0.525982677936554, 0.6157606840133667, 0.8725897073745728, 0.3466162085533142, -0.3256292939186096, -0.10286226123571396, -0.18972331285476685, -0.1443687230348587, 0.14229097962379456,...
async def get _ status ( self, request ) : payload = copy. copy ( vars ( self. sonos _ data ) ) payload. pop ( " session " ) return web. json _ response ( payload )
[ -1.3429765701293945, -0.6049692034721375, 0.5182530879974365, 0.8782183527946472, 0.1409175992012024, -0.938040554523468, -1.2606934309005737, -0.9473537802696228, 1.330320954322815, 0.021473320201039314, -0.5396640300750732, 0.09806472808122635, 0.3036291003227234, -0.4220263659954071, ...
def getbfseffdiam _ pneanet ( * args ) : return _ snap. getbfseffdiam _ pneanet ( * args )
[ -0.10900820046663284, 1.0313341617584229, 0.3711923062801361, 1.0037894248962402, 1.2082868814468384, -0.3824464976787567, -0.011151888407766819, -0.8051940202713013, -0.9662573933601379, -1.9451454877853394, -0.3485404849052429, -0.48499026894569397, -0.41357851028442383, 0.89899390935897...
def isacceptablechild ( self, model ) : pass
[ 0.08534590899944305, -0.10347175598144531, 0.7337169647216797, 0.39985689520835876, -1.879824161529541, 1.8218424320220947, 0.32935604453086853, -0.3611089587211609, -0.9200620055198669, -0.184358149766922, -1.2827847003936768, -0.23020340502262115, -0.1317150741815567, 0.19112689793109894...
def _ _ init _ _ ( self, * args ) : _ snap. tnegraph _ swiginit ( self, _ snap. new _ tnegraph ( * args ) )
[ -0.7900146842002869, 1.1943516731262207, -0.07238462567329407, -0.3881213665008545, -0.2357371300458908, -0.5620121359825134, 0.7991151213645935, -0.11389580368995667, -0.7378820776939392, 1.023443579673767, -1.571027159690857, -1.2498120069503784, -0.014719375409185886, 0.5102335214614868...
def _ _ lt _ _ ( self, * args ) : return _ snap. tcncom _ _ _ lt _ _ ( self, * args )
[ 0.7396583557128906, -0.004754350986331701, 0.08063984662294388, -1.0740090608596802, 1.3289684057235718, -0.6571560502052307, -0.09149084240198135, -0.5171672701835632, -0.780535101890564, -1.0390973091125488, -1.271968960762024, -1.376967430114746, -0.06081816554069519, 0.5965297818183899...
def revert _ object ( self, s3 _ bucket, s3 _ key, version _ id, dryrun = true ) : logging. info ( f " reverting object { s3 _ key } in bucket { s3 _ bucket } to version { version _ id } " ) logging. info ( " revert is performed with a roll - forward. " " the reverted file will have a different version id but the same ...
[ 0.3591828942298889, -0.9369416236877441, 0.6833328604698181, -0.1435588002204895, 0.2915612459182739, 1.2363187074661255, -0.08743332326412201, 1.1728448867797852, 0.3328098654747009, 0.41915884613990784, -0.5512433648109436, 0.6768794655799866, 0.04043750464916229, -0.6659706234931946, ...
def update _ recipe _ metadata ( self ) : topmeta = metadata ( metafile = " % s / metadata. txt " % self. recdir ) topmeta. write _ data ('recipe _ updated ', self. asctime ) return
[ -0.38895469903945923, -0.35148149728775024, 0.5847229957580566, -0.3906821012496948, 0.32893458008766174, 0.3079632520675659, -0.3681442439556122, 1.3226430416107178, -0.7964164614677429, 1.1487220525741577, 0.022574860602617264, 1.1355806589126587, 0.6229376792907715, 0.14159135520458221,...
def isconnected _ pungraph ( * args ) : return _ snap. isconnected _ pungraph ( * args )
[ -1.044706106185913, -0.08193258196115494, 0.5614933371543884, 0.7639126181602478, -0.26049697399139404, -0.31323739886283875, -0.6049337983131409, 0.2747105360031128, 0.1585760861635208, 0.7844834923744202, -1.780190110206604, -0.7879992127418518, -0.5763527750968933, -0.31920337677001953,...
def assemblefinegridprojector1d ( xgpn, j, n ) : finegridprojector1d = [ [ 0 for _ in range ( n ) ] for _ in range ( n ) ] for i in range ( 0, n ) : # eq. basis phi _ i, _ = mathsutils. basefunc1d ( ( xgpn [ i ] + j ) / 3. 0, xgpn, n ) for m in range ( 0, n ) : # dg basis finegridprojector1d [ m ] [ i ] = phi _ i [ m ]...
[ -0.3817136883735657, 0.7389526963233948, 0.3536776602268219, 0.23516803979873657, -0.41849103569984436, -0.002227615565061569, -0.19337692856788635, -0.3754881024360657, 0.21572820842266083, 0.6687642335891724, 0.05637761950492859, -0.2784174382686615, -1.1571601629257202, 0.62983828783035...
def connection _ required ( func ) : @ functools. wraps ( func ) def wrapper ( self, * args, * * kwargs ) : " " " wrapper for raise exception. " " " if self. connection is none : raise exception ( " not connected " ) return func ( self, * args, * * kwargs ) return wrapper
[ -0.9333062171936035, -0.41798678040504456, 0.8144766688346863, -0.2478855550289154, -0.11989647150039673, -0.17630644142627716, -0.9126695394515991, -0.05007139965891838, 0.07882734388113022, 0.9942443370819092, 0.5693705081939697, 0.007096612360328436, -0.05880960077047348, 0.589146792888...
def _ _ init _ _ ( self, client _ id, default _ token _ placement = auth _ header, token _ type ='bearer ', access _ token = none, refresh _ token = none, mac _ key = none, mac _ algorithm = none, token = none, * * kwargs ) : self. client _ id = client _ id self. default _ token _ placement = default _ token _ placemen...
[ 0.7783640623092651, 0.20310433208942413, 0.4451580047607422, 0.2784281373023987, 0.026904534548521042, 0.13112017512321472, -0.5058733820915222, 0.07208875566720963, 0.09767744690179825, -0.23538203537464142, -0.23210296034812927, 0.1669752299785614, 0.14009630680084229, 0.2506724298000335...
async def dicing ( self, defender, attacker, power, embed, num ) : if num = = 0 : embed. add _ field ( name = attacker. ability. usename, value = f " { attacker. name } couldn't get a valid dice roll " ) elif num = = 1 : embed. add _ field ( name = attacker. ability. usename, value = f " { attacker. name } rolled a 1.....
[ -0.17740163207054138, -0.21987265348434448, 0.9479318857192993, -0.25037437677383423, 0.02892322652041912, -0.22600236535072327, -0.04192247986793518, 0.33507299423217773, 0.05281573906540871, -0.10108008235692978, 0.265804648399353, -0.7860256433486938, 0.13646459579467773, -0.24873565137...
def average ( key _ mapper = none ) - > callable [ [ observablebase ], observablebase ] : def partial ( source : observablebase ) - > observablebase : if key _ mapper : return source. map ( key _ mapper ). average ( ) def accumulator ( prev, cur ) : return averagevalue ( sum = prev. sum + cur, count = prev. count + 1 )...
[ -0.9880985021591187, -0.06093110889196396, 0.6685127019882202, -0.2255879044532776, -1.2797558307647705, -0.1981744021177292, 0.6534464955329895, -0.506135880947113, -0.05846601724624634, 0.11523409187793732, 0.1393468976020813, 0.14264103770256042, 0.6097419261932373, 0.30911868810653687,...
def _ _ init _ _ ( self, * args ) : _ snap. tintintvv _ swiginit ( self, _ snap. new _ tintintvv ( * args ) )
[ -0.6352051496505737, -0.0845642164349556, 0.20499055087566376, 0.46856969594955444, -0.22825661301612854, -0.49817487597465515, 0.31242233514785767, 0.3936746418476105, -0.15273509919643402, 0.2123270183801651, -0.4965713918209076, 0.6190348267555237, -0.9604809284210205, 0.442312508821487...
def unsafe ( result : result [ valuetype, errortype ], ) - > valuetype : if result : return result. value raise result. error
[ -0.08560208231210709, 0.8467751741409302, 0.34073036909103394, 0.4284187853336334, -0.12825177609920502, -0.9397279024124146, -0.12256628274917603, -1.7084687948226929, 0.24544169008731842, 0.06608755886554718, -0.1613335758447647, 0.7493371367454529, -0.5601193308830261, -0.44733133912086...
def apply _ model ( y ) : return ( y - b0 ) / b1
[ 0.3662400245666504, -0.44964078068733215, 0.3300473690032959, 0.622182309627533, 0.3144266605377197, 0.8261396288871765, 0.6688959002494812, -0.1536237597465515, 0.348380982875824, 0.2882562577724457, -0.5608277320861816, -0.9322081208229065, -0.054687947034835815, 0.6890362501144409, -0...
def test _ _ validate _ keyword _ presets _ _ 0 ( ) : for input _ value, expected _ output in ( ( none, none ), ( [ ], none ), ( automoderationkeywordpresettype. slur, ( automoderationkeywordpresettype. slur, ) ), ( automoderationkeywordpresettype. slur. value, ( automoderationkeywordpresettype. slur, ) ), ( [ automode...
[ -0.16670995950698853, -0.1496422290802002, 0.35917866230010986, 0.48673245310783386, -0.7751181721687317, 0.22913677990436554, 0.16475890576839447, -0.5010131001472473, 0.7641915678977966, -0.1588817685842514, -0.04794157296419144, 0.27399396896362305, -0.9755147099494934, 0.93715190887451...
def tbigstrpool _ new ( * args ) : return _ snap. tbigstrpool _ new ( * args )
[ -0.3892665207386017, -0.4948689639568329, 0.2862740159034729, -0.749401867389679, 0.1516442447900772, 0.7256547212600708, 1.5496983528137207, 0.15584012866020203, -1.8916666507720947, 0.19651229679584503, -0.5626261234283447, -0.11132122576236725, -0.576556384563446, -0.10674803704023361, ...
def plot _ raw _ gs ( self, qc _ excl ='mark ', sse _ outl ='mark ', dist _ outl ='mark ', drop _ rois = true, view = true, use _ imputed = true, fn _ suffix ='' ) : assert ( self. roi _ gs _ df is not none ), " run remove _ site _ effects ( ) first. " def plt _ roi _ data ( df, ax, sortkey = none ) : " " " generate co...
[ 0.5956730842590332, 0.7678447365760803, 0.6960667967796326, -0.2726495563983917, -1.1187232732772827, 0.17621274292469025, 0.8073645234107971, -0.011827758513391018, 0.4598037302494049, -0.03453734889626503, 0.5117643475532532, 1.5659029483795166, 0.21335794031620026, -0.21783730387687683,...
def following _ update _ single ( submission ) : global corpus submission. comment _ sort ='new'submission. comments. replace _ more ( limit = 0 ) comments = submission. comments. list ( ) for comment in comments : if corpus is none or not corpus. has _ utterance ( comment. id ) : utts = comment _ to _ utts ( comment, ...
[ -0.2601935565471649, -0.23111781477928162, 0.6132160425186157, -0.2453136444091797, 0.7986164689064026, 0.011606276966631413, -0.07316284626722336, 0.21628692746162415, 0.4071919918060303, 0.9820130467414856, 0.2738286554813385, 0.08510453999042511, -0.06683685630559921, 0.7157720923423767...
def graph ( export = none, dpids _ only = false, interval = " 2. 0 " ) : core. registernew ( discoverygraph, export, use _ names = not dpids _ only, auto _ export _ interval = float ( interval ) )
[ 0.2874799072742462, 1.5642403364181519, 0.4526442885398865, 0.850243091583252, -0.549808919429779, 0.055375974625349045, -0.362106591463089, 0.4581018388271332, -0.08472150564193726, 0.11192535609006882, -1.2159039974212646, 0.5116197466850281, -0.23198969662189484, -0.6148791313171387, ...
def clr ( self, * args ) : return _ snap. tstrv _ clr ( self, * args )
[ -0.38832977414131165, 0.4374365210533142, -0.05568375065922737, -0.1384318321943283, -0.017174141481518745, 0.1961182802915573, 0.6901588439941406, 0.1251775324344635, -0.7941877245903015, -0.4758560359477997, 0.1334180235862732, 0.01617194153368473, 0.03898337483406067, 1.1142666339874268...
def patched _ expand ( self, * args, * * kwargs ) : result, errors = self. original _ expand _ modules ( * args, * * kwargs ) def keep _ item ( item ) : if any ( 1 for path in self. paths if item ['path']. startswith ( path ) ) : return false return true result = list ( filter ( keep _ item, result ) ) return result, e...
[ -0.6371520161628723, -0.33170855045318604, 0.6060649752616882, 0.7381771802902222, -0.09939145296812057, 0.19745218753814697, 0.4077039957046509, -0.02177504450082779, 0.5330857634544373, 0.3746683895587921, -0.03735095635056496, -0.7359388470649719, -0.765143632888794, 0.2794089615345001,...
def getkcorenodes _ pneanet ( * args ) : return _ snap. getkcorenodes _ pneanet ( * args )
[ -1.2205045223236084, 0.9091566801071167, 0.3853271007537842, 0.8805902600288391, 0.15154705941677094, -0.3760729432106018, -0.7989480495452881, -0.4220086932182312, -0.5401488542556763, 0.10620392113924026, -0.5426138639450073, -0.5538038611412048, -1.0133311748504639, -0.06976644694805145...
def act ( self, output _ dict, valid _ actions : list, step _ num : int, epsilon : int = 1, evaluation = false ) - > th. tensor : basecontroller. _ action _ lists _ to _ tensors ( valid _ actions ) if evaluation or self. policy = = drlcontroller. policy. greedy : actions = self. greedy _ policy ( output _ dict, valid _...
[ -0.3722637891769409, -0.6202750205993652, 0.585767388343811, 0.3088130056858063, 0.2774815857410431, 0.14690914750099182, 0.5257889628410339, 0.334402471780777, 0.5592167973518372, -0.08927615731954575, 0.06312751770019531, -0.40755772590637207, 0.048095718026161194, -0.07586155831813812, ...
def fit ( self, x _ train, y _ train ) : self. x _ train = x _ train self. y _ train = y _ train
[ -0.06468622386455536, -0.22576533257961273, 0.48271292448043823, -0.1899498850107193, 0.757692813873291, 0.3071562349796295, -1.1221199035644531, 0.7003931403160095, -1.2853566408157349, -0.8510417938232422, -0.6805607080459595, 1.151564598083496, 0.8947794437408447, -0.4349950850009918, ...
def viewcast ( self, cast _ members ) : new _ window = toplevel ( ) new _ window. configure ( background ='# 90e3f7 ', highlightthickness = 20, relief ='solid ', highlightbackground ='# d4f2f9 ', height = 300, width = 800 ) new _ window. title ( self. v _ title. get ( ) ) header _ frame = frame ( new _ window ) header ...
[ -0.29332396388053894, -0.8890694379806519, 1.2286959886550903, -0.8526185154914856, -0.6472775936126709, 0.1025635153055191, 0.20929451286792755, -0.2866857945919037, -0.2005092203617096, 0.26586657762527466, 0.3589942455291748, 1.1220667362213135, -0.506279468536377, 1.2710293531417847, ...
def _ extract _ page ( self, page, progress = progress ( ) ) : i, n = 0, page ['total'] lists = [ ] lists. extend ( page ['items'] ) while page ['next'] is not none : page = self. get _ api _ v1 ( page ['next']. split ('/ v1 /') [ - 1 ] ) if page is none : return lists lists. extend ( page ['items'] ) progress. set _ p...
[ -0.923921525478363, 0.16101115942001343, 0.6108196377754211, 0.00006664477405138314, 0.12299981713294983, -0.36827999353408813, -0.7784469127655029, -0.05982522293925285, 0.49289077520370483, 1.1559486389160156, 0.049455199390649796, -1.3227936029434204, -0.761747419834137, 0.3427225351333...
def parsedatarecordsbyspaces ( cls, record ) : return record. strip ( ). split ( )
[ 0.771073043346405, 0.2700429856777191, 0.3300115764141083, -0.7141925692558289, -0.4038582146167755, 0.26536282896995544, -0.6018173098564148, 0.4013825058937073, 0.011058392003178596, -0.1379319429397583, -0.3729875683784485, -0.12857790291309357, 0.12346872687339783, 1.244184970855713, ...
def addsattre ( self, * args ) : return _ snap. pneanet _ addsattre ( self, * args )
[ -0.3445201814174652, 0.7008718848228455, 0.5058891177177429, 0.16243311762809753, 0.918023943901062, 0.013579186052083969, -0.4858236312866211, -0.5271376967430115, -0.2715953588485718, -1.1006001234054565, -0.08855121582746506, -0.7607738375663757, -0.8093944787979126, 0.8128958344459534,...
def switches _ in _ click ( self, click ) : for sw in self. _ small _ tt. switches ( ) : current _ click = self. small _ switch _ to _ click ( sw ) if current _ click = = click : yield sw elif current _ click = = - click : yield - sw
[ -0.30989891290664673, 0.045207586139440536, 0.6639044880867004, -0.16971133649349213, -1.0953335762023926, -0.2761528491973877, 0.29559993743896484, -0.5307356715202332, -0.012719220481812954, -0.06234791874885559, 0.029345883056521416, 0.06347933411598206, 0.09552779793739319, 0.177729353...
def cambiar _ cantidad ( self, nueva _ cantidad ) : self. _ _ cantidad = nueva _ cantidad
[ -0.3267120122909546, -1.424628496170044, 0.23408332467079163, 0.6322120428085327, -0.2674223482608795, 0.6716805100440979, -0.4738449454307556, -0.17832626402378082, -0.24758002161979675, 0.9730522632598877, -0.8438922762870789, 1.4315053224563599, -0.3140724301338196, 0.11203640699386597,...
def ppplots ( self ) : from htcondor import submit # get executable jobexec = shutil. which ( " cwinpy _ pe _ generate _ pp _ plots " ) # set log directory logdir = os. path. join ( os. path. abspath ( self. basedir ), " log " ) self. makedirs ( logdir ) subdict = { " universe " : " local ", " executable " : jobexec, "...
[ 0.2606370151042938, 0.9025260210037231, 0.8944628238677979, 0.14264792203903198, -0.8919925093650818, 0.5147298574447632, 1.2072460651397705, 0.3229154348373413, -0.5641059875488281, -0.6868283152580261, 0.6874300241470337, -0.11848025768995285, -0.17505235970020294, 0.5757945775985718, ...
def getnrmdevstep ( * args ) : return _ snap. trnd _ getnrmdevstep ( * args )
[ -0.6091939806938171, 1.22303307056427, 0.02671469934284687, 0.4589477479457855, 0.8071134090423584, -0.21239034831523895, -0.8670014142990112, -1.0863456726074219, -1.1098095178604126, -1.1678448915481567, -0.1671716868877411, -0.5190390944480896, -0.06046213582158089, 1.6968179941177368, ...
def getval ( self, * args ) : return _ snap. schema _ getval ( self, * args )
[ -0.2035987824201584, 1.1939666271209717, 0.5245016813278198, 1.1649317741394043, 0.6978486180305481, -0.1678331196308136, 0.5547147393226624, 0.10426551848649979, -0.004634340759366751, -0.5395670533180237, -0.22765448689460754, 0.24733565747737885, -0.5878278017044067, -0.0284265279769897...
def getintattrdatn ( self, * args ) : return _ snap. tneanetmp _ getintattrdatn ( self, * args )
[ -0.3873033821582794, -0.2452881783246994, 0.38967272639274597, -0.33869120478630066, 0.9872679710388184, -0.3227587044239044, 0.3944341838359833, 0.2817098796367645, -0.9833173155784607, -0.3802724778652191, -0.5794464945793152, -0.8041929006576538, -0.6557673811912537, 0.5613446831703186,...
def by _ branch _ sem ( request, b, sem ) : branch =''. join ( b. split ('-') ) department = department. objects. get ( name = branch. upper ( ) ) books _ query = bookdescription. objects. filter ( department = department, semester = sem ) base = get _ base ( request ) context = {'books _ query': books _ query, " base ...
[ 0.6995621919631958, -0.6273834705352783, 0.36053231358528137, 0.5270904898643494, -0.2770672142505646, 0.4362450838088989, -0.08156885206699371, 0.5519416928291321, -0.35818570852279663, 0.39893487095832825, 0.9173097014427185, 0.1335291564464569, -0.5100638270378113, 0.3298511803150177, ...
def trigger ( self, time, is _ stop ) : raise notimplementederror ( " { 0 }. trigger : abstract method of base class " " { 0 } should be called only by child class. ". format ( self. _ _ class _ _. _ _ name _ _ ) )
[ -1.0750832557678223, -0.05310247093439102, 0.7059078216552734, 0.36692044138908386, 0.012553037144243717, 0.565678060054779, -0.1467895358800888, -0.005874292459338903, -0.5539506077766418, 0.4277942180633545, -1.140528917312622, -0.00949627161026001, 0.5577631592750549, 0.544502854347229,...
def getnodetriads _ pngraph ( * args ) : return _ snap. getnodetriads _ pngraph ( * args )
[ -0.09690537303686142, 1.0085097551345825, 0.03156103193759918, -0.9083271026611328, 0.10609493404626846, -0.08250696212053299, -0.575696587562561, -1.1266484260559082, 0.063687264919281, -0.4510634243488312, 0.17148956656455994, 0.3765944838523865, 0.16470111906528473, -0.163326695561409, ...
def collect _ entity ( labels, label _ alphabet, word _ ids ) : labels = np. array ( labels ) seq _ len, max _ depth = labels. shape entities = [ ] for idx in range ( 1, max _ depth ) : for idj, tag in enumerate ( labels [ :, idx ] ) : if tag. split ('- ', 1 ) [ 0 ] = ='b'or tag. split ('- ', 1 ) [ 0 ] = ='s': entities...
[ -0.6766030192375183, -0.8919116258621216, 0.6191462874412537, -0.9240273833274841, 0.1611810028553009, -0.23750977218151093, 0.24307860434055328, 0.332655131816864, -0.0027659626211971045, 1.4388012886047363, 0.002039858140051365, 0.21559955179691315, 0.02983766235411167, 0.360598772764205...
def colconcat ( self, * args ) : return _ snap. ttable _ colconcat ( self, * args )
[ -0.659904420375824, 0.2102467119693756, 0.7025395631790161, 0.7911781072616577, -0.02063576504588127, -0.458022803068161, -0.1793900579214096, -0.8052818179130554, -1.1450350284576416, 0.16670262813568115, -0.05492168292403221, -1.1639330387115479, 0.17756600677967072, 0.345767080783844, ...
def tstrutil _ splitonch ( * args ) : return _ snap. tstrutil _ splitonch ( * args )
[ -0.3429518938064575, -0.2562132775783539, 0.27485281229019165, -0.14036045968532562, -0.07490718364715576, 0.5157113671302795, 1.0705747604370117, 0.39844027161598206, -0.6951234340667725, -0.23392438888549805, -1.3453686237335205, 0.22262132167816162, 0.583156406879425, 0.2172401249408722...
def preprocess _ targets ( california _ housing _ dataframe ) : # initialize dataframe object output _ targets = pd. dataframe ( ) # scale the target to be in units of thousands of dollars. output _ targets [ " median _ house _ value " ] = ( california _ housing _ dataframe [ " median _ house _ value " ] / 1000. 0 ) # ...
[ -0.44839170575141907, 0.5112976431846619, 0.5523159503936768, 0.11502596735954285, 0.4086000621318817, -0.3190684914588928, -0.6717203259468079, 0.31345534324645996, 0.0981038436293602, -0.09950762987136841, 0.9919305443763733, 0.8948736190795898, 0.9102044105529785, -0.4600965678691864, ...
def main ( self ) : # make a directory to hold our extracted pngs arg = " mkdir. / _ _ render / tmpframes " os. system ( arg ) for file _ name in sorted ( glob. glob ( ". / _ _ render / * " + self. file _ type ) ) : file _ name = file _ name. replace ( " ", " \ " ) # escape spaces in file _ name for row in self. tabler...
[ 0.029862824827432632, 0.05407097190618515, 0.9257183074951172, 0.2995457649230957, -0.17639099061489105, -0.02571176551282406, 0.9849927425384521, 0.06387878209352493, -0.5051149129867554, 0.2793475091457367, 0.12717142701148987, -0.8689455986022949, -0.20469461381435394, 1.396624326705932...
def gather _ raw _ data ( mode ='train ', return _ plot = true, return _ video = true, return _ id = false ) : print ( " gathering features from { } data ". format ( mode ) ) pklfile ='raw _ data _'+ mode data = load _ pkl ( pklfile ) plotfeatures, videofeatures, labels = [ ], [ ], [ ] ids = [ ] for d in data : if retu...
[ -0.66956627368927, -0.38925182819366455, 0.5818989276885986, 0.21749082207679749, -0.5012646913528442, 0.3674670457839966, -0.7708464860916138, 0.3621899485588074, -0.22855432331562042, 0.17747527360916138, -0.8926090598106384, 0.6592691540718079, 0.04438632354140282, 0.10949774086475372, ...
def _ createalienbolt ( self ) : a = self. _ whichalien ( ) x = a. x y = a. y - 1 / 2 * alien _ height b = bolt ( x = x, y = y, width = bolt _ width, height = bolt _ height, fillcolor ='black ', linecolor ='black ', velocity = - bolt _ speed ) self. _ bolts. append ( b ) self. _ generate = true
[ 0.14322280883789062, 0.21691811084747314, 0.7403383851051331, -0.4336647391319275, 0.8223605751991272, 0.16382668912410736, -0.7508547902107239, 0.012118767946958542, -0.6703281402587891, -0.7299755215644836, -0.04398955777287483, 0.47422537207603455, 0.16889363527297974, 0.341652303934097...
def classify ( observation, tree ) : if tree. results! = none : return tree. results # the observation value for the current criteria column observation _ value = observation. scaled _ coords [ tree. col ] if observation _ value = = none : t _ results, f _ results = decisiontree. classify ( observation, tree. t _ node ...
[ -0.049649547785520554, 0.2285519540309906, 0.8848719596862793, -0.3440207540988922, -0.814563512802124, -0.45141342282295227, -0.2654899060726166, 0.0028464870993047953, -0.9647409915924072, 0.3392975628376007, 0.6771348118782043, 0.3003668189048767, 0.8025755286216736, 0.44818243384361267...
def forward ( self, example : tuple [ int, int ] ) - > result : # done ( ~ 5 lines ) : implement this method, returning the relevant values in the dictionary below w, c = example target _ embedding = self. embeddings [ w ] context _ embedding = self. context _ embeddings [ c ] return { " target _ word _ embedding " : t...
[ -0.3924851417541504, 0.24730192124843597, 0.5333747863769531, -0.4865407943725586, -0.06225482374429703, -0.15292684733867645, 0.3318620026111603, 0.3744213283061981, 0.18775567412376404, 0.5460630655288696, -0.07208488136529922, 0.5410661101341248, 0.263202041387558, -0.17737901210784912,...
def get _ users _ from _ db ( session, page, limit, search _ text = none ) : query = session. query ( user ) query = query. options ( joinedload ('profile') ) if search _ text : like _ format ='%'+ search _ text +'%'query = query. filter ( and _ ( or _ ( user. username. like ( like _ format ), user. email. like ( like ...
[ 0.20380045473575592, -0.18545061349868774, 0.8007394671440125, 0.29195937514305115, -0.4637674391269684, 0.14231081306934357, -0.4811704456806183, -0.08394911885261536, 0.6467167735099792, 0.39321964979171753, -0.30144014954566956, -0.15321332216262817, -0.45437514781951904, -0.27072086930...
def save ( self ) : self. updated _ at = datetime. now ( ) models. storage. save ( )
[ -0.7335155010223389, -1.2561289072036743, 0.31488725543022156, 0.22556275129318237, 0.9472505450248718, 0.960083544254303, -0.5426222085952759, 0.42659586668014526, -0.7169128656387329, 0.43560341000556946, -1.5942556858062744, -0.9055356383323669, 0.22724349796772003, 0.297058641910553, ...
def do _ confirm ( self, cr, uid, ids, context = none ) : register _ pool = self. pool. get ('event. registration') for event in self. browse ( cr, uid, ids, context = context ) : if event. mail _ auto _ confirm : # send reminder that will confirm the event for all the people that were already confirmed reg _ ids = reg...
[ -0.5171616673469543, -0.43122321367263794, 0.5727452635765076, 0.964460015296936, 0.7772610187530518, -0.6652829647064209, 0.6990202069282532, 0.2842758893966675, 0.16715244948863983, 1.0927371978759766, -0.48871806263923645, 1.0719953775405884, 0.04378192871809006, 0.27006128430366516, ...
def _ _ add _ _ ( self, rhs ) : try : if isinstance ( rhs, list ) : raise " cannot compare list to smtimeseries! " if isinstance ( rhs, numbers. real ) : ts1 = filestoragemanagersingleton. get ( self. _ id ) product = ts1 + rhs return smtimeseries ( product. times ( ), product. values ( ) ) else : ts1 = filestoragemana...
[ -0.6519609689712524, -0.033386215567588806, 0.5616047382354736, 0.7559239864349365, -0.31860965490341187, 0.25604093074798584, -0.43369731307029724, -1.0966042280197144, 1.4393302202224731, 0.3905560076236725, -0.6601913571357727, 0.6579293608665466, -0.4595195949077606, 0.8531239628791809...
def last _ from _ irdata ( cls, irdata ) : last _ history _ id = irdata. history _ string. split ( ',') [ - 1 ]. split (':') [ 0 ] return cls ( id = last _ history _ id )
[ 0.6443099975585938, -0.7893038392066956, 0.5481021404266357, -0.3885543644428253, 0.053013332188129425, 0.16101649403572083, -0.47357508540153503, 0.11825674772262573, 0.46071285009384155, 0.1601065695285797, 0.6091639399528503, -0.16558992862701416, -0.7975451350212097, -1.179224729537963...
def remaining _ balance ( self ) : return self. _ remaining _ balance
[ 0.49249741435050964, -0.7901601791381836, 0.2717650234699249, 0.4985206723213196, 0.006040295120328665, 1.7271573543548584, -0.31881099939346313, -1.0963045358657837, 0.8905048966407776, -0.8247973322868347, -0.6615393161773682, -0.4360651671886444, -1.020646333694458, 0.291504830121994, ...
def resolved ( self ) : if self. needs _ resolution : return self. _ resolved _ value is not none return true
[ -0.6676844954490662, 0.236005038022995, 0.5946438312530518, 0.10887502878904343, 0.2851863205432892, -0.8555314540863037, -0.8752073049545288, 0.19598232209682465, -0.8386030793190002, -1.1643476486206055, -1.45524263381958, -0.5605031251907349, -0.3491728603839874, 0.5987683534622192, -...
def getsccszcnt _ pngraph ( * args ) : return _ snap. getsccszcnt _ pngraph ( * args )
[ 0.12891648709774017, 0.5487308502197266, 0.11804914474487305, -0.3771403431892395, -0.008734706789255142, -0.6789469718933105, 0.7316989302635193, -0.6755041480064392, -0.01549596432596445, -0.9501345157623291, -0.49223417043685913, 0.511163592338562, 0.8687722682952881, 0.1894529610872268...
def optimized _ joint _ indexes ( self ) - > list [ int ] : return [ self. get _ actuated _ joint _ index ( joint ) for joint in self. optimized _ joint _ names ]
[ -0.43810147047042847, -0.4934792220592499, 0.3269922733306885, 0.7443239092826843, -0.0023804623633623123, 0.1770486831665039, 0.868615984916687, 0.40376412868499756, -0.4951041340827942, -0.2531771957874298, -1.2926809787750244, 1.3041894435882568, -0.6374592185020447, -0.7539042830467224...
def copyuniquefrom ( self, * args ) : return _ snap. tstrintprv _ copyuniquefrom ( self, * args )
[ -0.306824654340744, -0.45785582065582275, 0.16808141767978668, -1.297102928161621, -0.010562954470515251, 0.41897451877593994, 0.1875811368227005, 0.7756798267364502, -0.7875851392745972, 0.4811224341392517, -0.46502557396888733, 0.03689795359969139, -0.04825345426797867, -0.81274783611297...
def rebuild ( self ) : self. _ clean = false if len ( self. points ) = = 0 : self. _ kdtree = none else : coords _ mapped = self. coord _ mapping ( self. points ) self. _ kdtree = ckdtree ( coords _ mapped, 15 ) # this could be tuned self. _ clean = true
[ 0.6718605160713196, -0.11083240807056427, 0.20668379962444305, -0.5443181395530701, -0.2941228747367859, 0.38942307233810425, -0.02379753254354, 0.4679866433143616, 0.1540384292602539, -0.27294474840164185, 0.4245244860649109, 0.5516571998596191, 0.2530727982521057, 0.04541565850377083, ...
def extractpiscesindelfeatures ( vcfname, tag, avg _ depth = none ) : return extractpiscessnvfeatures ( vcfname, tag, avg _ depth )
[ -0.24108140170574188, -0.06737621128559113, 0.16769954562187195, 0.23621053993701935, -0.5263544321060181, -0.4184057116508484, 0.6453393697738647, 0.43049156665802, -0.4830723702907562, 0.31672176718711853, -0.6072629690170288, -0.17060093581676483, -1.2629696130752563, -0.349123388528823...
def partition ( self, * args ) : return _ snap. tstrintprv _ partition ( self, * args )
[ -0.507973313331604, 0.10357864201068878, 0.39833346009254456, -1.3343921899795532, -0.11941080540418625, 0.1378571093082428, 0.3038564622402191, 0.5153983235359192, -0.902708113193512, -0.18873858451843262, 0.24266181886196136, -0.3754495084285736, -1.4318840503692627, 0.22934754192829132,...
def reserve ( self, * args ) : return _ snap. pungraph _ reserve ( self, * args )
[ -0.4339166283607483, 0.6850016117095947, 0.1369781643152237, 0.03308567404747009, 0.9591860175132751, -0.45932847261428833, 0.28900715708732605, 0.07282976806163788, -0.23901546001434326, -0.816070556640625, -1.1097934246063232, -0.9856433272361755, -1.466799259185791, -0.4586268663406372,...
def _ _ str _ _ ( self ) : ts = filestoragemanagersingleton. get ( self. _ id ) return str ( ts )
[ -0.02038375660777092, -0.9823251366615295, 0.3693709075450897, -1.2780179977416992, 0.15759451687335968, -0.39041081070899963, -0.8348433375358582, -0.31043219566345215, 0.12703482806682587, -0.1689278781414032, 0.22832001745700836, 0.5137949585914612, 0.5406569838523865, -0.12635166943073...
def say _ fizzbuzz ( ) : for num in range ( 1, 21 ) : if ( num % 3 = = 0 ) and ( num % 5 = = 0 ) : print ( " fizzbuzz " ) elif num % 3 = = 0 : print ( " fizz " ) elif num % 5 = = 0 : print ( " buzz " ) else : print ( num )
[ 0.8930821418762207, 0.3325023651123047, 0.4818698465824127, 0.4809882938861847, 0.07462738454341888, 0.12774762511253357, 0.1877824068069458, 0.1122356578707695, 0.07634834945201874, -0.24524715542793274, -0.003561306744813919, 0.738896369934082, -1.2120627164840698, 0.9460576772689819, ...
def test _ op _ dup ( self ) : # case of non empty stack length = len ( self. testexpressionstack ) self. testsmartcontractoperations. operations ['dup'] ( self. testexpressionstack ) # check that the size has grown assert len ( self. testexpressionstack ) = = length + 1 # check that the two top elements are the same a...
[ -0.3928758502006531, 1.379786729812622, 0.776019275188446, 0.39212098717689514, 0.4544346034526825, -0.21662651002407074, 1.5401171445846558, -0.13623186945915222, 0.7485544681549072, 0.30233168601989746, -0.6757306456565857, -0.44868025183677673, -0.21491752564907074, -0.8847567439079285,...
def id _ as _ int ( self ) : return self. _ revit _ object. id. integervalue
[ 0.08774891495704651, -1.224000334739685, 0.36090216040611267, -0.7250253558158875, 0.6305574774742126, 0.2992432415485382, 0.3693930208683014, -0.6323171257972717, 0.3290318250656128, -0.5746419429779053, -0.0905962809920311, 0.6009290218353271, -0.508236825466156, -0.6837007999420166, -...
def clr ( self, * args ) : return _ snap. schema _ clr ( self, * args )
[ -0.2031584084033966, 0.8068106174468994, 0.47164031863212585, 0.8102141618728638, -0.2317228615283966, 0.4206133186817169, 0.15820157527923584, 0.17910373210906982, -0.1614663451910019, -0.5119086503982544, 0.016832998022437096, -0.055345430970191956, -1.172714352607727, 0.9432833790779114...
def _ _ init _ _ ( self, request _ validator, token _ generator = none, token _ expires _ in = none, refresh _ token _ generator = none, * * kwargs ) : password _ grant = resourceownerpasswordcredentialsgrant ( request _ validator ) refresh _ grant = refreshtokengrant ( request _ validator ) bearer = bearertoken ( requ...
[ 0.26609668135643005, -0.4085268974304199, 0.8246310353279114, 1.4686048030853271, 0.032024260610342026, 0.09170586615800858, -0.39402347803115845, 0.2797655761241913, 0.4629255533218384, -0.6298999786376953, -0.01777414046227932, -0.21915918588638306, 0.009789174422621727, 0.23950059711933...
def pixelrgb ( self, x, y, r, g, b, blink = none, frame = none ) : # pylint : disable = too - many - arguments x + = y * 5 super ( ). pixel ( x, 0, r, blink, frame ) super ( ). pixel ( x, 1, g, blink, frame ) super ( ). pixel ( x, 2, b, blink, frame )
[ -0.30077651143074036, 1.0883994102478027, 0.593036949634552, 0.6552547812461853, -0.011389312334358692, 0.47224706411361694, -0.17869383096694946, -1.247424840927124, 0.2019459307193756, 0.5909621715545654, -0.6205946803092957, 0.28846657276153564, -0.8600608110427856, 0.619499146938324, ...
def rotate _ refresh _ token ( self, request ) : return true
[ -1.2782796621322632, -0.44626715779304504, 0.21556761860847473, 0.7279832363128662, 0.1404786854982376, 0.2942149341106415, -0.09944195300340652, -0.9866294860839844, 0.20006802678108215, 0.22648780047893524, -0.3595559000968933, 0.4400116205215454, -0.6417347192764282, -0.7196726202964783...
def addmerged ( self, * args ) : return _ snap. schema _ addmerged ( self, * args )
[ -0.7171132564544678, 0.5443552136421204, 0.676345944404602, 0.8032457828521729, 1.4564377069473267, 0.48254287242889404, 0.3099958598613739, 0.5821982026100159, 0.3681926131248474, -1.6520788669586182, -1.4595894813537598, -0.04886898770928383, -1.4876023530960083, 1.1248095035552979, -0...
def remove _ node ( self, index _ node ) : if index _ node < 0 : raise valueerror ( " value must be positive " ) if self. is _ empty ( ) : print ( " list is empty " ) else : current = self. head prev = none index = 0 while index < = index _ node : if index = = index _ node : if current = = self. head : self. head = cur...
[ -0.03289974108338356, 0.25386717915534973, 0.5962260365486145, -0.015076667070388794, 0.10370907932519913, -0.22122658789157867, 0.456938773393631, 1.1983660459518433, 0.5532892942428589, 0.5833203196525574, -0.46600857377052307, 0.3991309702396393, -0.9649379849433899, 0.20974907279014587...
def evaluate _ model ( model, test _ pos _ vec, test _ neg _ vec, print _ confusion = false ) : # use the predict function and calculate the true / false positives and true / false negative. # your code here test _ pos _ label = list ( model. predict ( test _ pos _ vec ) ) tp = test _ pos _ label. count ('pos') fn = le...
[ -0.2189631313085556, -0.6827385425567627, 0.5253669619560242, -0.2056717872619629, 0.08385144174098969, 0.6533387303352356, 0.0930519625544548, 0.6044438481330872, -0.89017254114151, 0.02851489931344986, -0.3601166307926178, -0.12876847386360168, -0.19255398213863373, 0.07872452586889267, ...
def test _ list _ decimal _ max _ length _ 1 _ nistxml _ sv _ iv _ list _ decimal _ max _ length _ 2 _ 4 ( mode, save _ output, output _ format ) : assert _ bindings ( schema = " nistdata / list / decimal / schema + instance / nistschema - sv - iv - list - decimal - maxlength - 2. xsd ", instance = " nistdata / list / ...
[ -0.3896210491657257, -0.36375460028648376, 0.3309136927127838, 0.9696255922317505, -0.14086224138736725, -0.24772831797599792, -0.5504515171051025, 0.1420511156320572, 0.41208595037460327, -0.28760799765586853, -1.1872327327728271, -0.30236726999282837, 0.11669296771287918, 0.7657422423362...
def viewer _ can _ delete ( self ) - > bool : return self. data [ " viewercandelete " ]
[ 0.03140485659241676, 0.5000306963920593, 0.24181607365608215, 0.9468171000480652, -0.02270716428756714, -0.12294916063547134, 0.3639676868915558, 0.31187915802001953, -0.16561634838581085, -0.10448949784040451, 0.16702355444431305, 0.841188907623291, 0.036299291998147964, 0.584808886051178...
def test _ parameters _ mountain _ and _ ocean ( self ) : assert self. m. fodder _ in _ cell = = 0 assert self. m. f _ max = = 0 assert self. m. animal _ can _ enter is false
[ -0.47877630591392517, -0.35365384817123413, 0.3063288629055023, 0.8302115201950073, 1.6069705486297607, 0.9322324991226196, 0.4791140854358673, -0.1266087293624878, -1.4299718141555786, -0.17757132649421692, 0.3740904927253723, 0.6353896260261536, -0.1175251454114914, 1.468961238861084, ...
def describe _ restaurant ( self ) : print ( f " \ nwelcome to { self. restaurant _ name }. " ) print ( f " today we have { self. cuisine _ type } for you. " )
[ -0.06492946296930313, -0.14892998337745667, 0.4062252342700958, -0.26604974269866943, 0.389899343252182, 0.2770310640335083, -0.3742794990539551, 0.9863197803497314, -0.9346299767494202, -0.22510264813899994, 0.08904290944337845, 1.7084347009658813, -0.23496733605861664, 0.9837651252746582...
def evaluate ( exptree, environment ) : # primitives if isinstance ( exptree, str ) : return environment. lookup ( exptree ) elif isinstance ( exptree, int ) or isinstance ( exptree, float ) : return exptree # special forms elif exptree [ 0 ] = ='def'or exptree [ 0 ] = ='define': var = exptree [ 1 ] val = evaluate ( ex...
[ 0.013251061551272869, -0.49227258563041687, 1.0750638246536255, -0.8196759223937988, -0.9713778495788574, -0.18892237544059753, -1.1860311031341553, 0.3822695016860962, 0.083265520632267, 0.6658892035484314, 0.39865902066230774, 0.48606324195861816, -0.38026899099349976, 0.1267562657594680...
def tstrutil _ getcleanstr ( * args ) : return _ snap. tstrutil _ getcleanstr ( * args )
[ -0.0366487018764019, 0.0016748423222452402, 0.11159395426511765, 0.516592264175415, 0.24707190692424774, 0.27802589535713196, 0.13990800082683563, -0.962322473526001, -1.2965375185012817, -0.2196994572877884, -0.13917553424835205, 0.35915809869766235, 0.39802679419517517, 0.136392787098884...
def split _ train _ val _ as _ df ( data, ratio = 6 ) :
[ -0.7693572640419006, 0.7213390469551086, 0.27651557326316833, 1.1905137300491333, -0.706394374370575, -0.7300665974617004, 0.0006570251425728202, 0.156375914812088, -0.728580117225647, -0.26045727729797363, 0.15510907769203186, -1.180777668952942, 0.5518231391906738, -1.0011216402053833, ...
def _ update _ health _ monitor _ status ( self, health _ monitors ) : for health _ monitor in health _ monitors : if'provisioning _ status'in health _ monitor : provisioning _ status = health _ monitor ['provisioning _ status'] if ( provisioning _ status = = plugin _ const. pending _ create or provisioning _ status = ...
[ -0.9048838019371033, -1.7080966234207153, 0.47256624698638916, -0.019609028473496437, 1.1087700128555298, 0.21226023137569427, -0.8685125112533569, 0.3013648986816406, 0.516484260559082, 0.5289254784584045, -0.426058828830719, 0.48943981528282166, -0.5721643567085266, 0.46523964405059814, ...
def setfeatures ( self, feats ) : self. fnames = list ( feats ) self. nfeatures = len ( feats )
[ -1.007480263710022, -0.17781522870063782, 0.29162266850471497, 0.10589432716369629, 0.03403439745306969, -0.4413195848464966, 0.33552491664886475, 0.7305071949958801, 0.18082334101200104, -1.2814006805419922, -2.130786895751953, 0.14784932136535645, 0.3212079405784607, 0.8714401125907898, ...
def post ( url : str, * args, timeout : httpx. _ types. timeouttypes = 5, n _ tries : int = 4, * * kwargs, ) - > httpx. request : return request ('post ', url, * args, timeout = timeout, n _ tries = n _ tries, * * kwargs )
[ -0.7259308099746704, 0.8369783163070679, 0.42727720737457275, 0.5598827004432678, -0.2421720325946808, -0.08182510733604431, -1.5545133352279663, -0.4496496319770813, -0.16029372811317444, -0.2577231824398041, -0.7745011448860168, 0.1008186936378479, -0.5905622839927673, -0.313589483499527...
def type ( self ) : return stunmsg _ c. stun _ msg _ type ( self. _ buf )
[ 0.00913602951914072, 0.4898862838745117, 0.23535193502902985, 0.20313535630702972, 0.6549059748649597, -0.14858119189739227, 1.4722622632980347, -1.2438898086547852, 0.8812586665153503, -0.7184311747550964, -0.6617535352706909, 0.7984519600868225, -1.4939602613449097, 0.29862016439437866, ...
def cn _ createtransformed ( self, dudx, dudy, dvdx, dvdy ) : depr ('createtransformed ', 1. 1,'obj. transform ( dudx, dudy, dvdx, dvdy )') return self. transform ( dudx, dudy, dvdx, dvdy )
[ -1.295964002609253, 0.21259404718875885, 0.45106610655784607, -0.6298503279685974, 0.11665334552526474, -0.34382158517837524, 0.09370701014995575, -1.1785379648208618, -0.06497426331043243, -0.44360044598579407, -0.9967550039291382, -0.19951017200946808, 0.08163896948099136, -0.57562494277...
def quit ( self ) : rep = self. send ( " quit " + crlf ) self. closed = true self. control _ socket. shutdown ( socket. shut _ rdwr ) self. control _ socket. close ( ) return rep
[ -0.33836713433265686, 0.003495496930554509, 0.46254435181617737, -0.46440285444259644, 0.091461181640625, 0.3546087145805359, 0.32380568981170654, -0.7974788546562195, 0.12782235443592072, -0.4063277840614319, -0.19386811554431915, 0.24485135078430176, -1.9067699909210205, -0.7119843959808...
def remove ( self, ids ) : if not ids : return self. eval _ js ('table. remove _ ( { } ) ; '. format ( dumps ( ids ) ) )
[ -1.3382117748260498, 0.29142463207244873, 0.2813228368759155, 0.07200737297534943, -0.8628921508789062, -1.5375698804855347, 0.047677669674158096, 0.2698597013950348, -0.23925410211086273, 1.1302207708358765, -0.8481960892677307, -0.17446590960025787, -0.37647873163223267, 0.30805748701095...
def getfltattrdatn ( self, * args ) : return _ snap. pneanetmp _ getfltattrdatn ( self, * args )
[ -0.27584680914878845, 0.3781094551086426, 0.3727937340736389, -0.49211278557777405, 0.8010575771331787, -0.15970349311828613, 0.00935564935207367, -0.23261065781116486, -0.6328542232513428, -1.8202297687530518, -0.6073240637779236, -0.23429378867149353, 0.31836095452308655, 0.6865305900573...