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
Add a version to a template version manager.
def JPHp(ts0R, rPXJ): QUSm.upsert(rPXJ) try: JgL8.insert_version(ts0R, rPXJ) JgL8.upsert(ts0R) qQNS = pjTl(ts0R) QUSm.set_display_name(rPXJ, qQNS) return ts0R except Exception as e: QUSm.delete(rPXJ) raise tTpl
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def O7Ob(DpZH, rPXJ):\n rPXJ['mappings']['_default_']['_meta']['version'] = DpZH\n rPXJ['template'] = rPXJ['template'].replace('<version>', DpZH)", "def n3Kb(YKHO, DpZH):\n e42V = YKHO.entity_list_view.model()\n e42V.add_version(DpZH)", "def p43y(YKHO, DpZH):\n if DpZH >= 1 and YKHO._ensure_vers...
[ "0.7173691", "0.68857473", "0.6797284", "0.65857315", "0.65098906", "0.64310765", "0.64234054", "0.63604885", "0.6151121", "0.6129236", "0.59339434", "0.5842578", "0.5794693", "0.57665795", "0.57596934", "0.57376224", "0.57163924", "0.5686377", "0.5513732", "0.5456809", "0.54...
0.6138034
9
Merges two dictionaries based on the largest value in a given mapping.
def mrp9(WbPA, S69B): XIcQ, Elif = (WbPA, OWx4) if len(WbPA) > len(S69B) else (S69B, WbPA) XIcQ = dict(XIcQ) for H5ew in Elif: if H5ew not in XIcQ or Elif[H5ew] > XIcQ[H5ew]: XIcQ[H5ew] = Elif[H5ew] return XIcQ
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def MmTN(WbPA, S69B):\n XIcQ = dict(WbPA)\n for H5ew, BWXx in S69B.items():\n if H5ew not in XIcQ or BWXx > XIcQ[H5ew]:\n XIcQ[H5ew] = BWXx\n return XIcQ", "def tD64(WbPA, S69B):\n for G1Hx in S69B:\n WbPA[G1Hx] = max(WbPA.get(G1Hx, 0), S69B[G1Hx])\n return WbPA", "def f...
[ "0.8614848", "0.7159849", "0.7130949", "0.6678276", "0.63045", "0.6086079", "0.6084212", "0.6027994", "0.6009905", "0.5987621", "0.5973706", "0.5973706", "0.5971171", "0.5959337", "0.59584254", "0.59581614", "0.595003", "0.5930149", "0.5929482", "0.5920077", "0.59008956", "...
0.84846145
1
Method for adding a node to the end of the list
def tj6L(YKHO, BWXx): Q6kx = LEY5(BWXx) if YKHO.is_empty(): YKHO.head = Q6kx YKHO.tail = Q6kx else: YKHO.tail.next = Q6kx YKHO.tail = Q6kx
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def e68I(YKHO, Cc00):\n Q6kx = YKHO.first\n while Q6kx.getNext():\n Q6kx = Q6kx.getNext()\n Esd_ = o7DN(Cc00)\n Q6kx.setNext(Esd_)", "def F1bx(YKHO, BWXx):\n Q6kx = o7DN(BWXx)\n if YKHO.tail is None:\n YKHO.head = Q6kx\n YKHO.tail = Q6kx\n else:\n YKHO.tail.next =...
[ "0.825676", "0.8012858", "0.7805011", "0.7773203", "0.77093256", "0.7701672", "0.76881737", "0.767032", "0.75979733", "0.75675595", "0.75647104", "0.7557788", "0.7492994", "0.74748373", "0.74680024", "0.74665916", "0.7449342", "0.74487674", "0.74439496", "0.7436012", "0.73980...
0.72361386
50
Load a model from the given path. To load a model along with its weights, biases and module_arguments use a checkpoint.
def IkbX(YKHO, pmON, U3Fm: bool=False, **B2fa): RVjQ = [pmON, 'default', 'version_0', 'checkpoints'] pmON = Hy7s.path.join(*RVjQ) for nUeQ in Hy7s.listdir(pmON): if nUeQ.endswith('.ckpt'): YKHO.model = DukI.load_from_checkpoint(Hy7s.path.join(pmON, nUeQ), strict=U3Fm, operator=YKHO.op, *...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def uyMl(YKHO, uqvc=None):\n if uqvc is None:\n uqvc = YKHO.config.path_tmp / YKHO.model.model_name / YKHO.TRAINED_MODEL_FILE_NAME\n else:\n uqvc = GkAb(uqvc)\n if uqvc.exists():\n YKHO.model.load_state_dict(ht2j.load(str(uqvc)))\n YKHO.model.eval()\n else:\n raise Va...
[ "0.8460717", "0.8393398", "0.8355568", "0.8331953", "0.82886773", "0.8265081", "0.8256638", "0.8255622", "0.8235556", "0.82307", "0.8195004", "0.8185018", "0.81846786", "0.8168203", "0.8161611", "0.8158552", "0.8158353", "0.8100534", "0.8099979", "0.80763394", "0.8067567", ...
0.0
-1
Add a new experience to memory.
def H2v5(YKHO, QTBn, XeOP, vOGg, rxHc, _ins): tTpl = YKHO.experience(QTBn, XeOP, vOGg, rxHc, _ins) YKHO.memory.append(tTpl)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def ilp5(YKHO, GsKL):\n YKHO.memory.append(GsKL)", "def H2v5(YKHO, GsKL):\n YKHO.memory.append(GsKL)", "def GsKL(YKHO, GsKL: Experience[ActionType]) -> None:\n YKHO.memory.append(GsKL)", "def H2v5(YKHO, QTBn, XeOP, vOGg, rxHc, _ins):\n YKHO.memory.append(XlZM(QTBn, XeOP, vOGg, rxHc, _ins))", "d...
[ "0.8763217", "0.8755159", "0.8509186", "0.79707366", "0.7879077", "0.7878838", "0.7878838", "0.7709677", "0.7708713", "0.7609456", "0.74958277", "0.7470479", "0.74537706", "0.737918", "0.73555547", "0.730577", "0.7283659", "0.7276514", "0.72636735", "0.7246649", "0.72328925",...
0.7199177
25
Randomly sample a batch of experiences from memory.
def mvm2(YKHO): wfZK = tuKI.sample(YKHO.memory, k=YKHO.batch_size) wspz = ht2j.from_numpy(oyIN.vstack([tTpl.state for tTpl in wfZK if tTpl is not None])).float().to(begE) xASv = ht2j.from_numpy(oyIN.vstack([tTpl.action for tTpl in wfZK if tTpl is not None])).float().to(begE) vwlo = ht2j.from_numpy(oyIN....
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def mvm2(YKHO, Ep8u=64):\n return tuKI.sample(YKHO.memory, Ep8u)", "def cQJh(YKHO):\n Wc9F = []\n for YRbF in Ni9Y(YKHO.minibatch_size):\n Wc9F.append(YKHO.experiences[qukk(0, len(YKHO.experiences))])\n return oyIN.asarray(Wc9F)", "def mvm2(YKHO):\n wfZK = tuKI.sample(YKHO.memory, k=YKHO....
[ "0.7983961", "0.79046863", "0.7868443", "0.7706011", "0.7525482", "0.75070703", "0.7481443", "0.74332356", "0.7432144", "0.7427844", "0.74261487", "0.74147487", "0.7403821", "0.7403821", "0.7403821", "0.7392868", "0.7389204", "0.7389204", "0.7389204", "0.7379021", "0.7376972"...
0.7271472
33
Finds the common markers between two sets of markers.
def cqQv(KTM6, Emmt): DAcW, aPmV = ({}, {}) TvQ3 = oyIN.intersect1d(KTM6.keys(), Emmt.keys()) for YRbF in TvQ3: DAcW[YRbF] = KTM6[YRbF] aPmV[YRbF] = Emmt[YRbF] return (DAcW, aPmV)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def eYBa(MWrr, MOlU):\n return len(MWrr.intersection(MOlU))", "def zpyG(YVv6, rA0f):\n assert len(YVv6) <= len(rA0f), 'Dataset 1 must be at most as long as dataset 2.'\n assert len(oyIN.unique(YVv6)) / len(YVv6) == 1.0, 'Dataset 1 must consist of unique entries.'\n assert len(oyIN.unique(rA0f)) / len...
[ "0.7149482", "0.69333863", "0.68912804", "0.6767658", "0.6599356", "0.6417009", "0.6356783", "0.63433856", "0.63185704", "0.63160574", "0.6295716", "0.62954944", "0.6295035", "0.6294879", "0.6273925", "0.6261013", "0.6258746", "0.6255009", "0.62388456", "0.6227559", "0.622755...
0.7301483
0
Gets account alias for given role
def PP8a(YKHO, axXk, Dc29, tjxa): try: z39Z = Hy7s.environ.pop('AWS_PROFILE', None) TJZp = iVGz.client('sts') if z39Z is not None: Hy7s.environ['AWS_PROFILE'] = z39Z except r5t_: YKHO.logger.exception('Unable to handle AWS_PROFILE=%s' % Hy7s.environ['AWS_PROFILE']) ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Po3f(YKHO):\n Z31E, PzhI = Xgmz(YKHO._arn)\n with fZiv(Z31E, YKHO._schema) as j5Pf:\n j5Pf.set_account_alias(PzhI)\n L8Py = fKA9(YKHO._arn)\n for ZrNc in L8Py:\n NkPO = ZrNc.get('id')\n fSKr = ZrNc.get('name')\n if NkPO and fSKr:\n with fZiv(NkPO, YKHO._schema...
[ "0.68216836", "0.66040015", "0.6384774", "0.6377644", "0.6372074", "0.63016415", "0.6283878", "0.62339455", "0.6141377", "0.6100586", "0.6092518", "0.6041994", "0.601068", "0.59868264", "0.59868264", "0.59868264", "0.59868264", "0.59868264", "0.59868264", "0.59793293", "0.597...
0.7384395
0
Sets the execution_event_id of this ExecutionEvent.
def F2Fv(YKHO, F2Fv): YKHO._execution_event_id = F2Fv
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def a5WJ(YKHO, a5WJ):\n YKHO._execution_id = a5WJ", "def a5WJ(YKHO, a5WJ):\n YKHO._execution_id = a5WJ", "def a5WJ(YKHO, a5WJ):\n if a5WJ is None:\n raise ValueError('Invalid value for `execution_id`, must not be `None`')\n YKHO._execution_id = a5WJ", "def jjOx(YKHO, jjOx):\n YKHO._exec...
[ "0.81306994", "0.81306994", "0.78865767", "0.71934986", "0.6799314", "0.6799314", "0.6799314", "0.6746759", "0.62357104", "0.62261397", "0.58617455", "0.57944447", "0.5792415", "0.5724849", "0.56543076", "0.5640296", "0.56152916", "0.56152916", "0.55507416", "0.5538971", "0.5...
0.89312696
0
Sets the execution_component_id of this ExecutionEvent.
def jjOx(YKHO, jjOx): YKHO._execution_component_id = jjOx
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def F2Fv(YKHO, F2Fv):\n YKHO._execution_event_id = F2Fv", "def a5WJ(YKHO, a5WJ):\n YKHO._execution_id = a5WJ", "def a5WJ(YKHO, a5WJ):\n YKHO._execution_id = a5WJ", "def a5WJ(YKHO, a5WJ):\n if a5WJ is None:\n raise ValueError('Invalid value for `execution_id`, must not be `None`')\n YKHO...
[ "0.7408917", "0.72132856", "0.72132856", "0.6833986", "0.59698963", "0.59698963", "0.59645", "0.5822803", "0.5462198", "0.5453155", "0.53401893", "0.5258886", "0.5165674", "0.5163698", "0.5152454", "0.51481336", "0.51367134", "0.5127157", "0.511284", "0.50988436", "0.50957555...
0.8761039
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.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.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
This route will optionally take in current and past courses. In order to make recommendations solely on the user's courses in past and current PCP schedules, simply omit both the curr_courses and past_courses fields in your request. Otherwise, in order to specify past and current courses, include a "currcourses" and/or...
def QEdZ(QePW): CBIr = QePW.user AhsM = QePW.data.get('curr_courses', None) AhsM = AhsM if AhsM is not None else [] jlSa = QePW.data.get('past_courses', None) jlSa = jlSa if jlSa is not None else [] YHHH = QePW.data.get('n_recommendations', 5) try: YHHH = int(YHHH) except ValueEr...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def sDlr(QePW):\n deMH = []\n h4dK = getattr(gCuF, 'COURSE_DISCOVERY_MEANINGS', {})\n if not gCuF.FEATURES.get('ENABLE_COURSE_DISCOVERY'):\n deMH = k8nB(QePW.user)\n if ky0N.get_value('ENABLE_COURSE_SORTING_BY_START_DATE', gCuF.FEATURES['ENABLE_COURSE_SORTING_BY_START_DATE']):\n d...
[ "0.6202515", "0.6034401", "0.588872", "0.5884507", "0.5857141", "0.58347243", "0.5760663", "0.5750177", "0.57327557", "0.5703664", "0.56036365", "0.5576021", "0.55208975", "0.5514801", "0.55022115", "0.54812026", "0.54738575", "0.5405356", "0.5400148", "0.539734", "0.53814703...
0.7419711
0
Return the onenorm of the matrix.
def PgjJ(jzdc): return UN2R.max(UN2R.sum(UN2R.abs(jzdc), axis=0))
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def EWFz(YKHO):\n return gQS9.TTable1D_getInorm(YKHO)", "def YYQ6(YKHO, SppC):\n DfJg = oyIN.eye(3)\n DfJg[0:3, 0:3] = SppC[0:3, 0:3]\n P6bq, KCHu, Ty9i = pEuX.svd(DfJg)\n wu6w = oyIN.matmul(P6bq, oyIN.transpose(Ty9i))\n SppC[0:3, 0:3] = wu6w[0:3, 0:3]\n return SppC", "def Y7f8(YKHO) -> aL...
[ "0.6445959", "0.59407866", "0.5937859", "0.58598065", "0.57837677", "0.57651985", "0.57068396", "0.56082624", "0.5593959", "0.5591223", "0.55773485", "0.5553838", "0.55393803", "0.5532606", "0.5527525", "0.55274135", "0.5526788", "0.55125767", "0.55125767", "0.5505543", "0.54...
0.0
-1
Compute softmax values for each sets of scores in x.
def N93T(YKHO, WKvO): IA3S = oyIN.max(WKvO) MZx7 = 0 for YRbF in range(len(WKvO)): MZx7 = MZx7 + epAf.exp(WKvO[YRbF] - IA3S) Aofo = oyIN.zeros(shape=len(WKvO)) for YRbF in range(len(Aofo)): Aofo[YRbF] = epAf.exp(WKvO[YRbF] - IA3S) / MZx7 return Aofo
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def oSvh(WKvO):\n S2MS = []\n if oyIN.array(WKvO).ndim == 1:\n hrCc = oyIN.exp(WKvO)\n RmXN = oyIN.sum(hrCc)\n xzMv = hrCc / RmXN\n dzye = xzMv\n else:\n dzye = oyIN.exp(cCrA) / oyIN.sum(oyIN.exp(cCrA), axis=0)\n return dzye", "def N93T(WKvO):\n j1LR = oyIN.exp(o...
[ "0.80113125", "0.77607703", "0.77607703", "0.7687368", "0.76707524", "0.76605", "0.76571554", "0.76571554", "0.76571554", "0.76571554", "0.76571554", "0.76571554", "0.76571554", "0.76397043", "0.762786", "0.7532752", "0.74565", "0.73242354", "0.73171765", "0.7298628", "0.7281...
0.7551623
15
Compute softmax values for each sets of scores in x.
def QZir(YKHO, nPrm, _hZ2): return oyIN.maximum(_hZ2 * nPrm, nPrm)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def oSvh(WKvO):\n S2MS = []\n if oyIN.array(WKvO).ndim == 1:\n hrCc = oyIN.exp(WKvO)\n RmXN = oyIN.sum(hrCc)\n xzMv = hrCc / RmXN\n dzye = xzMv\n else:\n dzye = oyIN.exp(cCrA) / oyIN.sum(oyIN.exp(cCrA), axis=0)\n return dzye", "def N93T(WKvO):\n j1LR = oyIN.exp(o...
[ "0.80113125", "0.77607703", "0.77607703", "0.7687368", "0.76707524", "0.76605", "0.76571554", "0.76571554", "0.76571554", "0.76571554", "0.76571554", "0.76571554", "0.76571554", "0.76397043", "0.762786", "0.7551623", "0.7532752", "0.74565", "0.73242354", "0.73171765", "0.7298...
0.0
-1
Method generate random string with set length
def GLL2(u54L: int) -> str: KoG3 = vIwR.ascii_lowercase dEzN = ''.join((tuKI.choice(KoG3) for bGrB in range(u54L))) return dEzN
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def YzjY(YKHO, u54L):\n zZas = vIwR.ascii_uppercase + vIwR.digits\n return ''.join(tuKI.sample(zZas, u54L))", "def YzjY(YKHO, u54L):\n zZas = vIwR.ascii_uppercase + vIwR.digits\n return ''.join(tuKI.sample(zZas, u54L))", "def YzjY(YKHO, u54L=10):\n return ''.join((tuKI.SystemRandom().choice(vIwR...
[ "0.8706638", "0.8658873", "0.8570973", "0.84662056", "0.8449086", "0.84385717", "0.84364665", "0.8404206", "0.838729", "0.8360261", "0.8335938", "0.8335938", "0.83103204", "0.82991326", "0.82730585", "0.8271337", "0.826862", "0.8228343", "0.822445", "0.8208807", "0.8208023", ...
0.79768765
64
RtaxTaxonAssigner.__init__ should set default attributes and params
def as4H(YKHO): XP5J = rCUe({}) YKHO.assertEqual(XP5J.Name, 'RtaxTaxonAssigner') ZCj2 = {'id_to_taxonomy_fp': None, 'reference_sequences_fp': None, 'header_id_regex': '\\S+\\s+(\\S+?)\\/', 'read_id_regex': '\\S+\\s+(\\S+)', 'amplicon_id_regex': '(\\S+)\\s+(\\S+?)\\/', 'read_1_seqs_fp': None, 'read_2_seqs_fp...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def as4H(YKHO):\n XP5J = cEoG({})\n YKHO.assertEqual(XP5J.Name, 'TaxonAssigner')\n YKHO.assertEqual(XP5J.Params, {})", "def as4H(YKHO):\n XP5J = Hg1q({})\n YKHO.assertEqual(XP5J.Name, 'BlastTaxonAssigner')\n ZCj2 = {'Min percent identity': 90.0, 'Max E value': 1e-30, 'Application': 'blastn/mega...
[ "0.7263239", "0.7167709", "0.69548386", "0.6393129", "0.6177516", "0.61622816", "0.61549145", "0.6153819", "0.6131241", "0.6131003", "0.6129602", "0.60767233", "0.6038127", "0.60222757", "0.59852886", "0.5981052", "0.59775656", "0.59753674", "0.59654546", "0.596149", "0.59547...
0.765381
0
Downloads the file to a temporary directory and returns a file handle. You can use this method by passing the bucket_name and object_name parameters or just object_url parameter.
def wP6B(YKHO, l7rj: str=ZuG8, tB6k: str | None=None, U8uF: str | None=None, dir: str | None=None, kMaH: str | None=None) -> jd6F[diMR[bytes], None, None]: if tB6k is None: raise ValueError('Object name can not be empty') bGrB, bGrB, gIsw = tB6k.rpartition('/') with uwwb(suffix=gIsw, dir=dir) as _Ik...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def nB0S(WE7e: str, gIsw: str, tB6k: str):\n if tB6k is None:\n tB6k = gIsw\n x0hE = bxbw('s3')\n return x0hE.download_file(WE7e, tB6k, gIsw)", "def Ty8H(l7rj, tB6k):\n gIsw = '/{}}/{}'.format(z_es, tB6k)\n ntiA = S8SU.Client()\n WE7e = ntiA.bucket(l7rj)\n vxw0 = WE7e.blob(tB6k)\n ...
[ "0.7309088", "0.7223581", "0.7189494", "0.7177478", "0.71262634", "0.70571274", "0.7032193", "0.70096785", "0.6994711", "0.6973044", "0.68944013", "0.6832872", "0.6810613", "0.6765083", "0.6755192", "0.67085165", "0.6704685", "0.665621", "0.66039866", "0.6533988", "0.65001583...
0.7523275
0
Deletes an object from the bucket.
def PTpj(YKHO, l7rj: str, tB6k: str) -> None: x0hE = YKHO.get_conn() WE7e = x0hE.bucket(l7rj) vxw0 = WE7e.blob(blob_name=tB6k) vxw0.delete() YKHO.log.info('Blob %s deleted.', tB6k)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def UYmI(WE7e, H5ew):\n try:\n EeDH.remove('%s/%s._data' % (WE7e, H5ew))\n except:\n pass", "def UYmI(YKHO):\n YKHO.client.delete_object(YKHO.container_name, YKHO.object_name)", "def mjo8(YKHO, WE7e, H5ew):\n WE7e = DJkR(WE7e)\n H5ew = DJkR(H5ew)\n pmON = '/' + WE7e + '/' + H5ew...
[ "0.80645627", "0.80481994", "0.80161595", "0.7950441", "0.7893358", "0.7837339", "0.7833141", "0.7764671", "0.7763704", "0.7754782", "0.77425885", "0.76951253", "0.7670237", "0.75743604", "0.7566759", "0.7566522", "0.74561393", "0.743362", "0.7428882", "0.73850805", "0.732675...
0.80652606
0
Creates a new ACL entry on the specified object.
def QCTP(YKHO, l7rj: str, tB6k: str, LEXu: str, LmAn: str, H6tO: int | None=None, kMaH: str | None=None) -> None: YKHO.log.info('Creating a new ACL entry for object: %s in bucket: %s', tB6k, l7rj) x0hE = YKHO.get_conn() WE7e = x0hE.bucket(bucket_name=l7rj) vxw0 = WE7e.blob(blob_name=tB6k, generation=H6t...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def eLpg(YKHO):\n z8nZ = {}\n z8nZ = BfDw.get_attrs(YKHO, YKHO.config_attrs)\n z8nZ['name'] = YKHO.name\n z8nZ['list_type'] = YKHO.list_type\n j8eK = '{base_url}{class_uri}'.format(base_url=YKHO.session.base_url, class_uri=FmAk.base_uri)\n aqR5 = qQXR.dumps(z8nZ, sort_keys=True, indent=4)\n tr...
[ "0.72048306", "0.6664394", "0.66000915", "0.64888316", "0.6272273", "0.62412345", "0.6191733", "0.6077328", "0.603802", "0.6034233", "0.59715337", "0.5887631", "0.58857673", "0.5847394", "0.5833786", "0.5831193", "0.5831193", "0.5809963", "0.5809963", "0.5809963", "0.5809963"...
0.7426944
0
Gets Contours of Image with Blue Threshold Out
def TkxC(YKHO, VXjJ): Cd_s = XC5k.cvtColor(VXjJ, XC5k.COLOR_BGR2HSV) Cd_s = XC5k.inRange(Cd_s, (90, 100, 0), (135, 255, 255)) Cd_s = XC5k.medianBlur(Cd_s, 3) Cd_s = XC5k.erode(Cd_s, oyIN.ones((3, 3), oyIN.uint8), iterations=1) Cd_s = XC5k.medianBlur(Cd_s, 7) Yjcv, Iowl, gEYm = XC5k.findContours(...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def QG_z(VXjJ):\n cKXd = XC5k.blur(VXjJ, (15, 15))\n WZcn = oyIN.ones((5, 5), oyIN.uint8)\n ZHfW = XC5k.inRange(cKXd, oyIN.array([0, 0, 80]), oyIN.array([255, 55, 255]))\n ZHfW = XC5k.bitwise_not(ZHfW)\n ZHfW = XC5k.erode(ZHfW, WZcn, iterations=1)\n ZHfW = XC5k.dilate(ZHfW, WZcn, iterations=1)\n ...
[ "0.7539118", "0.7430431", "0.72215754", "0.71475446", "0.71249074", "0.70884526", "0.70689124", "0.70601153", "0.7046952", "0.7011779", "0.69407016", "0.6891795", "0.6852106", "0.684903", "0.68258584", "0.6763898", "0.6754786", "0.6749495", "0.67412883", "0.6706391", "0.66777...
0.7182476
3
Get state from the environment
def ja6o(sEAN, or8S): vAXE = (sEAN.V2I_channels_abs[or8S * AvbR] - 60) / 60.0 hRok = (sEAN.V2V_channels_abs[or8S * AvbR, or8S * AvbR + (1 + oyIN.arange(AvbR - 1))] - 60) / 60.0 qwsf = (sEAN.V2I_channels_with_fastfading[or8S * AvbR, :] - sEAN.V2I_channels_abs[or8S * AvbR] + 10) / 35 Sx3_ = (sEAN.V2V_chan...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def ja6o():\n return sEAN.get_obs()", "def ja6o(YKHO):\n return YKHO.env._get_obs()", "def ixvf():\n global environ\n return [Z9rn.active for Z9rn in PNq_.cells.flatten()]", "def ja6o(JyK9):\n return cHxK.get_state()", "def QTBn(YKHO):\n return YKHO.gym_env.s", "def ja6o(YKHO):\n wit...
[ "0.7905022", "0.76818526", "0.7455685", "0.7326473", "0.7277514", "0.7248074", "0.7193413", "0.71617043", "0.71617043", "0.71617043", "0.71617043", "0.71617043", "0.71617043", "0.71617043", "0.71617043", "0.71617043", "0.71617043", "0.71617043", "0.71617043", "0.71617043", "0...
0.0
-1
Return the lowercase class name as the name of the table.
def G2AI(Emd4): return Emd4.__name__.lower()
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def G2AI(Emd4):\n return Emd4._to_snake_case(Emd4.__name__)", "def qrSG(mWFP):\n GTA_ = QQNo.underscore(mWFP)\n return GTA_", "def LKuW(nPrm):\n return str(nPrm.__name__).lower()", "def sSm1(YKHO, Emd4):\n return YKHO.table_name(Emd4)", "def x5aK(LZzY: Base) -> str:\n return LZzY._sa_inst...
[ "0.8423043", "0.81483173", "0.7939942", "0.7795763", "0.77238077", "0.7647615", "0.76154035", "0.7582224", "0.758028", "0.758028", "0.7570735", "0.7547041", "0.74741596", "0.74741596", "0.74741596", "0.74741596", "0.74741596", "0.74741596", "0.74741596", "0.74741596", "0.7452...
0.82233393
3
Return a list of tags for this statement.
def Qwli(YKHO): return [TZ9E.name for TZ9E in YKHO.tags]
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def wWtK(YKHO):\n return YKHO._list_names('tags')", "def Qwli(YKHO):\n return YKHO.list", "def Qwli(YKHO):\n return YKHO._get_tags()", "def Y5bi(YKHO):\n bo34.info('List tags')\n return JKCy.Tag.list(YKHO).result()", "def DArK(YKHO):\n return YKHO._tag_names", "def dJ1p(YKHO) -> x1iM[st...
[ "0.80422235", "0.7874926", "0.78615254", "0.78542644", "0.7853311", "0.77969867", "0.7743787", "0.7743787", "0.7721195", "0.77193844", "0.7712497", "0.77070266", "0.77070266", "0.77070266", "0.77041054", "0.76758", "0.7645726", "0.7645219", "0.7645219", "0.7645219", "0.764521...
0.7822123
5
return the config type (either CONFIG_TYPE_COMPOSITE or CONFIG_TYPE_APPLICATION) of a SubConfiguration instance
def jYdo(o_bv): if isinstance(o_bv, m36K): return y8cn.CONFIG_TYPE_APPLICATION if isinstance(o_bv, JtwR): return y8cn.CONFIG_TYPE_COMPOSITE raise zJMs('Unexpected instance type')
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def lSV_(YKHO):\n return YKHO.__property_group_item_for_config('All Configurations', 'All Configurations', 'Configuration', 'ConfigurationType')", "def fXa9(YKHO):\n return YKHO._workload_config_type", "def type(YKHO) -> h8nf[qe4Y.Input[uLKX[str, 'ConfigurationType']]]:\n return qe4Y.get(YKHO, 'type')...
[ "0.7181017", "0.69086325", "0.6700219", "0.6447441", "0.6443157", "0.6070608", "0.6020306", "0.6000946", "0.6000946", "0.5998083", "0.5969873", "0.5947051", "0.5870936", "0.58709246", "0.58709246", "0.5859691", "0.5661936", "0.5612546", "0.5603823", "0.5577677", "0.55728924",...
0.87145036
0
Compute variances and means and save in rootgroup object
def nrOs(tRwy, gZq9, WhY1, MOUP, JpXh, N01D, WPdU): ElYN = MOUP.variables['var_M'][gZq9, WhY1, :, :, :].shape A_4F = oyIN.zeros(ElYN) * oyIN.nan B35W = oyIN.zeros(ElYN) * oyIN.nan ZXkC = oyIN.zeros(ElYN) * oyIN.nan mJn8 = oyIN.zeros(ElYN) * oyIN.nan pYkG = oyIN.zeros(ElYN) * oyIN.nan YZu1 = ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def W2X8(YKHO):\n jHSH = YKHO.tree['poly']\n iiGX = YKHO._calc_domain_vol(jHSH)\n K3B_ = YKHO.get_leaves()\n JBMS = 0.0\n SRYB = 0.0\n for kjp6 in K3B_:\n Tnn7 = YKHO.get_node(kjp6)['poly']\n cHtl = YKHO._calc_domain_vol(Tnn7)\n GUUu = Tnn7.coefficients\n JBMS += cHtl ...
[ "0.69735473", "0.6750164", "0.6480824", "0.6374966", "0.6349473", "0.6285235", "0.6148876", "0.6098965", "0.6092957", "0.6088655", "0.6052704", "0.6026213", "0.60222346", "0.6011381", "0.60029364", "0.5994111", "0.59937656", "0.59862363", "0.5982426", "0.5981215", "0.593357",...
0.5929136
21
Make foreground mask. With otsu thresholding, make simple foreground mask.
def hPOv(YKHO, THEQ, zNig=5000, VNfd=False, F1BP=False, FYKK='otsu', T8H5=30, Np5D=190): if 'foreground' in YKHO.classes: print('foreground is already calculated.') return if F1BP and VNfd: NXpY = YKHO.get_scale(zNig, VNfd, F1BP) Y4oz = YKHO._round(str(VNfd * NXpY)) OVll ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def D5uG(QnV5, VU7a=15, lvFf=200, regS=False, VJFN=False):\n G4e4 = XC5k.cvtColor(QnV5, XC5k.COLOR_RGB2HSV)\n inBJ = G4e4[:, :, 1]\n jUwU = XC5k.GaussianBlur(inBJ, (VU7a, VU7a), 0)\n bGrB, ZHfW = XC5k.threshold(jUwU, 0, 255, XC5k.THRESH_BINARY + XC5k.THRESH_OTSU)\n if regS:\n ZHfW = Zxt2.ndim...
[ "0.687933", "0.68510294", "0.6511215", "0.6395755", "0.62262154", "0.6071483", "0.6060076", "0.59795713", "0.5942553", "0.59392357", "0.59331715", "0.5915518", "0.590159", "0.58947456", "0.58914757", "0.5867109", "0.58607507", "0.58607507", "0.5843001", "0.583577", "0.5799333...
0.6519916
2
Make mask of foreground from min and max value. Pixels with value between min_ and max_ is converted to 1 as foreground, and value less than min_ and more than max_ is converted to 0 as background.
def _lzp(YKHO, K2z9, T8H5, Np5D): ZHfW = ((T8H5 <= K2z9) & (K2z9 <= Np5D)).astype(oyIN.uint8) return ZHfW
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def fVUE(YKHO, THEQ, zNig=2000, NKcE='otsu', T8H5=30, Np5D=190):\n if 'foreground' in YKHO.classes:\n return\n yQIp = oyIN.asarray(THEQ.get_thumbnail(zNig))\n K2z9 = XC5k.cvtColor(yQIp, XC5k.COLOR_RGB2GRAY)\n if NKcE == 'minmax':\n ZHfW = YKHO._minmax_mask(K2z9, T8H5, Np5D)\n elif call...
[ "0.6384148", "0.62805414", "0.61379254", "0.6124703", "0.6063935", "0.6045843", "0.60407615", "0.6006396", "0.5987355", "0.5965297", "0.59460104", "0.59460104", "0.59460104", "0.59017825", "0.5896308", "0.58951175", "0.58842313", "0.5882006", "0.58696777", "0.5837208", "0.582...
0.73430306
0
Get a feedback vertex set of the given graph. May or may not be optimal. This will return a set of vertex whose removal will make the graph acyclic.
def d_8Q(YKHO, pNZh: Graph) -> set: pass
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def hXtZ(pNZh):\n K2kF = eYNV(pNZh, process_vertex_early=IIXm, process_vertex_late=W_3M, process_edge=syzD)\n K2kF.result = set()\n for Ty9i in pNZh.vertices:\n YEnM = K2kF[Ty9i]\n if YEnM.state == eYNV.UNDISCOVERED:\n K2kF.execute(Ty9i)\n return K2kF.result", "def iXlf(pNZh)...
[ "0.7000798", "0.6835106", "0.6374592", "0.6352625", "0.62185454", "0.61668134", "0.6157789", "0.60959655", "0.60930413", "0.60910624", "0.60889316", "0.60748905", "0.60603213", "0.60337436", "0.6029485", "0.6025441", "0.6019986", "0.6008139", "0.60069424", "0.5990358", "0.598...
0.6096814
7
get data abspath by join DATA_PATH
def UbCI(i0XC: object) -> object: return Hy7s.path.join(qclk, i0XC)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def s8df(YKHO, i0XC):\n return Hy7s.path.join(YKHO.get_path(YKHO.config['data']), i0XC)", "def nPrm(*ckRy):\n return QEe_.joinpath(*ckRy)", "def i0XC(Pf49):\n return Pf49", "def s8df(PsRC):\n Ux0P = tq_1.getframeinfo(tq_1.currentframe()).filename\n VqRE = Hy7s.path.dirname(Hy7s.path.abspath(Ux...
[ "0.7508481", "0.747931", "0.7355087", "0.7336905", "0.72618645", "0.7096834", "0.69847447", "0.6963549", "0.69226813", "0.69226813", "0.68940777", "0.6894037", "0.6889767", "0.68890995", "0.68850285", "0.6785643", "0.67526495", "0.67468363", "0.6725678", "0.66871727", "0.6687...
0.72749025
4
Returns an ascii art image of an empty fretboard.
def h6Wq(YKHO): return YKHO.plot(pattern=None)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def eXeU(YKHO):\n return OFAI.new('RGB', (YKHO.tilesize, YKHO.tilesize))", "def AFif():\n return [['.' for bGrB in range(9)] for bGrB in range(9)]", "def jpwo(yzQ0, MKlR):\n LNo8 = []\n for zFiD in Ni9Y(MKlR):\n LNo8.append([255] * yzQ0)\n return LNo8", "def nfRs(TVTK, H2v2):\n Qi3c ...
[ "0.66208863", "0.65467954", "0.64809954", "0.632639", "0.6317031", "0.62668353", "0.62210697", "0.6210921", "0.6207637", "0.61924875", "0.6182059", "0.61495817", "0.61489874", "0.612725", "0.6123578", "0.61161786", "0.61038905", "0.60873514", "0.60729617", "0.6059411", "0.603...
0.0
-1
Return the score that the player gets in this game This getter method allow the access to the attribute score
def vNP6(YKHO): return YKHO._score
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def SQRS(YKHO):\n return YKHO.score", "def vNP6(YKHO):\n return YKHO.score", "def hckV(YKHO):\n return YKHO.score", "def hckV(YKHO):\n return YKHO.data.score", "def hckV(YKHO):\n return YKHO.__score", "def hckV(YKHO):\n H5ew = 'score1' if YKHO.vars['player'] == 1 else 'score2'\n retu...
[ "0.88183475", "0.86763114", "0.8597616", "0.850548", "0.8503057", "0.84984523", "0.8489149", "0.8479224", "0.8453799", "0.8450057", "0.8450057", "0.8408369", "0.8401834", "0.8360119", "0.83471555", "0.8282925", "0.82113916", "0.8167843", "0.81130767", "0.8083616", "0.80431813...
0.83947253
13
Returns the current state of the game. This getter method allow the access to the attribute state
def GBfH(YKHO): return YKHO._state
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def ja6o(YKHO):\n return YKHO.game.get_state()", "def j3Sc(YKHO):\n return YKHO._game_state", "def j3Sc(YKHO):\n return YKHO._game_state", "def j3Sc(YKHO):\n return YKHO._game_state", "def j3Sc(YKHO):\n return YKHO._game_state", "def j3Sc(YKHO):\n return YKHO._game_state", "def j3Sc(Y...
[ "0.864164", "0.83995986", "0.82763517", "0.82763517", "0.82763517", "0.82763517", "0.82763517", "0.82763517", "0.82763517", "0.82763517", "0.82763517", "0.82763517", "0.82763517", "0.82763517", "0.82763517", "0.79330885", "0.78607035", "0.7850519", "0.78477824", "0.7819684", ...
0.7640632
40
Returns the current value of the attribute _fail. This getter method allow the access to the attribute _fail
def whMZ(YKHO): return YKHO._fail
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def pf3D(YKHO):\n if not YKHO.is_failed():\n raise AttributeError(\"tag 'failed' not set\")\n return YKHO._value", "def pf3D(YKHO):\n if not YKHO.is_failed():\n raise AttributeError(\"tag 'failed' not set\")\n return YKHO._value", "def pf3D(YKHO):\n if not YKHO.is_failed():\n ...
[ "0.82684726", "0.82684726", "0.82684726", "0.82684726", "0.82684726", "0.81517196", "0.77072644", "0.7577549", "0.7388529", "0.7388529", "0.73437923", "0.72239274", "0.72239274", "0.722278", "0.7222076", "0.7072346", "0.7002052", "0.69744015", "0.69112724", "0.6890815", "0.68...
0.8949963
0
Returns the current value of the attribute _allkilled. This getter method allow the access to the attribute _allkilled
def XeSv(YKHO): return YKHO._allkilled
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def WvtM(YKHO):\n return YKHO.__killed", "def vgX7(YKHO):\n return YKHO.data.wardKilled", "def S0sQ(YKHO):\n return YKHO.data.doubleKills", "def QsJT(YKHO):\n return YKHO.data.minionsKilled", "def CUCP(YKHO):\n return YKHO.data.superMonsterKilled", "def ZvLx(YKHO):\n return YKHO.data.ba...
[ "0.7399895", "0.7209587", "0.6990175", "0.6987753", "0.69868386", "0.6971343", "0.69347066", "0.6806291", "0.6787517", "0.6778938", "0.6762415", "0.6745487", "0.67397535", "0.6671874", "0.6660137", "0.66483194", "0.65430427", "0.64947635", "0.6485677", "0.6323411", "0.6279776...
0.8009801
0
Returns the current value of the hidden attribute _lives. This getter method allow the access to the hidden attribute _lives
def BAnG(YKHO): return YKHO._lives
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Nq9U(YKHO):\n return YKHO.__lives", "def Nq9U(YKHO):\n return YKHO.__lives", "def Nq9U(YKHO):\n return YKHO.lives", "def Nq9U(YKHO):\n return YKHO.lives", "def GBxl(YKHO):\n return YKHO._lives", "def Nq9U(YKHO):\n return YKHO._lives", "def Nq9U(YKHO):\n H5ew = 'lives1' if YKHO....
[ "0.8048431", "0.8048431", "0.80161214", "0.80161214", "0.7992805", "0.7949195", "0.7558039", "0.74145484", "0.74145484", "0.70756775", "0.70756775", "0.6970631", "0.6633286", "0.63127565", "0.62905234", "0.6224278", "0.61374193", "0.58900875", "0.57060796", "0.570164", "0.569...
0.7233153
9
Method to determine whether or not all the aliens are killed If all aliens are killed, set attribute _allkilled to True and player wins the game
def YClS(YKHO): jzdc = True for YRbF in YKHO._aliens: if YRbF is not None: for r845 in YRbF: if r845 is not None: jzdc = False YKHO._allkilled = jzdc
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def fjIk(YKHO):\n return YKHO.data.neutralMinionsKilledYourJungle", "def CUCP(YKHO):\n return YKHO.data.superMonsterKilled", "def v_cV(YKHO):\n xGD7 = [PXGI for PXGI in YKHO.sub_units if PXGI.is_alive]\n for PXGI in xGD7:\n PXGI.attack_won()", "def zpW2(YKHO):\n if len(YKHO.enemies) == ...
[ "0.6693455", "0.64336693", "0.6288718", "0.6197088", "0.6158563", "0.6124721", "0.6042896", "0.6022277", "0.601244", "0.59954286", "0.5892837", "0.5874325", "0.5873377", "0.5865334", "0.5835643", "0.58259237", "0.5815135", "0.57692194", "0.57663584", "0.575573", "0.5741156", ...
0.720205
0
Check if every table and column exists in target snowflake
def izQ9(YKHO): iJoX.assert_cols_in_table(YKHO.e2e_env.run_query_target_snowflake, 'ppw_e2e_tap_s3_csv', 'countries', ['CITY', 'COUNTRY', 'CURRENCY', 'ID', 'LANGUAGE'], schema_postfix=YKHO.e2e_env.sf_schema_postfix) iJoX.assert_cols_in_table(YKHO.e2e_env.run_query_target_snowflake, 'ppw_e2e_tap_s3_csv', 'people...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def XOvA(pB3N):\n WfCS = pB3N.keys()\n return all((LihS in WfCS for LihS in wbEc))", "def bb3a(WLu7, NCls, xU0C, eo7p):\n xDcj = 'select \"column\" from pg_table_def where tablename=%(tablename)s AND schemaname=%(schemaname)s'\n for tyNF in xU0C:\n y8rd = {'tablename': tyNF, 'schemaname': eo7p...
[ "0.69595504", "0.68699884", "0.6545425", "0.64072484", "0.62634057", "0.6222703", "0.6165866", "0.61224216", "0.59989375", "0.59939826", "0.5958528", "0.5923972", "0.59082866", "0.59061295", "0.58555806", "0.5847849", "0.5838604", "0.58249295", "0.5805841", "0.5802871", "0.57...
0.63020235
4
Returns an object containing only what needs to be sent back to the user.
def Hntc(rdlD): return {'userName': rdlD['userName'], 'categories': rdlD['categories'], 'imageName': rdlD['imageName'], 'refToImage': rdlD['refToImage'], 'imgDictByTag': rdlD['imgDictByTag'], 'canView': rdlD['canView'], 'imgDictByImage': rdlD['imgDictByImage']}
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def T_2m(YKHO, QePW, *qIxc, **B2fa):\n return {}", "def KXjL(YKHO):\n return {'name': YKHO.name, 'author': YKHO.author, 'user': YKHO.user, 'urlKey': YKHO.urlKey, 'ingredients': YKHO.ingredients, 'instructions': YKHO.instructions, 'recipeYield': YKHO.recipeYield, 'tags': YKHO.tags}", "def zAg0(YKHO):\n ...
[ "0.5849679", "0.58140224", "0.57925624", "0.56816745", "0.5648908", "0.56375813", "0.5608495", "0.55985725", "0.5553863", "0.5545777", "0.550169", "0.54718786", "0.54572093", "0.54365224", "0.5435009", "0.5432313", "0.5421133", "0.54194695", "0.54115397", "0.5404836", "0.5401...
0.0
-1
Return the client properties dictionary.
def xhkk(YKHO) -> dict: return {'product': OmR9, 'platform': 'Python %s' % a9EH.python_version(), 'capabilities': {'authentication_failure_close': True, 'basic.nack': True, 'connection.blocked': True, 'consumer_cancel_notify': True, 'publisher_confirms': True}, 'information': 'See https://aio-pika.readthedocs.io/',...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def ROHG(YKHO):\n return {'subClientProperties': {'proxyClient': YKHO._proxyClient, 'subClientEntity': YKHO._subClientEntity, 'content': YKHO._content, 'commonProperties': YKHO._commonProperties, 'contentOperationType': 1, 'snapCopyInfo': YKHO._snap_copy_info}}", "def Iso7(YKHO):\n return {}", "def C9U5(...
[ "0.7448066", "0.7365969", "0.73164165", "0.72890526", "0.71920365", "0.70836234", "0.7026771", "0.70202047", "0.69778425", "0.6974671", "0.6963618", "0.69612503", "0.6959036", "0.6938611", "0.6927447", "0.6924407", "0.69044703", "0.69040114", "0.68873197", "0.6844709", "0.680...
0.7738383
0
Calculates cross between two vectors.
def WHx2(z1Rg, jzdc, Fg_i): YRSS, rUT8 = z1Rg aNZO, xQ3W = jzdc bcP8, xEOs = Fg_i return (aNZO - YRSS) * (xEOs - rUT8) - (xQ3W - rUT8) * (bcP8 - YRSS)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def WHx2(hQHm, jlSq):\n return hQHm[0] * jlSq[1] - hQHm[1] * jlSq[0]", "def WHx2(jzdc, Fg_i):\n return (jzdc[1] * Fg_i[2] - jzdc[2] * Fg_i[1], jzdc[2] * Fg_i[0] - jzdc[0] * Fg_i[2], jzdc[0] * Fg_i[1] - jzdc[1] * Fg_i[0])", "def gjuw(hQHm, jlSq):\n return oyIN.cross(hQHm, jlSq).view(R27r)", "def hmBT...
[ "0.83678216", "0.8207316", "0.8204804", "0.8165353", "0.81446797", "0.81326765", "0.81229544", "0.8052819", "0.8020296", "0.7992781", "0.7978599", "0.7969992", "0.78837687", "0.78687453", "0.7859054", "0.78423333", "0.78361654", "0.78319025", "0.78270566", "0.777944", "0.7757...
0.7239909
47
Returns a tuple. First value is True if the path is a valid storage path. The second value is a string message describing the problem if the first value is False (invalid storage path).
def TbQ3(YKHO, pmON, Bcp5): if pmON == Hy7s.path.sep: return (False, 'Please provide a directory name for the storage.') if Bcp5: if not Hy7s.path.isabs(pmON): return (False, '* The current OS storage path must be absolute.') return (True, None)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def YYOZ(pmON):\n return str", "def YYOZ(YKHO):\n tn62 = YKHO.pathLine.palette()\n pmON = YKHO.getPath().strip()\n vtfo = Hy7s.path.exists(pmON)\n qfpW = YKHO.validColor\n Ol8d = ''\n type = YKHO.WARNING\n YKHO.valid = True\n if pmON == '' and YKHO.must_be_set:\n Ol8d = YKHO.req...
[ "0.6569882", "0.6110471", "0.61085916", "0.60738003", "0.6057502", "0.6043731", "0.5994043", "0.598107", "0.59452385", "0.5935383", "0.59295154", "0.59025216", "0.5892011", "0.5886268", "0.5884975", "0.5800835", "0.58002084", "0.5793996", "0.57919735", "0.57919735", "0.579021...
0.7145976
0
For ``A`` + ``B``. Where ``A`` is this coordinate system, and ``B`` is ``other``.
def FOdN(YKHO, Elif): if isinstance(Elif, L3Cw): LgoT = YKHO.local_to_world_transform cI6j = Elif.local_to_world_transform return YKHO.from_transform(LgoT.multiply(cI6j)) elif isinstance(Elif, QdbL.Vector): return Elif.transform(YKHO.local_to_world_transform) elif isinstance(...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def FOdN(YKHO, Elif):\n return PvyL(YKHO.x + Elif[0], YKHO.y + Elif[1])", "def HEGj(YKHO, Elif):\n return YKHO.parent(YKHO.gap() + Elif.gap())", "def FOdN(YKHO, Elif):\n jHsn = YKHO.x + Elif.x\n pvd3 = YKHO.y + Elif.y\n return PvyL(jHsn, pvd3)", "def FOdN(YKHO, Elif):\n return fIXy(YKHO.x()...
[ "0.7998076", "0.7953474", "0.7938328", "0.7937014", "0.7926489", "0.79238605", "0.78831756", "0.7855505", "0.7837248", "0.78234285", "0.7772422", "0.776725", "0.776725", "0.7739179", "0.7730636", "0.7720133", "0.7719687", "0.7676566", "0.7632599", "0.7632599", "0.7632599", ...
0.7731182
14
Returns the guild widget channel's representation.
def wHJl(YKHO): return f'<{YKHO.__class__.__name__} id = {YKHO.id}, name = {YKHO.name!r}>'
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def YwkQ(YKHO):\n return min1(YKHO.channel_id, gUPQ.guild_text, 0)", "def wHJl(YKHO):\n return f\"<#Channel '{YKHO.name}' {YKHO.id}>\"", "def wHJl(YKHO) -> str:\n QpfX = ' '.join(('{}={}'.format(G1Hx, Ty9i) for G1Hx, Ty9i in YKHO._solution.items()))\n return '<Twilio.Chat.V3.ChannelInstance {}>'.fo...
[ "0.6819392", "0.6738963", "0.6734683", "0.67256075", "0.65445524", "0.6434136", "0.6387577", "0.63627195", "0.6295716", "0.6267819", "0.6265442", "0.6222661", "0.62121695", "0.62079495", "0.6054651", "0.60459787", "0.60459787", "0.60459787", "0.60459787", "0.6042924", "0.6042...
0.0
-1
Returns the guild widget channel's hash value.
def rjHV(YKHO): sAxw = 0 sAxw ^= YKHO.id sAxw ^= hash(YKHO.name) sAxw ^= hash(YKHO.position) return sAxw
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def OoXC(YKHO):\n return HBct.md5((YKHO.platform + YKHO.channel + YKHO.type).encode()).hexdigest()", "def OoXC(YKHO):\n return YKHO.hash", "def uk0M(YKHO):\n return YKHO.hash", "def OoXC(YKHO):\n return YKHO._hash", "def hash(YKHO):\n if YKHO.__stats:\n return YKHO.__stats['hash']", ...
[ "0.7167577", "0.6462989", "0.64372617", "0.6397554", "0.63925165", "0.63286144", "0.6327381", "0.6273713", "0.6212444", "0.62111187", "0.61498076", "0.61469954", "0.61062074", "0.6085828", "0.607795", "0.6073942", "0.60447294", "0.6014069", "0.6014069", "0.59780943", "0.59706...
0.0
-1
Returns whether the two guild widget channels are equal.
def xa14(YKHO, Elif): if type(YKHO) is not type(Elif): return NotImplemented return YKHO._is_equal_same_type(Elif)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def UZF7(Yp_0: Union[Lobby, Team, Other], HLm8: Union[Lobby, Team, Other]) -> bool:\n if isinstance(Yp_0, Os2u) and isinstance(HLm8, r2Kd):\n return Yp_0.lobby_name == HLm8.lobby_name\n if isinstance(Yp_0, r2Kd) and isinstance(HLm8, Os2u):\n return Yp_0.lobby_name == HLm8.lobby_name\n if isi...
[ "0.6453452", "0.6422179", "0.61252993", "0.600535", "0.59521985", "0.59452814", "0.59397984", "0.59263223", "0.5866027", "0.5809936", "0.57819146", "0.57572496", "0.57298267", "0.57261676", "0.56959903", "0.56932676", "0.568934", "0.56727594", "0.5651713", "0.56408185", "0.56...
0.0
-1
Returns whether the two guild widget channels are not equal.
def Vdqg(YKHO, Elif): if type(YKHO) is not type(Elif): return NotImplemented return not YKHO._is_equal_same_type(Elif)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Vdqg(YKHO, Elif: 'ComponentSettingsFieldsShown') -> bool:\n return not YKHO == Elif", "def Vdqg(YKHO, Elif):\n if not isinstance(Elif, Ows6):\n return True\n return YKHO.to_dict() != Elif.to_dict()", "def Vdqg(YKHO, Elif: 'ComponentSettingsAggregation') -> bool:\n return not YKHO == Elif...
[ "0.6420154", "0.63811517", "0.627901", "0.6254164", "0.6217924", "0.62117976", "0.6198404", "0.6159573", "0.6153193", "0.613798", "0.61374503", "0.60637987", "0.60385495", "0.6034291", "0.60193", "0.6000436", "0.59400725", "0.5937015", "0.59331137", "0.5924838", "0.5908318", ...
0.0
-1
Returns whether the two guild widget channels are equal. Helper method for ``.__eq__``
def l_QA(YKHO, Elif): if YKHO.id != Elif.id: return False if YKHO.name != Elif.name: return False if YKHO.position != Elif.position: return False return True
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def UZF7(Yp_0: Union[Lobby, Team, Other], HLm8: Union[Lobby, Team, Other]) -> bool:\n if isinstance(Yp_0, Os2u) and isinstance(HLm8, r2Kd):\n return Yp_0.lobby_name == HLm8.lobby_name\n if isinstance(Yp_0, r2Kd) and isinstance(HLm8, Os2u):\n return Yp_0.lobby_name == HLm8.lobby_name\n if isi...
[ "0.6605743", "0.6437355", "0.64136696", "0.63741785", "0.62046397", "0.61881244", "0.61746335", "0.61673516", "0.6152043", "0.6119866", "0.60705096", "0.6047844", "0.6036943", "0.60333514", "0.60209966", "0.600784", "0.60068035", "0.59924775", "0.5986579", "0.59720427", "0.59...
0.0
-1
When supplied a filepath, returns a tuple of the filename and directories
def KkWy(pmON): Kwmb = pmON[:pmON.rfind('/') + 1] Ux0P = pmON[pmON.rfind('/') + 1:] return (Kwmb, Ux0P)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def N739(pmON):\n pGQh = Hy7s.path.dirname(pmON)\n Ux0P = yFjF(pmON)\n return (pGQh, Ux0P)", "def OYco(VqRE):\n Hj7Z, bGrB = Om__.split(VqRE)\n sdCG, ztnR = Hy7s.path.splitext(VqRE)\n Hj7Z, Ux0P = Om__.split(sdCG)\n return (Hj7Z, Ux0P, ztnR)", "def L8j1(Emd4, qaEx: str) -> h8nf[x1iM[str]]:...
[ "0.7432058", "0.70407015", "0.70313", "0.694805", "0.6770202", "0.67518306", "0.67321014", "0.67045265", "0.66819245", "0.6675818", "0.6675254", "0.65663385", "0.65207213", "0.65117264", "0.6494524", "0.64894116", "0.6470755", "0.6456172", "0.645131", "0.6442738", "0.6410805"...
0.68429506
4
Returns a filename without its file extension e.g. myFile.cc would return myFile
def u93D(Ux0P): KCHu = Ux0P finE = KCHu[:KCHu.find('.')] return finE
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def AjhE(YKHO):\n return Hy7s.path.basename(YKHO.file.name).split('.')[0]", "def t5OZ(qaEx):\n return gLx5(aPr_(qaEx))[0]", "def AjhE(qaEx):\n return Hy7s.path.basename(qaEx).split('.')[0]", "def SDd6(Ux0P):\n return Hy7s.path.splitext(Ux0P)[0]", "def icfS(pmON):\n return Hy7s.path.splitext(...
[ "0.8868444", "0.8742792", "0.86900896", "0.8598243", "0.8563015", "0.85121566", "0.8482017", "0.8411967", "0.832601", "0.83137614", "0.8283745", "0.824689", "0.8196427", "0.81924015", "0.81773233", "0.8175066", "0.8167933", "0.8167576", "0.8144686", "0.8144465", "0.81165075",...
0.77939045
55
As strip_ext, but returns the filename and extension in a tuple
def ud_i(Ux0P): KCHu = Ux0P mWFP = KCHu[:KCHu.find('.')] YBcr = KCHu[KCHu.find('.'):] return (mWFP, YBcr)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def mc5t(Ux0P):\n mWFP, YBcr = Hy7s.path.splitext(Ux0P)\n YBcr = YBcr.lower()\n return (mWFP, YBcr.strip('.'))", "def u93D(Ux0P):\n KCHu = Ux0P\n finE = KCHu[:KCHu.find('.')]\n return finE", "def MXbr(FYKK):\n return Hy7s.path.splitext(FYKK)[0]", "def efWQ(Ux0P: str) -> AzJI[str, str]:\n...
[ "0.801243", "0.79235923", "0.7810807", "0.7808497", "0.77805513", "0.7712036", "0.7660364", "0.75027096", "0.74757475", "0.74717855", "0.7438925", "0.73993945", "0.73965794", "0.7372438", "0.73030275", "0.7276544", "0.72645414", "0.7254193", "0.7250475", "0.72448516", "0.7239...
0.7420328
11
Detect collisions between the Good Snake and the Bad Snake, and between the Good Snake and itself. Returns True if there's been a collision and False otherwise.
def Nopo(CQP5, oZpH): for ofbZ in CQP5.get_rects(): for DQ4A in oZpH.get_rects(): if ofbZ.colliderect(DQ4A): return True if CQP5.head_hit_body(): return True return False
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def IhB3(YKHO):\n for mrj1 in YKHO.snake.body[1:]:\n if mrj1 == YKHO.snake.body[0]:\n YKHO.game_over()\n return True\n if YKHO.snake.body[0]['x'] >= YKHO.WIDTH / YKHO.CELL_WIDTH or YKHO.snake.body[0]['y'] >= YKHO.HEIGHT / YKHO.CELL_WIDTH or YKHO.snake.body[0]['x'] < 0 or (YKHO.sn...
[ "0.7433704", "0.73368835", "0.70670843", "0.683622", "0.67903537", "0.67657685", "0.6721752", "0.66125906", "0.6595855", "0.65745986", "0.65305376", "0.65271056", "0.6513827", "0.65112585", "0.65097326", "0.65016025", "0.6421035", "0.642023", "0.6411607", "0.6410242", "0.6386...
0.79528856
0
For a given division, return a list of all teams in that league.
def DtuB(rAjW): aBeJ = qQXR.loads(aden.get_teams_data()) rJco = [] if qqDt is None: for YRbF in range(len(aBeJ)): g75m = aBeJ[YRbF] usUl = sorted(list(g75m['divisions'].keys())) if rAjW in usUl: rJco = sorted(list(g75m['divisions'][rAjW])) ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def FLDm():\n aBeJ = qQXR.loads(aden.get_teams_data())\n Sjlt = set()\n usUl = set()\n rJco = set()\n for YRbF in range(len(aBeJ)):\n g75m = aBeJ[YRbF]\n R8cO = sorted(list(g75m['leagues'].keys()))\n XTEH = sorted(list(g75m['divisions'].keys()))\n Sjlt = Sjlt.union(R8cO)\...
[ "0.73797894", "0.6908196", "0.6892195", "0.6863872", "0.68267393", "0.66072994", "0.6536893", "0.6529954", "0.6462864", "0.6398338", "0.6345118", "0.6320761", "0.6317566", "0.63066053", "0.6298384", "0.62851864", "0.6268309", "0.6219572", "0.61649644", "0.61425775", "0.613378...
0.7584369
0
We expect that on curve c, m(x1,y1) = (x3,y3).
def YRdy(Z9rn, o4D3, si3g, r8hN, rNcn, Sb1k): EBgd = PvyL(Z9rn, o4D3, si3g) Lq8X = EBgd * r8hN Az2M('%s * %d = %s' % (EBgd, r8hN, Lq8X), end=' ') if Lq8X.x() != rNcn or Lq8X.y() != Sb1k: raise yhnB('Failure: should give (%d,%d).' % (rNcn, Sb1k)) else: Az2M(' Good.')
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def qaWf(jzdc, Z9rn, Fg_i, Csk6):\n WKvO = (Csk6 - Z9rn) / (jzdc - Fg_i)\n LVAh = (jzdc * Csk6 - Fg_i * Z9rn) / (jzdc - Fg_i)\n return (WKvO, LVAh)", "def fR9w(YKHO, XP5J: int, vexM: int, WKvO: float, LVAh: float) -> float:\n return YKHO.k * WKvO * (1 - WKvO * LVAh) ** 3", "def Ka3r(epBp):\n ret...
[ "0.61901", "0.60942215", "0.59682167", "0.5892525", "0.5875457", "0.582698", "0.578387", "0.5707932", "0.5707932", "0.5698018", "0.569425", "0.56746066", "0.5640414", "0.5622911", "0.5610024", "0.56011987", "0.5582559", "0.5563837", "0.55552876", "0.5551555", "0.553938", "0...
0.6118462
1
View function for home page of site.
def d6pt(QePW): return _1tc(QePW, 'index.html')
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def kZiy(QePW):\n return _1tc(QePW, 'base/home.html')", "def C_QL():\n return TvZl('home.html')", "def kZiy(QePW):\n return _1tc(QePW, 'core/home.html')", "def nspo(QePW):\n return _1tc(QePW, 'generic/home.html')", "def nspo(QePW):\n return _1tc(QePW, 'generic/home.html')", "def kZiy():\n ...
[ "0.8521128", "0.8379754", "0.8353459", "0.83415544", "0.83415544", "0.83171177", "0.830583", "0.8298624", "0.8296122", "0.8263442", "0.8224959", "0.8217078", "0.8206788", "0.81901366", "0.81901366", "0.8182092", "0.8176577", "0.81756383", "0.8147583", "0.81347877", "0.8134787...
0.0
-1
Reverse strings between parentheses, starting with innermost strings.
def GoVQ(vIwR): E5BI = [] for Z9rn in vIwR: if Z9rn == ')': Z9B8 = [] while E5BI[-1] != '(': Z9B8.append(E5BI.pop()) E5BI.pop() E5BI.extend(Z9B8) else: E5BI.append(Z9rn) return ''.join(E5BI)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def gxEw(YKHO, vIwR):\n vIwR = vIwR[::-1]\n BdN0 = ''\n for YRbF in range(len(vIwR)):\n if vIwR[YRbF] == '(':\n BdN0 += ')'\n elif vIwR[YRbF] == ')':\n BdN0 += '('\n else:\n BdN0 += vIwR[YRbF]\n return BdN0", "def gxEw(KCHu):\n return I4rr(KCHu...
[ "0.74790937", "0.6662894", "0.65821606", "0.6570764", "0.6568368", "0.65569544", "0.6514597", "0.64522266", "0.6423352", "0.6422864", "0.640856", "0.639875", "0.63798773", "0.6345781", "0.63365424", "0.6328006", "0.63184243", "0.6304247", "0.6292172", "0.62848383", "0.6253026...
0.7165571
1
Set whether tool is licensed to execute.
def ku2f(YKHO): return True
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def riqM(YKHO):\n pass", "def ku2f(YKHO):\n try:\n if ZO_c.CheckExtension('Spatial') == 'Available':\n return True\n else:\n return False\n except:\n return False\n return True", "def ku2f(YKHO):\n try:\n if ZO_c.CheckExtension('Spatial') == 'Ava...
[ "0.6934165", "0.6712352", "0.6709214", "0.6699145", "0.6699145", "0.6699145", "0.6699145", "0.66979116", "0.66979116", "0.66979116", "0.6694129", "0.6668929", "0.6662326", "0.64707255", "0.64440554", "0.63952094", "0.63952094", "0.63952094", "0.63952094", "0.63952094", "0.639...
0.6334155
76
Loads an object model.
def DwJu(YKHO, WBAH, uqvc, **B2fa): raise NotImplementedError
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def uyMl():\n return", "def uyMl(YKHO):\n pass", "def uyMl(YKHO):\n pass", "def uyMl(YKHO):\n pass", "def uyMl(YKHO):\n pass", "def O5RJ(YKHO) -> wOed:\n return uyMl('models/' + YKHO._model_name, custom_objects={})", "def uyMl():\n pass", "def uyMl():\n pass", "def tyeH(YKHO...
[ "0.84682745", "0.8454325", "0.8454325", "0.8454325", "0.8454325", "0.82042086", "0.81155366", "0.81155366", "0.80161434", "0.78443116", "0.7805284", "0.7802059", "0.77701694", "0.77572995", "0.77496994", "0.77470624", "0.7639119", "0.7605819", "0.7586132", "0.7584675", "0.755...
0.0
-1
Created batches from an dataset that are bucketed by the input sentences sequence lengths. Creates placeholders that are filled by QueueRunners. Before executing the placeholder it is therefore required to start the corresponding threads using `tf.train.start_queue_runners`.
def oImy(__n6, uxrk, JkES, Ep8u): NyTJ = tttX.n_threads Rhv4, ND4z, yCuz = __n6.load(max_samples=uxrk) print('Loaded {} dataset sentences.'.format(len(Rhv4))) Dc6u = None if tttX.cache_preprocessed: Dc6u = Q1gf.cache_precalculated_features(yCuz) print('Cached {} waveforms.'.format(le...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def TxBl(YKHO):\n YKHO.word_ids = ZylS.placeholder(ZylS.int32, shape=[None, None], name='word_ids')\n YKHO.word_ids_dress_left_coup = ZylS.placeholder(ZylS.int32, shape=[None, None], name='word_ids_dress_left_coup')\n YKHO.word_ids_jean_left_coup = ZylS.placeholder(ZylS.int32, shape=[None, None], name='wo...
[ "0.6729149", "0.6670065", "0.6665892", "0.66168743", "0.653337", "0.6514486", "0.64973783", "0.6492245", "0.644154", "0.6431959", "0.640025", "0.6344059", "0.63370126", "0.628513", "0.62831634", "0.6248067", "0.62461454", "0.62121177", "0.62073016", "0.6199204", "0.61922705",...
0.7553595
0
Creates a data frame where each row is a window of samples from the time series. Each consecutive row is a shift of 1 cell from the previous row.
def IFzb(dsk7: pd.DataFrame, yMhW: int, CsZy: bool=True): EqH9 = dsk7 vC7c = EqH9.copy() for YRbF in range(yMhW - 1 + int(CsZy)): EqH9 = rLdf.concat([EqH9, vC7c.shift(-(YRbF + 1))], axis=1) EqH9 = EqH9.dropna(axis=0) return EqH9
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def bQwT(nPrm, p5dt):\n jWe2 = list()\n for YRbF in range(p5dt, len(nPrm)):\n aWuw = nPrm[YRbF - p5dt:YRbF + 1]\n jWe2.append(aWuw)\n return jWe2", "def KE8P():\n L3F1 = 0\n __n6 = ZKpD(VQbr)\n dCqV: ZylS.data.Dataset = __n6.window(size=yMhW + TLIt, shift=1, drop_remainder=True)\n...
[ "0.70088947", "0.6817718", "0.67951", "0.67769396", "0.666927", "0.6638591", "0.65666217", "0.6466285", "0.6416758", "0.6385552", "0.63760406", "0.63607657", "0.6358662", "0.63513374", "0.62897176", "0.6280959", "0.62753046", "0.6251811", "0.6249569", "0.62044066", "0.619152"...
0.62351066
19
Returns the first n1 columns as X, and the last column as y. Useful mainly for forecasting scenarios
def tPCe(EqH9): EcVT = EqH9.iloc[:, :-1].values LVAh = EqH9.iloc[:, -1].values return (EcVT, LVAh)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def by_D(jQ3Z: pd.DataFrame) -> (oyIN.ndarray, oyIN.ndarray):\n EcVT = jQ3Z.iloc[:, 2:30].values\n LVAh = jQ3Z.Class.values\n return (EcVT, LVAh)", "def n8Ps(jQ3Z):\n pSfY = rLdf.DataFrame({'ones': oyIN.ones(len(jQ3Z))})\n nPrm = rLdf.concat([pSfY, jQ3Z], axis=1)\n return nPrm.iloc[:, :-1].valu...
[ "0.6595229", "0.64193857", "0.6394925", "0.63506675", "0.62150544", "0.61955845", "0.61955845", "0.6089798", "0.6087684", "0.6083671", "0.6064017", "0.60424834", "0.6001951", "0.5918676", "0.5907757", "0.59017575", "0.58626586", "0.58333564", "0.5833118", "0.58315104", "0.580...
0.0
-1
Return the model's database manager.
def p9bx(YKHO): return YKHO.m_database
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def u_OD(YKHO):\n return YKHO.db", "def bfMs(YKHO):\n return YKHO.__manager", "def Hss2(YKHO):\n if hasattr(YKHO, 'dbm'):\n return YKHO.dbm\n return None", "def Hss2(YKHO):\n if hasattr(YKHO, 'dbm'):\n return YKHO.dbm\n return None", "def wRXJ(YKHO):\n return YKHO._dataMo...
[ "0.7221465", "0.71473134", "0.714262", "0.714262", "0.7080401", "0.7077076", "0.7027282", "0.6973896", "0.69378626", "0.69375044", "0.6905575", "0.68602973", "0.68446636", "0.68365204", "0.68223804", "0.68223804", "0.6815624", "0.6789156", "0.6788008", "0.6756446", "0.6754548...
0.6581312
32
Return n roughly evenly sized chunks from l. The last will always be shortest
def eHxA(vC9B, exwG): ywwl = int(oyIN.ceil(float(len(vC9B)) / float(exwG))) for YRbF in range(0, len(vC9B), ywwl): yield vC9B[YRbF:YRbF + ywwl]
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def eHxA(vC9B, exwG):\n G1Hx, r8hN = divmod(len(vC9B), exwG)\n return list((vC9B[YRbF * G1Hx + min(YRbF, r8hN):(YRbF + 1) * G1Hx + min(YRbF + 1, r8hN)] for YRbF in Ni9Y(exwG)))", "def eHxA(vC9B, exwG):\n Csk6, Mkmy = divmod(len(vC9B), exwG)\n for YRbF in range(exwG):\n QJlQ = (Csk6 + 1) * (YRb...
[ "0.83013046", "0.82884204", "0.82122", "0.8189223", "0.8137424", "0.8103051", "0.8076338", "0.80750257", "0.8061873", "0.80506754", "0.8049903", "0.8044601", "0.80282545", "0.80145407", "0.79832935", "0.79832935", "0.7974312", "0.7958665", "0.79514605", "0.79494536", "0.79335...
0.80383193
12
Returns an estimate of the average KL divergence between a given model and self.policy_model
def jrt7(pR3T, C3ST): VMDe = ht2j.cat([iQnE(ht2j.Tensor(rNYq)).unsqueeze(0) for rNYq in pR3T]) YnXk = C3ST(VMDe).detach() + 1e-08 sJRS = C3ST(VMDe) return ht2j.sum(sJRS * ht2j.log(sJRS / YnXk), 1).mean()
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Zxnm(YKHO, **B2fa) -> laHg.Union[ht2j.Tensor, float]:\n return", "def YS5T(tbAO):\n tbAO = SOCJ(tbAO, allow_nd=True)\n if tbAO.ndim != 3:\n raise ValueError(f'Expected 3D array, got {tbAO.ndim}D array instead.')\n N5XC = tbAO.shape[0]\n UpjC = oyIN.mean(tbAO, axis=0)\n with oyIN.errs...
[ "0.6536448", "0.6369584", "0.6352244", "0.6331722", "0.6273794", "0.6227766", "0.61869574", "0.6119657", "0.6087106", "0.6083743", "0.6049559", "0.6049303", "0.6019296", "0.6018346", "0.5971171", "0.59617394", "0.5914199", "0.58851814", "0.5848095", "0.58366346", "0.5800513",...
0.7245287
0
Returns the product of the Hessian of the KL divergence and the given vector
def r7YD(C3ST, iArr, Bg0X): C3ST.zero_grad() mJ5k = jrt7(C3ST) fyeK = ht2j.autograd.grad(mJ5k, C3ST.parameters(), create_graph=True) FXZ4 = ht2j.cat([Ro40.view(-1) for Ro40 in fyeK]) ltpb = ht2j.sum(FXZ4 * iArr) H5ih = ht2j.autograd.grad(ltpb, C3ST.parameters()) hXpU = ht2j.cat([Ro40.contigu...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def q06J(YKHO, iArr):\n pass", "def F0qG(YKHO, iArr):\n pass", "def Ki8z(YKHO, Ty9i):\n raise NotImplementedError", "def wqM6(YKHO):\n JB7U = YKHO.x_list[-2]\n VTM4 = YKHO.x_list[-1]\n k5v1 = YKHO.g_k\n dGyB = YKHO.g_kp1\n kh9b = YKHO.V_k\n oQHW = YKHO.dim_N\n po_n = VTM4 - JB7U...
[ "0.75487614", "0.7520098", "0.66004485", "0.6396313", "0.6314179", "0.62876666", "0.6270003", "0.62376493", "0.61795855", "0.615498", "0.6123186", "0.6121819", "0.6118499", "0.6093281", "0.60252154", "0.6024338", "0.6007058", "0.59679437", "0.59616673", "0.595592", "0.5937923...
0.68808025
2
Checks for all possible events and handles user interactions such as Spacebar input, pause ('p' key input by default), and pillar collision
def QdZT(YKHO, NArs): YKHO.render() for tvqc in NArs: if tvqc.type == a9eO.KEYDOWN: if tvqc.key == a9eO.K_SPACE: YKHO.speed = -8 YKHO.bird.flap = True YKHO.bird.make_flap() if tvqc.key == a9eO.K_p: YKHO.paused = not ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def XOLG(YKHO, tvqc):\n if tvqc.key == a9eO.K_q:\n HwRy.exit()\n elif tvqc.key == a9eO.K_w:\n YKHO.bships.blue_moving_up = True\n elif tvqc.key == a9eO.K_s:\n YKHO.bships.blue_moving_down = True\n elif tvqc.key == a9eO.K_UP:\n YKHO.rships.red_moving_up = True\n elif tvqc....
[ "0.75330764", "0.7480016", "0.7462233", "0.74376714", "0.74166787", "0.7411424", "0.73449117", "0.7320384", "0.73140574", "0.7297039", "0.72829944", "0.7265287", "0.7261006", "0.7242648", "0.7222411", "0.7201319", "0.71975154", "0.71968234", "0.7194145", "0.7193406", "0.71866...
0.0
-1
Given a directory name, clean it for filesetting remove any nonalphanumeric or "_ " characters replace spaces with dashes lowercase the jawn
def b0i3(TLI7: str) -> str: return ZbWC.sub('[^a-zA-Z0-9_\\- ]', '', TLI7).lower().replace(' ', '-')
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def ZzB8(mWFP):\n return mWFP.replace('/', '_')", "def UXnn(gIsw: str) -> str:\n gIsw = rmDg(gIsw, 1)\n gIsw = ZbWC.sub('__+', '_', gIsw.replace(' ', '_'))\n return gIsw", "def hn5x(L15R):\n iXWR = ZbWC.compile('[!?/\\\\\\\\]')\n hYRG = ZbWC.compile('\\\\s\\\\s+')\n L15R = iXWR.sub(' ', L1...
[ "0.8111515", "0.7759294", "0.7598618", "0.7555267", "0.74673665", "0.7352697", "0.73266095", "0.7306759", "0.7294513", "0.72929245", "0.7248397", "0.72374463", "0.7180789", "0.7167531", "0.71661735", "0.7129161", "0.71285677", "0.7050405", "0.7024557", "0.6986372", "0.6933927...
0.81500924
0
Get the child watcher. If not yet set, a SafeChildWatcher object is automatically created.
def lxgA(YKHO): if YKHO._watcher is None: YKHO._init_watcher() return YKHO._watcher
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def lxgA(YKHO):\n if YKHO._watcher is None:\n YKHO._init_watcher()\n return YKHO._watcher", "def dEJA(YKHO, phWX):\n assert phWX is None or isinstance(phWX, sWc0)\n if YKHO._watcher is not None:\n YKHO._watcher.close()\n YKHO._watcher = phWX", "def dEJA(YKHO, phWX):\n assert phW...
[ "0.86670786", "0.6653004", "0.6547386", "0.5573196", "0.5530495", "0.54406255", "0.53806204", "0.5256824", "0.523638", "0.523638", "0.523638", "0.523638", "0.523638", "0.523638", "0.5230693", "0.5168376", "0.5103395", "0.5098515", "0.5098515", "0.5098515", "0.50882274", "0....
0.86078906
1
Load all letters of given size (25, 81, etc)
def HVNA(Vyhz=['all'], zNig=81, Oq0w=0): from os import listdir from os.path import dirname ObT1 = dirname('/Users/joecipolla/Documents/Reference/Education/490-Deep_Learning/letter_mgmt') if zNig == 25: f440 = ObT1 + '/5x5_alphabet/' elif zNig == 81: f440 = ObT1 + '/9x9_alphabet/' ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Bx13(YKHO):\n YKHO.characters_resized = [Einh(WKvO, (26, 22)) for WKvO in YKHO.characters]", "def VtH9(zNig=8, gLiZ=vIwR.ascii_letters.replace('o', '').replace('O', '')):\n return ''.join((tuKI.choice(gLiZ) for WKvO in range(zNig)))", "def HVNA():\n MJH2 = TLI7(xAKo)\n KAfx = open(gzes(MJH2, 'l...
[ "0.61973685", "0.6180884", "0.6135757", "0.6086032", "0.60630727", "0.5975652", "0.5975652", "0.58998567", "0.58601713", "0.5812069", "0.57708937", "0.574919", "0.57260084", "0.5721587", "0.5721587", "0.5666555", "0.56595993", "0.56537706", "0.565234", "0.5639818", "0.5631115...
0.7528585
0
Computes the generalized KL divergence.
def dzAH(XP5J, vexM, SGf8=1e-20): return ZylS.math.reduce_mean(XP5J * ZylS.math.log((XP5J + SGf8) / (vexM + SGf8)) - XP5J + vexM)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Zxnm(YKHO, **B2fa) -> laHg.Union[ht2j.Tensor, float]:\n return", "def dzAH(YKHO, Elif):\n raise NotImplementedError", "def dzAH(YKHO):\n if hasattr(YKHO, 'h') and hasattr(YKHO, 'w'):\n P1dF = oqGu(YKHO.v, oyIN.dot(YKHO.w, YKHO.h)).sum()\n else:\n P1dF = None\n return P1dF", "...
[ "0.8183225", "0.7743434", "0.771591", "0.76438755", "0.7514867", "0.74143314", "0.72733563", "0.72712284", "0.7265515", "0.7264704", "0.7246191", "0.72438383", "0.72227764", "0.7155663", "0.7123415", "0.7104107", "0.70726466", "0.7046602", "0.70417655", "0.70379233", "0.70370...
0.69633806
29
Generate a carbon intensity forecast based on the data provided.
def zt4r(nPrm, C3ST, yKcO=None, Os4s=None, B1Wx=None, NArs=None): if isinstance(nPrm, rLdf.Series) or (isinstance(nPrm, rLdf.DataFrame) and len(nPrm.columns) == 1): return Vppg(nPrm, C3ST, yKcO, Os4s, B1Wx, NArs) else: return qJ3L(nPrm, C3ST, yKcO, Os4s, B1Wx, NArs)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Vppg(nPrm, C3ST, yKcO=None, Os4s=None, B1Wx=None, NArs=None):\n if NArs is None or 'column_name' not in NArs:\n z0q4 = 'carbon_intensity'\n else:\n z0q4 = NArs['column_name']\n eZth = s1yY(nPrm, z0q4)\n return o6PD(eZth, C3ST, start=yKcO, end=Os4s, resolution=B1Wx, params=NArs)", "d...
[ "0.7402823", "0.5963099", "0.59071594", "0.58290356", "0.57443696", "0.56937397", "0.5616197", "0.55969524", "0.5590328", "0.5588291", "0.5555871", "0.55016035", "0.5315821", "0.53101337", "0.5307236", "0.5297743", "0.5257236", "0.520743", "0.5201883", "0.5199125", "0.5167075...
0.6275467
1
A constructor for a Car object
def FIMM(YKHO, mWFP, u54L, Rci7, C3ap): YKHO.__name = mWFP YKHO.__length = u54L YKHO.__location = Rci7 YKHO.__orientation = C3ap
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def FIMM(YKHO, _6NH, tKrx):\n YKHO.car = _6NH\n YKHO.cdr = tKrx", "def FIMM(YKHO, mWFP, u54L, Rci7, C3ap):\n YKHO.__length = u54L\n YKHO.__orientation = C3ap\n YKHO.__location = Rci7\n YKHO.__name = mWFP", "def rbSE():\n LWQX = _6NH.Wheel(pwm_pin=33, dir_pin_1=35, dir_pin_2=37, pwm_freq=15...
[ "0.79368895", "0.7589983", "0.7163509", "0.71316147", "0.7090464", "0.7025979", "0.69858414", "0.6959387", "0.693621", "0.6809632", "0.6777932", "0.6765412", "0.6744311", "0.6744311", "0.6739095", "0.669848", "0.6686019", "0.66594136", "0.66299975", "0.66203266", "0.66086644"...
0.0
-1
Save the version that was just released.
def mrsB(YKHO, nPrm): YKHO.released_version = nPrm['version']
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def H4lL(YKHO):\n IexU = str(YKHO)\n if YKHO.verbose:\n print(\"Saving version '{} v{}'\".format(YKHO.app_name, IexU))\n with open(YKHO.file, 'w') as hiHK:\n hiHK.write(\"__version__ = '{version}'\\n__app_name__ = '{app_name}'\\n__debian_version__ = '{__debian_version__}'\\n\".format(version...
[ "0.76292735", "0.7553422", "0.69252455", "0.6441111", "0.6435982", "0.6377499", "0.6364373", "0.6358649", "0.63408357", "0.63341975", "0.6300399", "0.62637454", "0.62367004", "0.6214307", "0.61226034", "0.61080444", "0.6101612", "0.6080359", "0.6055364", "0.60376203", "0.6030...
0.6698339
3
Pick a random domain from the list
def aOwb(): zEgx = ['live.com', 'microsoft.com', 'baidu.com', 'hao123.com'] return Acvy(zEgx)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def ZIEX(YKHO):\n zrIJ = tuKI.choice(YKHO.__get_data('all_domain.txt', tgzD('GOOGLE_DOMAIN')))\n if zrIJ in tgzD('BLACK_DOMAIN'):\n YKHO.get_random_domain()\n else:\n return zrIJ", "def Ddot(vC9B):\n if not vC9B:\n return None\n return vC9B[tuKI.randrange(len(vC9B))]", "def ...
[ "0.72842264", "0.6627894", "0.6381419", "0.6335903", "0.627866", "0.6244677", "0.6223178", "0.6200128", "0.6157013", "0.6154448", "0.6144412", "0.61420333", "0.6104796", "0.6103972", "0.60921055", "0.6067432", "0.6056026", "0.60486585", "0.6038875", "0.60374784", "0.60119534"...
0.75459284
0
Return an postfix representation of the infix input expression (containing constants only).
def ZRTg(FGlA): IPme = [] hlel = [] for Z9rn in FGlA: if Z9rn.isnumeric() and int(Z9rn) in range(0, 10): hlel.append(Z9rn) elif Z9rn != ' ': while not qogj(IPme, Z9rn): hlel.append(IPme.pop()) IPme.append(Z9rn) for khtY in IPme[::-1]: ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def XtMr(EP60):\n Maem = {'*': 3, '/': 3, '+': 2, '-': 2, '^': 4, '~': 4, '(': 1}\n L17J = P_Jc()\n P2xj = []\n Jwtf = EP60.split()\n for YRbF in Jwtf:\n if ye72(YRbF):\n P2xj.append(YRbF)\n elif YRbF == '(':\n L17J.push(YRbF)\n elif YRbF == ')':\n ...
[ "0.8074741", "0.8061377", "0.8031858", "0.77685523", "0.775964", "0.7758497", "0.76988775", "0.76794624", "0.75941855", "0.7593531", "0.75676805", "0.75319207", "0.74753135", "0.74139714", "0.73975414", "0.7355335", "0.733807", "0.7234995", "0.7228146", "0.72269833", "0.72173...
0.68429095
33
Return an AST representation (more specifically, a root of instance anytree.Node of the infix input expression (containing constants only).
def J1hy(FGlA): tk5Y = None IPme = [] yr5C = [] for Z9rn in FGlA: if Z9rn.isnumeric(): yr5C.append(o7DN(Z9rn)) elif Z9rn != ' ': while not qogj(IPme, Z9rn): tk5Y = o7DN(IPme.pop()) vlUM = yr5C.pop() ahUI = yr5C.pop()...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def sw91(RXwa):\n T4Dv = 0\n Ux1T = []\n lAza = []\n _AKB = None\n iWx1 = False\n mz0x = False\n for WhQ6 in RXwa:\n tk5Y = AVu5(WhQ6, _AKB)\n if WhQ6.kind in [SVMT.Var, SVMT.Number, SVMT.String]:\n T4Dv += 1 if T4Dv == 0 else 0\n lAza.append(tk5Y)\n ...
[ "0.6642328", "0.65948635", "0.653227", "0.64881706", "0.6487264", "0.647323", "0.62828386", "0.6251942", "0.62444204", "0.6239801", "0.61657226", "0.60529166", "0.60484624", "0.6002529", "0.5993135", "0.5974718", "0.59684086", "0.59628487", "0.5937831", "0.5913384", "0.589664...
0.6459393
6
Convert GeoDatabase shapes to GeoJSON
def zqZk(RNAH): eCTS = 'shapes.geojson' if not Hy7s.path.isfile(eCTS): gnPz.call_cmd(['ogr2ogr', '-progress', '-overwrite', '-skipfailures', '-s_srs', WcRJ, '-t_srs', gnPz.SRS, '-f', 'GeoJSON', eCTS, RNAH, 'GeologicUnits', '-nlt', 'MULTIPOLYGON']) return Hy7s.path.realpath(eCTS)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def IV48(YKHO):\n Gdrf = YKHO.get_geometry_by_shape(use_utm=False)\n if Gdrf is None:\n return\n Csk6 = {'type': 'FeatureCollection', 'features': [{'properties': {'shape_id': ROpF}, 'type': 'Feature', 'geometry': J8oL(SKxV)} for ROpF, SKxV in Gdrf.items()]}\n return qQXR.dumps(Csk6)", "def Mk8...
[ "0.7820638", "0.69835097", "0.69824415", "0.69791424", "0.67013484", "0.6679124", "0.6647924", "0.6520889", "0.6486733", "0.6486419", "0.6475257", "0.6448351", "0.6443333", "0.6430264", "0.6424254", "0.6396107", "0.6394891", "0.6355805", "0.6348202", "0.63383645", "0.632466",...
0.0
-1
Returns true if filename is in form [filename]ext
def LBhr(Ux0P): if not Ux0P.endswith(YBcr): return False return Ux0P[:len(Ux0P) - len(YBcr)].isdigit()
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def XT0o(Ux0P: str) -> bool:\n return '.' in Ux0P and Ux0P.rsplit('.', 1)[1].lower() in PtXs.allow_extensions", "def XT0o(Ux0P, JZxJ):\n return '.' in Ux0P and Ux0P.rsplit('.', 1)[1] in JZxJ", "def XT0o(Ux0P):\n if '.' in Ux0P and Ux0P.rsplit('.', 1)[1] in UWr8:\n return True\n return False"...
[ "0.797207", "0.7959908", "0.78769493", "0.787149", "0.7858524", "0.7852296", "0.7844945", "0.7839685", "0.7830505", "0.7822767", "0.7822083", "0.7812193", "0.7810816", "0.7810816", "0.7810816", "0.7810816", "0.7810816", "0.7810816", "0.7810816", "0.7810816", "0.7810816", "0...
0.8127338
0
Configures mocker instance and patches the client's exact_search to generate an appropriate response.
def e5cU(AZgw): from CrowdStrikeMalquery import exact_search_command qIxc = {'hex': 'hex', 'ascii': 'ascii', 'limit': '5', 'filter_meta': 'sha256, type, size'} No5Q = S3ET('test_data/exact_search_raw_response.json') AZgw.patch.object(x0hE, 'exact_search', return_value=No5Q) Aofo = exact_search_comma...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def PDWV(YKHO):\n return FM6F(get=FM6F())", "def xm5V(YKHO, Ehsq):\n\n def JwfU(bD7m):\n return u0LV()\n Ehsq.setattr(SgM0.requests, 'get', JwfU)\n QOe9 = SgM0.Gmap(bAls)\n ANfV = QOe9.search()\n assert ANfV == {'address': 'fake_address', 'lat': 5000, 'lng': 5000, 'street': 'fake_street'...
[ "0.6545717", "0.6452267", "0.6405078", "0.6234304", "0.62210035", "0.6199173", "0.6181992", "0.6109258", "0.610005", "0.6080812", "0.6061145", "0.59059", "0.58921224", "0.5867165", "0.5776547", "0.57437056", "0.56613845", "0.5655278", "0.56521577", "0.5635925", "0.5632361", ...
0.6243085
3
Configures mocker instance and patches the client's fuzzy_search to generate an appropriate response.
def id62(AZgw): from CrowdStrikeMalquery import fuzzy_search_command qIxc = {'hex': 'hex', 'ascii': 'ascii', 'limit': '10', 'filter_meta': 'sha256, type, size'} iqFb = S3ET('test_data/fuzzy_search_raw_response.json') AZgw.patch.object(x0hE, 'fuzzy_search', return_value=iqFb) Aofo = fuzzy_search_comm...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def PDWV(YKHO):\n return FM6F(get=FM6F())", "def z0p_() -> bDy6[oTvC]:\n yield from xRi9()", "def LKFD(YKHO, LKFD):\n YKHO._fuzzer = LKFD", "def gJYW(YKHO, xjqE, tqRp=None, **B2fa):\n if tqRp is None:\n tqRp = FM6F(**B2fa)\n kQ4O = Po4F(xjqE, tqRp)\n YKHO.addCleanup(kQ4O.stop)\n r...
[ "0.60273975", "0.5939498", "0.58958715", "0.58627015", "0.56837004", "0.5679007", "0.564345", "0.5635624", "0.5593537", "0.55763835", "0.55582327", "0.5542801", "0.5537651", "0.5524761", "0.5485497", "0.5443681", "0.54237473", "0.54170746", "0.5404297", "0.53824854", "0.53778...
0.5632628
8
Configures mocker instance and patches the client's hunt function to generate an appropriate response.
def _Mpo(AZgw): from CrowdStrikeMalquery import hunt_command qIxc = {'yara_rule': 'yara', 'limit': '5', 'filter_meta': 'sha256, type, size'} zNMl = S3ET('test_data/hunt_raw_response.json') AZgw.patch.object(x0hE, 'hunt', return_value=zNMl) Aofo = hunt_command(x0hE, qIxc) assert '096f6aa5-f245-4b...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def C9X5() -> lzH7:\n return lzH7", "def Se5y(Ehsq):\n h2IT.start()\n Ehsq.setitem(Hy7s.environ, 'GLOBUS_SDK_ENVIRONMENT', 'production')\n yield\n h2IT.stop()\n h2IT.reset()", "def Se5y(Ehsq):\n h2IT.start()\n Ehsq.setitem(Hy7s.environ, 'GLOBUS_SDK_ENVIRONMENT', 'production')\n yield...
[ "0.6773482", "0.6721192", "0.6721192", "0.6563445", "0.6327519", "0.63065755", "0.62626386", "0.62352127", "0.62153757", "0.6147527", "0.6140402", "0.60681915", "0.60543334", "0.60497916", "0.60336375", "0.6030483", "0.6023183", "0.6010934", "0.5986354", "0.5977163", "0.59570...
0.5651843
61
Show Terms of service and Privacy Policy
def pbvI(): return {'SITE_NAME': gCuF.SITE_NAME, 'ADMIN_EMAIL': gCuF.ADMIN_EMAIL}
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def FISW(YKHO, DpZH=None):\n DpZH = DpZH or YKHO.apiVersion\n return YKHO.opener.open('http://api.twitter.com/%d/legal/tos.json' % DpZH)", "def HyQd():\n return TvZl('support/privacypolicy.html', title='Privacy Policy')", "def uXEO(YKHO):\n Hy7s.system('cls||clear')\n print('Terms and conditions...
[ "0.69848126", "0.69571257", "0.68618715", "0.6790357", "0.65625525", "0.6523942", "0.64717853", "0.64009017", "0.63470167", "0.6144033", "0.6091315", "0.604696", "0.60334104", "0.60015166", "0.59199566", "0.5900747", "0.58850145", "0.5881947", "0.5871482", "0.5841202", "0.581...
0.6493562
6
Strip and return only the city name from each element of the path list. For example, [("Atlanta", (585.6, 376.8)), ...] > ["Atlanta", ...]
def ZWCE(YKHO): ZWCE, bGrB = zip(*YKHO.path) return ZWCE
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def OXe4(iiMj):\n return [Hy7s.path.basename(WKvO) for WKvO in iiMj]", "def ycz6(YKHO, pmON, tk5Y):\n LnvI = GkAb(pmON.replace(tk5Y, ''))\n dBfS = LnvI.parts[1]\n return dBfS", "def Mixv(U34r):\n VOYe = U34r.xpath('./td[5]/text()')[0]\n EjBN = U34r.xpath('./td[6]/text()')[0]\n qOBR = ZbWC....
[ "0.5826661", "0.577968", "0.5769452", "0.57579666", "0.5680633", "0.56413966", "0.55509937", "0.54825246", "0.5475431", "0.5456305", "0.5441957", "0.54050004", "0.5403595", "0.5403144", "0.5373293", "0.5284054", "0.52524847", "0.5246394", "0.52351934", "0.52320737", "0.522205...
0.0
-1
Calculate the total length of the closedcircuit path of the current state by summing the distance between every pair of adjacent cities. Since the default simulated annealing algorithm seeks to maximize the objective function, return 1x the path length. (Multiplying by 1 makes the smallest path the smallest negative nu...
def Zmkp(YKHO): Ayfi = YKHO.coords() mq4h = 0 for YRbF in range(len(Ayfi)): pImw = 0 o4D3 = Ayfi[YRbF][0] si3g = Ayfi[YRbF][1] if YRbF < len(Ayfi) - 1: ajwV = Ayfi[YRbF + 1][0] skBL = Ayfi[YRbF + 1][1] pImw = epAf.sqrt((o4D3 - ajwV) ** 2 + ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def enKk(Ei9e):\n ye9d = 0\n x1zQ = 0.35\n for YRbF in range(0, len(Ei9e) - 1):\n Ayfi = onTm.get_distance(Ei9e[YRbF], Ei9e[YRbF + 1])\n ye9d += Ayfi * max(x1zQ, 0)\n x1zQ -= 0.05\n return ye9d", "def t8Yj(Ei9e):\n Jbde = 0\n for YRbF in range(0, len(Ei9e) - 1):\n Ay...
[ "0.7120641", "0.70563936", "0.6826367", "0.6709183", "0.6556167", "0.65447253", "0.6506198", "0.6407264", "0.6344573", "0.6340508", "0.630455", "0.62903214", "0.6252683", "0.615322", "0.6136428", "0.6125688", "0.6124892", "0.6085192", "0.6085192", "0.6085192", "0.6085192", ...
0.58133364
51
1. Turning an image into grayscale 2. Downsize the image to INPUT_SHAPE
def okCT(nUeQ): VXjJ = hnIv.open(nUeQ) VXjJ = VXjJ.resize(cHjE) VXjJ = VXjJ.convert('L') return oyIN.array(VXjJ)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def xTbp(VXjJ, ROpF):\n VXjJ = VXjJ.transpose((2, 0, 1)).astype(oyIN.float32)\n VXjJ /= 255.0\n return VXjJ", "def DTzO(YKHO, VXjJ):\n bYI6 = YKHO.input_size / max(VXjJ.size[:2])\n VXjJ = VXjJ.resize((int(VXjJ.size[0] * bYI6), int(VXjJ.size[1] * bYI6)))\n VXjJ = VXjJ.convert('RGB')\n VXjJ = ...
[ "0.72638243", "0.72009283", "0.7121707", "0.7107645", "0.7061362", "0.7050085", "0.70010334", "0.6989606", "0.6986981", "0.6912985", "0.69075835", "0.69054544", "0.6879059", "0.68772775", "0.6866597", "0.6854521", "0.6829373", "0.6815417", "0.68036145", "0.68013525", "0.67694...
0.6882774
12
Generates a new, url safe, base 64 encoded password, and writes it to disk. The generated password is returned, along with the path to the file containing the generated password.
def bX0X(y0cW: str='dircrypt') -> AzJI[bytes, GkAb]: LLH_ = Hy7s.urandom(sQYt) Nc0B = Xbr4(LLH_) q1Cv = uzzj(y0cW, suffix='.password') q1Cv.write_bytes(Nc0B) return (Nc0B, q1Cv)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def ikbr():\n nkVJ = V8yT.generate_password()\n return nkVJ", "def GMX8(OaeV, WWy5, gZgb=''.join([vIwR.ascii_lowercase, vIwR.ascii_uppercase, vIwR.digits, vIwR.punctuation]), u54L=64, Tuqy=256, yokr=None):\n if not Hy7s.path.isfile(WWy5):\n tuKI = jxbx(yokr)\n with open(WWy5, 'w') as Ga6V:...
[ "0.71522266", "0.70029217", "0.695839", "0.68226117", "0.6705992", "0.66737175", "0.6595254", "0.6593511", "0.6495804", "0.64669615", "0.6436442", "0.64055365", "0.63715565", "0.632256", "0.63138956", "0.62758666", "0.6185471", "0.6168322", "0.6167594", "0.61640286", "0.61588...
0.7323808
0
renderer for contact page.
def Mxk0(): return TvZl('contact.html')
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Mxk0():\n return TvZl('contact.html')", "def Mxk0():\n return TvZl('contact.html')", "def Mxk0():\n return TvZl('contact.html', side_data=WAUR())", "def FmUo():\n return TvZl('contact.html')", "def Mxk0():\n return TvZl('contact.html')", "def Mxk0():\n return TvZl('general/contact.h...
[ "0.7637376", "0.75774956", "0.7481495", "0.7421894", "0.73894596", "0.7364191", "0.73030883", "0.7233909", "0.72207963", "0.7219931", "0.7206915", "0.7161737", "0.71613616", "0.713239", "0.71125233", "0.7079081", "0.7000438", "0.69040066", "0.6898589", "0.6870912", "0.6852627...
0.7643242
0
Decorate routes to require login.
def uKii(eHNT): @zaGL(eHNT) def SzLu(*qIxc, **B2fa): if cuiw.get('user_id') is None: return vKnz(nKyW('login', next=nKyW('index'))) return eHNT(*qIxc, **B2fa) return SzLu
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def uKii(JfyU):\n\n @xBlr.wraps(JfyU)\n def WS4m(*qIxc, **B2fa):\n if not 'logged_in' in cuiw:\n return vKnz(nKyW('index', next=QePW.url))\n return JfyU(*qIxc, **B2fa)\n return WS4m", "def uKii(JfyU):\n\n @xBlr.wraps(JfyU)\n def WS4m(*qIxc, **B2fa):\n if Oa1e.user i...
[ "0.7088456", "0.69661", "0.69525415", "0.6949141", "0.6931404", "0.69277924", "0.69114035", "0.6908829", "0.68492377", "0.68424016", "0.68367666", "0.68357086", "0.6820801", "0.6820801", "0.6820801", "0.6820801", "0.6806658", "0.68059635", "0.6781016", "0.6773888", "0.6753291...
0.67959154
18
Returns the string representation of the model
def gTzM(YKHO): return EyO9(YKHO._json)
{ "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 `other` instance is identical to `self`.
def xa14(YKHO, Elif: Any) -> bool: return YKHO is Elif or (isinstance(Elif, ukP6) and YKHO.gql_type == Elif.gql_type)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def kJ0s(YKHO, Elif):\n return YKHO is Elif", "def xa14(YKHO, Elif):\n return YKHO is Elif", "def xa14(YKHO, Elif: object) -> bool:\n return YKHO is Elif", "def xa14(YKHO, Elif):\n return YKHO.is_same(Elif)", "def kJ0s(YKHO, Elif):\n return type(YKHO) is type(Elif)", "def xa14(YKHO, Elif):...
[ "0.87523836", "0.8522009", "0.8471601", "0.84668434", "0.8446647", "0.84234405", "0.84234405", "0.84234405", "0.8361007", "0.8361007", "0.8361007", "0.8361007", "0.8361007", "0.8361007", "0.8361007", "0.8361007", "0.8361007", "0.8361007", "0.8361007", "0.8361007", "0.8361007"...
0.0
-1
Get the filename of the most recent embedding dump.
def Taoj(bjxf, p0w8): return [Hy7s.path.join(p0w8, str(eHNT)) for eHNT in sorted(bjxf, reverse=True)]
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Ux0P(YKHO):\n return YKHO._segments[-1]", "def z2Wb(YKHO):\n return YKHO._latest_ckpt_file_name", "def O36t(CfXJ):\n deXY = SC2F.glob(Hy7s.path.join(CfXJ, '*.pth'))\n deXY.sort()\n if len(deXY) == 0:\n return None\n return deXY[-1]", "def SKMP():\n mWFP = kZw_.path.display_nam...
[ "0.67280966", "0.66599935", "0.6608247", "0.65538234", "0.6538818", "0.6469267", "0.6440549", "0.6434563", "0.6433103", "0.64318395", "0.64076203", "0.6384741", "0.6384474", "0.6360797", "0.63558555", "0.6348898", "0.63347614", "0.63197005", "0.63144636", "0.63043815", "0.630...
0.66977465
1
check if the bpm is used in this ORM measurement
def xc3U(YKHO, mWFP, Jyyj): for vZCo, pOqt in YKHO.bpm: if vZCo == mWFP and pOqt == Jyyj: return True for YJko, pOqt in YKHO.cor: if YJko == mWFP and pOqt == Jyyj: return True return False
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def jP65():\n return False", "def jP65():\n return False", "def jP65():\n return False", "def TRdr(YKHO):\n return YKHO.general_settings['periodic_boundary'] == 1", "def Sdxo(Emd4):\n return x0jf is not None", "def yyeU(YKHO):\n return YKHO.formula in ['PM10', 'PM1', 'PM2.5']", "def c...
[ "0.65944296", "0.65944296", "0.65944296", "0.630352", "0.614767", "0.60917604", "0.6058484", "0.6017669", "0.6017497", "0.59391785", "0.59001416", "0.58890855", "0.58604413", "0.5852141", "0.584089", "0.58287364", "0.57973605", "0.5788418", "0.57581514", "0.575179", "0.574884...
0.0
-1
an instance of bullet at ship position
def FIMM(YKHO, gCuF, Vjhr, C7MP): super().__init__() YKHO.screen = Vjhr YKHO.rect = a9eO.Rect(0, 0, gCuF.bullet_width, gCuF.bullet_height) YKHO.rect.centerx = C7MP.rect.centerx YKHO.rect.top = C7MP.rect.top YKHO.y = float(YKHO.rect.y) YKHO.color = gCuF.bullet_color YKHO.speed_factor = gC...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def FIMM(YKHO, MBtl, Vjhr, C7MP):\n super(GBVa, YKHO).__init__()\n YKHO.screen = Vjhr\n YKHO.rect = a9eO.Rect(0, 0, MBtl.bullet_width, MBtl.bullet_height)\n YKHO.rect.centerx = C7MP.rect.centerx\n YKHO.rect.top = C7MP.rect.top\n YKHO.y = float(YKHO.rect.y)\n YKHO.color = MBtl.bullet_color\n ...
[ "0.7916274", "0.78983784", "0.78677005", "0.7631296", "0.7621924", "0.75649005", "0.7564668", "0.7541111", "0.74377245", "0.7376526", "0.7368703", "0.73686326", "0.7306005", "0.728806", "0.72293144", "0.7163283", "0.7144862", "0.7142749", "0.7135203", "0.7112889", "0.71060234...
0.7159452
16
draw a bullet on screen
def izLs(YKHO): a9eO.draw.rect(YKHO.screen, YKHO.color, YKHO.rect)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def izLs(YKHO):\n TlDD.draw.rect(YKHO.screen, YKHO.colour, YKHO.rect)", "def izLs(YKHO):\n a9eO.draw.rect(YKHO.screen, YKHO.color, YKHO.rect)", "def izLs(YKHO):\n a9eO.draw.rect(YKHO.screen, YKHO.color, YKHO.rect)", "def izLs(YKHO):\n a9eO.draw.rect(YKHO.screen, YKHO.colour, YKHO.rect)", "def i...
[ "0.8842676", "0.8839826", "0.87999403", "0.87985635", "0.8796927", "0.8796927", "0.87818164", "0.87818164", "0.87818164", "0.87818164", "0.87818164", "0.87818164", "0.87818164", "0.87818164", "0.87818164", "0.87818164", "0.87818164", "0.8748137", "0.8429098", "0.8234548", "0....
0.88734037
0
given a text snippet, parse the text and generate ngrams of Wikipedia concepts aggressively. tokens not resolved to concepts will be tokenized as well embeddings for both raw and concept tokens will be returned along with meta data about concepts such as article title and its id if token is not in the trained model, it...
def co5b(YKHO, cSAc='', fPyG=(1, 1), hwHU=set(Dhdw.corpus.stopwords.words('english')), lizb='(?u)\\b\\w\\w+\\b', cKm3=True): from Dhdw import ngrams import re import numpy as oyIN if cKm3 == True: cSAc = cSAc.lower() cSAc = ' '.join(re.findall(lizb, cSAc)) jZrs = [] if hwHU is not No...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def rgPI(l5Ny):\n s2mk = [a1PO.lower() for a1PO in dFss(l5Ny) if len(a1PO) > 5]\n s2mk = [a1PO for a1PO in s2mk if (not a1PO in di0c) & a1PO.isalpha()]\n A1xJ = [NRmQ.lemmatize(a1PO) for a1PO in s2mk]\n A1xJ = list(set(A1xJ))\n dJ1p = Dhdw.pos_tag(A1xJ)\n print('\\nFirst 20 Pos-Tagged lemmas: {}'...
[ "0.63568676", "0.629502", "0.6260187", "0.61403495", "0.60755765", "0.6029048", "0.60000926", "0.5948118", "0.5912324", "0.5881913", "0.5881388", "0.58709747", "0.5867914", "0.5860851", "0.5848307", "0.5839133", "0.5837719", "0.58283997", "0.57940125", "0.5785469", "0.5784156...
0.66577816
0
A question can receive any answer if valid_answers attribute is empty, or if the first key stored in it is "all". Returns True if the question can receive any answer, False otherwise.
def jTSl(YKHO): if len(YKHO._valid_answers) == 0: return True return next(iter(YKHO._valid_answers.keys())) == YKHO.free_answer_key
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def OyZr(YKHO, ANfV: Answer) -> bool:\n rRTz = list(ANfV.content)\n if not rRTz:\n return False\n for YRbF in rRTz:\n if rRTz.count(YRbF) > 1:\n return False\n if YRbF not in YKHO.options:\n return False\n return True", "def OyZr(YKHO, ANfV: Answer) -> bool:...
[ "0.71018034", "0.68520105", "0.66666245", "0.66316205", "0.6611393", "0.6597598", "0.65265024", "0.64779675", "0.6456561", "0.6422548", "0.6308621", "0.63053334", "0.6273166", "0.6224843", "0.61794466", "0.61504936", "0.6132385", "0.61068285", "0.6093492", "0.6089009", "0.608...
0.7059533
1
Returns the number of anchors per spatial location.
def pBfb(YKHO): return [len(zNig) for zNig in YKHO._base_sizes]
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Xy_T(YKHO):\n raise NotImplementedError", "def _AvD(YKHO, Ncs1, RVHh=None):\n jGRS = YKHO.getRead(kVB4.POSITIONING_NUMBER_OF_ANCHORS, Ncs1, RVHh)\n Ncs1[0] &= 15\n return jGRS", "def eYBs(YKHO):\n return len(YKHO.locations)", "def eYBs(YKHO):\n return len(YKHO._locations)", "def yEPF(...
[ "0.7130821", "0.70336056", "0.69370973", "0.68535995", "0.66481894", "0.6641718", "0.6628145", "0.66093004", "0.653823", "0.64849305", "0.6473093", "0.64357316", "0.6400449", "0.63745457", "0.6372595", "0.6372212", "0.63609755", "0.63366324", "0.6312911", "0.63101524", "0.631...
0.8178819
0
Apply the activation function
def BoEA(YKHO, MBPB, _mSQ, oug5): YKHO.input = MBPB YKHO.z = MBPB.dot(_mSQ) + oug5 YKHO.output = gfpT(YKHO.z, YKHO.act_func_type) return YKHO.output
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def YDYE(YKHO, QPj9):\n pass", "def utyH(YKHO):\n assert YKHO.activation_mode == 'ACTIVATION_SIGMOID'\n for G1Hx in range(YKHO.n_kernels):\n for WKvO in XTiz.nditer(YKHO.output.mem[:, :, :, G1Hx], op_flags=['readwrite']):\n WKvO[...] = 1.0 / (1.0 + epAf.exp(-(WKvO + YKHO.bias.mem[G1Hx]...
[ "0.7912102", "0.7805696", "0.7781893", "0.77785754", "0.7739114", "0.7720538", "0.77151966", "0.7580691", "0.7579029", "0.7574258", "0.7485889", "0.7473178", "0.74668735", "0.74590224", "0.74526745", "0.7450956", "0.7418727", "0.74140716", "0.7406035", "0.7398862", "0.7372729...
0.0
-1
Given features and labels as lists of NumPy arrays, returns them as 2D NumPy arrays.
def aqaH(iSnc, QgiL, gfLg=XTiz.float64, v7yA=int): EcVT = XTiz.array(iSnc, dtype=gfLg) LVAh = XTiz.array(QgiL, dtype=v7yA) return (EcVT, LVAh)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def fIsm(Crrw):\n EaWK = oyIN.zeros((10, len(Crrw)))\n for nWi7, UXqs in enumerate(Crrw):\n EaWK[UXqs][nWi7] = 1\n return EaWK", "def Kuq1(EcVT, LVAh):\n assert EcVT.shape[0] == LVAh.shape[0], 'X and y must have the same number of rows'\n A6_I = EcVT.shape[0]\n iSnc = [EcVT[YRbF, :] for ...
[ "0.7298426", "0.71563405", "0.69985175", "0.6988621", "0.69792604", "0.6820911", "0.6796074", "0.67832804", "0.6702083", "0.6699346", "0.66434187", "0.6602614", "0.65880966", "0.6541311", "0.6473516", "0.64667827", "0.64588886", "0.6444843", "0.6415499", "0.6380886", "0.63808...
0.8067735
0