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 |
|---|---|---|---|---|---|---|
Returns all ligands whose binding sites are in in contact with residues that can be linked to variations with the given variation_id. | def vOcA(YKHO, oIG0, *VN2L, **B2fa):
xDcj = YKHO.query.join('Variation2BindingSites')
xDcj = xDcj.filter(nWJV(reO6.variation_id == oIG0, *VN2L))
return xDcj.distinct() | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def vOcA(YKHO, oIG0, *VN2L, **B2fa):\n xDcj = YKHO.query.join(_hm9, _hm9.c.interface_id == yF2U.interface_id)\n xDcj = xDcj.filter(nWJV(_hm9.c.variation_id == oIG0, *VN2L))\n return xDcj.distinct()",
"def mNpV(YKHO) -> None:\n lXdP = []\n for C3ST in YKHO.structure:\n for eNCK in C3ST:\n ... | [
"0.56853706",
"0.5449638",
"0.5121773",
"0.48383063",
"0.4838279",
"0.48314282",
"0.47613367",
"0.47395784",
"0.46981415",
"0.46833387",
"0.45668584",
"0.45255938",
"0.45239025",
"0.4521595",
"0.4519751",
"0.45153126",
"0.45069748",
"0.4501453",
"0.4480527",
"0.44693366",
"0.... | 0.64578986 | 0 |
Returns all ligands that form halogen bonds. | def j5_P(YKHO, *VN2L, **B2fa):
xDcj = YKHO.query.join('LigandFragments')
xDcj = xDcj.filter(nWJV(Okqr.num_xbond > 0, *VN2L))
return xDcj.distinct() | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def mNpV(YKHO) -> None:\n lXdP = []\n for C3ST in YKHO.structure:\n for eNCK in C3ST:\n for kUkU in eNCK:\n lXdP += [kUkU.get_resname()]\n YKHO.ligands = list(set(lXdP))",
"def Hz1T(YKHO, kNqL, x91S=None):\n XM8r = YKHO.read_protein(x91S)\n lHmx = Sypp.BindingSiteF... | [
"0.7244892",
"0.6615277",
"0.64287496",
"0.6188105",
"0.61244184",
"0.5977627",
"0.58285826",
"0.5733567",
"0.5691172",
"0.5611754",
"0.5604216",
"0.5593221",
"0.558955",
"0.5541518",
"0.55251575",
"0.54693687",
"0.5459315",
"0.5445596",
"0.54268485",
"0.5418124",
"0.54040986... | 0.0 | -1 |
Returns all ligands whose binding sites are in | def VQPg(YKHO, *VN2L, **B2fa):
xDcj = YKHO.query.join('Biomolecule', 'Structure')
xDcj = xDcj.filter(nWJV(*VN2L))
xDcj = xDcj.order_by(Ij4F.deposition_date.desc().nullslast())
return xDcj | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def mNpV(YKHO) -> None:\n lXdP = []\n for C3ST in YKHO.structure:\n for eNCK in C3ST:\n for kUkU in eNCK:\n lXdP += [kUkU.get_resname()]\n YKHO.ligands = list(set(lXdP))",
"def Hz1T(YKHO, kNqL, x91S=None):\n XM8r = YKHO.read_protein(x91S)\n lHmx = Sypp.BindingSiteF... | [
"0.65181035",
"0.62509704",
"0.5833527",
"0.5723308",
"0.5715497",
"0.5634483",
"0.55819607",
"0.5464018",
"0.54586077",
"0.54571104",
"0.52859145",
"0.526223",
"0.5256038",
"0.5243918",
"0.52332926",
"0.5221078",
"0.5217412",
"0.5204273",
"0.5196806",
"0.51864386",
"0.518058... | 0.0 | -1 |
Save JSON object to file | def ChRH(nPrm, Ux0P):
eHNT = open(Ux0P, 'w')
nPrm = qQXR.dump(nPrm, eHNT)
eHNT.close() | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def ncJT(object, nUeQ):\n with open(nUeQ, 'wb') as hlel:\n qQXR.dump(object, hlel)",
"def QN9E(gIsw, TLbt):\n with open(gIsw, 'w') as nUeQ:\n qQXR.dump(TLbt, nUeQ)",
"def U1ai(TLbt: Text, gIsw: Text) -> None:\n yr6X = qQXR.dumps(TLbt, sort_keys=True, indent=4)\n with open(gIsw, 'a+') ... | [
"0.87582415",
"0.8593385",
"0.8571689",
"0.84426475",
"0.8311474",
"0.829995",
"0.82894284",
"0.82894284",
"0.8280266",
"0.8266449",
"0.8256887",
"0.824256",
"0.8242346",
"0.82226115",
"0.82110846",
"0.82074726",
"0.8206943",
"0.82021934",
"0.81972843",
"0.81972843",
"0.81961... | 0.0 | -1 |
Fetch data from Environment agency for all active river level monitoring stations via a REST API and return retrieved data as a JSON object. Fetched data is dumped to a cache file so on subsequent call it can optionally be retrieved from the cache file. This is faster than retrieval over the Internet and avoids excessi... | def d8dK(XyVJ=True):
bD7m = 'http://environment.data.gov.uk/flood-monitoring/id/stations?status=Active¶meter=level&qualifier=Stage&_view=full'
lCo3 = 'cache'
try:
Hy7s.makedirs(lCo3)
except FileExistsError:
pass
LwUv = Hy7s.path.join(lCo3, 'station_data.json')
if XyVJ:
... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def Jzt8(YKHO):\n DSgS = None\n if not YKHO.force and khtY.exists(YKHO.agency_csv_path):\n import pandas as rLdf\n try:\n DSgS = rLdf.read_csv(YKHO.agency_csv_path)\n DSgS = DSgS.T.to_dict().values()\n except:\n Hy7s.remove(YKHO.agency_csv_path)\n if D... | [
"0.59393406",
"0.58938545",
"0.58101463",
"0.5692671",
"0.56161714",
"0.55384815",
"0.5499662",
"0.54451346",
"0.5425326",
"0.5424928",
"0.54133713",
"0.5411307",
"0.54052895",
"0.53994316",
"0.5390097",
"0.53713953",
"0.53481084",
"0.5314076",
"0.5306464",
"0.5300766",
"0.52... | 0.5822294 | 2 |
Parses the command line arguments and returns a dictionary of args and their values. | def dCXb():
wvEv = j1Jz.ArgumentParser()
wvEv.add_argument('input', help='the file with all the input values')
return wvEv.parse_args() | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def gpZ0(qIxc):\n RsAo = {}\n for d7pR in qIxc[1:]:\n G1Hx, Ty9i = d7pR.split('=')\n RsAo[G1Hx] = Ty9i\n return RsAo",
"def vls_(grjy: tuple) -> cuzp[str, str]:\n qiqn = {}\n for d7pR in grjy:\n if '=' in d7pR:\n H5ew, wEf2 = d7pR.lstrip('-').split('=')\n ... | [
"0.80573046",
"0.76948375",
"0.76678514",
"0.7623922",
"0.76083726",
"0.7594116",
"0.7534261",
"0.7470987",
"0.7451621",
"0.74103457",
"0.7397906",
"0.735741",
"0.7357405",
"0.73259616",
"0.72948945",
"0.72879726",
"0.7280549",
"0.7267933",
"0.72387785",
"0.7213726",
"0.72131... | 0.0 | -1 |
Raise an error when invalid source is parsed. | def nYfb(d7pR):
raise ValueError(d7pR) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def m2aP(YKHO, hZC_, cI_f, zFiD, iVRZ, tO9_, tTpl):\n raise SyntaxError('line ' + str(zFiD) + ':' + str(iVRZ) + ' ' + tO9_)",
"def UOjH(YKHO, l5Ny, Z9rn, QyVM):\n Az2M('PARSER ERROR:', l5Ny)\n Az2M('On index', QyVM)\n YKHO.printContext(Z9rn, QyVM)\n raise kfVl('Unspecified')",
"def Y03z(YKHO):\n... | [
"0.6627703",
"0.6595102",
"0.6548318",
"0.64555365",
"0.6431396",
"0.63895625",
"0.6380504",
"0.6359864",
"0.62851787",
"0.6245517",
"0.6207568",
"0.6198697",
"0.6191563",
"0.6168514",
"0.61676764",
"0.6163457",
"0.6159549",
"0.61504215",
"0.6144074",
"0.61392134",
"0.6138282... | 0.570913 | 59 |
Handle doublequoted tokens, matching 'br' after then the token. | def HvWC(YKHO):
eOtH, bGrB = YKHO.input.head()
YKHO.input = YKHO.input.tail()
WKvO = YKHO.rule_tok(eOtH)
YKHO.apply('br')
return WKvO | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def a4bl(nPSO, BWXx):\n Aofo = IguF(BWXx).replace('\\n', DfCi('<br />\\n'))\n if nPSO.autoescape:\n Aofo = DfCi(Aofo)\n return Aofo",
"def a4bl(nPSO, BWXx):\n Aofo = u'\\n\\n'.join((u'<p>%s</p>' % XP5J.replace('\\n', DfCi('<br>\\n')) for XP5J in jAPt.split(IguF(BWXx))))\n if nPSO.autoescape... | [
"0.58015025",
"0.57641214",
"0.57392174",
"0.5725582",
"0.5714967",
"0.5702144",
"0.56825393",
"0.5549518",
"0.5532331",
"0.5446464",
"0.5379099",
"0.5372659",
"0.53513646",
"0.52386564",
"0.5212018",
"0.51712716",
"0.5141596",
"0.5141184",
"0.5139019",
"0.51285505",
"0.50971... | 0.50516415 | 23 |
Helper to create a Variable stored on CPU memory. | def js1U(mWFP, ROpF, MuED):
with ZylS.device('/cpu:0'):
yDqo = ZylS.float32 if vPBo.use_fp32 else ZylS.float64
SRYB = ZylS.get_variable(mWFP, ROpF, initializer=MuED, dtype=yDqo)
return SRYB | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def js1U(mWFP, ROpF, MuED, XJsN):\n with ZylS.device('/cpu:0'):\n yDqo = ZylS.float32\n SRYB = ZylS.get_variable(mWFP, ROpF, initializer=MuED, dtype=yDqo, trainable=XJsN)\n return SRYB",
"def js1U(mWFP, ROpF, MuED, yDqo):\n with ZylS.device('/cpu:0'):\n SRYB = ZylS.get_variable(mWFP... | [
"0.7053174",
"0.68374807",
"0.68162715",
"0.6711794",
"0.670901",
"0.669595",
"0.6693301",
"0.6679854",
"0.66779804",
"0.6661204",
"0.6656669",
"0.66533124",
"0.66533124",
"0.6645065",
"0.6637938",
"0.6597281",
"0.65675366",
"0.6566952",
"0.6566952",
"0.6555388",
"0.65545285"... | 0.65461564 | 21 |
Helper to create an initialized Variable with weight decay. Note that the Variable is initialized with a truncated normal distribution. A weight decay is added only if one is specified. | def xSbR(mWFP, ROpF, JBMS, z2bo, TI1B):
yDqo = ZylS.float32 if vPBo.use_fp32 else ZylS.float64
SRYB = js1U(mWFP, ROpF, ZylS.truncated_normal_initializer(mean=JBMS, stddev=z2bo, dtype=yDqo))
if TI1B is not None:
oNEO = ZylS.multiply(ZylS.nn.l2_loss(SRYB), TI1B, name='weight_loss')
ZylS.add_to... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def lJ6q(mWFP, ROpF, z2bo, TI1B):\n yDqo = ZylS.float32\n SRYB = Es0b(mWFP, ROpF, initializer=ZylS.compat.v1.truncated_normal_initializer(stddev=z2bo, dtype=yDqo))\n if TI1B is not None:\n oNEO = ZylS.multiply(ZylS.nn.l2_loss(SRYB), TI1B, name='weight_loss')\n ZylS.compat.v1.add_to_collectio... | [
"0.7469682",
"0.74336636",
"0.7426262",
"0.73649204",
"0.7331751",
"0.7322292",
"0.7322292",
"0.73082536",
"0.7303218",
"0.7302425",
"0.7287072",
"0.72846323",
"0.728447",
"0.72804165",
"0.72791666",
"0.72646946",
"0.7261256",
"0.7261256",
"0.72465456",
"0.724338",
"0.724338"... | 0.72572273 | 18 |
Generate a filename for a new image. | def yFjF():
return str(int(ITS7.time() + tuKI.random())) + '.jpg' | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def pcWg(KAOR, Ux0P):\n return lits('destinations', KAOR, Ux0P)",
"def XWXe(GPtr, VXjJ):\n rPXJ = ITS7.strftime(GPtr['file_naming'], ITS7.localtime(VXjJ[2]))\n tF9S, YBcr = Hy7s.path.splitext(Hy7s.path.basename(VXjJ[0]))\n return Hy7s.path.join(GPtr['output'], rPXJ.format(filename=tF9S, resx=VXjJ[1][... | [
"0.8170858",
"0.80565715",
"0.8054788",
"0.7976569",
"0.7575905",
"0.75363225",
"0.7525897",
"0.7508949",
"0.7483431",
"0.74472725",
"0.74381393",
"0.7413182",
"0.73989964",
"0.73928565",
"0.73760366",
"0.7366775",
"0.735602",
"0.7350525",
"0.73446685",
"0.72956747",
"0.72615... | 0.76678187 | 4 |
Takes a list of functions, and returns a function which runs all of them in order, piping the results. | def bCYe(ZZSa):
def yCnv(*qIxc):
dixj = ZZSa[0](*qIxc)
for eHNT in ZZSa[1:]:
dixj = eHNT(dixj)
return dixj
return yCnv | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def CRDz(Iw7x, *qIxc, **B2fa):\n for MCGS in Iw7x:\n MCGS(*qIxc)",
"def gTfn(d7pR, Iw7x):\n dixj = []\n for eHNT in Iw7x:\n dixj.append(eHNT(d7pR))\n return dixj",
"def Zsac(*ZZSa):\n return nPIK(funcs=reversed(ZZSa))",
"def YKnO(WKvO, ZZSa):\n Ylbp = []\n for JfyU in ZZSa:... | [
"0.73377454",
"0.72064316",
"0.7161453",
"0.71507454",
"0.7143835",
"0.70642394",
"0.70262283",
"0.6993399",
"0.68995583",
"0.6897193",
"0.68191785",
"0.6804214",
"0.6783581",
"0.6731206",
"0.67176396",
"0.6676614",
"0.6669643",
"0.6636833",
"0.6624972",
"0.6623735",
"0.65792... | 0.7874946 | 0 |
Attach an API token to a custom auth header. | def nrOS(YKHO, Mkmy):
Mkmy.headers['Authorization: Bearer'] = f'{YKHO.token}'
Mkmy.headers['Content-Type'] = 'application/json; charset=utf-8'
return Mkmy | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def efuE(YKHO):\n eOtH = Jpbe.init_auth()\n YKHO.headers.update({'X-Auth-Token': eOtH})",
"def avIU(YKHO, NmoC):\n if NmoC:\n YKHO.headers['Authorization'] = 'bearer ' + NmoC",
"def oNhb(YKHO, MOPg=None):\n if MOPg:\n MOPg['X-Auth-Token'] = YKHO.token\n else:\n MOPg = {'X-Au... | [
"0.8256595",
"0.77747357",
"0.7743402",
"0.7688659",
"0.7512207",
"0.71834004",
"0.71122897",
"0.7106717",
"0.70794094",
"0.7055944",
"0.70124465",
"0.70083195",
"0.70029086",
"0.7001239",
"0.6793445",
"0.67228186",
"0.67126137",
"0.6680211",
"0.6650166",
"0.66483885",
"0.660... | 0.61732197 | 54 |
Remove any html tags from a string Attempts to use MLStripper, if it fails then a simple regex is used | def t5Yq(_R2e):
EESs = ''
FVz9 = o205()
try:
FVz9.feed(_R2e)
EESs = FVz9.get_data()
except qW5Z:
EESs = ZbWC.sub('<[^>]*?>', ' ', _R2e)
return EESs | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def JZhs(gmUX):\n OuqX = ''\n if gmUX:\n KCHu = o205()\n KCHu.feed(gmUX.decode('latin-1').encode('ascii', 'ignore'))\n OuqX = KCHu.get_data()\n return OuqX.strip()",
"def Iw0V(vIwR):\n return ZbWC.sub('<[^>]*?>', ' ', vIwR)",
"def t5Yq(_R2e):\n wvEv = bLNn()\n _R2e = wvEv... | [
"0.8178622",
"0.8102063",
"0.7992292",
"0.7974006",
"0.7974006",
"0.7974006",
"0.7803813",
"0.7765416",
"0.77175224",
"0.7606298",
"0.7604906",
"0.75809",
"0.75778127",
"0.7567531",
"0.7540676",
"0.75152874",
"0.7507022",
"0.7499239",
"0.7497224",
"0.7497224",
"0.7476434",
... | 0.8192514 | 0 |
Take an ISO8601 string and convert to datetime object | def gQ9i(wyVH):
wyVH = t5Yq(wyVH)
try:
qSq0 = qcWV.strptime(wyVH, '%Y-%m-%dT%H:%M:%SZ')
except ValueError:
raise
return qSq0 | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def OLXh(gYCd):\n bifY.parse_date(gYCd)",
"def gcC6(BWXx: str) -> qcWV:\n return qcWV.strptime(BWXx, '%Y-%m-%dT%H:%M:%S.%fZ')",
"def gcC6(BWXx: str) -> qcWV:\n return qcWV.strptime(BWXx, '%Y-%m-%dT%H:%M:%S.%fZ')",
"def hfK9(gYCd):\n return qcWV.datetime.strptime(gYCd, A19j).replace(tzinfo=qcWV.ti... | [
"0.8638726",
"0.84615564",
"0.84615564",
"0.83936757",
"0.8350073",
"0.8145686",
"0.8097989",
"0.8063484",
"0.7996622",
"0.78975004",
"0.7781076",
"0.7710372",
"0.7674439",
"0.76686203",
"0.7610539",
"0.7607018",
"0.75679904",
"0.7565956",
"0.75351006",
"0.752271",
"0.7519617... | 0.69931614 | 60 |
Generate random string of length | def BWvy(a__r):
return Hy7s.urandom(a__r) | {
"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(u54L):\n dBuj = vIwR.ascii_uppercase + vIwR.ascii_lowercase + vIwR.digits\n return b''.join((tuKI.choice(dBuj) for bGrB in range(u54L)))",
"def YzjY(YKHO, u54L):\n zZas = vIwR.... | [
"0.871402",
"0.86986643",
"0.86691755",
"0.85824937",
"0.8571951",
"0.85689455",
"0.8501245",
"0.8501108",
"0.850035",
"0.848859",
"0.844484",
"0.8422488",
"0.84148616",
"0.8393545",
"0.8379855",
"0.8379524",
"0.83675265",
"0.83641654",
"0.83637726",
"0.8350026",
"0.8347693",... | 0.8555784 | 6 |
Given a string or integer value get the next item in the sequence, only looks at alpha numeric characters all others stay the same alpha numeric sequence 09 > 4857 AZ > 6590 az > 97122 | def VF4F(wEf2):
Z6gX = wEf2
if isinstance(wEf2, int) or wEf2.isdigit():
Z6gX = str(int(wEf2) + 1)
else:
Z6gX = list(reversed(list(Z6gX)))
for or8S, wEf2 in enumerate(Z6gX):
gca1 = ord(wEf2)
if 48 <= gca1 <= 57:
if gca1 == 57:
... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def mWv7(vIwR):\n WhY1 = type(1)\n Mkmy = []\n for Z9rn in vIwR:\n if Z9rn.isdigit():\n Csk6 = int(Z9rn)\n if Mkmy and type(Mkmy[-1]) == WhY1:\n Mkmy[-1] = Mkmy[-1] * 10 + Csk6\n else:\n Mkmy.append(Csk6)\n else:\n Mkm... | [
"0.6923851",
"0.64755493",
"0.64755493",
"0.64755493",
"0.6465185",
"0.6447079",
"0.63969904",
"0.63969904",
"0.63969904",
"0.63969904",
"0.63969904",
"0.63969904",
"0.63969904",
"0.63969904",
"0.63969904",
"0.6392063",
"0.6392063",
"0.6392063",
"0.6392063",
"0.6385032",
"0.6... | 0.0 | -1 |
Checks if request is from a mobile device | def RJwH(QePW):
RJwH = False
Lb1u = QePW.headers.get('User-Agent')
if Lb1u:
if eqoj.search(Lb1u) or CK_c.search(Lb1u[0:4]):
RJwH = True
return RJwH | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def g5rA(YKHO):\n QePW = SQkY.get_current_request()\n return QePW and t6Ei(QePW)",
"def HL10(QePW):\n oJRS = ZbWC.compile('.*(iphone|mobile|androidtouch)', ZbWC.IGNORECASE)\n if oJRS.match(QePW.META['HTTP_USER_AGENT']):\n return True\n else:\n return False",
"def HL10(QePW):\n o... | [
"0.8655014",
"0.8347116",
"0.8347116",
"0.8158144",
"0.7949223",
"0.7700828",
"0.7526162",
"0.7205087",
"0.719548",
"0.71553063",
"0.7017632",
"0.69154805",
"0.67910767",
"0.6448426",
"0.62600523",
"0.61255604",
"0.6108924",
"0.6018934",
"0.5906166",
"0.5889145",
"0.5859162",... | 0.8281383 | 3 |
Sets the taxonomy_id of this Taxonomy. | def tRYc(YKHO, tRYc):
if tRYc is None:
raise ValueError('Invalid value for `taxonomy_id`, must not be `None`')
YKHO._taxonomy_id = tRYc | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def HjOA(YKHO, HjOA):\n YKHO._tax_id = HjOA",
"def fB95(YKHO, ei_k):\n YKHO.tax_group_id = ei_k",
"def PGrJ(YKHO, PGrJ):\n YKHO._term_id = PGrJ",
"def V_9M(YKHO, id):\n YKHO._id = id",
"def psjw(YKHO, id):\n YKHO._id = id",
"def mjJm(YKHO, mjJm):\n YKHO._concept_id = mjJm",
"def W2tI(... | [
"0.70288175",
"0.7015659",
"0.64808154",
"0.57855",
"0.5756165",
"0.57369477",
"0.57343596",
"0.5688034",
"0.5679457",
"0.5674682",
"0.5674682",
"0.56295216",
"0.5625123",
"0.5625123",
"0.5625123",
"0.5625123",
"0.5615813",
"0.56087476",
"0.5599348",
"0.5580308",
"0.55697584"... | 0.8164077 | 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.83931077",
"0.83551943",
"0.8295509",
"0.8132744",
"0.8115034",
"0.8100248",
"0.8099668",
"0.80982566",
"0.80982566",
"0.809302",
"0.809302",
"0.809302",
"0.809302",
"0.808576",
"0.808576",
"0.808576",
"0.808576",
"0.808576",
"0.80673736",
"0.80593926",
"0.80581796",
"0.... | 0.0 | -1 |
This method checks if the label is added on the node via API and kubectl | def KofE(x0hE, Q6kx, tl5x, sFFp):
print('label_value: ', sFFp)
Q6kx = x0hE.reload(Q6kx)
rgPP = Q6kx.labels.data_dict()
assert rgPP[tl5x] == sFFp
AwDt = Q6kx.nodeName
oUZx = ' get nodes ' + AwDt
rqQw = tDDJ(oUZx)
print(rqQw['metadata']['labels'])
assert tl5x in rqQw['metadata']['label... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def l85m():\n tl5x = TweX()\n sFFp = TweX()\n x0hE, Q6kx = LpuH(jwa4['cluster'], jwa4['client'])\n AwDt = Q6kx.nodeName\n oUZx = 'label nodes ' + AwDt + ' ' + tl5x + '=' + sFFp\n print(oUZx)\n tDDJ(oUZx, False)\n P9Pi(x0hE, Q6kx, BQEi(tl5x), None, 10)\n KofE(x0hE, Q6kx, tl5x, sFFp)\n ... | [
"0.71736753",
"0.711664",
"0.7007931",
"0.70020956",
"0.6950807",
"0.6895566",
"0.68328184",
"0.6832365",
"0.68299806",
"0.6789283",
"0.6770762",
"0.6715699",
"0.64826286",
"0.63750255",
"0.63413185",
"0.63290393",
"0.6314406",
"0.6302586",
"0.62964493",
"0.6287476",
"0.62697... | 0.7330512 | 0 |
Returns average value of the node. | def BWXx(YKHO):
return YKHO._value_sum / YKHO._visit_count | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def S8vG(*o8Kj):\n return Q9J7('average', *o8Kj)",
"def a2LV(YKHO):\n return YKHO.avg_value",
"def S8vG(YKHO):\n return YKHO._average",
"def qqgr(YKHO):\n return YKHO._avg",
"def O5mg(YKHO):\n return YKHO.average",
"def BWXx(YKHO):\n return YKHO.avg",
"def JBMS(YKHO):\n return JBMS... | [
"0.78993946",
"0.78410447",
"0.7571356",
"0.75589925",
"0.75497943",
"0.7542656",
"0.7432128",
"0.7425882",
"0.7391386",
"0.7383843",
"0.73641837",
"0.73301464",
"0.72996414",
"0.7276507",
"0.7276507",
"0.72677535",
"0.7265214",
"0.719309",
"0.71926326",
"0.70857173",
"0.7077... | 0.0 | -1 |
Calculates the UCB (Upper Confidence Bound) score of the child. | def GyF3(YKHO, aUGN):
F9cp = aUGN._prior * epAf.sqrt(_AKB._visit_count) / (aUGN._visit_count + 1)
if aUGN._visit_count > 0:
rvvx = -aUGN._value()
else:
rvvx = 0
return rvvx + F9cp | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def GyF3(_AKB, aUGN, tKiw):\n kJlj = 19652\n EEyu = 1.25\n FZ22 = epAf.log((_AKB.visit_count + kJlj + 1) / kJlj) + EEyu\n FZ22 *= epAf.sqrt(_AKB.visit_count) / (aUGN.visit_count + 1)\n F9cp = FZ22 * aUGN.prior\n rvvx = tKiw.normalize(aUGN.value())\n return rvvx + F9cp",
"def GyF3(YKHO, NXpY:... | [
"0.7803537",
"0.71785134",
"0.6860021",
"0.6673251",
"0.6326101",
"0.6293088",
"0.6217336",
"0.61797637",
"0.61412996",
"0.6069403",
"0.5983644",
"0.59799016",
"0.5946389",
"0.59158766",
"0.5908194",
"0.5892329",
"0.5891996",
"0.5831491",
"0.58292276",
"0.58260053",
"0.580190... | 0.80082697 | 0 |
Draws the aim of a gun. returns the bounding rect. rayData is a 4tuple, the first 2 coefficients are the starting point for the ray, and the last 2 coefficients are the coordinates of another point on the line. color is the color coneSurface is the surface of the cone. spread is the size of the cone. (basically determi... | def H103(TPjr, qfpW, J20S, LsXs, QVq7=1, yrqc=1):
VkKI = J20S.get_rect()
nJ9F, nxyw, o4D3, si3g = TPjr
B70V = o4D3 - nJ9F
YRPr = si3g - nxyw
tW3I = VkKI[0] + VkKI[2] * 0.5
Ekpx = VkKI[1] + VkKI[3] * 0.5
TtUK = VkKI[2] * 0.5
TTUB = VkKI[3] * 0.5
if B70V == 0 and YRPr == 0:
YRP... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def iYmF(TPjr, J20S, apNJ, yrqc=1, TVTK=1):\n VkKI = J20S.get_rect()\n nJ9F, nxyw, o4D3, si3g = TPjr\n B70V = o4D3 - nJ9F\n YRPr = si3g - nxyw\n tW3I = VkKI[0] + VkKI[2] * 0.5\n Ekpx = VkKI[1] + VkKI[3] * 0.5\n TtUK = VkKI[2] * 0.5\n TTUB = VkKI[3] * 0.5\n if B70V == 0 and YRPr == 0:\n ... | [
"0.6277761",
"0.5141243",
"0.48617896",
"0.48533732",
"0.48373938",
"0.47997692",
"0.4775766",
"0.47738615",
"0.47414216",
"0.47284904",
"0.46996418",
"0.46837437",
"0.46778858",
"0.4650528",
"0.46328712",
"0.46306878",
"0.46267527",
"0.46108937",
"0.4607687",
"0.46005034",
"... | 0.7348703 | 0 |
Draws a beam. beamSprite is the sprite for a segment of the beam rayData is a 4tuple, the first 2 coefficients are the starting point for the ray, and the last 2 coefficients are the coordinates of another point on the line. | def VjUs(ITS7, J20S, EmZm, TPjr):
return | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def iYmF(TPjr, J20S, apNJ, yrqc=1, TVTK=1):\n VkKI = J20S.get_rect()\n nJ9F, nxyw, o4D3, si3g = TPjr\n B70V = o4D3 - nJ9F\n YRPr = si3g - nxyw\n tW3I = VkKI[0] + VkKI[2] * 0.5\n Ekpx = VkKI[1] + VkKI[3] * 0.5\n TtUK = VkKI[2] * 0.5\n TTUB = VkKI[3] * 0.5\n if B70V == 0 and YRPr == 0:\n ... | [
"0.635379",
"0.5481706",
"0.5219883",
"0.52097434",
"0.52077466",
"0.51975965",
"0.5190299",
"0.5159545",
"0.5150909",
"0.5145346",
"0.5122831",
"0.5118017",
"0.5060317",
"0.5052866",
"0.50523984",
"0.5049112",
"0.5045806",
"0.50418544",
"0.50274616",
"0.50122416",
"0.4996175... | 0.7935077 | 0 |
Lazyretrieve or create the database objects from the supplied raw values. Slug value is generated based on instance and reference entity id. | def OYIt(Emd4, KAOR, xC3W: attribute_models.Attribute, ziTe: AttrValuesInput):
if not ziTe.references or not xC3W.entity_type:
return tuple()
e44p = Emd4.ENTITY_TYPE_MAPPING[xC3W.entity_type]
vXX7 = e44p.name_field
cDO8 = xC3W.values.get_or_create
I9R0 = []
eGYI = e44p.value_field
fo... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def AXOg(YKHO):\n if not YKHO.key:\n return\n xUwc = getattr(g4RW, YKHO.__class__.__name__)\n LEXu = xUwc.find_one({'_id': aA6B(YKHO.key.id)})\n if not LEXu:\n raise ValueError('Entity does not exist')\n XhVQ = ['_id']\n for H5ew, BWXx in LEXu.items():\n if not H5ew in XhVQ:\... | [
"0.5746071",
"0.57339114",
"0.5576957",
"0.55680645",
"0.5411319",
"0.53640354",
"0.530276",
"0.5272967",
"0.5268358",
"0.5252586",
"0.5213423",
"0.5190434",
"0.5179671",
"0.51626974",
"0.5148318",
"0.51435673",
"0.51435673",
"0.5110249",
"0.5092152",
"0.50843394",
"0.5058024... | 0.55393577 | 4 |
Sets the diarization_enabled of this TranscriptionProperties. | def fzci(YKHO, fzci):
YKHO._diarization_enabled = fzci | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def cdeU(YKHO, etR_):\n if etR_ and YKHO.IsPlugged():\n YKHO._EnableDdc()\n else:\n YKHO._DisableDdc()\n YKHO._ddc_enabled = etR_",
"def KIva(YKHO, _J6_):\n YKHO.__is_dealer = _J6_",
"def KIva(YKHO, _J6_):\n YKHO.__is_dealer = _J6_",
"def etR_(YKHO, etR_):\n YKHO._enabled = et... | [
"0.5320356",
"0.5137863",
"0.5137863",
"0.51043135",
"0.50942725",
"0.5051308",
"0.5014295",
"0.49922967",
"0.49922967",
"0.49922967",
"0.49922967",
"0.49922967",
"0.49922967",
"0.49922967",
"0.49922967",
"0.49922967",
"0.49922967",
"0.49922967",
"0.49922967",
"0.49922967",
"... | 0.83509916 | 0 |
Sets the destination_container_url of this TranscriptionProperties. | def QnAi(YKHO, QnAi):
YKHO._destination_container_url = QnAi | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def Mbgn(YKHO, yFgu):\n YKHO.destination = yFgu",
"def bS_L(YKHO, mBVj):\n YKHO.__dest_endpoint = mBVj",
"def yFgu(YKHO, yFgu):\n YKHO._destination = yFgu",
"def Mbgn(YKHO, yFgu):\n YKHO.destination = yFgu.get_name()",
"def X7fk(YKHO, X7fk):\n YKHO._destination_address = X7fk",
"def Mbgn(Y... | [
"0.5855068",
"0.5808861",
"0.5745402",
"0.5729618",
"0.55981964",
"0.54692894",
"0.53733444",
"0.5370737",
"0.5294024",
"0.5277283",
"0.52473474",
"0.5204515",
"0.5166915",
"0.51599324",
"0.51516426",
"0.51002514",
"0.5096537",
"0.5090443",
"0.5089558",
"0.5055964",
"0.505238... | 0.8428969 | 0 |
Sets the email of this TranscriptionProperties. | def D3lj(YKHO, D3lj):
YKHO._email = D3lj | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def srEc(YKHO, D3lj):\n YKHO.email = D3lj",
"def srEc(YKHO, D3lj=''):\n YKHO._email = D3lj",
"def lEeL(YKHO, D3lj):\n YKHO.__email = D3lj",
"def D3lj(YKHO, D3lj):\n YKHO._email = D3lj",
"def D3lj(YKHO, D3lj):\n YKHO._email = D3lj",
"def D3lj(YKHO, D3lj):\n YKHO._email = D3lj",
"def lE... | [
"0.75451356",
"0.7540274",
"0.75277495",
"0.74617916",
"0.7396195",
"0.7396195",
"0.739458",
"0.72744757",
"0.72744757",
"0.7253488",
"0.72198653",
"0.7203935",
"0.71981645",
"0.71981645",
"0.71981645",
"0.71981645",
"0.71981645",
"0.692302",
"0.692302",
"0.692302",
"0.691879... | 0.7361227 | 13 |
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):
if not isinstance(Elif, K0FM):
return True
return YKHO.to_dict() != Elif.to_dict() | {
"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 |
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 |
Normalizes a series using pointrelative normalization. | def NkkI(YKHO):
z_1F.point_relative_normalization() | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def NkkI(dy_H):\n JBMS = dy_H.mean()\n u2KW = dy_H.std(ddof=0)\n HBfW = (dy_H - JBMS) / u2KW\n return HBfW",
"def NkkI(YKHO, LTIa):\n dMYj = ((LTIa[:, 0].max() - LTIa[:, 1].min()) / (LTIa[:, 1].max() - LTIa[:, 1].min()), 1)\n dMYj = oyIN.array(dMYj) / max(dMYj)\n r8hN = lambda Z9rn: (Z9rn - ... | [
"0.7739334",
"0.7077548",
"0.69164246",
"0.68712616",
"0.6819906",
"0.6812019",
"0.6812019",
"0.6808176",
"0.67687255",
"0.6760063",
"0.6744565",
"0.6687551",
"0.66811633",
"0.66782993",
"0.666194",
"0.6629402",
"0.66068864",
"0.6596985",
"0.6583273",
"0.656497",
"0.65505",
... | 0.7707509 | 1 |
Calculates the root mean square error from | def iAxY(YKHO, k0lF, tjUW):
return oyIN.sqrt(oyIN.square(oyIN.subtract(k0lF, tjUW)).mean()) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def DF3U(YKHO):\n return oyIN.sqrt(YKHO.mean_squared_error())",
"def ewIN(LTIa):\n Qth0 = True\n if not Qth0:\n sum = 0\n for AU8u in LTIa.values():\n sum += pow(oyIN.abs(AU8u.get_pollution_value()) - oyIN.abs(AU8u.get_actual_pollution_value()), 2)\n iAxY = epAf.sqrt(sum ... | [
"0.83772373",
"0.7663897",
"0.76500106",
"0.7603125",
"0.7597549",
"0.7594463",
"0.7549766",
"0.7478987",
"0.74242073",
"0.7407226",
"0.73939717",
"0.7382735",
"0.7378297",
"0.7378297",
"0.7352962",
"0.72970456",
"0.7174438",
"0.7138424",
"0.7077468",
"0.70727223",
"0.7061544... | 0.0 | -1 |
Calculates the mean square error from | def hkHB(YKHO, k0lF, tjUW):
return oyIN.square(oyIN.subtract(k0lF, tjUW)).mean() | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def Imx7(tTpl):\n \"\"\"Mean square error for vector e\"\"\"\n return 1 / 2 * oyIN.mean(tTpl ** 2)",
"def FSiB(P1dF):\n return oyIN.square(oyIN.average(P1dF))",
"def Z2Se(LVAh, JBMS):\n return (LVAh - JBMS).pow(2).sum()",
"def SDab(P1dF):\n return oyIN.average(P1dF ** 2)",
"def Wk1P(YKHO) ->... | [
"0.80350095",
"0.7959122",
"0.79311806",
"0.7902005",
"0.7751087",
"0.7723812",
"0.7691041",
"0.7652593",
"0.7592593",
"0.75657576",
"0.7563037",
"0.74844295",
"0.7419555",
"0.7402089",
"0.7357232",
"0.7310816",
"0.7283546",
"0.71788675",
"0.7175192",
"0.71733403",
"0.7171337... | 0.0 | -1 |
The domain. Returns spaces.Base | def n294(YKHO):
return YKHO._space | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def zrIJ(YKHO):\n try:\n return YKHO._domain\n except Exception as e:\n raise tTpl",
"def zrIJ(YKHO):\n return YKHO._domain",
"def zrIJ(YKHO):\n return YKHO._domain",
"def zrIJ(YKHO):\n return YKHO._domain",
"def zrIJ(YKHO) -> Nlmb:\n if YKHO._domain is None:\n YKHO._... | [
"0.75165373",
"0.74166846",
"0.73083055",
"0.73083055",
"0.7302854",
"0.7285976",
"0.72036856",
"0.72036856",
"0.716029",
"0.716029",
"0.716029",
"0.7150292",
"0.7150292",
"0.7150292",
"0.7123535",
"0.71220195",
"0.71052533",
"0.7104239",
"0.7104239",
"0.7104239",
"0.7104239"... | 0.0 | -1 |
Data type of random elements. Returns np.dtype | def yDqo(YKHO):
return YKHO.space.dtype | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def yDqo(YKHO):\n return oyIN.dtype(YKHO.ai_['typestr'])",
"def qxps(YKHO):\n pass",
"def yDqo(YKHO):\n return YKHO.data.dtype",
"def yDqo(YKHO):\n return YKHO.data.dtype",
"def yDqo(YKHO):\n return YKHO.data.dtype",
"def yDqo(YKHO):\n return YKHO.data.dtype",
"def yDqo(YKHO):\n re... | [
"0.7457608",
"0.7372764",
"0.7201925",
"0.7201925",
"0.7201925",
"0.7201925",
"0.7181432",
"0.7150033",
"0.7140678",
"0.71096313",
"0.7103176",
"0.7079241",
"0.70776916",
"0.705435",
"0.705435",
"0.705435",
"0.705435",
"0.705435",
"0.7031242",
"0.70214045",
"0.70002127",
"0... | 0.6611858 | 69 |
Access the covariance of the `prior`. | def Q_CO(YKHO):
return YKHO.prior.cov | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def _IBo(YKHO):\n return YKHO._covariance",
"def _IBo(YKHO):\n return YKHO._covariance",
"def bibf(YKHO):\n return YKHO.covariance",
"def _IBo(YKHO):\n return UeOo.covariance(YKHO._covariance, paramNames=YKHO.vparam_names)",
"def v3UC(YKHO):\n return YKHO.cov_matrix",
"def PFC2(YKHO):\n ... | [
"0.7222088",
"0.7222088",
"0.7089981",
"0.70053357",
"0.6849844",
"0.6801968",
"0.6628416",
"0.6623572",
"0.656642",
"0.64949334",
"0.6476344",
"0.64481235",
"0.64378625",
"0.64271426",
"0.64201874",
"0.63721967",
"0.6326685",
"0.63133395",
"0.629166",
"0.6285721",
"0.6254940... | 0.7606004 | 0 |
Decorator that compiles a function to use TensorFlow ops. The decorator is dynamic it recompiles the target whenever the decorated function is called. This means the parameter values are known at conversion. It also means that repeated calls with different types of parameters will be correctly processed. | def a8Pe(znBS=False, Q7L1=None, cImI=True, NpSH=J05d.NullCtx()):
def mrMx(eHNT):
"""Decorator implementation."""
def h3Xc(*qIxc, **B2fa):
"""Wrapper that calls the converted version of f."""
xAU6 = aDxC.ConversionOptions(recursive=znBS, user_requested=cImI, optional_feature... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def h3Xc(FYKK):\n\n def pMpD(*g4y1):\n gLrd = []\n assert len(g4y1) == len(MSf2)\n for BWXx, Cqok in zip(g4y1, MSf2):\n SkH5 = ZylS.constant(BWXx, dtype=Cqok[1].dtype)\n SkH5.shape.assert_is_compatible_with(Cqok[1].shape)\n gLrd.append(SkH5)\n return ... | [
"0.69517666",
"0.671468",
"0.6657469",
"0.6396393",
"0.6334662",
"0.6245802",
"0.6177954",
"0.6160305",
"0.6142518",
"0.6090886",
"0.6069502",
"0.6060174",
"0.6030082",
"0.59739614",
"0.5968802",
"0.5959874",
"0.59475267",
"0.59428847",
"0.59314436",
"0.5925408",
"0.5910592",... | 0.5621779 | 46 |
Compute Average Precision (AP) | def FIMM(YKHO, gwAu=0.5, UoOD=101, *qIxc, **B2fa):
YKHO.threshold = gwAu
YKHO.num_points = UoOD
YKHO.IOU = Tj3g(average=False)
YKHO.result_dir = B2fa['result_dir']
ES3Y = B2fa['final_shape']
YKHO.scale = ht2j.Tensor([1, ES3Y[0], ES3Y[1], ES3Y[0], ES3Y[1]])
YKHO.ndata = B2fa['ndata']
YKHO... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def pAZd(AOzf, rhd_):\n YuCV = oyIN.concatenate(([0.0], AOzf, [1.0]))\n BsPE = oyIN.concatenate(([0.0], rhd_, [0.0]))\n for YRbF in range(BsPE.size - 1, 0, -1):\n BsPE[YRbF - 1] = oyIN.maximum(BsPE[YRbF - 1], BsPE[YRbF])\n YRbF = oyIN.where(YuCV[1:] != YuCV[:-1])[0]\n VqfF = oyIN.sum((YuCV[YR... | [
"0.79975826",
"0.79975826",
"0.79975826",
"0.79975826",
"0.79975826",
"0.79975826",
"0.79874855",
"0.794371",
"0.794371",
"0.794371",
"0.794371",
"0.7932715",
"0.7926913",
"0.79062736",
"0.7897894",
"0.7897894",
"0.7897894",
"0.7897894",
"0.7897894",
"0.7878848",
"0.7878848",... | 0.0 | -1 |
Compute Average Recall (AR) | def FIMM(YKHO, gwAu=0.5, nUPH=None, *qIxc, **B2fa):
YKHO.threshold = gwAu
YKHO.det = nUPH
YKHO.IOU = Tj3g() | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def skj9(aTLP, Crrw, ywwl):\n beOw = oyIN.argsort(aTLP)[::-1]\n HRrY = rYOG(Crrw[beOw])\n AdZ9 = k3A_(HRrY)\n return oyIN.sum(AdZ9[:ywwl]) / ywwl",
"def x3CR(NO1M, tAX0, mr17):\n return oyIN.average([bkcz.__user_recall(NO1M[:tAX0], exwG + 1, mr17) for exwG in range(tAX0)])",
"def DYlP(AOzf, rhd_... | [
"0.70375466",
"0.6734358",
"0.6707073",
"0.66821045",
"0.6669005",
"0.6638668",
"0.6626423",
"0.6595097",
"0.6569702",
"0.65591913",
"0.6549829",
"0.6549829",
"0.6549829",
"0.6549829",
"0.6549829",
"0.6549829",
"0.65404975",
"0.65404975",
"0.65404975",
"0.65404975",
"0.653511... | 0.0 | -1 |
Compute Average Precision (AP) | def FIMM(YKHO, gwAu=0.5, UoOD=11, *qIxc, **B2fa):
super(FzK5, YKHO).__init__(*qIxc, threshold=gwAu, num_points=UoOD, **B2fa) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def pAZd(AOzf, rhd_):\n YuCV = oyIN.concatenate(([0.0], AOzf, [1.0]))\n BsPE = oyIN.concatenate(([0.0], rhd_, [0.0]))\n for YRbF in range(BsPE.size - 1, 0, -1):\n BsPE[YRbF - 1] = oyIN.maximum(BsPE[YRbF - 1], BsPE[YRbF])\n YRbF = oyIN.where(YuCV[1:] != YuCV[:-1])[0]\n VqfF = oyIN.sum((YuCV[YR... | [
"0.79966694",
"0.79966694",
"0.79966694",
"0.79966694",
"0.79966694",
"0.79966694",
"0.7986554",
"0.7942716",
"0.7942716",
"0.7942716",
"0.7942716",
"0.79316247",
"0.79263365",
"0.79051876",
"0.78968704",
"0.78968704",
"0.78968704",
"0.78968704",
"0.78968704",
"0.787779",
"0.... | 0.0 | -1 |
The home page for Study Group | def kZiy(QePW):
sDlr = CQpO.objects.order_by('Course_Name')
QpfX = {'courses': sDlr}
return _1tc(QePW, 'StudyGroup_app/home.html', QpfX) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def VI_d():\n URWT = FWaO.get_all_students()\n jZxb = FWaO.get_all_projects()\n return TvZl('homepage.html', projects=jZxb, students=URWT)",
"def iXx0(YKHO):\n IXKo = YKHO.current_group_name()\n ZQ6M = YKHO.list_of_exams()\n YKHO.display_widget(Meyq(YKHO, IXKo, ZQ6M))",
"def iXx0(YKHO):\n ... | [
"0.7483824",
"0.7304423",
"0.7304423",
"0.7162536",
"0.7154112",
"0.7071632",
"0.70492256",
"0.70271",
"0.7020124",
"0.7003924",
"0.6999908",
"0.6985874",
"0.6969826",
"0.69554645",
"0.6935429",
"0.6922411",
"0.6922411",
"0.6921236",
"0.6920184",
"0.69117963",
"0.6905759",
... | 0.71163404 | 5 |
Define a CIFAR model in Keras. | def uKFF():
fhcK = ZylS.keras.layers
vHnr = fhcK.Input(shape=(32, 32, 3))
Ty9i = fhcK.Conv2D(filters=32, kernel_size=5, activation='relu', padding='same')(vHnr)
Ty9i = fhcK.MaxPool2D(pool_size=2, name='maxPool1')(Ty9i)
Ty9i = fhcK.Conv2D(filters=64, kernel_size=5, activation='relu', padding='same')(... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def LQs7(YKHO):\n C3ST = xRX8(YKHO.config, YKHO.dataset)\n DfCJ = C3ST.define()\n return DfCJ",
"def DfCJ(YKHO):\n C3ST = ileL()\n C3ST.add(yHwh(32, (3, 3), padding='same', input_shape=(32, 32, 3)))\n C3ST.add(MroH('relu'))\n C3ST.add(yHwh(32, (3, 3)))\n C3ST.add(MroH('relu'))\n C3ST.a... | [
"0.7298655",
"0.7097021",
"0.6871703",
"0.6842622",
"0.65221524",
"0.6521877",
"0.650869",
"0.6495139",
"0.6481849",
"0.6416511",
"0.63589853",
"0.6347524",
"0.634434",
"0.63339907",
"0.6328945",
"0.63228184",
"0.63104343",
"0.63000923",
"0.6273452",
"0.6267823",
"0.6253467",... | 0.0 | -1 |
Parses a single tf.Example into image and label tensors. | def wvEv(lGjS):
bySB = ZylS.parse_single_example(lGjS, features={'image': ZylS.FixedLenFeature([], ZylS.string), 'label': ZylS.FixedLenFeature([], ZylS.int64)})
LNo8 = ZylS.decode_raw(bySB['image'], ZylS.uint8)
LNo8.set_shape([3 * 32 * 32])
LNo8 = ZylS.cast(LNo8, ZylS.float32) * (1.0 / 255) - 0.5
LN... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def m6aZ(lGjS):\n bySB = {'img': ZylS.io.FixedLenFeature([], ZylS.string), 'height': ZylS.io.FixedLenFeature([], ZylS.int64), 'width': ZylS.io.FixedLenFeature([], ZylS.int64), 'depth': ZylS.io.FixedLenFeature([], ZylS.int64), 'label': ZylS.io.FixedLenFeature([], ZylS.string)}\n TlBS = ZylS.io.parse_single_ex... | [
"0.8523828",
"0.8408402",
"0.8269831",
"0.8219355",
"0.8037376",
"0.79617625",
"0.78435093",
"0.78021395",
"0.7756441",
"0.76799256",
"0.76567745",
"0.7626233",
"0.76158226",
"0.7594466",
"0.75802875",
"0.7569802",
"0.75418836",
"0.7533557",
"0.7522838",
"0.746874",
"0.746584... | 0.8256863 | 3 |
Tests that create_model_fn() creates an estimator compatible model_fn. | def cuhk(XCtj, WqaI):
U6Sx = fGaB.estimator.get_cluster_resolver(XCtj)
yb1Q = ZylS.contrib.tpu.RunConfig(cluster=U6Sx, model_dir=WqaI, save_checkpoints_secs=3600, session_config=ZylS.ConfigProto(allow_soft_placement=True, log_device_placement=True), tpu_config=ZylS.contrib.tpu.TPUConfig(iterations_per_loop=100,... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def fkCJ(YKHO, BHCt, YhDe: Optional[Union[int, Any]]=None, round: int=4, uMzy: bool=True, YEmv: bool=True, uo8K: Optional[dict]=None, moMn: Optional[Union[str, Any]]=None, IMh2: bool=True, XnxJ: Optional[float]=None, Zef2: Optional[Dict[str, Any]]=None, PJWX: bool=True, Oz1B: bool=True, S2gw: bool=True, yYwp: Opti... | [
"0.7115605",
"0.7110965",
"0.7107905",
"0.6963911",
"0.684177",
"0.6724747",
"0.66290724",
"0.65863764",
"0.6506369",
"0.6488582",
"0.6416041",
"0.640916",
"0.63935894",
"0.6357508",
"0.6354537",
"0.63388455",
"0.62854373",
"0.6280079",
"0.62660444",
"0.6265846",
"0.62649506"... | 0.755767 | 0 |
Initializer To create a VideoPreProcessor, you need to give a MsrVttSelector and a MsrVttExtractor. They are both used to retrieve data from the MSRVTT dataset. | def FIMM(YKHO, PKko, L77v, R4rN):
YKHO._selector = PKko
YKHO._extractor = L77v
YKHO._feature_path = R4rN
YKHO._json_n_frames_path = Hy7s.path.join(YKHO._feature_path, 'n_frames.json') | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def FIMM(YKHO, ewpU: VideoInputSource, VfsL: List[FrameProcessor], w_KP: List[Detector], Vae3: List[VideoOutput], WUCm: List[MessageSender], OMZ8: VideoProcessingStoppingCriteria):\n YKHO.video_input = ewpU\n YKHO.video_frame_processing_stages = VfsL\n YKHO.video_processing_stages = w_KP\n YKHO.video_o... | [
"0.5660074",
"0.5543771",
"0.55418915",
"0.54800993",
"0.5395536",
"0.5395165",
"0.53895116",
"0.53739125",
"0.5366641",
"0.5359341",
"0.53187627",
"0.5312173",
"0.53055316",
"0.52699053",
"0.52375054",
"0.5217519",
"0.5192523",
"0.5148738",
"0.5109531",
"0.5109106",
"0.51080... | 0.0 | -1 |
Returns, if it exists, the unique number of frame of all videos in videos_names If videos in videos_names belongs to multiple categories with heterogen number of frames, returns None | def gWCV(YKHO, mPbb):
rpgT = YKHO.get_n_frames(mPbb)
if rpgT is None:
return None
if not all((WKvO == rpgT[0] for WKvO in rpgT)):
print('No uniform n_frames found')
return None
return rpgT[0] | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def _acV(YKHO):\n if not YKHO.extracted_video_urls:\n YKHO._extract_video_urls()\n if not YKHO.video_urls:\n if YKHO.has_video:\n return 1\n else:\n return 0\n else:\n return len(YKHO.video_urls)",
"def v1kG(YKHO, mPbb):\n if not isinstance(mPbb, list... | [
"0.64114624",
"0.640736",
"0.5973426",
"0.5836771",
"0.58366185",
"0.5833054",
"0.57810175",
"0.5769276",
"0.57658005",
"0.5733637",
"0.55968565",
"0.5551435",
"0.5546098",
"0.5514178",
"0.5512509",
"0.5461872",
"0.54489017",
"0.5438466",
"0.5424691",
"0.5417765",
"0.5417222"... | 0.6979131 | 0 |
Loads a locally saved model. | def wCNe(xtX7, YSLL):
from sparknlp.internal import _BertLoader
JuU6 = _BertLoader(xtX7, YSLL._jsparkSession)._java_obj
return AaZX(java_model=JuU6) | {
"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):\n pmON = YKHO._get_model_path()\n with open(pmON, 'rb') as eHNT:\n C3ST = t2lc.load(eHNT)\n YKHO._set_model(model=C3ST)",
"def u... | [
"0.8255114",
"0.81000626",
"0.81000626",
"0.81000626",
"0.81000626",
"0.8057009",
"0.80430806",
"0.80430806",
"0.79241186",
"0.7847079",
"0.7840023",
"0.7840023",
"0.7840023",
"0.78390765",
"0.7836718",
"0.7832013",
"0.781831",
"0.7752836",
"0.77391756",
"0.7733037",
"0.77136... | 0.0 | -1 |
Downloads and loads a pretrained model. | def mL4f(mWFP='small_bert_L2_768', DuqQ='en', dchF=None):
from sparknlp.pretrained import ResourceDownloader
return ResourceDownloader.downloadModel(AaZX, mWFP, DuqQ, dchF) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def uyMl():\n with open('trained_model.pickle', 'rb') as pan_:\n ad8h = t2lc.load(pan_)\n return ad8h",
"def uyMl():\n with open('trained_model.pickle', 'rb') as pan_:\n ad8h = t2lc.load(pan_)\n return ad8h",
"def uyMl():\n with open('trained_model.pickle', 'rb') as pan_:\n ... | [
"0.7849941",
"0.7849941",
"0.7849941",
"0.7845828",
"0.78380066",
"0.7781437",
"0.77604467",
"0.7752677",
"0.77171576",
"0.76899135",
"0.7611223",
"0.75655067",
"0.7561931",
"0.7557851",
"0.755028",
"0.75387275",
"0.753481",
"0.75112265",
"0.74552846",
"0.7454875",
"0.7451096... | 0.0 | -1 |
Add an asset to an Adversary. | def s4Rd(YKHO, ShR8, BWXx):
KgUH = f'/v2/groups/adversaries/{ShR8}/adversaryAssets/handles'
xtNF = {'handle': BWXx}
return YKHO._post_json(KgUH, xtNF) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def H2v5(YKHO, IbHI: Asset):\n YKHO.assets.append(IbHI)",
"def CzhI(xskS):\n Ykhp = iHv3.connect('db.db')\n w2B8 = Ykhp.cursor()\n w2B8.execute('INSERT INTO assets VALUES(\\n :timestamp, :amount, :currency, :note)', {'timestamp': ItX3(), 'amount': xskS['Amount'], 'currency': xskS['Currency'], ... | [
"0.7181544",
"0.63189816",
"0.6293798",
"0.60315245",
"0.6018145",
"0.58162105",
"0.5786117",
"0.5785801",
"0.5765654",
"0.57653445",
"0.5711326",
"0.570903",
"0.57038474",
"0.5686958",
"0.5673112",
"0.5670598",
"0.5622355",
"0.5607341",
"0.5602309",
"0.55930114",
"0.55711365... | 0.56518 | 16 |
Add an asset to an Adversary. | def gQ1q(YKHO, ShR8, BWXx):
KgUH = f'/v2/groups/adversaries/{ShR8}/adversaryAssets/phoneNumbers'
xtNF = {'phoneNumber': BWXx}
return YKHO._post_json(KgUH, xtNF) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def H2v5(YKHO, IbHI: Asset):\n YKHO.assets.append(IbHI)",
"def CzhI(xskS):\n Ykhp = iHv3.connect('db.db')\n w2B8 = Ykhp.cursor()\n w2B8.execute('INSERT INTO assets VALUES(\\n :timestamp, :amount, :currency, :note)', {'timestamp': ItX3(), 'amount': xskS['Amount'], 'currency': xskS['Currency'], ... | [
"0.7181544",
"0.63189816",
"0.6293798",
"0.60315245",
"0.6018145",
"0.58162105",
"0.5786117",
"0.5785801",
"0.5765654",
"0.57653445",
"0.5711326",
"0.570903",
"0.57038474",
"0.5686958",
"0.5673112",
"0.5670598",
"0.56518",
"0.5622355",
"0.5607341",
"0.5602309",
"0.55930114",
... | 0.0 | -1 |
Add an asset to an Adversary. | def nl5I(YKHO, ShR8, BWXx):
KgUH = f'/v2/groups/adversaries/{ShR8}/adversaryAssets/urls'
xtNF = {'url': BWXx}
return YKHO._post_json(KgUH, xtNF) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def H2v5(YKHO, IbHI: Asset):\n YKHO.assets.append(IbHI)",
"def CzhI(xskS):\n Ykhp = iHv3.connect('db.db')\n w2B8 = Ykhp.cursor()\n w2B8.execute('INSERT INTO assets VALUES(\\n :timestamp, :amount, :currency, :note)', {'timestamp': ItX3(), 'amount': xskS['Amount'], 'currency': xskS['Currency'], ... | [
"0.7181544",
"0.63189816",
"0.6293798",
"0.60315245",
"0.6018145",
"0.58162105",
"0.5786117",
"0.5785801",
"0.5765654",
"0.57653445",
"0.5711326",
"0.570903",
"0.57038474",
"0.5686958",
"0.5673112",
"0.5670598",
"0.56518",
"0.5622355",
"0.5607341",
"0.5602309",
"0.55930114",
... | 0.5533189 | 26 |
Check to see if a string is True | def m2ls(BWXx):
if not BWXx:
return False
BWXx = str(BWXx)
return BWXx.lower() in ['true', '1', 't', 'y', 'yes'] | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def xzXN(BWXx):\n if BWXx:\n return True\n return False",
"def DeMF(vIwR):\n return vIwR.lower() == 'true'",
"def b4Kz(KCHu):\n if KCHu not in {'False', 'True'}:\n raise ValueError('Not a valid boolean string')\n return KCHu == 'True'",
"def NHHh(vIwR):\n return vIwR.casefold(... | [
"0.84447134",
"0.8227624",
"0.81499034",
"0.80507106",
"0.8031039",
"0.80166185",
"0.8004012",
"0.8003074",
"0.7953525",
"0.79266894",
"0.7913626",
"0.78893554",
"0.78764594",
"0.784895",
"0.7828195",
"0.78095996",
"0.78042006",
"0.7801584",
"0.77993137",
"0.7798814",
"0.7794... | 0.7412013 | 58 |
Get a file occurrence given a occurrence_id. | def gdcW(YKHO, ivQx, oPUJ, ShR8, lf1Q, qsJ6=None, XeOP='GET'):
bD7m = f'/v2/{ivQx}/{oPUJ}/{ShR8}/fileOccurrences/{lf1Q}'
NArs = {}
if qsJ6:
NArs['owner'] = qsJ6
if XeOP == 'GET':
return YKHO._get(bD7m, NArs)
if XeOP == 'DELETE':
return YKHO._delete(bD7m, NArs)
return None | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def IrNG(YKHO, ivQx, oPUJ, ShR8, lf1Q, qsJ6=None):\n return YKHO.file_occurrence(ivQx, oPUJ, ShR8, lf1Q, qsJ6)",
"def zAPd(YKHO, jw7D):\n jw7D = aSD4(jw7D)\n cprA = YKHO._occurrence_cache.get(jw7D)\n if not cprA:\n cprA = WKue(YKHO.item, jw7D)\n YKHO._occurrence_cache[jw7D] = cprA\n ... | [
"0.72443885",
"0.68298554",
"0.6278141",
"0.6263371",
"0.61714745",
"0.61584",
"0.61220783",
"0.61179054",
"0.6111315",
"0.6108381",
"0.60844153",
"0.6050307",
"0.60249615",
"0.59361875",
"0.5841189",
"0.57961833",
"0.5793639",
"0.57610685",
"0.571908",
"0.5703299",
"0.568539... | 0.6724873 | 2 |
Return a list of tags on an entity. | def dJ1p(YKHO, ivQx, oPUJ, ShR8, qsJ6=None, KUnM=None, NArs=None):
NArs = NArs or {}
if qsJ6:
NArs['owner'] = qsJ6
if KUnM and KUnM.filters:
NArs['filters'] = KUnM.filters_string
if not oPUJ:
bD7m = f'/v2/{ivQx}/{ShR8}/tags'
else:
bD7m = f'/v2/{ivQx}/{oPUJ}/{ShR8}/tag... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def pUuQ(YKHO, LEXu: AtlasEntityWithExtInfo) -> x1iM[OhYN]:\n Aofo = []\n pI2Q = YKHO._filter_active(LEXu.get(VvBW.relationships, dict()).get('meanings', []))\n for OXAZ in pI2Q or list():\n Aofo.append(OhYN(tag_name=OXAZ.get('displayText', ''), tag_type='default'))\n return Aofo",
"def Y5bi(Y... | [
"0.771207",
"0.7445773",
"0.7366556",
"0.73428845",
"0.72786754",
"0.72582597",
"0.71087885",
"0.7043947",
"0.7043399",
"0.7020364",
"0.7019466",
"0.69560754",
"0.694508",
"0.69321907",
"0.69209814",
"0.69209814",
"0.6888591",
"0.6860825",
"0.6850178",
"0.68384075",
"0.683562... | 0.0 | -1 |
Return a list of all tags. | def q2BR(YKHO, i07_=None, KUnM=None, NArs=None):
NArs = NArs or {}
if i07_:
NArs['owner'] = i07_
if KUnM and KUnM.filters:
NArs['filters'] = KUnM.filters_string
bD7m = '/v2/tags'
yield from YKHO._iterate(bD7m, NArs, 'tag') | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def tBS1():\n dJ1p = A_Eo.objects.all()\n return dJ1p",
"def Y5bi(YKHO):\n bo34.info('List tags')\n return JKCy.Tag.list(YKHO).result()",
"def Qwli(YKHO):\n return YKHO.list",
"def wWtK(YKHO):\n return YKHO._list_names('tags')",
"def tBS1():\n wk5E.logger.info('Start function get_all_t... | [
"0.86535364",
"0.86230737",
"0.8425721",
"0.8424059",
"0.83694595",
"0.83501124",
"0.8310667",
"0.82928616",
"0.82928616",
"0.8226714",
"0.8222919",
"0.82218313",
"0.82097477",
"0.8192211",
"0.8174307",
"0.81552774",
"0.8148504",
"0.8120078",
"0.80978984",
"0.8090107",
"0.806... | 0.0 | -1 |
Return a list of labels on an entity. | def Crrw(YKHO, ivQx, oPUJ, ShR8, qsJ6=None, KUnM=None, NArs=None):
NArs = NArs or {}
if qsJ6:
NArs['owner'] = qsJ6
if KUnM and KUnM.filters:
NArs['filters'] = KUnM.filters_string
if not oPUJ:
bD7m = f'/v2/{ivQx}/{ShR8}/securityLabels'
else:
bD7m = f'/v2/{ivQx}/{oPUJ}/... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def Te1x(YKHO, iw71: bool=False) -> x1iM[rrYh]:\n return YKHO.label_schema.get_labels(iw71)",
"def Te1x(nPrm):\n Crrw = []\n for YRbF in range(len(nPrm)):\n tTpl = nPrm.loc[YRbF]['entity']\n if tTpl != u0Pv:\n Crrw.append(tTpl)\n return Crrw",
"def w1PV(YKHO):\n return Y... | [
"0.77744246",
"0.7764191",
"0.7514933",
"0.7481516",
"0.73301524",
"0.72464424",
"0.72385144",
"0.7216355",
"0.719886",
"0.716641",
"0.7161766",
"0.7143362",
"0.7127181",
"0.7093443",
"0.7091981",
"0.70670867",
"0.7060866",
"0.7027565",
"0.7027565",
"0.69716567",
"0.6938741",... | 0.0 | -1 |
Delete attribute label on an entity. | def hWUw(YKHO, ivQx, oPUJ, ShR8, E0C9, UXqs, qsJ6=None):
return YKHO.attribute_label(ivQx, oPUJ, ShR8, E0C9, UXqs, action='DELETE', owner=qsJ6) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def Pixi(YKHO, UXqs):\n return YKHO.label(UXqs, action='DELETE')",
"def Zi1Z(YKHO, UXqs, H5ew):\n if H5ew in YKHO._graph.node[UXqs]:\n del YKHO._graph.node[UXqs][H5ew]",
"def Pixi(qWzF):\n UXqs = seYU.query.filter_by(id=qWzF).first_or_404()\n NCls.session.delete(UXqs)\n NCls.session.commi... | [
"0.7448204",
"0.73534197",
"0.68202055",
"0.68152905",
"0.6807433",
"0.6724722",
"0.6718001",
"0.6661704",
"0.6659115",
"0.664598",
"0.6549315",
"0.65474457",
"0.65184397",
"0.64745957",
"0.6461155",
"0.6430414",
"0.6417782",
"0.63751423",
"0.6374922",
"0.63609666",
"0.634036... | 0.7479035 | 0 |
Get the score for the current frame, not counting any previous frames in the sequence. | def XcW0(YKHO, mJjV=None, APF1=None):
zVrk = sum(YKHO.rolls)
if not mJjV:
return zVrk
if zVrk < z4WE:
return zVrk
zVrk += mJjV.rolls[0]
if YKHO.rolls[0] == z4WE:
try:
zVrk += mJjV.rolls[1]
except IndexError:
if APF1:
zVrk += APF... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def p1kx(YKHO):\n Szyq = YKHO.frames[0] if YKHO.frames else None\n zVrk = 0\n L3F1 = 0\n while Szyq:\n mJjV = None\n if len(YKHO.frames) > L3F1 + 1:\n mJjV = YKHO.frames[L3F1 + 1]\n APF1 = None\n if len(YKHO.frames) > L3F1 + 2:\n APF1 = YKHO.frames[L3F1... | [
"0.84201515",
"0.7017804",
"0.682168",
"0.6815924",
"0.6804956",
"0.67734",
"0.67571783",
"0.67283165",
"0.670114",
"0.6694888",
"0.6694888",
"0.6685217",
"0.66768444",
"0.66742563",
"0.66546535",
"0.66467637",
"0.6640329",
"0.6639487",
"0.6639487",
"0.6639487",
"0.6639487",
... | 0.6713142 | 8 |
Get the score of the game. | def p1kx(YKHO):
Szyq = YKHO.frames[0] if YKHO.frames else None
zVrk = 0
L3F1 = 0
while Szyq:
mJjV = None
if len(YKHO.frames) > L3F1 + 1:
mJjV = YKHO.frames[L3F1 + 1]
APF1 = None
if len(YKHO.frames) > L3F1 + 2:
APF1 = YKHO.frames[L3F1 + 2]
z... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def SQRS(YKHO):\n return YKHO.score",
"def hckV(YKHO):\n return nNXP.get_score(YKHO.api_key, YKHO.game_state.game_id)",
"def vNP6(YKHO):\n return YKHO._score",
"def ysID(YKHO):\n return YKHO._score",
"def hckV(YKHO):\n return YKHO.score",
"def hckV(YKHO):\n return YKHO._score",
"def v... | [
"0.8997992",
"0.89059603",
"0.8348407",
"0.83447737",
"0.82947886",
"0.8290174",
"0.8283024",
"0.8281378",
"0.82697785",
"0.82427526",
"0.82264405",
"0.8185656",
"0.81840277",
"0.81840277",
"0.8176929",
"0.8176929",
"0.81500846",
"0.8138094",
"0.812965",
"0.8110802",
"0.80659... | 0.0 | -1 |
Return parsed program arguments in argparse.Namespace. | def gGZX() -> j1Jz.Namespace:
wvEv = WDqQ()
wvEv.add_argument('--amount', type=float, required=True, dest='amount', help='Amount of money to be converted.')
wvEv.add_argument('--input_currency', type=str, required=True, dest='input_currency', help='Currency to be converted from. Currency is symbol or 3 lett... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def U5Ri(wvEv: argparse.ArgumentParser) -> j1Jz.Namespace:\n return wvEv.parse_args()",
"def dCXb(YKHO, E0cB) -> j1Jz.Namespace:\n return YKHO.parser.parse_args(E0cB)",
"def rwTO() -> j1Jz.Namespace:\n wvEv = j1Jz.ArgumentParser(prog='python3 -m haproxy_api.server', description='HAProxy API Server')\n... | [
"0.80514467",
"0.7737796",
"0.7462281",
"0.7380666",
"0.73646784",
"0.73636675",
"0.73636675",
"0.73560965",
"0.73540527",
"0.7346499",
"0.73228097",
"0.727988",
"0.72392786",
"0.71579134",
"0.7123504",
"0.7123504",
"0.7074951",
"0.70671207",
"0.70571524",
"0.7050214",
"0.704... | 0.0 | -1 |
Write a viewer JSON file. | def Lsrz(YKHO, gIsw):
YKHO._logger.info('Writing DNA Design Viewer JSON file: %s ' % gIsw)
LMTc = YKHO.dna_structure
LMTc.compute_aux_data()
W1FA = lykK.names[LMTc.lattice_type]
SwzQ = YKHO._get_strand_info(LMTc)
FI_4 = YKHO._get_helices_info(LMTc)
BhJL = YKHO._get_domain_info(LMTc)
L0r8... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def UFfj(rNkx, pmON):\n qQXR = rNkx.to_json()\n nMY2 = wFOJ.dumps(qQXR)\n nMY2 = 'var permits = ' + nMY2 + ';'\n qo3m(nMY2, pmON)",
"def h7Q7(YKHO, nPrm, IznC):\n with open(IznC, 'w') as _RR0:\n qQXR.dump(nPrm, _RR0, indent=2)",
"def uP8n(YKHO, nPrm, Ux0P):\n with open(Ux0P, 'w') as eH... | [
"0.71171004",
"0.69283056",
"0.6859894",
"0.6805153",
"0.6802848",
"0.67985916",
"0.67795444",
"0.6767956",
"0.6761294",
"0.6732453",
"0.6703457",
"0.66892004",
"0.667207",
"0.6657341",
"0.66562486",
"0.66385984",
"0.66136456",
"0.66107494",
"0.6585847",
"0.65725964",
"0.6559... | 0.7037523 | 1 |
Get JSON serialized data for all the domains. | def WOp4(YKHO, LMTc):
BhJL = []
for zrIJ in LMTc.domain_list:
lCHq, ANJu = zrIJ.get_end_points()
XFkT = [P8oC.id for P8oC in zrIJ.base_list]
if zrIJ.strand:
dut_ = zrIJ.strand.id
IXge = [P8oC.id for P8oC in zrIJ.strand.tour]
pSOd = IXge.index(XFkT[0])
... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def zEgx():\n Q2f9 = QyXt(qIxc)\n zEgx = Q2f9.domains()\n _una = []\n for Csk6 in zEgx:\n _una.append(Csk6.__dict__)\n return pz3A({'domains': _una, 'hash': HBct.md5(str(_una)).hexdigest()})",
"def APKI(YKHO):\n return {'names': [Csk6.name for Csk6 in YKHO._domains], 'ids': [Csk6.id for ... | [
"0.7891831",
"0.7121641",
"0.6961977",
"0.6779851",
"0.6661438",
"0.66090935",
"0.65739715",
"0.65013355",
"0.645715",
"0.6451029",
"0.64358985",
"0.640544",
"0.63857603",
"0.635938",
"0.6347333",
"0.6329554",
"0.6303444",
"0.63007754",
"0.6296865",
"0.6281504",
"0.6272098",
... | 0.0 | -1 |
Selects the pts inside the circle pi(d/2)2 centering at (lon,lat) > Circular inversion cell. | def x28p(B81d, CyPu, FDPT, QnmL, Csk6):
aUKP = B81d.shape[0]
olTx = B81d.shape[1]
Mkmy = Csk6 / 2.0
ZZSa = '\n\t// Distance between two points (P and Q)\n\n\tdouble distance_pq(double lon_1, double lat_1, \n\t double lon_2, double lat_2) {\n\n\t\t\treturn hypot(lon_1 - lon_2, lat_1 - l... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def mRWl(YRbF, r845, kZr1, ZRmL, NOLA):\n WKvO = YRbF / (kZr1 - 1)\n LVAh = r845 / (ZRmL - 1)\n rVnq = r845 / ZRmL * 2.0 * oyIN.pi\n if ZRmL % 2 == 1 and r845 != int(ZRmL / 2.0) or ZRmL % 2 == 0:\n if r845 < ZRmL / 2.0:\n if YRbF >= r845 and YRbF <= kZr1 - 1 - r845:\n j... | [
"0.6550133",
"0.63145816",
"0.6204865",
"0.6129806",
"0.61293054",
"0.6121764",
"0.6108283",
"0.61071604",
"0.6103397",
"0.6102871",
"0.60867554",
"0.60730016",
"0.60509884",
"0.6038596",
"0.6036608",
"0.60357296",
"0.60344064",
"0.60298336",
"0.6022939",
"0.60125935",
"0.600... | 0.0 | -1 |
Configure network proxy for Docker Container. In Docker containers environment variables from /etc/environment are not sourced this results in connection problems when running behind proxy. Prepending proxy environment variables to bashrc | def ZmyB(YKHO):
if vPBo.http_proxy:
_hwp = "sed -i '1i export http_proxy=%s' /etc/bash.bashrc"
YKHO.RemoteCommand(_hwp % vPBo.http_proxy)
if vPBo.https_proxy:
fthQ = "sed -i '1i export https_proxy=%s' /etc/bash.bashrc"
YKHO.RemoteCommand(fthQ % vPBo.http_proxy)
if vPBo.ftp_pr... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def rlD2():\n Odov = ['https_proxy', 'http_proxy', 'ftp_proxy', 'HTTP_PROXY', 'HTTPS_PROXY', 'FTP_PROXY']\n for kMyc in Odov:\n if Hy7s.getenv(kMyc):\n if len(Hy7s.environ[kMyc]) != 0:\n for YRbF in Odov:\n Hy7s.environ[YRbF] = Hy7s.environ[kMyc]\n ... | [
"0.73195636",
"0.6877874",
"0.65470195",
"0.6415006",
"0.6231693",
"0.61837226",
"0.6130804",
"0.6128376",
"0.6053908",
"0.5954274",
"0.59224784",
"0.585532",
"0.58441085",
"0.5807038",
"0.5807038",
"0.5807038",
"0.57673407",
"0.57227397",
"0.5714113",
"0.5708111",
"0.565232"... | 0.80145425 | 0 |
Add paddings to samples in one batch to make sure that they have the same length. | def gCa9(Wc9F):
if len(Wc9F) == 1:
return 1
else:
return Wc9F | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def zRwO(nPrm):\n Z2tB = [YRbF.shape[0] for YRbF in nPrm]\n Odaz = [YRbF.shape[1] for YRbF in nPrm]\n K8VR = max(Z2tB)\n N7EU = max(Odaz)\n Ylbp = []\n for ZfUD in nPrm:\n BxRD = oyIN.zeros((K8VR, N7EU))\n BxRD[:ZfUD.shape[0], :ZfUD.shape[1]] = ZfUD\n Ylbp.append(BxRD)\n r... | [
"0.73788124",
"0.7236964",
"0.7149368",
"0.71050626",
"0.70639914",
"0.7057761",
"0.7013708",
"0.70079696",
"0.6974612",
"0.6972701",
"0.68810487",
"0.6864583",
"0.68610376",
"0.6844651",
"0.68249595",
"0.68144995",
"0.67947024",
"0.678631",
"0.67765915",
"0.67732674",
"0.677... | 0.0 | -1 |
Add paddings to samples in one batch to make sure that they have the same length. | def TV6B(Wc9F):
if len(Wc9F[0]['data']) == 1:
return 1
else:
return {'data': ht2j.tensor(Wc9F[0]['data']).float(), 'length': Wc9F[0]['length']} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def zRwO(nPrm):\n Z2tB = [YRbF.shape[0] for YRbF in nPrm]\n Odaz = [YRbF.shape[1] for YRbF in nPrm]\n K8VR = max(Z2tB)\n N7EU = max(Odaz)\n Ylbp = []\n for ZfUD in nPrm:\n BxRD = oyIN.zeros((K8VR, N7EU))\n BxRD[:ZfUD.shape[0], :ZfUD.shape[1]] = ZfUD\n Ylbp.append(BxRD)\n r... | [
"0.73788124",
"0.7236964",
"0.7149368",
"0.71050626",
"0.70639914",
"0.7057761",
"0.7013708",
"0.70079696",
"0.6974612",
"0.6972701",
"0.68810487",
"0.6864583",
"0.68610376",
"0.6844651",
"0.68249595",
"0.68144995",
"0.67947024",
"0.678631",
"0.67765915",
"0.67732674",
"0.677... | 0.0 | -1 |
Sort data by the length and then make batches and shuffle them. data is tuple (X1, X2, ..., Xn) all of them have the same length. Usually data = (X, y). | def ifAV(YKHO, nPrm):
Ep8u = YKHO.batch_size
assert len(nPrm) >= 2
nPrm = list(zip(*nPrm))
tuKI.shuffle(nPrm)
J0yt = len(nPrm)
wXAI = J0yt % Ep8u
sdCG = nPrm[:J0yt - wXAI]
J3uN = nPrm[J0yt - wXAI:]
nPrm = []
sdCG.sort(key=lambda WKvO: WKvO[0].shape[0])
hk3a = [sdCG[YRbF:YRbF ... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def N27G(nPrm, Ep8u, hXNa=True):\n gSR0 = oRi_(list)\n for q2Xo in nPrm:\n EMFs = q2Xo[0]\n gSR0[len(EMFs)].append(q2Xo)\n _99N = []\n for oe5C in gSR0:\n SqIz = gSR0[oe5C]\n if hXNa:\n oyIN.random.shuffle(SqIz)\n _99N.extend(list(iVrH(SqIz, Ep8u)))\n if... | [
"0.75897896",
"0.71754736",
"0.70478815",
"0.6915945",
"0.6748047",
"0.6740713",
"0.67024887",
"0.6698441",
"0.6589914",
"0.65518796",
"0.65385973",
"0.6538281",
"0.6472892",
"0.64611053",
"0.64611053",
"0.64250803",
"0.64216775",
"0.63955665",
"0.63935256",
"0.6390764",
"0.6... | 0.7896758 | 1 |
Sort data by the length and then make batches and shuffle them. data is tuple (X1, X2, ..., Xn) all of them have the same length. Usually data = (X, y). | def ifAV(YKHO, nPrm):
Ep8u = YKHO.batch_size
assert len(nPrm) >= 2
nPrm = list(zip(*nPrm))
tuKI.shuffle(nPrm)
J0yt = len(nPrm)
wXAI = J0yt % Ep8u
sdCG = nPrm[:J0yt - wXAI]
J3uN = nPrm[J0yt - wXAI:]
nPrm = []
sdCG.sort(key=lambda WKvO: WKvO[0].shape[0])
hk3a = [sdCG[YRbF:YRbF ... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def N27G(nPrm, Ep8u, hXNa=True):\n gSR0 = oRi_(list)\n for q2Xo in nPrm:\n EMFs = q2Xo[0]\n gSR0[len(EMFs)].append(q2Xo)\n _99N = []\n for oe5C in gSR0:\n SqIz = gSR0[oe5C]\n if hXNa:\n oyIN.random.shuffle(SqIz)\n _99N.extend(list(iVrH(SqIz, Ep8u)))\n if... | [
"0.7589594",
"0.7174959",
"0.7048529",
"0.6916788",
"0.6748563",
"0.6740723",
"0.6703886",
"0.66981924",
"0.6590644",
"0.6552698",
"0.6540051",
"0.6538661",
"0.6473781",
"0.6461338",
"0.6461338",
"0.6424358",
"0.6421627",
"0.63957846",
"0.6394667",
"0.63903844",
"0.6380926",
... | 0.78959304 | 0 |
Sets the description of this ProjectModel. | def JBZA(YKHO, JBZA):
YKHO._description = JBZA | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def AqxA(YKHO, JBZA):\n YKHO.description = JBZA",
"def AqxA(YKHO, JBZA):\n YKHO.description = JBZA",
"def AqxA(YKHO, JBZA):\n YKHO.description = JBZA",
"def AqxA(YKHO, JBZA):\n YKHO.description = JBZA",
"def AqxA(YKHO, JBZA):\n YKHO.description = JBZA",
"def AqxA(YKHO, JBZA):\n YKHO.des... | [
"0.7775269",
"0.7775269",
"0.7775269",
"0.7775269",
"0.7623919",
"0.76161164",
"0.75816983",
"0.7542386",
"0.7486487",
"0.74735194",
"0.74642855",
"0.7454881",
"0.7440473",
"0.7440473",
"0.7440473",
"0.7440473",
"0.7440473"
] | 0.7434155 | 48 |
Sets the leaderboard of this ProjectModel. | def u0bc(YKHO, u0bc):
YKHO._leaderboard = u0bc | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def mkvY(YKHO):\n YKHO.state = NsXV(YKHO)\n YKHO.leaderId = YKHO.id\n YKHO.votedFor = YKHO.id\n return YKHO",
"def EZ0t(YKHO, iBIi):\n YKHO._board = iBIi",
"def EZ0t(YKHO, iBIi):\n YKHO._board = iBIi",
"def jeiV(YKHO):\n iBIi = 'Leader Board:\\n'\n for fdMZ, CBIr in enumerate(YKHO.__s... | [
"0.6283543",
"0.59309536",
"0.5907806",
"0.5868113",
"0.5849267",
"0.5766619",
"0.57656986",
"0.5754775",
"0.573491",
"0.5724259",
"0.55407023",
"0.5510682",
"0.5481026",
"0.53986484",
"0.53662455",
"0.53618574",
"0.535486",
"0.53289473",
"0.53269565",
"0.5309112",
"0.5272444... | 0.78753185 | 0 |
Sets the details of this ProjectModel. | def iQG7(YKHO, iQG7):
YKHO._details = iQG7 | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def iQG7(YKHO, iQG7):\n if iQG7 is None:\n raise ValueError('Invalid value for `details`, must not be `None`')\n YKHO._details = iQG7",
"def iQG7(YKHO, iQG7: str):\n YKHO._details = iQG7",
"def feCp(Emd4, ekCf, **B2fa):\n EPmD = UpTV.query.filter_by(project_id=ekCf).first()\n print(1)\n ... | [
"0.6013597",
"0.59588015",
"0.57938814",
"0.56702214",
"0.56178737",
"0.56098336",
"0.55968314",
"0.5586713",
"0.55822223",
"0.5515422",
"0.5433014",
"0.5423981",
"0.5367056",
"0.5357972",
"0.5357972",
"0.53276944",
"0.5289856",
"0.5288102",
"0.5288102",
"0.5288102",
"0.52873... | 0.6397211 | 2 |
Sets the eval_dataset of this ProjectModel. | def FUPx(YKHO, FUPx):
YKHO._eval_dataset = FUPx | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def Kkyv(YKHO, uLwN):\n raise NotImplementedError()",
"def __n6(YKHO, __n6):\n YKHO._dataset = __n6",
"def qYbd(YKHO):\n if YKHO._is_train:\n for r8hN in YKHO._models:\n r8hN.set_eval_mode()\n YKHO._is_train = False",
"def exRQ(YKHO, fZOg):\n YKHO.__testdataset = fZOg",
"de... | [
"0.6294132",
"0.6200635",
"0.61909914",
"0.61159587",
"0.60279506",
"0.60204947",
"0.6000413",
"0.5875577",
"0.57666886",
"0.5746375",
"0.57279205",
"0.56661254",
"0.56329304",
"0.55834746",
"0.5581522",
"0.5535703",
"0.5487939",
"0.54814065",
"0.54797775",
"0.54722595",
"0.5... | 0.8125986 | 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.83931077",
"0.83551943",
"0.8295509",
"0.8132744",
"0.8115034",
"0.8100248",
"0.8099668",
"0.80982566",
"0.80982566",
"0.809302",
"0.809302",
"0.809302",
"0.809302",
"0.808576",
"0.808576",
"0.808576",
"0.808576",
"0.808576",
"0.80673736",
"0.80593926",
"0.80581796",
"0.... | 0.0 | -1 |
Permute the discrete latent states. | def Etel(YKHO, IuXB):
YKHO.log_pi0 = YKHO.log_pi0[IuXB] | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def OGmb(YKHO):\n tuKI.shuffle(YKHO.matrix)",
"def Etel(WKvO, IuXB, mWFP='perm'):\n with ZylS.variable_scope(mWFP) as rrBf:\n epBp = ZylS.transpose(ZylS.gather(ZylS.transpose(WKvO), IuXB))\n MA1q = 0.0\n\n def bO0u(epBp):\n with ZylS.variable_scope(rrBf, reuse=True):\n WK... | [
"0.6049408",
"0.59037095",
"0.5825901",
"0.5678378",
"0.5674158",
"0.563979",
"0.56009173",
"0.55947727",
"0.55925226",
"0.55786645",
"0.55786645",
"0.55704916",
"0.55448496",
"0.55448496",
"0.5523695",
"0.55110145",
"0.54866594",
"0.54866594",
"0.54866594",
"0.54866594",
"0.... | 0.5443403 | 43 |
Return True if the key is in PriorityQueue. | def FYXB(YKHO, H5ew):
return any([ZfUD == H5ew for bGrB, ZfUD in YKHO.heap]) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def FYXB(YKHO, H5ew):\n return H5ew in [H5ew for bGrB, H5ew, bGrB in YKHO._queue]",
"def FYXB(YKHO, H5ew):\n return H5ew in [exwG[-1] for exwG in YKHO.queue]",
"def FYXB(YKHO, H5ew):\n return any([ZfUD == H5ew for bGrB, ZfUD in YKHO.heap])",
"def j8e9(YKHO, H5ew):\n if H5ew in list(vexM.queue):\n... | [
"0.8007985",
"0.79635245",
"0.7892739",
"0.7558341",
"0.70432216",
"0.70430535",
"0.70381176",
"0.7025708",
"0.70188737",
"0.70149046",
"0.6982543",
"0.6975069",
"0.696597",
"0.6961296",
"0.69561607",
"0.69385445",
"0.69235337",
"0.69212955",
"0.69126004",
"0.6910843",
"0.691... | 0.7897342 | 2 |
Returns the first value associated with key in PriorityQueue. Raises KeyError if key is not present. | def OP2O(YKHO, H5ew):
for BWXx, ZfUD in YKHO.heap:
if ZfUD == H5ew:
return BWXx
raise KeyError(str(H5ew) + ' is not in the priority queue') | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def OP2O(YKHO, H5ew):\n for BWXx, ZfUD in YKHO.heap:\n if ZfUD == H5ew:\n return BWXx\n raise KeyError(str(H5ew) + ' is not in the priority queue')",
"def NMoC(YKHO, H5ew):\n if H5ew is None:\n raise ValueError('argument to get() is None')\n if YKHO.is_empty():\n retur... | [
"0.8163076",
"0.7680642",
"0.75578815",
"0.72462606",
"0.7159754",
"0.71399784",
"0.7112341",
"0.7088795",
"0.70858145",
"0.70607936",
"0.7055243",
"0.70440036",
"0.7032638",
"0.70213455",
"0.69451565",
"0.6944197",
"0.69367343",
"0.69328535",
"0.69268787",
"0.69136024",
"0.6... | 0.82377833 | 0 |
Componentwise addition of two vectors. | def JsGA(jzdc, Fg_i):
return tuple(map(H2v5, jzdc, Fg_i)) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def xXeU(jzdc, Fg_i):\n return (jzdc[0] + Fg_i[0], jzdc[1] + Fg_i[1])",
"def KfxW(hQHm, jlSq):\n return hQHm + jlSq",
"def GAyv(Yipr, Vkf3):\n return [jzdc + Fg_i for jzdc, Fg_i in zip(Yipr, Vkf3)]",
"def JsGA(jzdc, Fg_i):\n return tuple(map(seET.add, jzdc, Fg_i))",
"def JsGA(jzdc, Fg_i):\n ... | [
"0.8267828",
"0.81277233",
"0.8121106",
"0.80445313",
"0.80445313",
"0.80445313",
"0.7996487",
"0.7850333",
"0.78470653",
"0.7813485",
"0.7805748",
"0.77782583",
"0.7734196",
"0.76840377",
"0.76829225",
"0.7665754",
"0.76406276",
"0.76336753",
"0.7633664",
"0.7587906",
"0.755... | 0.7975098 | 7 |
Return an element with highest fn(seq[i]) score; break ties at random. | def Pn7A(Q6uT, H5ew=_E99):
return max(Nobg(Q6uT), key=H5ew) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def mBC8(Q6uT, FYKK):\n Qai7 = FYKK(Q6uT[0])\n exwG = 0\n for WKvO in Q6uT:\n VTuD = FYKK(WKvO)\n if VTuD < Qai7:\n P6Dd, Qai7 = (WKvO, VTuD)\n exwG = 1\n elif VTuD == Qai7:\n exwG += 1\n if tuKI.randrange(exwG) == 0:\n P6Dd =... | [
"0.7308119",
"0.7308119",
"0.66292703",
"0.66292703",
"0.66292703",
"0.66292703",
"0.65748566",
"0.6565905",
"0.6453352",
"0.6315122",
"0.61288196",
"0.6061208",
"0.60440147",
"0.6028739",
"0.6028155",
"0.6028129",
"0.5976949",
"0.5958009",
"0.59316444",
"0.59263647",
"0.5894... | 0.6581769 | 7 |
Before saving the instance it sets it to inactive until the user confirms email. Returns | def xkzz(YKHO, jSYO=True):
KAOR = super(tkLq, YKHO).save(commit=False)
KAOR.is_active = False
if jSYO:
KAOR.save()
with _u6t(max_workers=2) as ZaUd:
ZaUd.submit(YKHO._send_email_confirmation, KAOR)
return KAOR | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def XzoI(YKHO):\n YKHO.is_active = False\n YKHO.save()\n ivf7.send_expired_email(YKHO)",
"def lwXz(YKHO, L03z):\n geh0 = super().form_valid(L03z)\n YKHO.object.is_active = False\n YKHO.object.save()\n cHyp = L03z.cleaned_data['email']\n TYqY.delay(cHyp)\n return geh0",
"def b27A(YKHO... | [
"0.73606616",
"0.7337799",
"0.70635337",
"0.6688841",
"0.65920895",
"0.65229607",
"0.64752275",
"0.64028955",
"0.64000934",
"0.6385634",
"0.6363574",
"0.63163286",
"0.63057506",
"0.63057506",
"0.6292566",
"0.6268158",
"0.6268144",
"0.62392616",
"0.62270916",
"0.6220275",
"0.6... | 0.70486 | 3 |
Clear the whole console. | def Y7Bk():
zJsh.write('\x1b[2J\x1b[H') | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def Htfn():\n if a9EH.system() == 'Windows':\n Hy7s.system('cls')\n elif a9EH.system() == 'Linux':\n Hy7s.system('clear')",
"def Htfn():\n Hy7s.system('cls' if Hy7s.name == 'nt' else 'clear')",
"def Htfn():\n if a9EH.system() == 'Linux':\n Hy7s.system('clear')\n elif a9EH.sy... | [
"0.8867502",
"0.88037604",
"0.8781962",
"0.8699963",
"0.8672352",
"0.8557998",
"0.8531081",
"0.8520651",
"0.8469796",
"0.82459563",
"0.8242193",
"0.8234111",
"0.819739",
"0.8182405",
"0.8175388",
"0.81679726",
"0.81193095",
"0.8111821",
"0.810225",
"0.810225",
"0.8095501",
... | 0.8196782 | 13 |
Calculate the softmax value of a matrix Z. | def N93T(Nk6w):
OCOs = oyIN.sum(oyIN.exp(Nk6w), axis=0, keepdims=True)
k0lF = oyIN.true_divide(oyIN.exp(Nk6w), OCOs)
return k0lF | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def N93T(epBp):\n N93T = oyIN.zeros(epBp.shape)\n r8hN = epBp.shape[1]\n for YRbF in range(0, r8hN):\n nWuZ = epBp[:, YRbF]\n KCHu = oyIN.exp(nWuZ - oyIN.max(nWuZ))\n KCHu = KCHu / oyIN.sum(KCHu)\n N93T[:, YRbF] = KCHu\n return N93T",
"def N93T(Nk6w):\n epBp = Nk6w - oy... | [
"0.8759796",
"0.87556934",
"0.86866677",
"0.867183",
"0.86702317",
"0.8652986",
"0.862679",
"0.86056644",
"0.8565583",
"0.8477984",
"0.84679437",
"0.84472305",
"0.8438529",
"0.84171015",
"0.8403648",
"0.8352172",
"0.8352172",
"0.8284179",
"0.82370514",
"0.7987463",
"0.7919672... | 0.85047126 | 9 |
Forward propagation thru all the layers. Also used to calculate predictions on the test set. | def lu_y(EcVT, fuBA, SGPK, fhcK):
k0lF = [EcVT]
wyyA = [(EcVT, None)]
or8S = 1
while or8S < len(fhcK):
wd0p, kRy8 = xXRQ(k0lF[or8S - 1], SGPK, or8S, fhcK[or8S][1])
k0lF.append(wd0p)
wyyA.append((wd0p, kRy8))
or8S += 1
sSN_ = UM2M(fuBA, k0lF[-1])
return (k0lF[-1], ... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def KVH6(YKHO, WKvO):\n for gEmA in YKHO.layers:\n if YKHO.train:\n WKvO = gEmA.forward(WKvO)\n elif not gEmA.train_only:\n WKvO = gEmA.forward(WKvO)\n return WKvO",
"def B981(YKHO, WbAn, ZRHE):\n for gEmA in range(YKHO.num_layers - 1):\n if YKHO.verbose is Tru... | [
"0.7380914",
"0.7364823",
"0.7352457",
"0.72998834",
"0.7272921",
"0.72040665",
"0.72040665",
"0.71829534",
"0.7085628",
"0.708304",
"0.7063033",
"0.7057486",
"0.70547384",
"0.69823325",
"0.6966553",
"0.6839079",
"0.6837192",
"0.6819547",
"0.68076456",
"0.6793923",
"0.679304"... | 0.0 | -1 |
A single linear layer backpropagation. | def E8Hi(R5Nm, etIE, XcU5):
r8hN = R5Nm.shape[1]
HFON = 1.0 / r8hN * oyIN.dot(R5Nm, etIE.T)
NCls = 1.0 / r8hN * oyIN.sum(R5Nm, axis=1, keepdims=True)
wQ6z = oyIN.dot(XcU5.T, R5Nm)
return (HFON, NCls, wQ6z) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def KVH6(YKHO, WKvO):\n Ti9P, cBI6 = YKHO.get_weight_()\n return vuvg.linear(WKvO, Ti9P, cBI6)",
"def NQCf(YKHO, rrBf, EcVT, vNnt, hr1G=False, uYNl=True, sMyr=0.5, W3TF=False, QZir=True, me_w=True):\n tpio = EcVT.get_shape().as_list()[-1]\n with ZylS.variable_scope(rrBf) as rrBf:\n _mSQ = ZylS... | [
"0.6975046",
"0.6966044",
"0.689154",
"0.6886251",
"0.68806183",
"0.6878666",
"0.68130624",
"0.67974925",
"0.67909056",
"0.6760404",
"0.6726538",
"0.6718449",
"0.666715",
"0.66669464",
"0.66416156",
"0.6627561",
"0.6626509",
"0.66200477",
"0.66053873",
"0.6600012",
"0.6597805... | 0.0 | -1 |
Get environment action space. | def we4q(YKHO) -> ch3p.spaces.Box:
HhY8 = [YKHO.fix_base, YKHO.fix_shoulder, YKHO.fix_elbow, YKHO.fix_wrist_1, YKHO.fix_wrist_2, YKHO.fix_wrist_3]
FZWf = len(HhY8) - sum(HhY8)
return ch3p.spaces.Box(low=oyIN.full(FZWf, -1.0), high=oyIN.full(FZWf, 1.0), dtype=oyIN.float32) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def RTQI(YKHO) -> ch3p.Space:\n U5bT = YKHO.agent_manager.get_action_spaces()\n if not YKHO.is_multi_agent:\n return next(iter(U5bT.values()))\n else:\n return ch3p.spaces.Dict(U5bT)",
"def i5Fk(YKHO):\n raise NotImplementedError()",
"def RTQI(YKHO) -> ch3p.Space:\n return YKHO._si... | [
"0.7726617",
"0.7361583",
"0.7321875",
"0.73149556",
"0.7305202",
"0.72473526",
"0.71819407",
"0.7057923",
"0.7032467",
"0.69491035",
"0.68102354",
"0.6766182",
"0.6749982",
"0.6696157",
"0.6608025",
"0.64728767",
"0.6458856",
"0.6428085",
"0.6340978",
"0.6192918",
"0.6178307... | 0.0 | -1 |
Convert a string to bytes using iso88591 encoding. | def EFRn(KCHu):
return KCHu.encode('iso-8859-1') | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def EFRn(vIwR):\n return vIwR.encode('iso-8859-1')",
"def P2hG(vIwR):\n return vIwR.encode('utf-8')",
"def i_l1(KCHu):\n return KCHu.encode('utf8')",
"def Xtnk(input):\n Aofo = input.encode('latin-1')\n return Aofo",
"def ZqkC(vIwR: str) -> bytes:\n return bytes(vIwR, encoding='utf-8')",
... | [
"0.81058925",
"0.7471305",
"0.7339014",
"0.7120275",
"0.709267",
"0.70715404",
"0.70433974",
"0.6991451",
"0.6931712",
"0.69228613",
"0.68671715",
"0.68346626",
"0.6814728",
"0.680389",
"0.6781134",
"0.6731385",
"0.6697171",
"0.66539943",
"0.6637703",
"0.6469767",
"0.639856",... | 0.78608674 | 2 |
Initialize a resolver instance. | def FIMM(YKHO, Ux0P='/etc/resolv.conf', lWLw=True):
YKHO.domain = None
YKHO.nameservers = None
YKHO.nameserver_ports = None
YKHO.port = None
YKHO.search = None
YKHO.timeout = None
YKHO.lifetime = None
YKHO.keyring = None
YKHO.keyname = None
YKHO.keyalgorithm = None
YKHO.edns ... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def zPKT(YKHO) -> None:\n YKHO.dns_resolver = wAWK.resolver.Resolver()",
"def vs_K(Emd4, C7Pp):\n Emd4.__resolver = C7Pp",
"def gr_i(YKHO, C7Pp):\n YKHO.resolver = C7Pp\n Csk6[C7Pp.resolves[0]] = C7Pp\n pass",
"def FIMM(YKHO, zeTD: Text, pDJI: Type[base_resolver.BaseResolver], pzUq: Dict[Text,... | [
"0.70614314",
"0.6377009",
"0.60654086",
"0.59702",
"0.5949971",
"0.5935973",
"0.59199107",
"0.5878298",
"0.57864636",
"0.5727561",
"0.572448",
"0.56725603",
"0.5658439",
"0.56481344",
"0.5641659",
"0.56246364",
"0.5602952",
"0.5592763",
"0.55915415",
"0.5588919",
"0.5579699"... | 0.0 | -1 |
Return True if the pd.DataFrame is properly annotated. Otherwise False. | def bOMN(jQ3Z):
for iVRZ in jQ3Z.columns:
if jQ3Z[iVRZ].drop(0).isnull().all():
return False
return True | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def MwwV(__n6):\n rLdf = __n6.point_data\n if rLdf is not None and rLdf.number_of_arrays > 0:\n return True\n o1Kh = __n6.cell_data\n if o1Kh is not None and o1Kh.number_of_arrays > 0:\n return True\n return False",
"def IBJK(jQ3Z: pd.DataFrame) -> None:\n assert len(jQ3Z) > 0, 'e... | [
"0.63270366",
"0.6279261",
"0.6248781",
"0.6228916",
"0.6225495",
"0.6215723",
"0.6182612",
"0.61381793",
"0.6133436",
"0.6132234",
"0.6104052",
"0.60603577",
"0.59960014",
"0.59945995",
"0.5992444",
"0.5987408",
"0.59801215",
"0.5975196",
"0.59611917",
"0.5905694",
"0.587831... | 0.6824126 | 0 |
Fix dtypes and fill NaNs. | def vNXD(jQ3Z):
jQ3Z.index = rLdf.to_timedelta(jQ3Z.index, unit='s')
return jQ3Z.fillna(method='ffill') | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def a7xT(YKHO):\n for iVRZ in YKHO.na_columns:\n if YKHO.df[iVRZ].dtype == 'object':\n YKHO.df[iVRZ].fillna(YKHO.df[iVRZ].mode(), inplace=True)\n if YKHO.df[iVRZ].dtype == 'int64':\n YKHO.df[iVRZ].fillna(YKHO.df[iVRZ].median(), inplace=True)\n if YKHO.df[iVRZ].dtype ==... | [
"0.70271677",
"0.70116895",
"0.6967765",
"0.6958709",
"0.6920217",
"0.68886",
"0.68348914",
"0.68130314",
"0.67392015",
"0.66702044",
"0.65690935",
"0.6542907",
"0.65409595",
"0.65184474",
"0.6518069",
"0.64921445",
"0.64820397",
"0.64580554",
"0.64048606",
"0.63951916",
"0.6... | 0.0 | -1 |
3x3 convolution with padding | def Myly(UUZO, sYyA, _0fC=1):
return U78l.Conv2d(UUZO, sYyA, kernel_size=3, stride=_0fC, padding=1, bias=False) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def sx6c(input, KUnM, FEri, dvgN, wH3T='NHWC', mJgj=1, mWFP=None):\n return o6Bz(**locals())",
"def Myly(UUZO, sYyA, _0fC=1, moMn=1, ivFb=1):\n return U78l.Conv2d(UUZO, sYyA, kernel_size=3, stride=_0fC, padding=0, groups=moMn, bias=False, dilation=ivFb)",
"def DO8L(WKvO, yzQ0, UP6E=[0, 0, 0], FEri=[1, 1,... | [
"0.78404945",
"0.7541354",
"0.753996",
"0.7491138",
"0.7434801",
"0.74207747",
"0.73415834",
"0.7320252",
"0.7299599",
"0.7287539",
"0.72799367",
"0.72799367",
"0.7257735",
"0.7226928",
"0.72204214",
"0.7214909",
"0.7214909",
"0.7210775",
"0.7198222",
"0.71639067",
"0.7161914... | 0.7155487 | 29 |
Enumerate a set of anchors for each scale wrt an anchor. | def _Y91(DNwW, m_03):
yzQ0, MKlR, cBvt, KEUX = cb7b(DNwW)
VTcd = yzQ0 * m_03
ObL9 = MKlR * m_03
qvIa = AiAU(VTcd, ObL9, cBvt, KEUX)
return qvIa | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def _Y91(DNwW, m_03):\n yzQ0, MKlR, cBvt, KEUX = cb7b(DNwW)\n VTcd = yzQ0 * m_03\n ObL9 = MKlR * m_03\n qvIa = AiAU(VTcd, ObL9, cBvt, KEUX)\n return qvIa",
"def _Y91(DNwW, m_03):\n yzQ0, MKlR, cBvt, KEUX = cb7b(DNwW)\n VTcd = yzQ0 * m_03\n ObL9 = MKlR * m_03\n qvIa = AiAU(VTcd, ObL9, c... | [
"0.73347354",
"0.73347354",
"0.73347354",
"0.73347354",
"0.72907984",
"0.72364897",
"0.72318107",
"0.6789154",
"0.67825603",
"0.6611962",
"0.6576924",
"0.65554905",
"0.65540844",
"0.6551622",
"0.65409565",
"0.6529002",
"0.65203613",
"0.65140885",
"0.6499063",
"0.64734226",
"0... | 0.7314597 | 4 |
Generates the primary plot on the specified matplotlib Axes instance (noop in base class). | def mZU_(YKHO, dqIQ, S6Q5):
pass | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def kj9G(YKHO, aNZO, a88W):\n raise NotImplementedError",
"def nUHY(YKHO, aNZO=None, **qlYT):\n if aNZO is None:\n LZpg, aNZO = QrM1.subplots(1)\n WKvO, LVAh = YKHO.boundary\n aNZO.plot(WKvO, LVAh, **qlYT)\n return aNZO",
"def dURM(WKvO, LVAh, pQal):\n NArs = usah()\n NArs.update(pQ... | [
"0.6804359",
"0.6791299",
"0.67615217",
"0.66328746",
"0.6572548",
"0.65663207",
"0.6502059",
"0.64736336",
"0.6447748",
"0.64416325",
"0.6421818",
"0.6392818",
"0.6392818",
"0.63858473",
"0.6364274",
"0.63510406",
"0.63500565",
"0.63358676",
"0.62947077",
"0.62477607",
"0.62... | 0.6024386 | 48 |
Generates the primary plot on the specified matplotlib Axes instance (noop in base class). | def _z8C(YKHO, dqIQ, S6Q5):
pass | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def kj9G(YKHO, aNZO, a88W):\n raise NotImplementedError",
"def nUHY(YKHO, aNZO=None, **qlYT):\n if aNZO is None:\n LZpg, aNZO = QrM1.subplots(1)\n WKvO, LVAh = YKHO.boundary\n aNZO.plot(WKvO, LVAh, **qlYT)\n return aNZO",
"def dURM(WKvO, LVAh, pQal):\n NArs = usah()\n NArs.update(pQ... | [
"0.6804359",
"0.6791299",
"0.67615217",
"0.66328746",
"0.6572548",
"0.65663207",
"0.6502059",
"0.64736336",
"0.6447748",
"0.64416325",
"0.6421818",
"0.6392818",
"0.6392818",
"0.63858473",
"0.6364274",
"0.63510406",
"0.63500565",
"0.63358676",
"0.62947077",
"0.62477607",
"0.62... | 0.6110802 | 34 |
Add the object to the current database session | def BdN0(YKHO, YEnM):
YKHO.__session.add(YEnM) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def _mzC(YKHO):\n NCls.session.add(YKHO)",
"def RFVC(Emd4, cuiw, YEnM):\n cuiw.add(YEnM)",
"def H2v5(YKHO, YEnM):\n YKHO.session.add(YEnM)",
"def H2v5(YKHO, YEnM):\n YKHO.session.add(YEnM)",
"def H2v5(YKHO):\n NCls.session.add(YKHO)\n NCls.session.commit()",
"def H2v5(YKHO):\n NCls.s... | [
"0.83953357",
"0.82088596",
"0.8165225",
"0.8165225",
"0.8161732",
"0.8078957",
"0.7950483",
"0.7776736",
"0.77610075",
"0.77355605",
"0.7714063",
"0.7714063",
"0.7714063",
"0.7714063",
"0.7714063",
"0.7705275",
"0.76825106",
"0.7669969",
"0.76556915",
"0.76556915",
"0.765569... | 0.7877879 | 11 |
If the form is valid, save the associated model. | def lwXz(YKHO, L03z):
nPrm = L03z.cleaned_data
tO9_ = YKHO.create_single_message(nPrm)
YKHO.object = L03z.save(commit=False)
YKHO.object.composer = YKHO.request.user
YKHO.object.root_message = tO9_
YKHO.object.update_search_keywords()
YKHO.object.save()
return super(jFC_, YKHO).form_vali... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def deVW(YKHO, L03z):\n L03z.save()",
"def lwXz(YKHO, L03z):\n L03z.save()\n return super().form_valid(L03z)",
"def lwXz(YKHO, L03z):\n YKHO.object = L03z.save(YKHO.request.user)\n return Yd7Q(YKHO.get_success_url(), status=303)",
"def lwXz(YKHO, L03z):\n YKHO.object = L03z.save(YKHO.reques... | [
"0.7786421",
"0.7445933",
"0.7416595",
"0.7416595",
"0.7391896",
"0.7391896",
"0.7391896",
"0.7391896",
"0.71387583",
"0.7123397",
"0.7104942",
"0.7073247",
"0.7056793",
"0.7056793",
"0.705132",
"0.70319355",
"0.702643",
"0.7008229",
"0.7001526",
"0.6998036",
"0.69720834",
... | 0.0 | -1 |
If the form is valid, save the associated model. | def lwXz(YKHO, L03z):
nPrm = L03z.cleaned_data
if YKHO.request.GET.get('cam_id'):
x50d = Glze.objects.get(id=YKHO.request.GET['cam_id'])
else:
YKHO.object = L03z.save(commit=False)
YKHO.object.composer = YKHO.request.user
YKHO.object.save()
x50d = YKHO.object
if n... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def deVW(YKHO, L03z):\n L03z.save()",
"def lwXz(YKHO, L03z):\n L03z.save()\n return super().form_valid(L03z)",
"def lwXz(YKHO, L03z):\n YKHO.object = L03z.save(YKHO.request.user)\n return Yd7Q(YKHO.get_success_url(), status=303)",
"def lwXz(YKHO, L03z):\n YKHO.object = L03z.save(YKHO.reques... | [
"0.7786421",
"0.7445933",
"0.7416595",
"0.7416595",
"0.7391896",
"0.7391896",
"0.7391896",
"0.7391896",
"0.71387583",
"0.7123397",
"0.7104942",
"0.7073247",
"0.7056793",
"0.7056793",
"0.705132",
"0.70319355",
"0.702643",
"0.7008229",
"0.7001526",
"0.6998036",
"0.69720834",
... | 0.0 | -1 |