query
stringlengths
10
3.6k
document
stringlengths
19
61.4k
metadata
dict
negatives
listlengths
0
101
negative_scores
listlengths
0
101
document_score
stringlengths
3
10
document_rank
stringclasses
102 values
Gets the transfers of this Account.
def HMEH(YKHO) -> x1iM[str]: return YKHO._transfers
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def HMEH(YKHO):\n return G4JS.get('{}entry/{}/transfers'.format(_RsZ, YKHO.id)).json()", "def uMuJ(YKHO):\n pmON = '/api/ownership/transfers/'\n return YKHO._get_data(pmON)", "def HMEH(YKHO, dQgO, VIXL=None):\n return sorted(YKHO.request(dQgO, 'get_transfers', True, VIXL), key=lambda WKvO: WKvO['cr...
[ "0.8210271", "0.7518949", "0.75032306", "0.6950054", "0.6533111", "0.6531412", "0.6491361", "0.64263994", "0.63964945", "0.6392938", "0.63260734", "0.63026136", "0.6248139", "0.6235343", "0.62351763", "0.62351763", "0.62254477", "0.6175183", "0.61722887", "0.61025256", "0.606...
0.7910321
1
Get onehot encoding of index tensors.
def kj8B(_0VL, bKPk): VNqG = ht2j.zeros(_0VL.size()[0], bKPk, dtype=ht2j.float32, device=_0VL.device) return VNqG.scatter_(1, _0VL.unsqueeze(1), 1)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def zGX0(YKHO, _0VL, ROpF):\n hlel = oyIN.zeros(ROpF)\n hlel[oyIN.arange(len(_0VL)), _0VL] = 1\n return hlel", "def OjaS(_0VL, yvT9):\n return joQX._onehot_encode(_0VL, yvT9, out=yvT9)", "def zGX0(jTqs, YVdj, begE):\n return ht2j.eye(jTqs)[YVdj].to(begE)", "def GpPk(or8S, tpio):\n ycBG = [0...
[ "0.8078571", "0.80465996", "0.80362403", "0.8005213", "0.7988094", "0.796629", "0.7867308", "0.78503895", "0.7780403", "0.7729698", "0.7696041", "0.7686584", "0.76666486", "0.76661676", "0.76661676", "0.761005", "0.75928086", "0.75700086", "0.7543698", "0.75430405", "0.753179...
0.77207655
10
KL divergence between Gaussian posterior and standard normal prior.
def ML47(yGTL, IR53): return -0.5 * ht2j.sum(1 + IR53 - yGTL.pow(2) - IR53.exp(), dim=1)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def PlVk(wucG, Z8Gd, gggm, Nx68, RA_F=0.001):\n mBJj = Kt_s.exp(Z8Gd) + RA_F\n kgum = Kt_s.exp(Nx68) + RA_F\n return 0.5 * (Kt_s.log(mBJj) - Kt_s.log(kgum) + (kgum + (wucG - gggm) ** 2) / mBJj - 1)", "def dzAH(YKHO, xwrI=False):\n if xwrI:\n assert type(YKHO.approx_post) == type(YKHO.prior) ==...
[ "0.71678555", "0.7138162", "0.7070791", "0.6945587", "0.6927997", "0.6896426", "0.6869524", "0.68439025", "0.68198323", "0.6788838", "0.67595106", "0.6757401", "0.67241323", "0.67124337", "0.6685951", "0.6685869", "0.6681232", "0.66513526", "0.6615589", "0.661446", "0.6603968...
0.6411383
35
KL divergence between categorical distribution and uniform prior.
def g1BW(aTLP): t1lM = aTLP * ht2j.log(aTLP + CzNp) return t1lM.sum(1)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def YToK(aTLP, EU4P):\n t1lM = aTLP * (ht2j.log(aTLP + CzNp) - EU4P)\n return t1lM.sum(1)", "def Zxnm(YKHO, **B2fa) -> laHg.Union[ht2j.Tensor, float]:\n return", "def bISY(YKHO, bUsw, f2rf=None):\n if f2rf is None:\n f2rf = lWPh.OneHotCategorical(logits=bUsw['discrete']['log_q_z'])\n ...
[ "0.7439548", "0.7416099", "0.72574246", "0.7168575", "0.71667993", "0.71303886", "0.70733196", "0.70557934", "0.70328575", "0.69938505", "0.6980934", "0.69751614", "0.6971741", "0.6960767", "0.68684125", "0.68671083", "0.68622917", "0.6831543", "0.6815994", "0.6794524", "0.67...
0.71848375
3
Get RNN hidden state masks for next segment.
def lyhu(YKHO, DVZA): if len(DVZA) < YKHO.max_num_segments: GKfD = list(map(lambda WKvO: Sk7g(WKvO, dim=1), DVZA)) ZHfW = ht2j.exp(sum(GKfD)) return ZHfW else: return None
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def jwtR(YKHO):\n return ZylS.scan(fn=lambda WtQF, WKvO: YKHO._rnn_step(h_prev=WtQF, x=WKvO), elems=YKHO.inputs, initializer=YKHO._zero_state(hidden_dim=YKHO._num_hidden, batch_size=YKHO._batch_size, dtype=ZylS.float32), parallel_iterations=10, name='hidden_states')", "def M6_7(YKHO):\n Tfyd = ZylS.scan(YK...
[ "0.6816427", "0.6139076", "0.5891182", "0.5713269", "0.564937", "0.5642028", "0.56019866", "0.55993104", "0.557093", "0.5560373", "0.555588", "0.55050606", "0.54636216", "0.5418708", "0.5416771", "0.5411057", "0.5404725", "0.53934985", "0.53907686", "0.53863335", "0.5376699",...
0.0
-1
Convert list of lexical terms to synset id's. a_germanet GermaNet instance a_terms set of terms to check a_pos partofspeech tag of the lexical term or None list of synset id's
def O3jx(yHxG, acqB, CMGW): U5bT = set() for Qy9J in acqB: for EdAu in yHxG.lex2lexid[Qy9J]: for gaRb in yHxG.lexid2synids[EdAu]: if CMGW is None or yHxG.synid2pos[gaRb] in CMGW: U5bT.add(gaRb) return U5bT
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def wr3U(YKHO, s2mk):\n if isinstance(s2mk, str):\n s2mk = ZbWC.sub('\\\\d+', '<num>', s2mk).lower()\n Q4kH = s2mk.split(' ')\n i21Q = [YKHO.vocab_dict.get('<bos>')] + [YKHO.vocab_dict.get(w2fL, YKHO.vocab_dict.get('<unk>')) for w2fL in Q4kH] + [YKHO.vocab_dict.get('<eos>')]\n return...
[ "0.58816487", "0.5826338", "0.5545769", "0.54406005", "0.5410157", "0.5403657", "0.5358991", "0.5335471", "0.5335471", "0.53283286", "0.52915275", "0.52729356", "0.5253462", "0.5232636", "0.52255124", "0.5221907", "0.5214341", "0.5212928", "0.520096", "0.51991403", "0.5181502...
0.74759436
0
Sets the credential_type of this SharedConnectionRequest.
def uG3u(YKHO, uG3u): BbPm = [AVmo] YKHO._credential_type = uG3u
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def uG3u(YKHO, uG3u):\n BbPm = ['PASSWORD', 'API_KEY', 'JWT']\n if uG3u not in BbPm:\n raise ValueError('Invalid value for `credential_type` ({0}), must be one of {1}'.format(uG3u, BbPm))\n YKHO._credential_type = uG3u", "def uG3u(YKHO) -> h8nf[qe4Y.Input['AuthConfigCredentialType']]:\n return...
[ "0.77228147", "0.63794726", "0.6151259", "0.6151259", "0.59325564", "0.5786291", "0.5781176", "0.5712789", "0.5711983", "0.5693675", "0.5693675", "0.56828576", "0.56549644", "0.56437147", "0.5587511", "0.5587511", "0.5576719", "0.55708027", "0.55692136", "0.55692136", "0.5552...
0.7889595
0
Returns the string representation of the model
def gTzM(YKHO): return CgYo.pformat(YKHO.to_dict())
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def zAg0(YKHO):\n return str(YKHO.__model)", "def zAg0(YKHO):\n return str(YKHO.model)", "def zAg0(YKHO):\n return YKHO.text", "def zAg0(YKHO):\n oOUF = '-----------------------------------------------------------------------------------\\n'\n _2sc = YKHO.__class__.__name__\n oOUF += '\\t\\...
[ "0.864179", "0.85105866", "0.7853924", "0.77452", "0.7712474", "0.76976854", "0.76601666", "0.7638181", "0.7621996", "0.76074743", "0.76074743", "0.76074743", "0.7607432", "0.7599404", "0.75858897", "0.7582702", "0.75715727", "0.75683635", "0.7539386", "0.7539386", "0.7528709...
0.0
-1
Returns true if both objects are not equal
def Vdqg(YKHO, Elif): return not YKHO == Elif
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Vdqg(YKHO, Elif: object) -> bool:\n return not YKHO.__eq__(Elif)", "def Vdqg(YKHO, Elif: object) -> bool:\n return not YKHO == Elif", "def Vdqg(YKHO, Elif: object):\n return not YKHO == Elif", "def Vdqg(YKHO, Elif):\n if YKHO.__eq__(Elif):\n return False\n return True", "def Vdqg(...
[ "0.8392633", "0.8354901", "0.82950056", "0.8132309", "0.81149805", "0.8099986", "0.809911", "0.8097883", "0.8097883", "0.8092252", "0.8092252", "0.8092252", "0.8092252", "0.8085141", "0.8085141", "0.8085141", "0.8085141", "0.8085141", "0.8066694", "0.80594814", "0.805757", ...
0.0
-1
Get the list of campaigns belonging to the currently logged in user.
def jotb(): uJjO = None if WsL5.request.headers.get('Authorization') is not None: eOtH = WsL5.request.headers.get('Authorization') uJjO = I5dR.get_user_id(eOtH) ouvA = qtWW.Session() try: IANV = ZHi5.get_campaigns_by_gm_id(uJjO) Aofo = list() for j4i0 in IANV: ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def tUhU(YKHO):\n return YKHO._client.get_campaigns()", "def Xeky(YKHO):\n return YKHO.campaigns", "def Wz6D(YKHO):\n return YKHO._client.get_campaign_names()", "def tUhU(XP5J: bool=False):\n x0hE = bxbw()\n IANV = x0hE.campaigns.all(get_all=True)\n eYcy = DXLd.dumps(IANV, indent=4)\n if...
[ "0.79977435", "0.7592395", "0.68645674", "0.67765373", "0.67722416", "0.667373", "0.666821", "0.6548854", "0.65345013", "0.6468014", "0.6341364", "0.6331994", "0.6284699", "0.6221892", "0.62084836", "0.61797583", "0.612433", "0.6097887", "0.60604596", "0.6010385", "0.59901184...
0.7097842
2
Return True if given ``path`` is present only on the wrapped FS.
def lY6S(YKHO, pmON): return YKHO.delegate_fs().exists(pmON) and (not YKHO.proxy_fs().exists(pmON)) and (not pmON in YKHO._removed)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def W32_(YKHO, pmON: str) -> bool:\n pmON = Hy7s.fspath(pmON)\n pmON = pmON.rstrip(Hy7s.path.sep)\n if pmON in YKHO.files:\n return True\n pmON = pmON + Hy7s.path.sep\n if any((eHNT.startswith(pmON) for eHNT in YKHO.files)):\n return True\n return False", "def H9F3(pmON):\n if ...
[ "0.7607247", "0.7539598", "0.7492546", "0.7439022", "0.7423568", "0.7413376", "0.74115056", "0.7401231", "0.73829037", "0.7375334", "0.7357734", "0.73575586", "0.7349896", "0.7338673", "0.7336634", "0.7311657", "0.73114014", "0.7301899", "0.72962695", "0.7267747", "0.72674286...
0.7934167
0
Test to run the delivery command with dry run enabled
def njRT(T1Ea: CliRunner, zBtL: CGConfig, r6gR: str, luJ6: Path, KTnm): KTnm.set_level(G9jH.DEBUG) assert luJ6.exists() is False T1Ea.invoke(AajS, ['--case-id', r6gR, '--delivery-type', 'mip-dna', '--dry-run'], obj=zBtL) assert luJ6.exists() is False assert 'Would hard link file' in KTnm.text
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def i2A9(YKHO):\n YKHO.post('/api/v1/run', {'command': 'echo testing'})", "def rK6X(YKHO):\n with gbPf.TemporaryDirectory(dir='./tests/resources/runfolders/', prefix='160930_ST-E00216_0111_BH37CWALXX_') as z_es:\n Z0kE = Hy7s.path.basename(z_es)\n YKHO._create_projects_dir_with_random_data(z_...
[ "0.64325756", "0.6257074", "0.6236727", "0.6219652", "0.62105346", "0.61950105", "0.6164756", "0.61104774", "0.60834056", "0.6025115", "0.6001609", "0.5996684", "0.5965695", "0.5958407", "0.59449273", "0.5928062", "0.5895161", "0.5801458", "0.57968307", "0.57894146", "0.57695...
0.74790615
0
Retrieves the next item from the queue. If empty, fill the queue first.
async def _next(YKHO): if YKHO.queue_empty: try: await YKHO._fill_queue() except KeyError: await YKHO.client.reset_keys() return await YKHO._next() YKHO.queue_empty = False try: return YKHO.queue.get_nowait() except V7ok.QueueEmpty: ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def UDAb(YKHO):\n with YKHO.lock:\n rKoN = YKHO.queue.get()\n if rKoN is None:\n raise StopIteration\n return rKoN", "def V14U(YKHO):\n try:\n return YKHO.queue.queue[0]\n except (gGq6.Empty, IndexError):\n return None", "def next(YKHO):\n if len(YKHO.q...
[ "0.7912626", "0.78779453", "0.7805057", "0.7687084", "0.7638421", "0.7496885", "0.74456227", "0.74074894", "0.7364444", "0.7326739", "0.728579", "0.7267058", "0.7253099", "0.7252766", "0.72404397", "0.7240041", "0.723312", "0.7220267", "0.7218465", "0.7212457", "0.7197331", ...
0.74455327
7
Get the number of bases overlap between two intervals.
def kVn1(jzdc, Fg_i): return max(0, min(jzdc[1], Fg_i[1]) - max(jzdc[0], Fg_i[0]))
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def cAau(NGL3, Ork6):\n if NGL3.reference_name != Ork6.reference_name:\n return 0\n return max(0, min(NGL3.end, Ork6.end) - max(NGL3.start, Ork6.start))", "def PZIW(VOlW: Interval, rEbr: Interval) -> int:\n VOlW.sort()\n rEbr.sort()\n return min(VOlW[-1], rEbr[-1]) - max(VOlW[0], rEbr[0])",...
[ "0.76382357", "0.7607955", "0.7502705", "0.73505956", "0.732281", "0.7241153", "0.70817715", "0.7019396", "0.69192165", "0.69192165", "0.67927027", "0.67763543", "0.67368233", "0.67350984", "0.6664841", "0.66148037", "0.66001624", "0.65508914", "0.654129", "0.6514027", "0.637...
0.7213075
6
Get the number of bases overlap between two BED records.
def a4Si(jzdc, Fg_i): return max(0, min(jzdc.end, Fg_i.end) - max(jzdc.start, Fg_i.start))
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def cAau(NGL3, Ork6):\n if NGL3.reference_name != Ork6.reference_name:\n return 0\n return max(0, min(NGL3.end, Ork6.end) - max(NGL3.start, Ork6.start))", "def aCb3(YKHO, FlTv, R6uC, QQB3):\n qHfd = sum([QQB3[xebs] for xebs in R6uC if xebs in FlTv])\n CiKO = sum([QQB3[xebs] for xebs in FlTv])\...
[ "0.70715034", "0.69037676", "0.66740936", "0.65199983", "0.64930254", "0.6322333", "0.62609935", "0.62561625", "0.62449104", "0.6223685", "0.62129897", "0.6212598", "0.6196044", "0.6173192", "0.61524594", "0.6152241", "0.6152241", "0.61449313", "0.61376184", "0.61275107", "0....
0.65073115
4
Raise an exception if p is not a valid file; otherwise, return p.
def _o9o(XP5J): if not Hy7s.path.isfile(XP5J): raise RuntimeError("'{}' is not a valid input file!".format(XP5J)) return XP5J
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def JgkM(SXRB):\n if Hy7s.path.isfile(SXRB):\n return SXRB\n else:\n raise IOError('File does not exist: {}'.format(SXRB))", "def v1xW(Ux0P, Tuqy='r'):\n eHNT = None\n try:\n eHNT = open(Ux0P, Tuqy)\n except Exception as err:\n print('get_filep: opening file %s failed w...
[ "0.6680052", "0.6577545", "0.6344612", "0.6226809", "0.62035793", "0.6114045", "0.60875154", "0.5920748", "0.5918594", "0.59044594", "0.5902714", "0.5888922", "0.5885061", "0.5851968", "0.5833123", "0.58254486", "0.5808597", "0.58070046", "0.5777635", "0.5772866", "0.57705706...
0.80226743
0
Function to normalize an array for better visualisation
def jnV4(HWEd): dgIT, bQ6z = (HWEd.min(), HWEd.max()) return (HWEd - dgIT) / (bQ6z - dgIT)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def NkkI(ezWE):\n return ezWE / oyIN.mean(ezWE)", "def NkkI(qw7D):\n qw7D -= qw7D.min()\n qw7D /= qw7D.max()\n return qw7D", "def NkkI(ezWE):\n ezWE = (ezWE - oyIN.min(ezWE)) / (oyIN.max(ezWE) - oyIN.min(ezWE) + 1e-10)\n return ezWE", "def NkkI(qw7D):\n nGW3, UJrs = (qw7D.min(), qw7D.max...
[ "0.8299747", "0.82940054", "0.81602275", "0.81064737", "0.8094387", "0.801901", "0.8014832", "0.7987976", "0.79770696", "0.7948057", "0.79204416", "0.78730744", "0.78152263", "0.7761883", "0.77244234", "0.772137", "0.7671175", "0.76507455", "0.7649679", "0.7643632", "0.762286...
0.79138696
11
Function to compute the Hessian with finite difference at the point P(s, m, n)
def OAFk(sdIa, KCHu, r8hN, exwG): _BOK = sdIa[KCHu - 1, r8hN, exwG] - 2 * sdIa[KCHu, r8hN, exwG] + sdIa[KCHu + 1, r8hN, exwG] dpEy = sdIa[KCHu, r8hN - 1, exwG] - 2 * sdIa[KCHu, r8hN, exwG] + sdIa[KCHu, r8hN + 1, exwG] YnBA = sdIa[KCHu, r8hN, exwG - 1] - 2 * sdIa[KCHu, r8hN, exwG] + sdIa[KCHu, r8hN, exwG + 1...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def e_VS(eHNT, SGf8=0.001):\n\n def OgwZ(WKvO):\n exwG = len(WKvO)\n C7Ls = oyIN.array([[(eHNT(WKvO + 0.5 * SGf8 * dVIs(YRbF, exwG) + 0.5 * SGf8 * dVIs(r845, exwG)) - eHNT(WKvO - 0.5 * SGf8 * dVIs(YRbF, exwG) + 0.5 * SGf8 * dVIs(r845, exwG)) - eHNT(WKvO + 0.5 * SGf8 * dVIs(YRbF, exwG) - 0.5 * SGf8...
[ "0.7786439", "0.74403965", "0.72212785", "0.71586967", "0.7151466", "0.7147465", "0.70905995", "0.70831186", "0.7067479", "0.7044593", "0.70415395", "0.70371497", "0.7032683", "0.6987982", "0.6927233", "0.69006383", "0.6896538", "0.6896538", "0.6874062", "0.68711245", "0.6847...
0.8053194
0
Compute the Dog continuous extrema by solving the equation Hessian alpah = gradient
def qZ5s(sdIa, KCHu, r8hN, exwG): C7Ls = OAFk(sdIa, KCHu, r8hN, exwG) Oa1e = ICX2(sdIa, KCHu, r8hN, exwG) Cwt5 = oyIN.linalg.solve(C7Ls, -Oa1e) wW3z = sdIa[KCHu, r8hN, exwG] + 0.5 * oyIN.dot(Cwt5, Oa1e) return (Cwt5, wW3z)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def HaVr(YKHO, WKvO):\n Oa1e, C7Ls = YKHO._compute_gradient_hessian_prior(WKvO)\n YBbd = YKHO.contexts.T\n bEXe = YKHO.rewards\n aTLP = 1 / (1 + oyIN.exp(-WKvO.dot(YBbd)))\n Oa1e = YBbd.dot(aTLP - bEXe)\n C7Ls = C7Ls + YBbd.dot(oyIN.diag(oyIN.multiply(aTLP, 1 - aTLP))).dot(YBbd.T)\n return (Oa...
[ "0.71966636", "0.69158256", "0.68948525", "0.6817626", "0.6634778", "0.6634775", "0.6631752", "0.6589336", "0.6551193", "0.6551193", "0.65419054", "0.65108943", "0.64616615", "0.64568925", "0.64429426", "0.64409095", "0.6436524", "0.6421051", "0.63988197", "0.6397582", "0.638...
0.0
-1
Squares each element of the input array, and returns the sum(s) of that.
def KG9w(jzdc, jDK_=0): jzdc, jDK_ = tYsh(jzdc, jDK_) return oyIN.sum(jzdc * jzdc, jDK_)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Lzxs(fUYa):\n wjRY = 0\n for YRbF in fUYa:\n wjRY += YRbF * YRbF\n return wjRY", "def Lzxs(nPrm):\n return XTiz.sum([WKvO ** 2 for WKvO in nPrm])", "def Lzxs(fUYa):\n wjRY = 0\n for WKvO in fUYa:\n wjRY += WKvO * WKvO\n return wjRY", "def dF78(BkYD):\n return qw7D.su...
[ "0.8004569", "0.7815473", "0.78141916", "0.77534986", "0.77170914", "0.76027083", "0.76027083", "0.7580417", "0.7580417", "0.71778184", "0.7172297", "0.71576434", "0.7126036", "0.7113605", "0.7107159", "0.7092874", "0.7074741", "0.69859934", "0.6950601", "0.69042236", "0.6832...
0.6897636
20
Return a path from PuzzleNode(puzzle) to a PuzzleNode containing a solution, with each child containing an extension of the puzzle in its parent. Return None if this is not possible.
def RawI(eZzF): pmON = G954(eZzF, eZzF.extensions(), None) if pmON.children: for aUGN in pmON.children: j8aM = RawI(aUGN) if j8aM != None: return j8aM if eZzF.is_solved(): return pmON return None
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def OyQC(Q6kx):\n eJmz = Q6kx\n while eJmz.puzzle is not None and eJmz.parent is not None:\n eJmz.parent.children = [eJmz]\n eJmz = eJmz.parent\n return eJmz", "def Ytxw(Q6kx):\n jvSB = Q6kx\n while jvSB.parent is not None and jvSB.puzzle is not None:\n jvSB.parent.children = ...
[ "0.72515893", "0.69639087", "0.6701983", "0.6458635", "0.63686466", "0.6333815", "0.61704314", "0.60227126", "0.6011263", "0.59937525", "0.592287", "0.5892019", "0.5882574", "0.58272153", "0.57825184", "0.57793045", "0.57155865", "0.5674765", "0.5660104", "0.56107557", "0.559...
0.5761833
16
Return a path from PuzzleNode(puzzle) to a PuzzleNode containing a solution, with each child PuzzleNode containing an extension of the puzzle in its parent. Return None if this is not possible.
def X2ZK(eZzF): pmON = G954(eZzF, eZzF.extensions(), None) if pmON.children: for aUGN in pmON.children: j8aM = RawI(aUGN) if j8aM != None: return j8aM if eZzF.is_solved(): return pmON return None
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def OyQC(Q6kx):\n eJmz = Q6kx\n while eJmz.puzzle is not None and eJmz.parent is not None:\n eJmz.parent.children = [eJmz]\n eJmz = eJmz.parent\n return eJmz", "def Ytxw(Q6kx):\n jvSB = Q6kx\n while jvSB.parent is not None and jvSB.puzzle is not None:\n jvSB.parent.children = ...
[ "0.7268193", "0.70062864", "0.6668476", "0.6537754", "0.63874376", "0.6255593", "0.6090573", "0.6051758", "0.60343844", "0.59810567", "0.5952692", "0.5899275", "0.58239675", "0.58158743", "0.58067", "0.5791416", "0.5753266", "0.57084644", "0.5665434", "0.56623226", "0.5654643...
0.6384277
5
Return whether PuzzleNode self is equivalent to other
def xa14(YKHO, Elif): return type(YKHO) == type(Elif) and YKHO.puzzle == Elif.puzzle and all([WKvO in YKHO.children for WKvO in Elif.children]) and all([WKvO in Elif.children for WKvO in YKHO.children])
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def xa14(YKHO, Elif):\n return type(Elif) is type(YKHO) and YKHO._node == Elif._node", "def xa14(YKHO, Elif):\n return type(Elif) is type(YKHO) and Elif._node is YKHO._node", "def xa14(YKHO, Elif):\n return isinstance(Elif, o7DN) and YKHO.state == Elif.state", "def xa14(YKHO, Elif):\n return isin...
[ "0.75908893", "0.75750256", "0.75735235", "0.7557899", "0.7543936", "0.7535108", "0.7530965", "0.7529764", "0.7529764", "0.7529764", "0.7529764", "0.7529764", "0.7529764", "0.75001234", "0.7490661", "0.7456083", "0.7439674", "0.7387702", "0.7385273", "0.7341408", "0.7315656",...
0.7678238
1
Return the weight matrix and bias parameters.
def k8jS(YKHO): return (YKHO.W.get_value(), YKHO.b.get_value(), YKHO._outsize)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def W6RH(YKHO):\n if YKHO.use_bias:\n return [YKHO.W, YKHO.b]\n else:\n return [YKHO.W]", "def W6RH(YKHO):\n if YKHO.use_bias:\n return [YKHO.W, YKHO.b]\n else:\n return [YKHO.W]", "def OqPV(YKHO):\n return (YKHO.weight_model.A, YKHO.weight_model.W, YKHO.impulse_model...
[ "0.7986912", "0.7986912", "0.78237736", "0.75391567", "0.74652845", "0.73832715", "0.72870517", "0.7277316", "0.71819", "0.71819", "0.71685463", "0.71602565", "0.71227187", "0.71095157", "0.71095157", "0.70876676", "0.70876676", "0.70535654", "0.7047783", "0.70357543", "0.703...
0.0
-1
show a form to edit an existing user
def TQR6(uJjO): CBIr = mv1M.query.get_or_404(uJjO) return TvZl('/edit.html', user=CBIr)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def lPRY(id):\n \"\"\"Get user from db\"\"\"\n CBIr = mv1M.query.get(id)\n return TvZl('edit_user.html', user=CBIr)", "def Rp69(uJjO):\n CBIr = mv1M.query.get_or_404(uJjO)\n return TvZl('edit_user.html', f_name=CBIr.first_name, l_name=CBIr.last_name, user_id=uJjO, url=CBIr.pic_url)", "def vvWA(u...
[ "0.8594937", "0.84092855", "0.8355051", "0.8260873", "0.8257684", "0.82413423", "0.81231403", "0.8025884", "0.80142564", "0.7974158", "0.7924081", "0.78688824", "0.7868039", "0.7825372", "0.7754877", "0.77220887", "0.7708677", "0.769745", "0.76812327", "0.7676847", "0.7610743...
0.7778419
14
Take value of deadline date, and boolean value of if it's allowed to submit assignments after deadline.
def Bm2a(PcsU, pjV5): if not pjV5: return qcWV.datetime.now().date() > PcsU else: return False
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def LkeX(YKHO):\n if YKHO.self_paced or YKHO.close_date is None:\n return False\n return YKHO.is_past_due()", "def LZVq(YKHO, KFmk):\n YKHO.deadline = KFmk", "def g7eD(YKHO):\n return True if YKHO.application_deadline < rIAI.now() else False", "def PcsU(BWXx):\n if not isinstance(BWXx, ...
[ "0.6834655", "0.6741586", "0.64612484", "0.64245665", "0.6406001", "0.640196", "0.6351607", "0.6317997", "0.6311996", "0.6310146", "0.6306614", "0.62774074", "0.6168729", "0.6092985", "0.60697865", "0.60552156", "0.6052989", "0.60435873", "0.60426587", "0.604224", "0.60042757...
0.7718733
0
Performs sentiment analysis on the text inputted in "body" using Microsoft Azure. Returns int between 0 and 1, closer to 1 is more positive, opposite is more negative.
def Ripz(TBsA): MOPg = {'Content-Type': 'application/json', 'Ocp-Apim-Subscription-Key': sjXb.keys['sent_key']} NArs = uRlK.parse.urlencode({}) w2B8 = Xqgu.client.HTTPSConnection('eastus.api.cognitive.microsoft.com') w2B8.request('POST', '/text/analytics/v2.0/sentiment?%s' % NArs, TBsA, MOPg) geh0 =...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def IHR5(QrZ9):\n d4r9 = gmS1(QrZ9)\n if d4r9.sentiment.polarity > 0:\n return 1\n elif d4r9.sentiment.polarity == 0:\n return 0\n elif d4r9.sentiment.polarity < 0:\n return -1", "def El7S(rdlD):\n l5Ny = rdlD['text']\n d4r9 = gmS1(l5Ny)\n El7S = 0\n if d4r9.sentiment...
[ "0.7462622", "0.71663976", "0.7100101", "0.7088089", "0.7001298", "0.6930272", "0.69157046", "0.69111663", "0.6902615", "0.68604565", "0.6850175", "0.6821095", "0.6796504", "0.67307746", "0.6728866", "0.6705337", "0.6679601", "0.66392094", "0.6619348", "0.6610738", "0.6590983...
0.7475543
0
Returns the string representation of the model
def gTzM(YKHO): import simplejson as qQXR if jKi7.PY2: import sys U3hF(sys) sys.setdefaultencoding('utf-8') return qQXR.dumps(yInN(YKHO), ensure_ascii=False)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def zAg0(YKHO):\n return str(YKHO.__model)", "def zAg0(YKHO):\n return str(YKHO.model)", "def zAg0(YKHO):\n return YKHO.text", "def zAg0(YKHO):\n oOUF = '-----------------------------------------------------------------------------------\\n'\n _2sc = YKHO.__class__.__name__\n oOUF += '\\t\\...
[ "0.864179", "0.85105866", "0.7853924", "0.77452", "0.7712474", "0.76976854", "0.76601666", "0.7638181", "0.7621996", "0.76074743", "0.76074743", "0.76074743", "0.7607432", "0.7599404", "0.75858897", "0.7582702", "0.75715727", "0.75683635", "0.7539386", "0.7539386", "0.7528709...
0.0
-1
Returns true if both objects are not equal
def Vdqg(YKHO, Elif): return not YKHO == Elif
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Vdqg(YKHO, Elif: object) -> bool:\n return not YKHO.__eq__(Elif)", "def Vdqg(YKHO, Elif: object) -> bool:\n return not YKHO == Elif", "def Vdqg(YKHO, Elif: object):\n return not YKHO == Elif", "def Vdqg(YKHO, Elif):\n if YKHO.__eq__(Elif):\n return False\n return True", "def Vdqg(...
[ "0.8392633", "0.8354901", "0.82950056", "0.8132309", "0.81149805", "0.8099986", "0.809911", "0.8097883", "0.8097883", "0.8092252", "0.8092252", "0.8092252", "0.8092252", "0.8085141", "0.8085141", "0.8085141", "0.8085141", "0.8085141", "0.8066694", "0.80594814", "0.805757", ...
0.0
-1
Build a character based representation of the tokens
def LAt6(YKHO): ngJl = YKHO.train_config['char_hidden_layer_size'] crSB = ZylS.reshape(YKHO.x_chars_len, [-1]) SBn4 = ZylS.reshape(YKHO.embed_chars, [ZylS.shape(YKHO.embed_chars)[0] * ZylS.shape(YKHO.embed_chars)[1], ZylS.shape(YKHO.embed_chars)[2], YKHO.train_config['char_embedding_size']]) with ZylS.v...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def zAg0(YKHO):\n return ''.join((str(a1PO) for a1PO in YKHO.tokens))", "def ju7h(YKHO, s2mk):\n return ' '.join(['{}/{}'.format(eOtH.text, YKHO.get_symbol(eOtH.type)) for eOtH in s2mk])", "def CReP(YKHO):\n return ''.join([eOtH.get_string_value() for eOtH in YKHO._tokens])", "def gNTt(YKHO):\n r...
[ "0.7077755", "0.70334965", "0.69524604", "0.65553916", "0.6550866", "0.6535166", "0.6512492", "0.6491554", "0.6433718", "0.643247", "0.6431689", "0.63606846", "0.6359012", "0.63166493", "0.6315734", "0.630035", "0.62816226", "0.62816226", "0.62816226", "0.62767905", "0.626465...
0.0
-1
Initializes the DFGLogWidget and Undo view.
def oQA4(YKHO): YKHO.logWidget = k3M2.DFGLogWidget(YKHO.config) YKHO.qUndoView = CsJA.QUndoView(YKHO.qUndoStack) YKHO.qUndoView.setObjectName('DFGHistoryWidget') YKHO.qUndoView.setEmptyLabel('New Graph')
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def frvc(YKHO):\n LAOT = C3c5()\n TEdI = SQhP()\n YKHO.logs = oO4B()\n YKHO.proto_receiver.register_observer(hnMv, YKHO.logs.log_buffer)\n YKHO.register_refresh_function(YKHO.logs.refresh)\n LAOT.addWidget(YKHO.logs)\n LAOT.addWidget(YKHO.logs.checkbox_widget)\n TEdI.setLayout(LAOT)\n AM...
[ "0.678825", "0.67380047", "0.65842044", "0.63455075", "0.6244838", "0.6218041", "0.61848056", "0.61187947", "0.6085331", "0.60686", "0.6059853", "0.6042016", "0.6021398", "0.60155565", "0.59703857", "0.5951644", "0.5930033", "0.58844334", "0.58690494", "0.5866434", "0.5860089...
0.84083706
0
Initializes the TimeLineWidget. The timeline widget is setup with the class variables for the default in and out frames. The frameChanged signal is connected to the onFrameChanged method along with the Value Editor's onFrameChanged method too.
def pYQc(YKHO): YKHO.timeLinePortIndex = -1 YKHO.timeLinePortPath = None YKHO.timeLine = IIPK.TimeLineWidget() YKHO.timeLine.setTimeRange(EyrE.defaultFrameIn, EyrE.defaultFrameOut) YKHO.timeLine.updateTime(1) YKHO.dfgWidget.stylesReloaded.connect(YKHO.timeLine.reloadStyles) YKHO.timeLine.fra...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def FIMM(YKHO, *qIxc, **B2fa):\n super(eQmV, YKHO).__init__(*qIxc, **B2fa)\n YKHO.setTabsClosable(True)\n YKHO.tabCloseRequested.connect(lambda d6pt: YKHO.removeTab(d6pt))\n YKHO._set_timeline()", "def FIMM(YKHO):\n super().__init__()\n YKHO.widgets = []\n YKHO.timed_widgets = []\n YKHO.p...
[ "0.6544643", "0.6478981", "0.6387376", "0.6243294", "0.6135846", "0.6051869", "0.59524935", "0.59261477", "0.58668584", "0.58621454", "0.5798625", "0.5785092", "0.5769403", "0.57429314", "0.5742254", "0.5727767", "0.56609416", "0.56540114", "0.56254494", "0.5622851", "0.56122...
0.8324717
0
Tries Seting the INVALID value 3 (3 is not a tuple)
def CFuq(YKHO): YKHO.assertRaises(JEUY, YKHO.atc.setValue, 3)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def qnqZ(YKHO):\n YKHO.assertRaises(JEUY, YKHO.atc.setValue, ([1, 'e2'], [1, 0]))", "def qnqZ(YKHO):\n YKHO.assertRaises(JEUY, YKHO.atc.setValue, ('is Ok?', 2))", "def CFuq(YKHO):\n YKHO.assertRaises(JEUY, YKHO.atc.setValue, '3')", "def earE(YKHO):\n YKHO.assertRaises(JEUY, YKHO.atc.setValue, ('i...
[ "0.753714", "0.74595845", "0.74156684", "0.7405313", "0.73298925", "0.7304562", "0.7291921", "0.7263701", "0.71391445", "0.6863338", "0.6824581", "0.6824581", "0.6780397", "0.6774289", "0.6722651", "0.664893", "0.6626324", "0.6561105", "0.65554124", "0.6547224", "0.65114975",...
0.74275374
2
Determine the height (depth) of a binary tree.
def x7yD(i2Jd): if i2Jd == None: return -1 return 1 + max(x7yD(i2Jd.left), x7yD(i2Jd.right))
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def x7yD(J_Es):\n if J_Es is None:\n return -1\n uu_g = x7yD(J_Es.left)\n EV81 = x7yD(J_Es.right)\n H2v2 = max(uu_g, EV81) + 1\n return H2v2", "def H2v2(J_Es):\n if J_Es.is_leaf():\n return 0\n else:\n return 1 + max([H2v2(Fg_i) for Fg_i in J_Es.branches])", "def H2v2(...
[ "0.8271956", "0.8194303", "0.8194303", "0.81688815", "0.81416434", "0.8115342", "0.8086413", "0.8060866", "0.8036438", "0.796912", "0.7907239", "0.78707665", "0.785743", "0.78537667", "0.7811872", "0.77867097", "0.7724074", "0.7695458", "0.7669829", "0.76131123", "0.76118743"...
0.7909866
10
Returns the event waiter's representation.
def wHJl(YKHO): w6K9 = ['<', YKHO.__class__.__name__] w6K9.append(' counter = ') w6K9.append(repr(YKHO.counter)) w6K9.append(', future = ') w6K9.append(repr(YKHO.future)) w6K9.append('>') return ''.join(w6K9)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def wHJl(YKHO):\n return '<Event event_id: {}, trip_id: {}, confirmation_num: {}, event_name: {}, starts_at: {}, address: {}>'.format(YKHO.event_id, YKHO.trip_id, YKHO.confirmation_num, YKHO.event_name, YKHO.starts_at, YKHO.address)", "def wHJl(YKHO):\n return f'< {YKHO.event_name} >'", "def wHJl(YKHO):\...
[ "0.6708701", "0.6641274", "0.6489774", "0.6419704", "0.62687874", "0.62413675", "0.62321585", "0.61757916", "0.61532384", "0.6145378", "0.6136144", "0.613488", "0.61270773", "0.6048426", "0.60285085", "0.60069835", "0.5986699", "0.59711754", "0.5966013", "0.5966013", "0.59647...
0.0
-1
Test case for api_v1_applications_app_alias_versions_get Get an application
def I4Yh(YKHO): try: YKHO.client = TUJi('https://apps.se-sandbox.apprendalabs.com', 'elustgarten@apprenda.com', '@ppr3nd@') geh0 = YKHO.client.get_applications('developer') print(geh0) except IOError as error: print(P1dF) except Exception as ex: print(aTqo)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def pMYc(YKHO):\n pass", "def YMds(YKHO):\n try:\n YKHO.client = TUJi('https://apps.se-sandbox.apprendalabs.com', 'elustgarten@apprenda.com', '@ppr3nd@')\n geh0 = YKHO.client.get_applications()\n print(geh0)\n except IOError as error:\n print(P1dF)\n except Exception as ex...
[ "0.8655952", "0.7595369", "0.6792025", "0.6672687", "0.6668773", "0.6651094", "0.6600274", "0.65694773", "0.65034235", "0.65027636", "0.64476705", "0.63523066", "0.63172394", "0.6264136", "0.62630045", "0.62589455", "0.62100893", "0.6170354", "0.6166425", "0.61511374", "0.612...
0.8861856
0
Given an InvitationCode object get or create an associated User We try to be generic here with regard to potential `AUTH_USER_MODEL`s, but the basic modus is to create an instance of that model with the `USERNAME_FIELD` set to the invitee's email as given in the Invite Code's `registered_to` property. This is compatibl...
def nNiL(Wxnj, E3oo): mv1M = egNl() NvFm = mv1M.USERNAME_FIELD D3lj = Wxnj.registered_to _EYN = True try: CBIr = mv1M.objects.get(**{NvFm: D3lj}) except mv1M.DoesNotExist: mWFP = (Wxnj.registered_name or '').partition(' ') IlNy = {'email': D3lj, 'username': D3lj, 'first_n...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def LGVZ(YKHO, D3lj, EdKO):\n try:\n mv1M.objects.get_user_by_email(email=D3lj)\n except mv1M.DoesNotExist:\n return mv1M.objects.create_user(D3lj, D3lj, should_send_invite_email=True, added_by=EdKO, verified_at=rIAI.now())\n except mv1M.MultipleObjectsReturned:\n pass\n return Non...
[ "0.70141107", "0.65389574", "0.64265233", "0.63589025", "0.63203996", "0.63052475", "0.623475", "0.62128615", "0.6211635", "0.6179822", "0.6125007", "0.6083698", "0.60485375", "0.60369295", "0.59971076", "0.59970284", "0.5989869", "0.59738714", "0.59566265", "0.594031", "0.59...
0.6771542
1
Gets a collection of `InputExample`s for the train set.
def X2wT(YKHO, h_xa, TG_K): raise NotImplementedError()
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def rNg5(YKHO) -> x1iM[xeAK]:\n raise NotImplementedError", "def vGUt(YKHO):\n return x3i3.get_train_inputs(YKHO)", "def rNg5(YKHO):\n return YKHO.dataset.get_train_examples()", "def rNg5(YKHO):\n return YKHO.get_dialog_examples('train')", "def rNg5(YKHO):\n return YKHO.get_dialog_examples('...
[ "0.81951743", "0.760114", "0.74244404", "0.7340222", "0.7340222", "0.7215933", "0.71737236", "0.71737236", "0.6989413", "0.6848554", "0.66177475", "0.65863574", "0.6586135", "0.65694183", "0.6561308", "0.6561308", "0.65018874", "0.6441707", "0.64212453", "0.64110005", "0.6381...
0.0
-1
Gets the list of labels for this data set.
def Te1x(YKHO): raise NotImplementedError()
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Te1x(YKHO):\n return YKHO.label_list", "def Crrw(YKHO) -> x1iM[str]:\n return YKHO._labels", "def Te1x(YKHO):\n Crrw = []\n for UXqs in YKHO.instance.labels:\n Crrw.append(UXqs.name)\n return Crrw", "def Crrw():\n return list(uzmd)", "def Te1x(YKHO):\n return YKHO._labels", ...
[ "0.879486", "0.87205756", "0.87001646", "0.8548683", "0.8487299", "0.847199", "0.8467373", "0.84622234", "0.84386355", "0.84386355", "0.84386355", "0.84386355", "0.84386355", "0.84105754", "0.8383495", "0.83668494", "0.8366146", "0.83254236", "0.83254236", "0.82662016", "0.82...
0.78933704
51
Returns a list of courses managed by the current user
def xMy2(YKHO) -> list: ZK8e = YKHO.__auth_service.get_authenticated_user()['id'] GF_L = YKHO.__repository.find_many_by_props({'trainingManagerId': ZK8e}) return list(eK5b(GF_L))
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def k8nB(YKHO):\n return", "def fzAi(uJjO):\n if not Oa1e.user:\n Dwep('Access unauthorized.', 'danger')\n return vKnz('/')\n if uJjO != Oa1e.user.id:\n Dwep('Access unauthorized.', 'danger')\n return vKnz('/')\n sDlr = CQpO.query.filter(CQpO.creator_id == uJjO).all()\n ...
[ "0.7817223", "0.754984", "0.74597484", "0.7405922", "0.74039596", "0.73470527", "0.7104898", "0.701321", "0.70115614", "0.7010284", "0.6994559", "0.69916344", "0.6945428", "0.6910259", "0.6857156", "0.68406326", "0.68368775", "0.6835033", "0.681896", "0.6815669", "0.68137985"...
0.75386
2
Save the new user in database.
def xkzz(YKHO, jSYO=True): CBIr = super().save(commit=False) CBIr.set_password(YKHO.cleaned_data.get('password1')) if YKHO.cleaned_data.get('user_type') == Lsmi: CBIr.is_teacher = True if YKHO.cleaned_data.get('user_type') == uN5n: CBIr.is_school = True if jSYO: CBIr.save() ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Dd_C(Q5YQ):\n Q5YQ.save_user()", "def Dd_C(Q5YQ):\n Q5YQ.save_user()", "def qQaj(YKHO):\n VUF1.add_user(YKHO)", "def qQaj(YKHO):\n Q5YQ = dict(id=YKHO.id, username=YKHO.username, department=YKHO.department, email=YKHO.email, password=YKHO.password)\n YKHO.users.update({YKHO.id: Q5YQ})", ...
[ "0.8398984", "0.8398984", "0.8366969", "0.83010113", "0.8288506", "0.80498993", "0.80498993", "0.80498993", "0.8044156", "0.8036175", "0.80331343", "0.8021074", "0.79816157", "0.7971105", "0.7970933", "0.7970933", "0.79391235", "0.79296374", "0.79159045", "0.778466", "0.77729...
0.0
-1
Apply lemmatization on each word of a string
def glG9(YKHO, C13M): DlzR = '' for _dZy in N3rN(C13M): b66g = '' for eOtH in YcFa(_dZy): j2La = YKHO.lemmatizer.lemmatize(eOtH) b66g += j2La + ' ' DlzR += b66g.strip() return DlzR
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def v_nw(l5Ny):\n return ' '.join([dhx_.lemmatize(GIN8) for GIN8 in l5Ny.split()])", "def v_nw(vIwR):\n NRmQ = Dhdw.stem.WordNetLemmatizer()\n A1xJ = [NRmQ.lemmatize(GIN8) for GIN8 in vIwR.split()]\n return ' '.join(A1xJ)", "def v_nw(l5Ny):\n HD_u = GFnk()\n return ' '.join(list(map(lambda WK...
[ "0.8400258", "0.8386082", "0.82766974", "0.8083607", "0.8051529", "0.8025131", "0.8021509", "0.80127", "0.7947893", "0.79303294", "0.7920268", "0.7902673", "0.78929806", "0.7831695", "0.78061265", "0.77777666", "0.7761184", "0.77556515", "0.7749111", "0.7720789", "0.7720789",...
0.7403142
38
Creates a neural network with one linear layer for each entry in mlp_channels in_channels is an integer, which defines the number of channels of the input to the neural network. mlp_channels is a list of ints, where each int denotes the output features of the corresponding linear layer.
def K38T(DYuh: int, xJpb: List[int], idFg: bool=True): assert len(xJpb) >= 1 fhcK = [] for Z9rn in xJpb: fhcK += [hPO2(DYuh, Z9rn)] if idFg: fhcK += [F6Dy(Z9rn)] fhcK += [QQIR()] DYuh = Z9rn return ileL(*fhcK)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def AaDq(YKHO, TPj8, ApQ8):\n fhcK = []\n for gEmA in TPj8:\n if gEmA == 'M':\n fhcK += [YKHO.MaxPool(kernel_size=2, stride=2)]\n else:\n yIp6 = YKHO.Conv(ApQ8, gEmA, kernel_size=3, padding=1)\n if YKHO.norm_type in ['batch', 'instance']:\n fhcK +...
[ "0.71640885", "0.67594934", "0.665183", "0.6568702", "0.64999497", "0.64992315", "0.64614743", "0.64570534", "0.64179826", "0.64119244", "0.63999087", "0.6376187", "0.63566166", "0.63516927", "0.634872", "0.63123685", "0.63016236", "0.62904567", "0.62899566", "0.62476975", "0...
0.82704824
0
Picks a single card from the deck.
def iEJi(YKHO): if len(YKHO) < 1: raise RuntimeError("can't pick from an empty deck") return YKHO.cards.pop()
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def jxly(YKHO):\n YKHO.hand.append(YKHO.deck.pick_card())", "def VVF1(YKHO):\n if YKHO.is_empty():\n raise UV2m('Cannot retrieve a card from an empty deck')\n return YKHO.decks.pop(0)", "def j8Cy(YKHO):\n if not len(YKHO.shoe):\n YKHO.init_shoe_from_playing_deck(True)\n return YKHO...
[ "0.7783", "0.7462674", "0.7398431", "0.7344926", "0.73244894", "0.7193486", "0.70812106", "0.7078339", "0.706533", "0.70584404", "0.7004345", "0.7004345", "0.6955745", "0.6944262", "0.68823767", "0.6875749", "0.6875749", "0.68504924", "0.6845728", "0.6843163", "0.6843049", ...
0.7291056
5
Returns the card sequence corresponding to a freshly a newly minted deck, in canonical order.
def FiBr(): return list(cXmH())
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def lny_(YKHO):\n iSu7 = 'card'\n for dxhl in YKHO.used[::-1]:\n if dxhl[0] == 'J':\n iSu7 = dxhl\n elif iSu7[0] == 'J' and dxhl[0] != 'J':\n return dxhl\n return iSu7", "def MXqO():\n H0q3 = [fdMZ + iCfd for fdMZ in 'A23456789TJQK' for iCfd in 'CDHS']\n return ...
[ "0.6109442", "0.60213536", "0.580375", "0.57059073", "0.5698626", "0.56309897", "0.5595321", "0.5573517", "0.5547965", "0.5543469", "0.55312026", "0.5516381", "0.55004686", "0.54973793", "0.5493654", "0.54922175", "0.5480717", "0.5456705", "0.54512405", "0.545048", "0.5439526...
0.0
-1
This produces the matrix X that performs left multiplication with x eg. X == (xb).value
def uziS(YKHO, WKvO): return boQt(YKHO.gmt, WKvO.value)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def SCZ7(Oa1e, WKvO):\n return oyIN.dot(Oa1e, WKvO)", "def U14a(YKHO, WKvO):\n return YKHO * WKvO", "def U14a(YKHO, WKvO):\n return YKHO * WKvO", "def i6Xc(YKHO, Elif):\n return Elif * YKHO", "def k0gx(E3D9, WKvO):\n return I7o1([[iVRZ * WKvO for iVRZ in rdlD] for rdlD in E3D9.store])", "d...
[ "0.72331995", "0.6804331", "0.6804331", "0.653963", "0.64941114", "0.63700366", "0.63652605", "0.6298671", "0.62547094", "0.6243507", "0.6195335", "0.6175427", "0.6173916", "0.6138586", "0.61165637", "0.6105692", "0.60937244", "0.6079273", "0.6068229", "0.6054275", "0.6030591...
0.5849185
52
Get the atomic matrix with shape '(N, N)'. The Q represent the elemental property, which is related to specific reference property. Qij=|QiQj| and Q is the atom matrix. When i=j or element i = element j, the Qij should be 0.
def _2gQ(l9Ur, d6pt): U6D_, FJ1i = tIyh(l9Ur) ywwl = oyIN.sum(FJ1i) EHHr = int(FJ1i[0]) ZaJX = U6D_[0] RIjc = _7Pn.atom(ZaJX) bdN4 = RIjc.get_property() tkjh = bdN4[d6pt] he6J = oyIN.ones((EHHr,)) * tkjh if oyIN.shape(U6D_)[0] > 1: for YRbF, FGW3 in enumerate(FJ1i, start=0): ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def VhzS(YKHO):\n cJsZ, hbUd, BzON, iv7Q = (YKHO.q0, YKHO.q1, YKHO.q2, YKHO.q3)\n E3D9 = qw7D(shape=(3, 3), type='Float64')\n return qw7D([[1.0 - 2.0 * (BzON ** 2 + iv7Q ** 2), 2.0 * (-cJsZ * iv7Q + hbUd * BzON), 2.0 * (cJsZ * BzON + hbUd * iv7Q)], [2.0 * (cJsZ * iv7Q + hbUd * BzON), 1.0 - 2.0 * (hbUd ** ...
[ "0.6584419", "0.64955926", "0.62676895", "0.62666243", "0.62589", "0.6238434", "0.6173625", "0.61354876", "0.60898834", "0.6073947", "0.6067972", "0.60544145", "0.5980754", "0.5971748", "0.5958106", "0.5937715", "0.5920622", "0.5913705", "0.58942884", "0.5884184", "0.586771",...
0.58744526
20
Get the compositional weighted (CW) properties. The atomic properties include 25 features for each element. They are atomic number, valence electrons, atomic mass group, period, electronegativity, Mendeleev number, global hardness, the orbital exponent of Slatertype orbitals, polarizability, electrophilicity indices, v...
def gGlT(l9Ur): SRYB = ['atomic number', 'Mendeleev number', 'period', 'group', 'atomic mass', 'atomic density', 'valence electrons', 'absolute radii', 'covalent radii', 'van der Waals radii', 'electron affinity', 'electronegativity', 'first ionization energy', 'boiling point', 'melting point', 'molar volume', 'the...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def bt9O(Emd4, pDQF):\n cHrP = 0\n for U6D_, UHFx in pDQF.items():\n cHrP += UHFx * Emd4.standard_atomic_weight[U6D_]\n return cHrP", "def cqYY(YKHO):\n QWcs = YKHO.properties.get_one(property='empirical_formula')\n if QWcs:\n return Nv1V.EmpiricalFormula(QWcs.get_value()).get_molecu...
[ "0.65293795", "0.64028925", "0.61225826", "0.61108005", "0.5944008", "0.5936371", "0.5834685", "0.58236045", "0.5812919", "0.576506", "0.5699712", "0.5657781", "0.5655855", "0.5655451", "0.5609197", "0.5596671", "0.55716807", "0.5554141", "0.5521569", "0.55166256", "0.5510741...
0.0
-1
Return true if the current interpreter is python 3.
def xEph(): return HwRy.version_info > (3, 0)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def nIKz(YKHO):\n return YKHO._ispython3", "def g44d():\n return Lpna", "def xEph():\n import sys\n return sys.version_info[0] == 3", "def Uqp0(YKHO):\n return YKHO.__getPyVersion() == 3", "def Fy6C():\n print(LPfo.WARNING + '[INFO]: Using Python 3 is highly recommended to run this utilit...
[ "0.8761909", "0.85809594", "0.8178581", "0.740542", "0.7030409", "0.7005482", "0.6960041", "0.6938597", "0.6702996", "0.6697163", "0.6656299", "0.6570601", "0.64617336", "0.6429911", "0.6341189", "0.63084674", "0.63047785", "0.6282644", "0.62373936", "0.6188058", "0.60818547"...
0.79791886
3
Returns a unicode string.
def _g9M(wEf2): if xEph(): return str(wEf2) else: return QMSQ(wEf2)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def uZ7Y(YKHO):\n return QMSQ(YKHO.get_utf8(), 'utf8')", "def _MNB(YKHO):\n return QMSQ(YKHO.__str__())", "def IUz3(KCHu):\n return KCHu", "def VGwA(YKHO, KCHu):\n if not isinstance(KCHu, Pjxn):\n KCHu = QMSQ(KCHu, 'utf_8')\n KCHu = KCHu.encode(HwRy.stdout.encoding or 'utf_8', 'replace'...
[ "0.76760554", "0.72459775", "0.71806943", "0.7126613", "0.71202624", "0.71202624", "0.7091921", "0.70701724", "0.7054637", "0.6975094", "0.69307244", "0.6922912", "0.68561065", "0.6849973", "0.682755", "0.68121344", "0.67917067", "0.67816794", "0.67396325", "0.6732982", "0.67...
0.6713055
21
Construct the CNN model. Please add your model implementation here, and don't forget compile the model NOTE, You must include 'accuracy' in as one of your metrics, which will be used for marking later.
def YZe9(Lcqa, Z5wO, VJv0, H96n): C3ST = ileL() C3ST.add(Ofph(input_shape=(300, 300, 3), filters=64, kernel_size=5, strides=3, padding='same', data_format='channels_last')) C3ST.add(MroH('relu')) C3ST.add(BzBX(pool_size=4, strides=1, padding='same', data_format='channels_last')) C3ST.add(Ofph(16, 7,...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def YZe9():\n C3ST = ileL()\n C3ST.add(fhcK.Conv2D(32, (3, 3), activation='relu', input_shape=(64, 64, 3)))\n C3ST.add(fhcK.MaxPooling2D((2, 2)))\n C3ST.add(fhcK.Conv2D(32, (3, 3), activation='relu'))\n C3ST.add(fhcK.MaxPooling2D((2, 2)))\n C3ST.add(fhcK.Conv2D(64, (3, 3), activation='relu'))\n ...
[ "0.7708228", "0.766143", "0.7578173", "0.7458392", "0.74038583", "0.7373793", "0.73550963", "0.7345183", "0.7331809", "0.7288921", "0.724447", "0.72348773", "0.7232364", "0.72224647", "0.72217816", "0.7214431", "0.72111183", "0.720272", "0.7184442", "0.718305", "0.7166237", ...
0.69269097
55
Gets the LU inverse of the 1x1 convolutional weight matrix
def VG7Y(YKHO): vC9B = YKHO.l * YKHO.l_mask + YKHO.eye P6bq = YKHO.u * YKHO.u_mask + ht2j.diag(YKHO.log_s.exp() * YKHO.sign_s) + 0.01 * YKHO.eye hsSN = ht2j.matmul(P6bq.inverse(), ht2j.matmul(vC9B.inverse(), YKHO.p.inverse())) return hsSN
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def wdaZ(P6bq):\n lq40 = P6bq.shape[0]\n x04d = oyIN.zeros((lq40, lq40))\n for WzQg in range(lq40):\n YRbF = lq40 - WzQg - 1\n for r845 in range(YRbF, lq40):\n x04d[YRbF][r845] = -sum((P6bq[YRbF][G1Hx] * x04d[G1Hx][r845] for G1Hx in range(YRbF + 1, r845 + 1)))\n x04d[YR...
[ "0.666216", "0.6581235", "0.6565497", "0.6534293", "0.6525485", "0.6487021", "0.64476275", "0.6441913", "0.636761", "0.633038", "0.63252455", "0.6300747", "0.62793016", "0.62588924", "0.6248231", "0.62338567", "0.62162995", "0.61944485", "0.6134126", "0.6115964", "0.6109346",...
0.6833846
0
Return the parsed arguments for the GP fit which uses `emcee` to perform the hyperparameter fit
def Ly34(QoB4, VyGX=False): _Wat = {'formatter_class': j1Jz.ArgumentDefaultsHelpFormatter} wvEv = j1Jz.ArgumentParser(description=QoB4, **_Wat) MKlR = 'the path to the data to load' wvEv.add_argument('data_path', type=str, help=MKlR) MKlR = 'the name of the data column to fit' wvEv.add_argument(...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def FTTz(YKHO):\n qIxc = {}\n qIxc['fit mode'] = YKHO._config['fit mode']\n qIxc['verbose'] = YKHO._config['verbose']\n qIxc['host element type'] = YKHO._config['host element type']\n qIxc['slave mesh discretisation'] = eval(YKHO._config['slave mesh discretisation'])\n qIxc['slave sobelov discret...
[ "0.6525772", "0.6512188", "0.6470112", "0.6469553", "0.6404015", "0.6352816", "0.6347074", "0.6342042", "0.6288546", "0.62876374", "0.6281622", "0.62793815", "0.6271381", "0.620652", "0.6198274", "0.6186556", "0.6173171", "0.6166354", "0.6156826", "0.61473644", "0.6135171", ...
0.59618163
39
Logout currently authenticated user
def erK4(): if Oa1e.user is not None: oLi7() Dwep('You were logged out') return vKnz(nKyW('main_blueprint.login'))
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def erK4():\n oLi7()", "def lViG():\n del cuiw['current_user']\n Dwep('Logged Out.')\n return vKnz('/')", "def oLi7(QePW):\n pass", "def erK4():\n c5ow = W84Y()\n a8p0.logout(auth_header=c5ow.profile.get_auth_header(), token=c5ow.profile.token)", "def oLi7():\n cuiw.pop('current_use...
[ "0.8747028", "0.8514242", "0.8472644", "0.84248275", "0.8410652", "0.836362", "0.8336245", "0.83296514", "0.83272535", "0.8300307", "0.8289402", "0.8282028", "0.8281009", "0.82753235", "0.8272104", "0.8262562", "0.8236969", "0.82294655", "0.8227201", "0.8216596", "0.81985176"...
0.0
-1
Computes the precision for the specified values of k
def vjyh(pan_, hlel, hz5a=(1,)): Gq8e = max(hz5a) Ep8u = pan_.size(0) bGrB, nvEb = hlel.topk(Gq8e, 1, True, True) nvEb = nvEb.t() gXXc = nvEb.eq(pan_.view(1, -1).expand_as(nvEb)) Ylbp = [] for G1Hx in hz5a: R2Dg = gXXc[:G1Hx].view(-1).float().sum(0) Ylbp.append(R2Dg.mul_(1.0 ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def rhd_(u5Ef, G1Hx):\n return len(u5Ef) / G1Hx", "def sEak(Mkmy, G1Hx):\n assert G1Hx >= 1\n Mkmy = oyIN.asarray(Mkmy)[:G1Hx]\n return oyIN.mean(Mkmy)", "def sEak(YKHO, G1Hx):\n fdMZ = YKHO.pred_rankings.rdd.map(lambda SjLr: (SjLr[2], SjLr[1]))\n Wbxz = rRQi(fdMZ)\n return Wbxz.precisionA...
[ "0.8003445", "0.79747957", "0.7972991", "0.7941077", "0.7864077", "0.78039974", "0.7708086", "0.762254", "0.7593249", "0.75617504", "0.7519843", "0.74299884", "0.74130636", "0.7376443", "0.737536", "0.732186", "0.7255182", "0.7236991", "0.7227998", "0.72045565", "0.7137823", ...
0.0
-1
Format a datetime object into a nice human like string.
def F2VZ(QePW, snaW, xiFP=None): if xiFP is None: xt4p = qcWV.now() JRYC = xiFP - snaW if isinstance(JRYC, float): JRYC = fCoM(JRYC) if JRYC.days > 28: return str(snaW) SQ3m = E2Pi(QePW, JRYC) def bGrB(str, **B2fa): B2fa['context'] = QePW B2fa['domain'] =...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def pbww(eGVy):\n return eGVy.strftime('%Y-%m-%d %H:%M:%S')", "def DAsM(eGVy, JPmX='%Y-%m-%d'):\n return eGVy.strftime(JPmX)", "def zU5u(Csk6: datetime.datetime) -> str:\n LLmd = xrPC.fromdatetime(Csk6)\n Elif = xrPC.fromdatetime(qcWV.datetime.utcnow())\n return LLmd.humanize(Elif)", "def pTGH...
[ "0.75235486", "0.7252793", "0.7224623", "0.72152567", "0.71783465", "0.7176519", "0.7174546", "0.717305", "0.71510404", "0.71470296", "0.7123768", "0.7106731", "0.71062243", "0.7095368", "0.70608646", "0.7024714", "0.7001624", "0.69823164", "0.6968117", "0.6962445", "0.695428...
0.0
-1
Gets the id of this InstancesVO. id
def id(YKHO): return YKHO._id
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def o_gm(YKHO):\n return YKHO.fetch('id')", "def o_gm(YKHO) -> int:\n return qe4Y.get(YKHO, 'instance_id')", "def o_gm(YKHO):\n return YKHO._instance_id", "def o_gm(YKHO):\n return YKHO._instance_id", "def o_gm(YKHO):\n return YKHO._instance_id", "def o_gm(YKHO) -> str:\n return qe4Y.ge...
[ "0.781687", "0.75347406", "0.74527514", "0.74527514", "0.74527514", "0.7445307", "0.7445307", "0.7445307", "0.7445307", "0.7445307", "0.7445307", "0.7445307", "0.7375892", "0.7375892", "0.7375892", "0.7375892", "0.73624074", "0.73607975", "0.7359824", "0.7359824", "0.73244214...
0.0
-1
Returns the string representation of the model
def gTzM(YKHO): import simplejson as qQXR if jKi7.PY2: import sys U3hF(sys) sys.setdefaultencoding('utf-8') return qQXR.dumps(yInN(YKHO), ensure_ascii=False)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def zAg0(YKHO):\n return str(YKHO.__model)", "def zAg0(YKHO):\n return str(YKHO.model)", "def zAg0(YKHO):\n return YKHO.text", "def zAg0(YKHO):\n oOUF = '-----------------------------------------------------------------------------------\\n'\n _2sc = YKHO.__class__.__name__\n oOUF += '\\t\\...
[ "0.86418265", "0.85103965", "0.7853324", "0.77442306", "0.7712258", "0.76979405", "0.765959", "0.7637644", "0.76218504", "0.7607561", "0.7606604", "0.7606604", "0.7606604", "0.75990754", "0.7585653", "0.758149", "0.7570811", "0.7567585", "0.75392604", "0.75392604", "0.7527967...
0.0
-1
Returns true if both objects are not equal
def Vdqg(YKHO, Elif): return not YKHO == Elif
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Vdqg(YKHO, Elif: object) -> bool:\n return not YKHO.__eq__(Elif)", "def Vdqg(YKHO, Elif: object) -> bool:\n return not YKHO == Elif", "def Vdqg(YKHO, Elif: object):\n return not YKHO == Elif", "def Vdqg(YKHO, Elif):\n if YKHO.__eq__(Elif):\n return False\n return True", "def Vdqg(...
[ "0.83931243", "0.83552086", "0.82955265", "0.8132768", "0.81150424", "0.81002593", "0.80996835", "0.80982906", "0.80982906", "0.80930424", "0.80930424", "0.80930424", "0.80930424", "0.8085779", "0.8085779", "0.8085779", "0.8085779", "0.8085779", "0.8067391", "0.80594134", "0....
0.0
-1
Deletes a catalogue by its id
def PTpj(NPt0, kwAL): cuiw = ouvA() HUs2 = cuiw.query(lnpD).filter(lnpD.id == NPt0).first() if HUs2 is None: raise oEgM('workspace with id {} could not be found'.format(NPt0)) Pu7z = cuiw.query(TxOT).filter(TxOT.workspace == HUs2).filter(TxOT.id == kwAL).first() if Pu7z is None: rais...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def PTpj(id):\n UzPC = Ykhp()\n N1p7 = UzPC.cursor()\n N1p7.execute(f'DELETE FROM produtos WHERE id = {int(id)}')\n rkqn(UzPC, N1p7)\n f06n(UzPC)", "def PTpj(YKHO, id):\n pass", "def lPfJ(id):\n Ghho = FYrf.Category.query.get(id)\n Ghho.delete()\n return vKnz(nKyW('views.recipes'))",...
[ "0.7296694", "0.72250795", "0.70804095", "0.70053786", "0.6968721", "0.6935512", "0.69253004", "0.6913348", "0.6838138", "0.6811415", "0.6807426", "0.6793009", "0.6780412", "0.67732424", "0.67547756", "0.6694008", "0.66853964", "0.6652901", "0.6651898", "0.6636498", "0.662805...
0.7363263
0
Initializes Optimistic Linear Support
def i6dd(YKHO): YKHO.n_objectives = 3 print('MOMDP has {} objectives.'.format(YKHO.n_objectives)) for YRbF in range(YKHO.n_objectives): Kx3b = [0.0 for WKvO in range(YKHO.n_objectives)] Kx3b[YRbF] = 1.0 s8RP = oyIN.array([-float('inf') for WKvO in range(YKHO.n_objectives)]) E...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def GZRu(YKHO):\n\n def XGze(gEmA):\n if type(gEmA) == U78l.Linear:\n ht2j.nn.init.xavier_uniform_(gEmA.weight)\n YKHO.apply(XGze)", "def GZRu(YKHO):\n\n def XGze(gEmA):\n if type(gEmA) == U78l.Linear:\n ht2j.nn.init.xavier_uniform_(gEmA.weight)\n YKHO.apply(XGze)"...
[ "0.7196757", "0.7196757", "0.6977551", "0.68477017", "0.67839396", "0.67363536", "0.6719595", "0.6491271", "0.64613307", "0.6403777", "0.6401354", "0.63947403", "0.63939893", "0.63925666", "0.6390689", "0.6327317", "0.6324838", "0.6324774", "0.63177294", "0.6277913", "0.62694...
0.0
-1
Plot the time series with ACF and PACF Stolen from Tom Augspurger's fantastic post on pandas and time series forecasting
def EtAk(i8WE, vVbW=None): LZpg = QrM1.figure() LAOT = (2, 2) q0kj = QrM1.subplot2grid(LAOT, (0, 0), colspan=2) KOgP = QrM1.subplot2grid(LAOT, (1, 0)) g6Oz = QrM1.subplot2grid(LAOT, (1, 1)) i8WE.plot(ax=q0kj) nmm3.graphics.plot_acf(i8WE, lags=vVbW, ax=KOgP) nmm3.graphics.plot_pacf(i8WE, ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def QKTe(RkFZ, dy_H):\n yW9o = ZcI2(RkFZ)\n Euqx = WEth(RkFZ, method='ols')\n eHNT, (hh7H, fTVC) = QrM1.subplots(1, 2, figsize=(10, 5))\n hh7H.plot(yW9o, color=m9Rv)\n hh7H.axhline(y=0, linestyle='--', color='gray')\n hh7H.axhline(y=-1.96 / oyIN.sqrt(len(RkFZ)), linestyle='--', color='gray')\n ...
[ "0.76149786", "0.71024567", "0.65613896", "0.6466662", "0.6466662", "0.6432027", "0.6362964", "0.63361233", "0.6317709", "0.62749213", "0.62749213", "0.6177983", "0.6129138", "0.61127603", "0.61127603", "0.60622925", "0.60410756", "0.5973957", "0.5960917", "0.5948661", "0.588...
0.66849977
2
Return true if the specified range of values is inside the cube
def fhaA(YKHO, B1Wx, BFJj, Wnwu, GTOg, aKRH, Hvsp, w30M): [bYzl, Z3uP] = YKHO.imagesz[B1Wx] if BFJj >= 0 and BFJj < Wnwu and (Wnwu <= YKHO.imagesz[B1Wx][0]) and (GTOg >= 0) and (GTOg < aKRH) and (aKRH <= YKHO.imagesz[B1Wx][1]) and (Hvsp >= YKHO.slicerange[0]) and (Hvsp < w30M) and (w30M <= YKHO.slicerange[1] + ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def EDs6(pRWx, pTUy):\n for KCHu, Mkmy in zip(*[pRWx, pTUy]):\n if KCHu > Mkmy or KCHu < 0:\n return False\n return True", "def bJYl(YKHO, hkxX):\n return (hkxX >= YKHO.start) & (hkxX < YKHO.end)", "def XOQA(YKHO, tk32):\n Ayfi = N75b(YKHO.x, tk32.x, tk32.x + tk32.length - 1)\n ...
[ "0.7206233", "0.7168248", "0.7086972", "0.6822365", "0.68094116", "0.6773472", "0.67558086", "0.6729329", "0.669763", "0.66702", "0.665596", "0.6653391", "0.6635422", "0.6630232", "0.6587657", "0.6573681", "0.657106", "0.65648144", "0.65591586", "0.65251094", "0.6467252", "...
0.7360349
0
Returns the elements of smallList not contained in bigList
def Z4RG(YKHO, FeOm, hw70): if len(FeOm) < len(hw70): print('bad lists provided!') HwRy.exit() pjv_ = list(hw70) for LihS in hw70: if LihS in FeOm: pjv_.remove(LihS) return pjv_
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def p1XJ(ko4j, tjSX):\n by6d = []\n for Fg_i in ko4j:\n if Fg_i not in tjSX:\n by6d.append(Fg_i)\n return by6d", "def Cgnw(k0lF, tjUW):\n Nq1b = []\n for ZfUD in k0lF:\n if ZfUD not in tjUW:\n Nq1b.append(ZfUD)\n return Nq1b", "def MKew(Kt9y, I_KI):\n rA...
[ "0.7883699", "0.6784714", "0.6729384", "0.670637", "0.66786844", "0.6621472", "0.6543853", "0.6487062", "0.64775443", "0.64093626", "0.6378115", "0.63534427", "0.63527954", "0.63136744", "0.6287816", "0.62580246", "0.6250549", "0.6249308", "0.62481916", "0.62409997", "0.62401...
0.8395998
0
We make this arcane magic here so that we can have several instances of the same query and their base (classbased) attributes will not change if modified (because there is a copy in the instance). The serializer field exists to cache a serializer once it has been generated.
def FIMM(YKHO): YKHO._size = YKHO.__class__.__dict__.get('size', 0) YKHO._aggs = _qLf(YKHO.__class__.__dict__.get('aggs', {})) YKHO._query = _qLf(YKHO.__class__.__dict__.get('query', {})) YKHO.filters = _qLf(YKHO.__class__.__dict__.get('filters', [])) YKHO._sort = _qLf(YKHO.__class__.__dict__.get('s...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Napc(YKHO):\n YKHO._query = YKHO.serializer.Meta.model.serialize_meta()\n return YKHO", "def Napc(YKHO):\n YKHO._query = YKHO.request_obj.queryset\n return YKHO", "def Napc(YKHO):\n lZXg = YKHO.get_request_object()\n YEnM = YKHO.factory.do_query(lZXg)\n xDcj = YEnM.query\n if not YK...
[ "0.6915458", "0.6897491", "0.66528255", "0.6178628", "0.61633414", "0.59882146", "0.5949107", "0.58598226", "0.58560747", "0.5829079", "0.5826324", "0.58180535", "0.5802887", "0.57982075", "0.5706221", "0.5681257", "0.5673242", "0.56656855", "0.5659194", "0.5651844", "0.56495...
0.58522
9
Returns the ``size`` property of the query.
def zNig(YKHO): return YKHO._size
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def BOof(YKHO) -> int:\n raise NotImplementedError()", "def BOof(xDcj):\n zNig = int(xDcj.strip(';').split('=')[-1])\n return zNig", "def rWde(YKHO):\n return YKHO.qattr()['size']", "def zNig(YKHO):\n if YKHO._size_present:\n return YKHO._size_value\n else:\n raise AttributeEr...
[ "0.8132072", "0.7971708", "0.7923924", "0.7750547", "0.774184", "0.7740522", "0.7740522", "0.7740522", "0.7740522", "0.7740522", "0.7740522", "0.7740522", "0.7711996", "0.7708733", "0.7701634", "0.7701634", "0.7701634", "0.7657375", "0.76527345", "0.7649752", "0.7577763", "...
0.7443178
66
Creates a serializer instance and returns such an instance on following calls.
def ZMzz(YKHO, **B2fa): if not YKHO._serializer: YKHO._serializer = YKHO.get_serializer()(**B2fa) return YKHO._serializer
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def a9qP(YKHO, *qIxc, **B2fa):\n cIuE = YKHO.get_serializer_class()\n B2fa['context'] = YKHO.get_serializer_context()\n return cIuE(*qIxc, **B2fa)", "def a9qP(YKHO, *qIxc, **B2fa):\n cIuE = YKHO.get_serializer_class()\n B2fa['context'] = YKHO.get_serializer_context()\n return cIuE(*qIxc, **B2fa...
[ "0.7638902", "0.7634928", "0.7634928", "0.76082486", "0.7596164", "0.7557289", "0.74412704", "0.7147129", "0.6968627", "0.69542634", "0.68586755", "0.6765597", "0.67248446", "0.6605504", "0.65585804", "0.6558505", "0.6558505", "0.64790344", "0.646674", "0.64339155", "0.635034...
0.7603773
4
Produce the integer partitions of n as ascending compositions.
def iu7L(exwG): jzdc = [0 for bGrB in range(exwG + 1)] G1Hx = 1 jzdc[1] = exwG while G1Hx != 0: WKvO = jzdc[G1Hx - 1] + 1 LVAh = jzdc[G1Hx] - 1 G1Hx -= 1 while WKvO <= LVAh: jzdc[G1Hx] = WKvO LVAh -= WKvO G1Hx += 1 jzdc[G1Hx] = ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def XOh9(exwG, pdhd=1):\n yield (exwG,)\n for YRbF in range(pdhd, exwG // 2 + 1):\n for XP5J in XOh9(exwG - YRbF, YRbF):\n yield ((YRbF,) + XP5J)", "def uzhE(exwG):\n if exwG == 0:\n yield []\n else:\n yield [exwG]\n for YRbF in Ni9Y(exwG - 1, 0, -1):\n ...
[ "0.80175936", "0.8008913", "0.7817631", "0.7805481", "0.75841117", "0.7577535", "0.7554925", "0.752776", "0.7509813", "0.73546994", "0.7310738", "0.7300247", "0.72045124", "0.7192478", "0.7155217", "0.7150047", "0.7104858", "0.7010103", "0.69864905", "0.69746494", "0.6958561"...
0.0
-1
Test invoking Conv1D in eager mode.
def NdQj(YKHO): with QpfX.eager_mode(): TVTK = 5 DYuh = 2 KUnM = 3 Ot1W = 2 Ep8u = 10 input = oyIN.random.rand(Ep8u, TVTK, DYuh).astype(oyIN.float32) gEmA = fhcK.Conv1D(KUnM, Ot1W) Aofo = gEmA(input) YKHO.assertEqual(Aofo.shape[0], Ep8u) ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def nSBy(YKHO):\n Wvex = ibGy().eval()\n O_yG = lhFb().eval()\n O_yG.conv.weight = ht2j.nn.Parameter(Wvex.conv.weight.detach())\n njbY = AaEW(Wvex, RqV3, YKHO.img_data)\n ETqL = {'': DOzr}\n HUlP = ht2j.jit.trace(O_yG, YKHO.img_data[0][0])\n JkK4 = ht2j.jit.script(O_yG)\n luLF = njbY(YKHO.i...
[ "0.72257936", "0.6946214", "0.663808", "0.6488598", "0.64321184", "0.6429234", "0.6365564", "0.62616473", "0.61961776", "0.614659", "0.6117185", "0.60827506", "0.60405475", "0.60229075", "0.59913206", "0.59852654", "0.59432465", "0.59413785", "0.59202677", "0.588773", "0.5885...
0.8432794
0
Test invoking Transpose in eager mode.
def NrfS(YKHO): with QpfX.eager_mode(): input = oyIN.random.rand(5, 10, 4).astype(oyIN.float32) Aofo = fhcK.Transpose((1, 2, 0))(input) assert Aofo.shape == (10, 4, 5)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def l7uB(YKHO, *qIxc, **NArs):\n pass", "def xv4C():\n Wxnj = 'module {\\n func.func @toy_func(%arg0: tensor<2x3xf64>) -> tensor<3x2xf64> {\\n %0 = \"toy.transpose\"(%arg0) {inplace = true} : (tensor<2x3xf64>) -> tensor<3x2xf64>\\n return %0 : tensor<3x2xf64>\\n }\\n}'\n yR_P = QK7R(Wxnj)\n C...
[ "0.5576856", "0.5546485", "0.5423672", "0.5342863", "0.52801055", "0.5272643", "0.5271463", "0.52452916", "0.5210207", "0.5206264", "0.52026653", "0.51993823", "0.5198624", "0.5178248", "0.51685995", "0.50638366", "0.505104", "0.50217277", "0.49907303", "0.49815226", "0.49769...
0.7076441
0
Test invoking L2Loss in eager mode.
def FVTB(YKHO): with QpfX.eager_mode(): lULz = oyIN.random.rand(5, 10).astype(oyIN.float32) ChBB = oyIN.random.rand(5, 10).astype(oyIN.float32) Aofo = fhcK.L2Loss()(lULz, ChBB) aEqx = oyIN.mean((lULz - ChBB) ** 2, axis=1) assert oyIN.allclose(Aofo, aEqx)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def pD1a(YKHO):\n with QpfX.eager_mode():\n lULz = oyIN.random.rand(5, 10).astype(oyIN.float32)\n ChBB = oyIN.random.rand(5, 10).astype(oyIN.float32)\n Aofo = fhcK.L1Loss()(lULz, ChBB)\n aEqx = oyIN.mean(oyIN.abs(lULz - ChBB), axis=1)\n assert oyIN.allclose(Aofo, aEqx)", "de...
[ "0.7156076", "0.7129127", "0.67426383", "0.6630069", "0.62523437", "0.621439", "0.61993694", "0.6169921", "0.6125127", "0.6102458", "0.6067937", "0.6059087", "0.60301644", "0.60269076", "0.6024713", "0.60092294", "0.6002078", "0.5997941", "0.59817845", "0.59660596", "0.596585...
0.8105725
0
Test invoking Conv2D in eager mode.
def Alfc(YKHO): with QpfX.eager_mode(): u54L = 4 TVTK = 5 DYuh = 2 KUnM = 3 Ot1W = 2 Ep8u = 10 input = oyIN.random.rand(Ep8u, u54L, TVTK, DYuh).astype(oyIN.float32) gEmA = fhcK.Conv2D(KUnM, kernel_size=Ot1W) Aofo = gEmA(input) assert Ao...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def nSBy(YKHO):\n Wvex = ibGy().eval()\n O_yG = lhFb().eval()\n O_yG.conv.weight = ht2j.nn.Parameter(Wvex.conv.weight.detach())\n njbY = AaEW(Wvex, RqV3, YKHO.img_data)\n ETqL = {'': DOzr}\n HUlP = ht2j.jit.trace(O_yG, YKHO.img_data[0][0])\n JkK4 = ht2j.jit.script(O_yG)\n luLF = njbY(YKHO.i...
[ "0.71629584", "0.71167994", "0.6671858", "0.6569853", "0.65678376", "0.632479", "0.62958574", "0.6295107", "0.627225", "0.6251028", "0.6242101", "0.62271494", "0.6216249", "0.61688876", "0.6158298", "0.6140482", "0.61283576", "0.6014379", "0.60029745", "0.59563744", "0.595598...
0.79334885
0
Test invoking Conv3D in eager mode.
def Vvkg(YKHO): with QpfX.eager_mode(): u54L = 4 TVTK = 5 rb7a = 6 DYuh = 2 KUnM = 3 Ot1W = 2 Ep8u = 10 input = oyIN.random.rand(Ep8u, u54L, TVTK, rb7a, DYuh).astype(oyIN.float32) gEmA = fhcK.Conv3D(KUnM, kernel_size=Ot1W) Aofo = gEmA(i...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def MJYE(YKHO):\n with QpfX.eager_mode():\n u54L = 4\n TVTK = 5\n rb7a = 6\n DYuh = 2\n KUnM = 3\n Ot1W = 2\n _0fC = 2\n Ep8u = 10\n input = oyIN.random.rand(Ep8u, u54L, TVTK, rb7a, DYuh).astype(oyIN.float32)\n gEmA = fhcK.Conv3DTranspose(KUn...
[ "0.7184932", "0.70052", "0.64008105", "0.6239742", "0.623743", "0.62027705", "0.617386", "0.6171207", "0.61197364", "0.60872585", "0.60646814", "0.6060457", "0.6047265", "0.5976869", "0.59468156", "0.59311926", "0.59303474", "0.59296834", "0.5929569", "0.59119993", "0.5903685...
0.81051505
0
Test invoking Conv2DTranspose in eager mode.
def FuE5(YKHO): with QpfX.eager_mode(): u54L = 4 TVTK = 5 DYuh = 2 KUnM = 3 Ot1W = 2 _0fC = 2 Ep8u = 10 input = oyIN.random.rand(Ep8u, u54L, TVTK, DYuh).astype(oyIN.float32) gEmA = fhcK.Conv2DTranspose(KUnM, kernel_size=Ot1W, stride=_0fC) ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def MJYE(YKHO):\n with QpfX.eager_mode():\n u54L = 4\n TVTK = 5\n rb7a = 6\n DYuh = 2\n KUnM = 3\n Ot1W = 2\n _0fC = 2\n Ep8u = 10\n input = oyIN.random.rand(Ep8u, u54L, TVTK, rb7a, DYuh).astype(oyIN.float32)\n gEmA = fhcK.Conv3DTranspose(KUn...
[ "0.7551632", "0.7527011", "0.6903521", "0.6709463", "0.6656513", "0.64060724", "0.63463837", "0.6250324", "0.6243013", "0.61436486", "0.6103998", "0.60650575", "0.59434855", "0.59040326", "0.5865456", "0.5855157", "0.5855157", "0.58195525", "0.5804928", "0.5783768", "0.575799...
0.82017905
0
Test invoking Conv3DTranspose in eager mode.
def MJYE(YKHO): with QpfX.eager_mode(): u54L = 4 TVTK = 5 rb7a = 6 DYuh = 2 KUnM = 3 Ot1W = 2 _0fC = 2 Ep8u = 10 input = oyIN.random.rand(Ep8u, u54L, TVTK, rb7a, DYuh).astype(oyIN.float32) gEmA = fhcK.Conv3DTranspose(KUnM, kernel_size=O...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Vvkg(YKHO):\n with QpfX.eager_mode():\n u54L = 4\n TVTK = 5\n rb7a = 6\n DYuh = 2\n KUnM = 3\n Ot1W = 2\n Ep8u = 10\n input = oyIN.random.rand(Ep8u, u54L, TVTK, rb7a, DYuh).astype(oyIN.float32)\n gEmA = fhcK.Conv3D(KUnM, kernel_size=Ot1W)\n ...
[ "0.73252654", "0.71728545", "0.71163946", "0.6511548", "0.6409895", "0.631428", "0.62339294", "0.61799663", "0.6170832", "0.6061978", "0.6061978", "0.6025718", "0.6003015", "0.6001511", "0.599408", "0.5972124", "0.5955567", "0.59449714", "0.58946466", "0.5867781", "0.58608824...
0.83754367
0
Test invoking BatchNorm in eager mode.
def lb4h(YKHO): with QpfX.eager_mode(): Ep8u = 10 ROaS = 5 input = oyIN.random.rand(Ep8u, ROaS).astype(oyIN.float32) gEmA = fhcK.BatchNorm() Aofo = gEmA(input) assert Aofo.shape == (Ep8u, ROaS) assert len(gEmA.variables) == 4
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def VN_X(YKHO):\n\n class SimpleBatchNorm(U78l.Module):\n\n def FIMM(YKHO, Qi3c, zsZT, xl1j):\n super(FEPf, YKHO).__init__()\n YKHO.batchnorm = U78l.BatchNorm1d(Qi3c)\n YKHO.batchnorm.running_mean = zsZT\n YKHO.batchnorm.running_var = xl1j\n\n def KVH6(Y...
[ "0.72107375", "0.69697356", "0.67231387", "0.653864", "0.64595354", "0.6447489", "0.644027", "0.6424764", "0.6423545", "0.63896805", "0.63616216", "0.62967694", "0.62659216", "0.624292", "0.6172354", "0.61712265", "0.6127119", "0.6092007", "0.60867184", "0.6086468", "0.608303...
0.810097
0
Convert from onnx operator to nnvm operator. The converter must specify conversions explicity for incompatible name, and apply handlers to operator attributes.
def tSJY(YKHO, yhyn, g4y1, o8Kj, ZWtV=None, M4a2=None): ZWtV = ZWtV if ZWtV else l0PR M4a2 = M4a2 if M4a2 else CJJp if yhyn in ZWtV: aDi_ = Q1Wy(yhyn)(*g4y1, **o8Kj) elif yhyn in M4a2: aDi_ = M4a2[yhyn](g4y1, o8Kj, YKHO._params) else: raise NotImplementedError('Operator {} no...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def eiuE(YKHO):\n YKHO._check_fitted_()\n if isinstance(YKHO.onnxrt_, jg41):\n\n def TnZY(rrBf, seET, zGKt):\n khtY = seET.raw_operator\n v1bE = tyeH(xDSY.BytesIO(khtY.onnx_))\n xa30(rrBf, seET, zGKt, v1bE)\n return TnZY\n yIp6 = YKHO.onnxrt_.onnx_converter()...
[ "0.7184025", "0.6686872", "0.6119823", "0.60908186", "0.58810973", "0.58592445", "0.5701109", "0.5661403", "0.5644065", "0.55743915", "0.5491109", "0.54847", "0.5473311", "0.5469336", "0.5457897", "0.54356396", "0.5412625", "0.5404003", "0.53862196", "0.53535146", "0.53409606...
0.7468733
0
Set the value of the ClientID input for this Choreo. ((conditional, string) The Client ID provided by Amazon. Required unless providing a valid AccessToken.)
def vy2F(YKHO, BWXx): super(PbVo, YKHO)._set_input('ClientID', BWXx)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def u7Xh(YKHO, zb3C):\n raise NotImplementedError", "def zb3C(YKHO, zb3C: str):\n YKHO._client_id = zb3C", "def u7Xh(YKHO, zb3C):\n raise NotImplementedError", "def zb3C(YKHO, zb3C):\n YKHO._client_id = zb3C", "def zb3C(YKHO, zb3C):\n if zb3C is None:\n raise ValueError('Invalid value...
[ "0.7269013", "0.71642405", "0.7141796", "0.7120875", "0.70979446", "0.7019915", "0.69804776", "0.6975424", "0.6975424", "0.6975424", "0.6975424", "0.6975424", "0.6975424", "0.6975424", "0.6975424", "0.6435174", "0.6222131", "0.6177203", "0.6161084", "0.61578786", "0.59358525"...
0.5706599
27
Set the value of the ClientSecret input for this Choreo. ((conditional, string) The Client Secret provided by Amazon. Required unless providing a valid AccessToken.)
def ggae(YKHO, BWXx): super(PbVo, YKHO)._set_input('ClientSecret', BWXx)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Cxz5(YKHO, Cxz5):\n YKHO._client_secret = Cxz5", "def Cxz5(YKHO, Cxz5):\n YKHO._client_secret = Cxz5", "def Cxz5(YKHO, Cxz5):\n YKHO._client_secret = Cxz5", "def vcLg(YKHO, vcLg: ConfigNodePropertyString):\n YKHO._oauth_client_secret = vcLg", "def bFon(YKHO, BWXx):\n YKHO.set(key='client...
[ "0.69188446", "0.69188446", "0.69188446", "0.63182265", "0.6298496", "0.60717964", "0.5735306", "0.55899423", "0.55640566", "0.5542382", "0.55340797", "0.55318296", "0.5525176", "0.55212605", "0.55212605", "0.55212605", "0.55212605", "0.55212605", "0.55212605", "0.54596084", ...
0.6282598
5
Set the value of the StartToken input for this Choreo. ((optional, string) The nextToken returned from a previous request. Used to paginate through results.)
def S_UQ(YKHO, BWXx): super(PbVo, YKHO)._set_input('StartToken', BWXx)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def mDCx(YKHO, eOtH):\n YKHO.token = eOtH\n YKHO._parse_query()", "def SQxU(YKHO, eOtH):\n YKHO.__token = eOtH", "def SQxU(YKHO, eOtH):\n YKHO.__token = eOtH", "def AVeu(YKHO, yKcO):\n if not isinstance(yKcO, int):\n raise zRcu(f'Start must be an integer. {yKcO} is a {type(yKcO)}.')\n ...
[ "0.56147623", "0.55880666", "0.55880666", "0.54619765", "0.54270804", "0.5422615", "0.53599", "0.529348", "0.52928513", "0.5289714", "0.5287253", "0.5279279", "0.525393", "0.525393", "0.5247295", "0.52018553", "0.5190173", "0.5190173", "0.5171854", "0.5170036", "0.5140364", ...
0.68870604
0
Retrieve the value for the "Response" output from this Choreo execution. ((json) The response from Amazon.)
def _O3m(YKHO): return YKHO._output.get('Response', None)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def EbXM(YKHO):\n return YKHO._response", "def geh0(YKHO) -> h8nf[qe4Y.Input[str]]:\n return qe4Y.get(YKHO, 'response')", "def geh0(YKHO) -> h8nf[str]:\n return qe4Y.get(YKHO, 'response')", "def geh0(YKHO) -> h8nf[str]:\n return qe4Y.get(YKHO, 'response')", "def geh0(YKHO) -> GySg[str, str]:\n ...
[ "0.7083792", "0.70538837", "0.70522594", "0.70522594", "0.7049506", "0.6787322", "0.6737927", "0.6737927", "0.6720456", "0.6720456", "0.670587", "0.6686708", "0.66577244", "0.6638387", "0.6638387", "0.66006726", "0.6468872", "0.6363221", "0.63418186", "0.6335999", "0.631591",...
0.7959492
1
Retrieve the value for the "NewAccessToken" output from this Choreo execution. ((string) Contains a new AccessToken when the RefreshToken is provided.)
def CAiE(YKHO): return YKHO._output.get('NewAccessToken', None)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def PoZF(YKHO):\n bD7m = YKHO.sql.get_parameter('obtain_token_url')\n pB3N = {'client_id': YKHO.sql.get_parameter('client_id'), 'client_secret': YKHO.sql.get_parameter('client_secret'), 'refresh_token': YKHO.sql.get_parameter('refresh_token'), 'grant_type': 'refresh_token'}\n Mkmy = G4JS.post(bD7m, data=p...
[ "0.71281314", "0.65821767", "0.6338343", "0.6230173", "0.6202596", "0.61952597", "0.61632913", "0.6155982", "0.6149993", "0.5987288", "0.59329355", "0.5906427", "0.5879915", "0.58754975", "0.58566207", "0.582528", "0.582528", "0.582528", "0.5815552", "0.58081293", "0.5742909"...
0.8393942
0
Retrieve a player associated with the user and the game. Returns 404 exception if the user has no access to this game, or the game does not exists.
def nAM4(QePW, A0tR): try: return mVZ4.objects.select_related('game').get(user=QePW.user, game=A0tR) except: raise uhgT('You have no access to this game.')
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def nAM4(LZbL):\n EPlf = DthX.query.get(LZbL)\n if EPlf is None:\n raise _8EW.BadRequest('player_id invalid or expired')\n return EPlf", "async def get_player(*, id: int, cuiw: Session=JHvC(HNqP.get_session)) -> gclh.Details:\n iPqd = nWJV(mv1M.id == id)\n rqLF = SoFO.query_players_by_(cuiw...
[ "0.74876255", "0.7111004", "0.6910342", "0.68963563", "0.67930555", "0.6715964", "0.66538", "0.66367495", "0.65908974", "0.65432924", "0.6525755", "0.64904886", "0.6487833", "0.6483682", "0.6482195", "0.64642406", "0.64249796", "0.6394606", "0.63542455", "0.63223416", "0.6319...
0.8309153
0
Function that converts a given string into a list of numbers respective to each character.
def OUmP(KoG3): mSrU = [] for sZqf in KoG3: jbXL = ord(sZqf) - 97 mSrU.append(jbXL) return mSrU
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def K0VA(vIwR):\n return map(int, list(vIwR.replace(' ', '')))", "def Tst5(vIwR):\n BHGE = []\n for Npgh in vIwR:\n BHGE += [int(Npgh)]\n return BHGE", "def mXcU(vIwR):\n return map(int, list(vIwR))", "def T6dw(KCHu):\n mSrU = []\n MYoa = False\n okT9 = 0\n for ZfUD in KCHu:...
[ "0.8236774", "0.8100421", "0.75834143", "0.74446493", "0.7433856", "0.73821217", "0.73784983", "0.7297803", "0.72947425", "0.7169152", "0.7166343", "0.7158404", "0.7141488", "0.71146274", "0.7109776", "0.7054264", "0.7022217", "0.70179814", "0.7014154", "0.7013268", "0.699730...
0.7613295
2
Function that converts a list of numbers into their respective characters and combines them into a string.
def bhUa(mSrU): KoG3 = '' for FGW3 in mSrU: jbXL = FGW3 + 97 KoG3 += chr(jbXL) return KoG3
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def BZqr(qnba):\n fRyv = ''\n for YRbF in qnba:\n fRyv += chr(YRbF)\n return fRyv", "def hrsK(aO51):\n hkWs = [str(exwG) for exwG in aO51]\n return ''.join(hkWs)", "def r7oK(yxq0):\n PnW6 = 'bcdfghjklmnpqrstvwyz'\n Moq7 = 'aeiou'\n WBkJ = ''\n for WKvO in yxq0:\n WBkJ +...
[ "0.78467935", "0.73494637", "0.73277366", "0.71321297", "0.7071757", "0.70314527", "0.7009139", "0.7001296", "0.6972202", "0.690489", "0.68746364", "0.6874138", "0.6837749", "0.67077476", "0.67020404", "0.66070074", "0.6579667", "0.656989", "0.6554038", "0.6553515", "0.651486...
0.74443763
1
Function used for testing that generates a random string of letters with respect to the frequency of each letter.
def L4SZ(QTg7): jbXL = [] YRbF = 26 for sZqf in QTg7: jbXL.append([sZqf] * YRbF) YRbF -= 1 l5Ny = '' while len(jbXL) > 0: a1PO = tuKI.randint(0, len(jbXL) - 1) l5Ny += jbXL[a1PO][0] jbXL[a1PO].pop(0) if len(jbXL[a1PO]) == 0: jbXL.pop(a1PO) ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def VSqd(NPoT):\n YRjg = ''.join((vC9B for vC9B in NPoT if vC9B.isalnum()))\n jBd7 = bUlc(YRjg)\n return jBd7", "def osaO(BWz1):\n return ''.join(['{}'.format(tuKI.choice(vIwR.ascii_lowercase + vIwR.digits)) for bGrB in range(BWz1)])", "def BHgW():\n onMw = vIwR.ascii_lowercase\n KoG3 = list(...
[ "0.7407541", "0.73017305", "0.7228179", "0.69178826", "0.6863306", "0.6819384", "0.6810237", "0.68017846", "0.67726016", "0.67305034", "0.66765666", "0.66684604", "0.66429293", "0.6633441", "0.6609556", "0.6609443", "0.66010296", "0.6592158", "0.65829974", "0.65788275", "0.65...
0.7618667
0
Normalize the microservice name. This allows for different AM versions to use different names for the same microservice, without us having to change a whole bunch of feature files to accommodate such changes.
def G375(v023, imdf): tMeI = v023 if v023 == 'Approve normalization (review)' and imdf != '1.6': tMeI = 'Approve normalization Review' elif v023 == 'Store AIP (review)' and imdf != '1.6': tMeI = 'Store AIP Review' elif v023 == 'Store AIP Review' and imdf == '1.6': tMeI = 'Store A...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def W0vu(Emd4, mWFP: str) -> str:\n return mWFP.lower().replace('_', '-')", "def W0vu(YKHO, mWFP: str) -> str:\n return mWFP", "def uD9m(mWFP):\n return mWFP", "def uD9m(mWFP):\n if mWFP is None:\n return None\n ooX7 = ZbWC.sub('[^0-9A-Za-z]+', '_', mWFP)\n return fYIB + ooX7.upper()...
[ "0.7149754", "0.710605", "0.71012723", "0.68525493", "0.68166095", "0.6793552", "0.67252535", "0.6715507", "0.66498756", "0.66041976", "0.656757", "0.6555182", "0.6539626", "0.6534631", "0.6534568", "0.6497945", "0.64890575", "0.64480895", "0.64386314", "0.64159375", "0.63793...
0.7179101
0
Uses Django's get_object_or_404 to get an object On receiving Http404 error, a customAPI404Exception is raised which will be handled by the Custom Exception handler
def Iofl(rV9y, *qIxc, **B2fa): vadG = B2fa.pop('on_error') try: object = K8PR.get_object_or_404(rV9y, *qIxc, **B2fa) except uhgT as e: geh0 = vadG raise _77f(geh0) return object
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "async def object_not_found_exception_handler(QePW: Request, BQDi: ObjectNotFoundError) -> sz8e:\n return sz8e({'message': str(BQDi)}, status_code=aybk)", "def HNBa(C3ST, _sei, Ol8d):\n try:\n return C3ST.objects.get(pk=_sei)\n except C3ST.DoesNotExist:\n raise oEgM(Ol8d, 404)", "def o0Xf...
[ "0.8092631", "0.7870539", "0.77356553", "0.7717101", "0.76736504", "0.7530853", "0.7530845", "0.74964607", "0.7386811", "0.7342897", "0.72845453", "0.72071815", "0.72001094", "0.7167788", "0.71614754", "0.71331114", "0.7114768", "0.71030045", "0.70735925", "0.7073288", "0.705...
0.8420543
0
Uses Django's get_list_or_404 to get a list of objects On receiving Http404 error, a customAPI404Exception is raised which will be handled by the Custom Exception handler
def T6Eh(rV9y, *qIxc, **B2fa): vadG = B2fa.pop('on_error') try: object = K8PR.get_list_or_404(rV9y, *qIxc, **B2fa) except uhgT as e: geh0 = vadG raise _77f(geh0) return object
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "async def object_not_found_exception_handler(QePW: Request, BQDi: ObjectNotFoundError) -> sz8e:\n return sz8e({'message': str(BQDi)}, status_code=aybk)", "def Iofl(rV9y, *qIxc, **B2fa):\n vadG = B2fa.pop('on_error')\n try:\n object = K8PR.get_object_or_404(rV9y, *qIxc, **B2fa)\n except uhgT as...
[ "0.729288", "0.7170626", "0.7154112", "0.70875317", "0.6971423", "0.6837619", "0.6836649", "0.68304515", "0.6826821", "0.6760746", "0.67357427", "0.6721315", "0.67090166", "0.6677831", "0.66365427", "0.6605579", "0.66045636", "0.6576718", "0.65715975", "0.653583", "0.6535361"...
0.8117518
0
gives me a list with the different sequences i can make out of X different chars, without chars repeat
def JEsA(vOPP, exwG): yv6U = [] for ZfUD in w5ch(vOPP, int(exwG), 1): if len(ZfUD) == exwG: yv6U.append(ZfUD) return yv6U
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def uuxn():\n Gj8o = 'TC'\n Bs4M = 'AG'\n Aofo = ['AAAA', 'TTTT', 'CCC', 'GGG', 'GGGG', 'CCCC']\n for VHgN in Bs4M:\n for PIs8 in Gj8o:\n for L1UT in Bs4M:\n for V5AZ in Gj8o:\n for xYqy in Bs4M:\n for IQIF in Gj8o:\n ...
[ "0.7128073", "0.7063968", "0.6959436", "0.6955771", "0.6928085", "0.69228053", "0.68425506", "0.68381786", "0.68361455", "0.68099946", "0.6743404", "0.67353606", "0.67276335", "0.67115414", "0.6667166", "0.6651761", "0.66373724", "0.6618734", "0.65621585", "0.6539484", "0.652...
0.6808674
10
Compositions of an integer (as an ordered sum of positive integers). Returns an iterator over the compositions of the given integer n.
def uzhE(exwG): if exwG == 0: yield [] else: yield [exwG] for YRbF in Ni9Y(exwG - 1, 0, -1): for pDQF in uzhE(exwG - YRbF): yield ([YRbF] + pDQF)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def y7gc(exwG):\n if exwG < 0:\n return\n if exwG == 0:\n yield []\n return\n KCHu = zllO(0)\n DpUl = [zllO(0)]\n while DpUl:\n DpUl[-1] += 1\n KCHu += 1\n if KCHu == exwG:\n yield list(DpUl)\n KCHu -= DpUl.pop()\n else:\n ...
[ "0.78560644", "0.69724506", "0.67635524", "0.6406869", "0.61703813", "0.61638117", "0.61341405", "0.60916126", "0.60678345", "0.6034241", "0.6034241", "0.5943384", "0.5901079", "0.5871565", "0.586623", "0.58510363", "0.5818749", "0.5793677", "0.57882303", "0.5778419", "0.5774...
0.7980566
0
Partitions of an integer (as an unordered sum of positive integers). Returns an iterator over the compositions of the given integer n.
def lF1h(exwG): def casq(exwG, MWxU): """Partitions of n where no term is greater than max_term.""" if exwG == 0: yield [] else: for YRbF in Ni9Y(MWxU, 0, -1): for Qrt_ in casq(exwG - YRbF, min(exwG - YRbF, YRbF)): yield ([YRbF] + ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def y7gc(exwG):\n if exwG < 0:\n return\n if exwG == 0:\n yield []\n return\n KCHu = zllO(0)\n DpUl = [zllO(0)]\n while DpUl:\n DpUl[-1] += 1\n KCHu += 1\n if KCHu == exwG:\n yield list(DpUl)\n KCHu -= DpUl.pop()\n else:\n ...
[ "0.76656514", "0.75614434", "0.7427171", "0.6996209", "0.6903423", "0.6841437", "0.67984843", "0.6747951", "0.6691962", "0.66020757", "0.659342", "0.65711284", "0.65383875", "0.65273064", "0.65122396", "0.6497816", "0.648568", "0.6444961", "0.639935", "0.6395423", "0.6392859"...
0.7201552
3
Function to regularize a time series object (pandas). The first three indeces must be regular for freq=None!!! ts pandas time series dataframe.\n freq Either specify the known frequency of the data or use None and determine the frequency from the first three indices.\n interp Should linear interpolation be applied on a...
def gEg0(i8WE, QTg7=None, pTn1=False): if QTg7 is None: QTg7 = Winb(i8WE.index[:3]) h5hN = i8WE.resample(QTg7).mean() if pTn1: h5hN = h5hN.interpolate('time') return h5hN
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def VsGh(i8WE, hkxX, eAYh):\n assert oyIN.all(oyIN.diff(i8WE) > 0)\n i8WE = NkkI(i8WE)\n return oyIN.interp(oyIN.linspace(0.0, 1.0, eAYh), i8WE, hkxX)", "def sAf8(KPRT, ylrC, QTg7=1000, eJTR='linear', v_5Y=None):\n a1PO = oyIN.arange(KPRT[0], KPRT[-1], 1 / QTg7)\n if a1PO[-1] > KPRT[-1]:\n ...
[ "0.6512695", "0.63969254", "0.61993694", "0.61577725", "0.6069217", "0.6054616", "0.5962417", "0.5936611", "0.58153296", "0.5813679", "0.57988113", "0.5748678", "0.5746843", "0.57419586", "0.5714356", "0.57073563", "0.5696827", "0.56850475", "0.5676317", "0.56683105", "0.5629...
0.7561832
0
Sample from the given tensors by sampling a list of indices and returning the correspondent elements of each tensor.
def cQJh(YKHO, Ep8u, cRc2): _0VL = oyIN.arange(cRc2[0].size()[0]) HrXR = ht2j.from_numpy(oyIN.random.choice(_0VL, Ep8u)) yqMw = [] for vhpA in cRc2: yqMw.append(vhpA[HrXR]) return tuple(yqMw)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def mvm2(YKHO, _0VL):\n gXuE, bGrB = JYfK(g=YKHO.hg, nodes=_0VL, metapath=YKHO.metapath)\n ydfA = []\n VJDQ = []\n for yKIT in gXuE.cpu().numpy():\n ELlB = [YKHO.local_to_global_nid[YKHO.node_metapath[YRbF]][yKIT[YRbF]] for YRbF in range(len(yKIT))]\n for YRbF, P6bq in enumerate(ELlB):\n ...
[ "0.6558137", "0.6456673", "0.64347345", "0.64133763", "0.64026415", "0.6393987", "0.63198835", "0.6316348", "0.62999356", "0.62076384", "0.61844856", "0.61821264", "0.6170945", "0.6142993", "0.6122659", "0.60152555", "0.60105234", "0.6007158", "0.60049987", "0.599043", "0.598...
0.7584936
0
Normalize a tensor image with mean and standard deviation.
def NkkI(vhpA, JBMS, M1Jx, LpaZ=False): if not ht2j.is_tensor(vhpA): raise TypeError('tensor should be a torch tensor. Got {}.'.format(type(vhpA))) if vhpA.ndimension() != 3: raise ValueError('Expected tensor to be a tensor image of size (C, H, W). Got tensor.size() = {}.'.format(vhpA.size())) ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def NkkI(VXjJ, JBMS, M1Jx):\n return (VXjJ - JBMS) / M1Jx", "def NkkI(vhpA, JBMS, M1Jx, LpaZ=False):\n if not SG3O(vhpA):\n raise TypeError('tensor is not a torch image.')\n if not LpaZ:\n vhpA = vhpA.clone()\n JBMS = ht2j.tensor(JBMS, dtype=ht2j.float32)\n M1Jx = ht2j.tensor(M1Jx, d...
[ "0.83903116", "0.8066772", "0.80170333", "0.79787654", "0.79531956", "0.7948758", "0.7948071", "0.7899666", "0.7894329", "0.78842294", "0.7875258", "0.7865221", "0.7861878", "0.783395", "0.7832739", "0.77996016", "0.77887636", "0.77622336", "0.7751333", "0.7745017", "0.773749...
0.78636324
12
Returns a Token object at position `key` or returns Span using slice `key` or the id of the Token object or id of the Span object at remote location.
def OP2O(YKHO, H5ew: Union[int, slice]): if isinstance(H5ew, int): if H5ew < 0: GX17 = YKHO.doc.container[YKHO.end + H5ew] else: GX17 = YKHO.doc.container[YKHO.start + H5ew] eOtH = _J2v(doc=YKHO.doc, token_meta=GX17, position=H5ew, owner=YKHO.owner) return eOt...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def EOaT(YKHO, H5ew):\n LFlW = Ce1H.bisect_left(YKHO, H5ew)\n _tIi = Ce1H.bisect_right(YKHO, H5ew)\n yk4i = _tIi - LFlW\n if yk4i == 0:\n raise KeyError(H5ew)\n elif yk4i == 1:\n return LFlW\n else:\n return slice(LFlW, _tIi)", "def OP2O(YKHO, H5ew):\n try:\n eOtH...
[ "0.5908187", "0.58718103", "0.5842475", "0.5743049", "0.5654963", "0.5430483", "0.5337217", "0.5313198", "0.5308885", "0.5277291", "0.5275152", "0.52621335", "0.5256582", "0.52508175", "0.5229102", "0.52178514", "0.5210841", "0.52092034", "0.52092034", "0.5202658", "0.5189617...
0.7811549
0
Replace matching strings with decimal objects.
def LCpX(qI99): Aofo = {} for H5ew, BWXx in qI99: if H5ew == 'price': Aofo[H5ew] = ZjSO(BWXx) else: Aofo[H5ew] = BWXx return Aofo
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def FLu_(vIwR: str) -> str:\n PYMx = '\"[a-zA-Z_]+\":(?P<num>[0-9,E-]+),'\n cpLU = '\"[a-zA-Z_]+\":(?P<num>[0-9,E-]+)}'\n for njyT in [PYMx, cpLU]:\n hHld = ZbWC.finditer(njyT, vIwR, ZbWC.MULTILINE)\n for kUBT in hHld:\n mLGw = kUBT.group('num').replace(',', '.')\n vIwR...
[ "0.68031716", "0.61441135", "0.6060826", "0.6015194", "0.6015194", "0.5961702", "0.5915487", "0.59015375", "0.5881842", "0.58053166", "0.58035016", "0.5801157", "0.5785146", "0.5763709", "0.572515", "0.57202905", "0.57185495", "0.57179296", "0.570376", "0.5664082", "0.5652538...
0.0
-1
Replace matching strings with decimal objects.
def LCpX(YEnM): Aofo = {} for H5ew, BWXx in YEnM.items(): if H5ew == 'price': Aofo[H5ew] = ZjSO(BWXx) else: Aofo[H5ew] = BWXx return Aofo
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def FLu_(vIwR: str) -> str:\n PYMx = '\"[a-zA-Z_]+\":(?P<num>[0-9,E-]+),'\n cpLU = '\"[a-zA-Z_]+\":(?P<num>[0-9,E-]+)}'\n for njyT in [PYMx, cpLU]:\n hHld = ZbWC.finditer(njyT, vIwR, ZbWC.MULTILINE)\n for kUBT in hHld:\n mLGw = kUBT.group('num').replace(',', '.')\n vIwR...
[ "0.68031716", "0.61441135", "0.6060826", "0.6015194", "0.6015194", "0.5961702", "0.5915487", "0.59015375", "0.5881842", "0.58053166", "0.58035016", "0.5801157", "0.5785146", "0.5763709", "0.572515", "0.57202905", "0.57185495", "0.57179296", "0.570376", "0.5664082", "0.5652538...
0.52142346
69
Compute the camera reprojection Jacobian matrix.
def WsQZ(fS0i: torch.Tensor, yDvq: Dict[str, torch.Tensor], hbFX: torch.Tensor, sVVp: torch.Tensor, SUc6: torch.Tensor, Mkw0: torch.Tensor): LoU1 = (yDvq['R'] @ fS0i.t()).t() gUy3 = LoU1 + yDvq['t'].view(1, 3) m5Lj = y8Nx(gUy3, yDvq['K'], yDvq['dist_coeffs'][0]) hGQw = bCZw(hbFX, sVVp, SUc6, Mkw0, LoU1)...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def v8WM(YKHO):\n return YKHO._ptr.contents.jacobian", "def OdRK():\n return oyIN.block([[Nq1b, oyIN.zeros((XP5J, XP5J + exwG + 2 * r8hN))], [-1 * T8ck, Nq1b.T, oyIN.eye(exwG), k0lF.T, oyIN.zeros((exwG, r8hN))], [k0lF, oyIN.zeros((r8hN, XP5J + exwG + r8hN)), -1 * oyIN.eye(r8hN)], [oyIN.diagflat(KCHu), oyIN...
[ "0.67073464", "0.6600517", "0.6463148", "0.6463148", "0.6320256", "0.62996215", "0.62652916", "0.6198598", "0.6179627", "0.6175389", "0.6122378", "0.60820025", "0.59989977", "0.5973006", "0.5966603", "0.5952995", "0.5952649", "0.5941099", "0.59271955", "0.5922657", "0.5915224...
0.6328938
4
Return the best objective value in the study.
def uc7Q(YKHO) -> float: uc7Q = YKHO.best_trial.value assert uc7Q is not None return uc7Q
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def OuOQ(YKHO):\n return RWcI(YKHO._cbstruct, mcEP, j_HN)", "def uc7Q(YKHO):\n return YKHO._best_value", "def OmFP(YKHO):\n QxIo = YKHO.get_summary()\n return QxIo.get('best', None)", "def BaD7(YKHO):\n return YKHO.get_fitness(YKHO.get_best_agent())", "def P6Dd(YKHO):\n return YKHO.bestN(...
[ "0.7836759", "0.77587855", "0.7704275", "0.7692466", "0.7615953", "0.760301", "0.75397503", "0.753466", "0.74969447", "0.7447688", "0.73486793", "0.73461086", "0.73456997", "0.7330626", "0.73279715", "0.73122793", "0.7177816", "0.71321106", "0.71272236", "0.71272236", "0.7071...
0.7127596
18