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
Create an instance of LightlyModelV3 from a JSON string
def pktP(Emd4, nMY2: str) -> 'LightlyModelV3': return NlR9(qQXR.loads(nMY2))
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def pktP(Emd4, vIwR):\n fK8P = qQXR.loads(vIwR)\n return Emd4.from_dict(fK8P)", "def rmNw(Emd4, nMY2):\n return Emd4.from_json(HjBM.loads(nMY2))", "def pktP(Emd4, zEKB: str):\n nPrm = qQXR.loads(zEKB)\n xzCw(nPrm, uPxI)\n KAOR = Emd4.from_dict(nPrm)\n return KAOR", "def K3BH(Emd4, zEKB: ...
[ "0.73394865", "0.73179334", "0.7191719", "0.71659875", "0.7031926", "0.7031926", "0.6845915", "0.6794968", "0.67890495", "0.67549574", "0.6697536", "0.6688773", "0.65750945", "0.6540394", "0.65164083", "0.64945", "0.6421235", "0.63542867", "0.6344258", "0.6339547", "0.6327416...
0.92721796
0
Return the raw data string.
def WPdU(YKHO) -> str: return YKHO._raw_data
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def LUcQ(YKHO) -> str:\n return YKHO._data", "def m6Me(YKHO):\n return YKHO.data", "def m6Me(YKHO):\n return YKHO._raw_string", "def WPdU(YKHO):\n return YKHO._raw_data", "def WPdU(YKHO):\n return YKHO._raw_data", "def SwtT(YKHO):\n return YKHO.__data", "def SwtT(YKHO):\n return YK...
[ "0.84875673", "0.7983556", "0.77763337", "0.77476984", "0.77476984", "0.7621193", "0.72472167", "0.7167859", "0.7160063", "0.7132178", "0.70709205", "0.70709205", "0.7062733", "0.701383", "0.6999737", "0.69873065", "0.68944025", "0.67517936", "0.6746663", "0.67074406", "0.668...
0.84395015
2
Set the new value for the attribute separator. When the new value is assigned a new tree is generated.
def JnFH(YKHO, tUng: str) -> None: YKHO._attr_sep = tUng YKHO._filters_tree = YKHO._generate_filters_tree()
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def RPMq(YKHO, g8rx):\n YKHO._separator = g8rx", "def iLGL(YKHO, Pg9w):\n YKHO._tag_separator = Pg9w", "def JnFH(YKHO) -> str:\n return YKHO._attr_sep", "def caOF(vIwR: str) -> None:\n ...", "def toBb(YKHO, BWXx):\n return YKHO._set(annotationSplitSymbol=BWXx)", "def mnLl(YKHO, BWXx):\n ...
[ "0.68419844", "0.68219495", "0.61919963", "0.61319524", "0.57220167", "0.5585897", "0.5486652", "0.54742694", "0.54734194", "0.5412231", "0.53953534", "0.5320774", "0.5250122", "0.5227051", "0.5220068", "0.5214759", "0.52070975", "0.5192201", "0.51881516", "0.51815903", "0.51...
0.7648239
0
Compute separation distance vs time for two aircraft
def ok8c(jQ3Z): fQin = jQ3Z['callsign'].unique() def IHp1(tayJ): return jQ3Z.loc[jQ3Z['callsign'] == tayJ, ['time', 'latitude', 'longitude']].set_index('time').resample('1T').mean() _lYe = IHp1(fQin[0]) qaAi = IHp1(fQin[1]) lmpc = _lYe.merge(qaAi, left_index=True, right_index=True) lmpc...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def A8hk(Mfab, YKqP):\n VOlW = Mfab.flight_time + Mfab.rest_time\n L2MH = YKqP // VOlW\n uuMU = min(Mfab.flight_time, YKqP - VOlW * L2MH)\n E7r0 = Mfab.flight_time * L2MH + uuMU\n return E7r0 * Mfab.flight_speed", "def RbdF(UXsi, c163):\n t0fp = UXsi[0]\n nEj9 = c163[0]\n G80B = UXsi[1]\n...
[ "0.654372", "0.6313945", "0.62410563", "0.6156887", "0.6084207", "0.6078479", "0.6056227", "0.6047061", "0.598338", "0.5952483", "0.59504575", "0.5943111", "0.591082", "0.59087956", "0.5894991", "0.5878406", "0.5860748", "0.5819277", "0.5799398", "0.5793071", "0.57924813", ...
0.58576626
17
Creates an instance of this model from a dictionary
def rQfz(Emd4, cmPJ): if cmPJ is None: return None id = cmPJ.get('id') mWFP = cmPJ.get('name') tDvy = cmPJ.get('type') fFb7 = cmPJ.get('usageBytes') return Emd4(id, mWFP, tDvy, fFb7)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def eLpg(Emd4, cmPJ):\n return Emd4(**cmPJ)", "def eLpg(Emd4, cmPJ):\n return Emd4(**cmPJ)", "def rQfz(Emd4, cmPJ):\n if cmPJ is None:\n return None\n mWFP = cmPJ.get('name')\n g8Rv = PBvq.models.scheduling_model.SchedulingModel.from_dictionary(cmPJ.get('scheduling')) if cmPJ.get('schedul...
[ "0.8168118", "0.8168118", "0.8118749", "0.8089047", "0.79787344", "0.7949278", "0.79231393", "0.7898951", "0.78923255", "0.788838", "0.7882321", "0.7882212", "0.7876749", "0.78585315", "0.7836853", "0.7801407", "0.7801407", "0.7801407", "0.7801407", "0.7801407", "0.7801407", ...
0.83181584
0
Use the result of a2/c_clustering/cluster_iris_dataset_again() as the color of a scatterplot made from the original (unprocessed) iris dataset. Choose among the numeric values to be the x and y coordinates.
def FsRg(): jQ3Z = Rhr4(GkAb('..', '..', 'iris.csv')) iGq6 = _2cA() jQ3Z['clusters'] = iGq6['clusters'] LZpg = Xlvp.scatter(jQ3Z, x='sepal_width', y='sepal_length', color='clusters') return LZpg
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def xPq0(nPrm, KndY, OeUg, HOVt, leAC='Grafica de las caracteristicas y sus clases'):\n nPrm = oyIN.array(nPrm)\n QGnf = nPrm[:, 0]\n JhrZ = nPrm[:, 1]\n MYQr = ['orange', 'black', 'green']\n Fq8c = oyIN.where(KndY == 0)\n SVsV = oyIN.where(KndY == 1)\n UJpO = oyIN.where(KndY == 2)\n G1AV =...
[ "0.69293845", "0.67778987", "0.6643818", "0.6636636", "0.64274466", "0.633624", "0.61768866", "0.60314035", "0.5999474", "0.5996509", "0.5983723", "0.5970134", "0.59626067", "0.59622264", "0.5935947", "0.59115016", "0.5876328", "0.5862914", "0.5862883", "0.58469504", "0.58422...
0.6802073
1
Use the result of a2/c_clustering/cluster_iris_dataset_again() and use x as 3 groups of bars (one for each iris species) and each group has multiple bars, one for each cluster, with y as the count of instances in the specific cluster/species combination.
def x4ur(): jQ3Z = Rhr4(GkAb('..', '..', 'iris.csv')) iGq6 = _2cA() jQ3Z['clusters'] = iGq6['clusters'] IBC3 = jQ3Z.groupby(['species', 'clusters']).size().unstack(fill_value=0).stack().reset_index() IBC3.columns = ['species', 'clusters', 'count'] IBC3['clusters'] = IBC3['clusters'].astype(str) ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def IQ9A(ZM8d, ZDAZ, l2Zr, NkkI):\n if ZDAZ not in ['cluster', 'annotation', 'dataset', 'NeuN']:\n ZDAZ = 'cluster'\n qC6E = I7LB(ZM8d, ZDAZ, l2Zr)\n if NkkI == 'true':\n qC6E['ncells_norm'] = qC6E.groupby('groups')['ncells'].transform(lambda WKvO: 100 * WKvO / WKvO.sum())\n qC6E['y']...
[ "0.6334525", "0.6040452", "0.5980195", "0.5950546", "0.58891207", "0.5843836", "0.5835403", "0.56842405", "0.568189", "0.5607096", "0.5584441", "0.55693865", "0.5505744", "0.54946405", "0.5483851", "0.54524964", "0.5449958", "0.543382", "0.5429583", "0.542188", "0.54188997", ...
0.55996513
10
Use the data from a1/e_/process_life_expectancy_dataset and show in a single graph on year on x and value on y where there are 5 line charts of 5 countries (you choose which) and one bar chart on the background with the total value of all 5 countries added up.
def utkt(): jQ3Z = m9Ob('regression') DYd6 = ['x0_Canada', 'x0_United States', 'x0_India', 'x0_Pakistan', 'x0_Brazil'] KXkx = jQ3Z[jQ3Z[DYd6].any(1)] KXkx = KXkx[['year', 'value'] + DYd6] for vxW9 in DYd6: KXkx.loc[KXkx[vxW9] == 1, 'country'] = vxW9.lstrip('x0_') KXkx = KXkx[['country', ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def kj9G(YKHO, QpfX=None):\n geh0 = G4JS.get(YKHO.url).content\n tyNF = rLdf.read_html(geh0, attrs={'id': 'main_table_countries_today'})\n jQ3Z = tyNF[0].fillna(0)\n jQ3Z.drop(['ActiveCases', 'Serious,Critical', 'Serious,Critical', 'Deaths/1M pop', 'Tests/ 1M pop'], axis=1, inplace=True)\n jQ3Z.drop...
[ "0.6880452", "0.63883895", "0.6301685", "0.62748003", "0.61700785", "0.6049233", "0.5949727", "0.59438294", "0.5929299", "0.5904815", "0.5872059", "0.5859305", "0.5832631", "0.5817938", "0.57731", "0.5757217", "0.572407", "0.5721182", "0.56887305", "0.5686658", "0.5682012", ...
0.6764106
1
It computes the normalized average absolute difference (NMAE) between predicted and actual ratings for users.
def VznL(lUHp, aMgO, cJU6, hZyM): lUHp, aMgO = slI7(lUHp, aMgO) Emt7 = W4jA(lUHp, aMgO) return Emt7 / (cJU6 - hZyM)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Emt7(n5sN, PjQx):\n ii_g = oyIN.abs(n5sN - PjQx)\n return float(ii_g.mean())", "def Fx1B(n5sN: np.ndarray, PjQx: np.ndarray):\n CaeG = oyIN.mean(oyIN.fabs(PjQx - n5sN))\n yRH1 = oyIN.mean(PjQx)\n fuoU = oyIN.mean(n5sN)\n if yRH1 >= fuoU:\n return CaeG / fuoU\n else:\n retur...
[ "0.72299695", "0.7021169", "0.69571465", "0.6913473", "0.6866883", "0.68385893", "0.6802428", "0.67989236", "0.67648023", "0.67394906", "0.665671", "0.66284096", "0.6608152", "0.6569761", "0.65651315", "0.6560341", "0.64920413", "0.64866465", "0.64711404", "0.6464214", "0.643...
0.7104985
1
Check expiration of event.
def filter(YKHO, tvqc, *qIxc, **B2fa): return tvqc['expiration_datetime'] <= qcWV.now()
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Luaz(YKHO, A97Q):\n yxS0 = A97Q['expires']\n if yxS0 == 0:\n return False\n if yxS0 >= YKHO._time():\n return False\n return True", "def CJbn(YKHO):\n return TsP8.utcnow_ts() > YKHO.expire_ts", "def CJbn(YKHO):\n return YKHO.expiration_date <= YKHO._now()", "def oZpa(YKHO,...
[ "0.69349533", "0.6930439", "0.69218874", "0.68743914", "0.68694174", "0.6833796", "0.6828024", "0.6810472", "0.67406076", "0.67347264", "0.6734034", "0.67314774", "0.67037255", "0.66740805", "0.6669488", "0.66579276", "0.66231096", "0.65912795", "0.6590676", "0.653355", "0.65...
0.729283
0
Constructs a ResNet50 model.
def UNCU(mL4f=False): C3ST = Ow7U(MF6R, [3, 4, 6, 3, 3]) if mL4f: pmON = 'data/pretrained/detnet59.pth' xA7f = ht2j.load(pmON) C3ST.load_state_dict(xA7f) return C3ST
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def uwZX(mL4f=False, **B2fa):\n C3ST = S1Vm(MF6R, [3, 4, 6, 3], **B2fa)\n if mL4f:\n C3ST.load_state_dict(rA0C.load_url(mDCG['resnet50']))\n FBfN = JpOW(C3ST.fc)\n C3ST.fc = FBfN\n return C3ST", "def uwZX(**B2fa):\n C3ST = S1Vm(MF6R, [3, 4, 6, 3], **B2fa)\n return C3ST", "def uwZX(m...
[ "0.7557751", "0.75548905", "0.74759895", "0.74759895", "0.74759895", "0.74759895", "0.74557495", "0.7386862", "0.7386862", "0.73601955", "0.7355623", "0.724254", "0.724254", "0.7191571", "0.7158499", "0.7101107", "0.70165247", "0.69687796", "0.68687624", "0.6822836", "0.68010...
0.0
-1
If an invalid uuid passes the canned test as it should not?
def pB46(): k69i = '7cfb2470-b600-4eb3-a2cd-c1439e45b91g' r8hN = hOPu.UUID.match(k69i) assert r8hN is None, 'Canned RegEx uiid test succeeded for %s while it should not' % k69i
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Flfh(nPrm):\n if not gHz8.is_uuid_like(nPrm):\n raise Bx6I.DiagnoseException(\"'%s' is not a valid UUID\" % nPrm)", "def Flfh(YKHO, qxeD):\n kUBT = ZbWC.match('([a-z0-9]+)-([a-z0-9]+)-([a-z0-9]+)-([a-z0-9]+)-([a-z0-9]+)', qxeD)\n if kUBT:\n return True\n return False", "def dGQa()...
[ "0.7704808", "0.767874", "0.76275545", "0.7606703", "0.7480097", "0.7366447", "0.72534823", "0.7173291", "0.71532226", "0.7087797", "0.6990087", "0.69868934", "0.6924805", "0.6924805", "0.6909956", "0.69026476", "0.68927425", "0.6847186", "0.679067", "0.6751819", "0.6750672",...
0.7733557
0
If an invalid UUID passes the canned test as it should not?
def dGQa(): ugRO = '7CFB2470-B600-4EB3-A2CD-C1439E45B91G' r8hN = hOPu.UUID.match(ugRO) assert r8hN is None, 'Canned RegEx uiid test succeeded for %s while it should not' % ugRO
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Flfh(nPrm):\n if not gHz8.is_uuid_like(nPrm):\n raise Bx6I.DiagnoseException(\"'%s' is not a valid UUID\" % nPrm)", "def pB46():\n k69i = '7cfb2470-b600-4eb3-a2cd-c1439e45b91g'\n r8hN = hOPu.UUID.match(k69i)\n assert r8hN is None, 'Canned RegEx uiid test succeeded for %s while it should no...
[ "0.7691767", "0.76576686", "0.7603823", "0.7480244", "0.74230444", "0.7322755", "0.72880507", "0.71923727", "0.7107921", "0.7029507", "0.69792104", "0.69535047", "0.6917059", "0.6899024", "0.6899024", "0.6885109", "0.6869247", "0.6853023", "0.68520606", "0.6841701", "0.682563...
0.75993633
3
Sends a 401 response that enables basic auth
def NLCy(): return oGir('Could not verify your access level for that URL.\nYou have to login with proper credentials', 401, {'WWW-Authenticate': 'Basic realm="Login Required"'})
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def NLCy():\n return oGir('Not Authorized', 401, {'WWW-Authenticate': 'Basic realm=\"api\"'})", "def NLCy():\n return oGir('', 401, {'WWW-Authenticate': 'Basic realm=\"Login Required\"'})", "def NLCy():\n return oGir('You have to login with proper credentials', 401, {'WWW-Authenticate': 'Basic realm=\...
[ "0.8093736", "0.80926424", "0.7958403", "0.7852648", "0.7843114", "0.7824419", "0.7810746", "0.7810746", "0.7810746", "0.7810746", "0.7810746", "0.7810746", "0.7810746", "0.7810746", "0.7810746", "0.7810746", "0.7810746", "0.7810746", "0.7810746", "0.7810746", "0.7810746", ...
0.774767
36
Returns the units in this subsection.
def rYO3(YKHO): return YKHO.children()
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def rYO3(YKHO):\n return YKHO._units", "def rYO3(YKHO):\n return YKHO._units", "def S2IU(YKHO):\n return YKHO.units", "def rYO3(YKHO):\n pass", "def wPGm(YKHO):\n return _VfD.Compartment_getUnits(YKHO)", "def FDFK(YKHO):\n return YKHO._unitsofmeasure", "def b82i(YKHO):\n return YKH...
[ "0.79314274", "0.79314274", "0.78476715", "0.7679931", "0.7642868", "0.75465053", "0.75405955", "0.7512169", "0.7371975", "0.73332566", "0.7317006", "0.729691", "0.7257862", "0.7235953", "0.7196872", "0.7123052", "0.7112282", "0.709685", "0.70856714", "0.7078319", "0.7022666"...
0.7824549
3
Returns a list of the CourseOutlineSubsections of this section
def tlP3(YKHO): return YKHO.children()
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def k8nB(YKHO, rb7a=0):\n return YKHO.courses.values()", "def UOrz(YKHO) -> x1iM[GYI8]:\n if YKHO.beam is None:\n return [YKHO.section]\n return YKHO.beam.sections", "def g8BP(YKHO, GQfX):\n return GQfX.available_sections if YKHO.free_sections_only else GQfX.sections", "def k8nB(YKHO):\n ...
[ "0.6576088", "0.62941235", "0.6280448", "0.60720336", "0.6029529", "0.5974616", "0.5971371", "0.5964166", "0.58750033", "0.5803342", "0.5716017", "0.5663813", "0.5637327", "0.56083244", "0.5589105", "0.55617845", "0.556104", "0.552413", "0.54754376", "0.5463932", "0.54006135"...
0.7436124
0
Returns the text of the first selected option for the element.
def rhhW(YKHO, U6D_): if U6D_: EfUA = YWgH(U6D_) return EfUA.first_selected_option.text else: return None
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def l5Ny(YKHO):\n Ws2J = YKHO.select_elem.first_selected_option\n return Ws2J.text", "def hx2k(YKHO):\n try:\n return YKHO.all_selected_options[0]\n except IndexError:\n raise ValueError('No options are selected')", "def TI5Q(YKHO):\n return YKHO.selectedText()", "def yhpV(YKHO):...
[ "0.8311545", "0.7626869", "0.7181507", "0.7064244", "0.68068016", "0.67647314", "0.6660198", "0.662143", "0.66095257", "0.65532583", "0.63003266", "0.62097794", "0.6151715", "0.60264874", "0.59833866", "0.5952768", "0.59479356", "0.59143287", "0.59075046", "0.5893097", "0.589...
0.9092087
0
Override returns True if staff_only is set.
def YCel(YKHO): return YKHO.subsection_visibility == 'staff_only'
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def WJxI(YKHO) -> bool:\n return YKHO.is_admin", "def WJxI(YKHO):\n return YKHO.is_admin", "def WJxI(YKHO):\n return YKHO.is_admin", "def WJxI(YKHO):\n return YKHO.is_admin", "def WJxI(YKHO):\n return YKHO.is_admin", "def WJxI(YKHO):\n return YKHO.is_admin", "def WJxI(YKHO):\n retu...
[ "0.8185713", "0.8137082", "0.8104924", "0.8104924", "0.807576", "0.807576", "0.807576", "0.8047729", "0.7878363", "0.76933694", "0.76933694", "0.7268977", "0.72549087", "0.7180817", "0.714731", "0.6984951", "0.6965611", "0.6962048", "0.695493", "0.68493533", "0.6596659", "0...
0.67651683
20
Yield successive nsized chunks from l.
def eHxA(vC9B, exwG): for YRbF in range(0, len(vC9B), exwG): yield vC9B[YRbF:YRbF + exwG]
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def xJ0H(YKHO, vC9B, exwG):\n for YRbF in range(0, len(vC9B) + 1, exwG):\n yield vC9B[YRbF:YRbF + exwG]", "def eHxA(YKHO, vC9B, exwG):\n for YRbF in range(0, len(vC9B), exwG):\n yield vC9B[YRbF:YRbF + exwG]", "def I7IE(vC9B, exwG):\n for YRbF in range(0, len(vC9B), exwG):\n yield ...
[ "0.8038813", "0.79248375", "0.7923423", "0.7885103", "0.78773195", "0.7815877", "0.77655786", "0.77556044", "0.77441615", "0.7731815", "0.77288336", "0.772473", "0.77028215", "0.76889825", "0.76889825", "0.7664208", "0.76570904", "0.7655856", "0.7655856", "0.76458347", "0.764...
0.74379355
97
Returns true if both objects are equal
def xa14(YKHO, Elif): if not isinstance(Elif, hOi4): return False return YKHO.__dict__ == Elif.__dict__
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def xa14(YKHO, Elif):\n return p6XU(YKHO, Elif)", "def xa14(YKHO, Elif):\n return p6XU(YKHO, Elif)", "def xa14(YKHO, Elif):\n try:\n return YKHO.object == Elif.object and isinstance(YKHO, type(Elif))\n except:\n return False", "def xa14(YKHO, Elif):\n if isinstance(YKHO, Elif.__c...
[ "0.8088132", "0.8088132", "0.8054589", "0.7982687", "0.79670393", "0.79670393", "0.79670393", "0.79670393", "0.79670393", "0.79670393", "0.79670393", "0.79670393", "0.79670393", "0.79670393", "0.79670393", "0.79670393", "0.79670393", "0.79670393", "0.79670393", "0.79670393", ...
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 if YKHO.__eq__(Elif):\n return False\n return True", "def Vdqg(YKHO, Elif: object) -> bool:\n return not YKHO.__eq__(Elif)", "def Vdqg(YKHO, Elif) -> bool:\n return not YKHO.__eq__(Elif)", "def xa14(YKHO, Elif):\n return not YKHO.__ne__(Elif)", ...
[ "0.845611", "0.8391477", "0.8144138", "0.81410587", "0.8132492", "0.8093973", "0.80920255", "0.80920255", "0.80920255", "0.8085325", "0.8085325", "0.8076365", "0.8076365", "0.8065748" ]
0.0
-1
Returns True if the robot can move right or False if it's at the end of the list.
def NJYU(YKHO): return YKHO._position < len(YKHO._list) - 1
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def NJYU(YKHO):\n return YKHO._position < len(YKHO._list) - 1", "def bjjd(YKHO):\n YKHO._time += 1\n if YKHO._position < len(YKHO._list) - 1:\n YKHO._position += 1\n return True\n else:\n return False", "def bjjd(YKHO):\n YKHO._time += 1\n if YKHO._position < len(YKHO._li...
[ "0.84276205", "0.7928889", "0.7926562", "0.7616977", "0.7231846", "0.6955946", "0.6891664", "0.68436426", "0.6814479", "0.67863053", "0.665358", "0.6600383", "0.6598947", "0.657011", "0.6544402", "0.64383525", "0.6416842", "0.6415617", "0.63951963", "0.6350403", "0.6342096", ...
0.8452943
0
Returns True if the robot can move left or False if it's at the start of the list.
def pyiP(YKHO): return YKHO._position > 0
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def pyiP(YKHO):\n return YKHO._position > 0", "def bOoF(YKHO) -> bool:\n ECHQ = YKHO._maze.get_player_node()\n if ECHQ.x == 0:\n return False\n else:\n zAcD = YKHO._maze.get_node_left(ECHQ)\n return YKHO._handle_movement(ECHQ, zAcD)", "def NJYU(YKHO):\n return YKHO._position...
[ "0.8286945", "0.7470075", "0.73369575", "0.73301274", "0.7308069", "0.7300477", "0.7169686", "0.71679443", "0.7164279", "0.695377", "0.6820526", "0.6532877", "0.65060246", "0.6477855", "0.6476443", "0.64754057", "0.6461609", "0.6454559", "0.6453352", "0.6395174", "0.63787866"...
0.82680565
1
If the robot can move to the right, it moves to the right and returns True. Otherwise, it stays in place and returns False. This will increment the time counter by 1.
def bjjd(YKHO): YKHO._time += 1 if YKHO._position < len(YKHO._list) - 1: YKHO._position += 1 return True else: return False
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def bjjd(YKHO):\n YKHO._time += 1\n if YKHO._position < len(YKHO._list) - 1:\n YKHO._position += 1\n return True\n else:\n return False", "def OdSN(YKHO) -> bool:\n ECHQ = YKHO._maze.get_player_node()\n if ECHQ.x == YKHO._settings.ncols - 1:\n return False\n else:\n ...
[ "0.79661775", "0.74957323", "0.7470367", "0.7470266", "0.73417145", "0.7307837", "0.7291168", "0.71269256", "0.7096487", "0.6933112", "0.6858477", "0.68372464", "0.66559815", "0.66397625", "0.66316515", "0.6587609", "0.6557985", "0.6535831", "0.65162396", "0.647864", "0.64270...
0.79544264
1
Turn off the robot's light
def fnTm(YKHO): YKHO._light = 'OFF'
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Z_rv(YKHO):\n xi8C.output(YKHO.gpio, False)", "def fnTm(YKHO):\n YKHO._light = 'OFF'", "def V8X5(YKHO):\n YKHO.turnOff()", "def Z_rv(YKHO, **B2fa: Any) -> None:\n YKHO._device.power_on = False\n vzeF.debug('Turn off light %s', YKHO._device.ip)", "def I6Ys(YKHO, agxD):\n YKHO.bridge.se...
[ "0.86348635", "0.84360194", "0.83788353", "0.8316623", "0.8311838", "0.8304517", "0.820827", "0.81927854", "0.815375", "0.80797386", "0.80159813", "0.79644084", "0.7959992", "0.78213656", "0.77047175", "0.76935154", "0.768451", "0.7644186", "0.76071763", "0.757453", "0.757188...
0.8385892
2
Returns True if the robot's light is on and False otherwise.
def fBZe(YKHO): return YKHO._light == 'ON'
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def fBZe(YKHO):\n return YKHO._light == 'ON'", "def Debg(YKHO):\n return YKHO._light_on", "def h0Nz(YKHO) -> bool:\n return f34S.Light.value in YKHO.type_data.attributes", "def h0Nz(YKHO) -> bool:\n return f34S.Light.value in YKHO.type_data.attributes", "def Debg(YKHO):\n return YKHO._bright...
[ "0.87283224", "0.8306702", "0.7586803", "0.7586803", "0.7564179", "0.74899966", "0.73714936", "0.73338795", "0.70835525", "0.7082115", "0.7067962", "0.7059329", "0.7052127", "0.70485437", "0.70421416", "0.69646126", "0.69385916", "0.6931243", "0.6931243", "0.6931243", "0.6930...
0.8645753
1
Test related user profile model also contains user data.
def KOa7(YKHO): SGll = BFpK.objects.get(user_id=YKHO.user_1.id) dL3Z = BFpK.objects.count() YKHO.assertEqual(dL3Z, 2) YKHO.assertEqual(str(SGll), "{}'s profile".format(SGll.user.username))
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def PCjH(YKHO):\n z39Z = h6OD.objects.first()\n YKHO.assertTrue(hasattr(z39Z, 'user'))\n YKHO.assertIsInstance(z39Z.user, mv1M)", "def tJFV(YKHO):\n CBIr = YKHO._create_test_user()\n z39Z = YKHO._create_test_profile()\n CBIr.profile = z39Z\n YKHO.db.session.commit()", "def rXf9(YKHO):\n ...
[ "0.81381285", "0.76104003", "0.74030334", "0.72471625", "0.712884", "0.6899452", "0.6880256", "0.6879465", "0.68536013", "0.6823468", "0.6820838", "0.67547375", "0.67006195", "0.6697245", "0.6678262", "0.66434765", "0.66427237", "0.66318303", "0.6551391", "0.6545062", "0.6538...
0.68736017
8
Manually set axes ticks on a plot. This works on both x and y axes.
def _5sD(aNZO: object, qbhf: Union[List, None]=None, nF20: Union[List, None]=None, wf5M: Union[List, None]=None, NwZu: Union[List, None]=None, WhCK: float=0.0, kCFG: float=3.0, bEWA: float=1.5, UUS0: Union[List, None]=None, Zl4z: Union[List, None]=None, o9ey: Union[List, None]=None, irh6: Union[List, None]=None, YaAb: ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def qLGG(YKHO, kj9G):\n if YKHO.x_ticks is not None:\n kj9G.set_xticks(YKHO.x_ticks)\n if YKHO.x_labels is not None:\n kj9G.set_xticklabels(YKHO.x_labels)\n if YKHO.y_ticks is not None:\n kj9G.set_yticks(YKHO.y_ticks)\n if YKHO.y_labels is not None:\n kj9G.set_yticklabels(YK...
[ "0.8227052", "0.751157", "0.6852938", "0.6852938", "0.6852938", "0.68470937", "0.681978", "0.67993045", "0.6775618", "0.6732604", "0.67204344", "0.6720418", "0.6692094", "0.66291505", "0.6622836", "0.66008484", "0.65780103", "0.65470105", "0.6542259", "0.645243", "0.64437854"...
0.7511499
2
Show all the axis ticks and the lines.
def ZG2b(C_JY: Union[object, List], ms7x: str='xy'): C_JY = oB_L(C_JY) for aNZO in C_JY: if aNZO is None: continue if 'x' in ms7x: aNZO.spines['bottom'].set_visible(True) aNZO.tick_params(bottom=True, labelbottom=True) if 'y' in ms7x: aNZO....
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def nzep():\n QrM1.axes(frameon=False)\n QrM1.axvline(0, GjHw.y_axis_bot_lim, GjHw.y_axis_top_lim, color='k')\n QrM1.tick_params(which='both', bottom='off', top='off', right='off', labelbottom='off')\n QrM1.xlim(0, GjHw.x_axis_right_lim)\n QrM1.ylim(GjHw.y_axis_bot_lim, GjHw.y_axis_top_lim)\n QrM...
[ "0.6877955", "0.68757534", "0.68544704", "0.6832434", "0.6743903", "0.6733606", "0.66385466", "0.6563157", "0.65567064", "0.6487614", "0.6424288", "0.64200515", "0.63967943", "0.6393792", "0.6343417", "0.6324413", "0.6320306", "0.6299543", "0.6287635", "0.6277586", "0.6241045...
0.6484859
10
Set the Y limits for an axes from a source axes to the target axes.
def z9NM(hh7H: Union[object, List], fTVC: Union[object, List]): if type(hh7H) is list: print('PlotHelpers: cannot use list as source to set Y axis') return fTVC = oB_L(fTVC) fPho = hh7H.get_ylim() for aNZO in fTVC: aNZO.set_ylim(fPho)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def qFMj(YKHO, uwd1, DLYN):\n YKHO.axplot.set_ylim(uwd1, DLYN)\n YKHO.fig.canvas.draw()\n return", "def kSHX(YKHO, LSh8, CN9P):\n YKHO.Y_AXIS_RANGE = (LSh8, CN9P)", "def rTQi(YKHO, es2x=None, tlxW=None):\n for aNZO in YKHO._subaxes:\n aNZO.set_ylim(es2x, tlxW)\n YKHO.figure.canvas.draw...
[ "0.7516328", "0.71141165", "0.68276185", "0.6814975", "0.67129445", "0.6579535", "0.6561174", "0.64597774", "0.6297541", "0.6276706", "0.62525755", "0.6144087", "0.60784286", "0.60540503", "0.6034295", "0.60327905", "0.6023544", "0.60069805", "0.5964345", "0.5884205", "0.5876...
0.7485839
1
Manually set axes ticks on a plot. This works on both x and y axes.
def _5sD(aNZO: object, qbhf: Union[List, None]=None, nF20: Union[List, None]=None, wf5M: Union[List, None]=None, NwZu: Union[List, None]=None, WhCK: float=0.0, kCFG: float=3.0, bEWA: float=1.5, UUS0: Union[List, None]=None, Zl4z: Union[List, None]=None, o9ey: Union[List, None]=None, irh6: Union[List, None]=None, YaAb: ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def qLGG(YKHO, kj9G):\n if YKHO.x_ticks is not None:\n kj9G.set_xticks(YKHO.x_ticks)\n if YKHO.x_labels is not None:\n kj9G.set_xticklabels(YKHO.x_labels)\n if YKHO.y_ticks is not None:\n kj9G.set_yticks(YKHO.y_ticks)\n if YKHO.y_labels is not None:\n kj9G.set_yticklabels(YK...
[ "0.8227052", "0.7511499", "0.6852938", "0.6852938", "0.6852938", "0.68470937", "0.681978", "0.67993045", "0.6775618", "0.6732604", "0.67204344", "0.6720418", "0.6692094", "0.66291505", "0.6622836", "0.66008484", "0.65780103", "0.65470105", "0.6542259", "0.645243", "0.64437854...
0.751157
1
Return the strings that should be placed next to ticks. This method is called when redrawing the axis and is a good method to override in subclasses.
def eWvk(hkxX: Union[list, np.ndarray], NXpY: float=1, HHea: Union[float, None]=None, xST8: int=1, dOO8: int=None) -> list: if HHea is None: HHea = oyIN.mean(oyIN.diff(hkxX)) nvWN = xST8 if xST8 == 0 and dOO8 in [0, None]: nvWN = 0 _CS_ = [] for Ty9i in hkxX: cmJd = Ty9i * NX...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def yXCH(YKHO):\n qbhf = oyIN.arange(-1, YKHO.space_between_glyphs * len(YKHO.positions))\n Nk7V = [' ']\n for XP5J in YKHO.positions:\n Nk7V.append(str(XP5J))\n Nk7V += [' '] * YKHO.space_between_glyphs\n return (qbhf, Nk7V)", "def yXCH(YKHO):\n qbhf = oyIN.arange(-1, YKHO.space_bet...
[ "0.78397", "0.7624095", "0.6501215", "0.6492352", "0.63792896", "0.6331712", "0.63057184", "0.62749124", "0.6262596", "0.6200152", "0.6151941", "0.61433965", "0.61407983", "0.6114693", "0.6090897", "0.6063146", "0.60558593", "0.6042808", "0.60372144", "0.60286033", "0.595644"...
0.57986957
31
draw a reference line at a particular level of the data on the y axis returns the line object.
def Kdkc(C_JY: object, aC0l: Union[float, None]=None, c5uu: Union[float, None]=None, qfpW: float='0.33', Rw5g: str='--', ZSG5: float=0.5, ngRa: Union[str, None]=None): C_JY = oB_L(C_JY) if aC0l is None: aC0l = 0.0 for aNZO in C_JY: if aNZO is None: continue if c5uu is Non...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def _tCw(LVAh, RP0s, TVTK, x06z, H05p):\n dhJN([[0, LVAh], [RP0s, LVAh]], TVTK, x06z, H05p)", "def zFiD(YKHO, WKvO: Hashable | None=None, LVAh: Hashable | None=None, **B2fa) -> E0GS:\n return YKHO(kind='line', x=WKvO, y=LVAh, **B2fa)", "def zFiD(YKHO, WKvO, LVAh):\n YKHO.call('line', WKvO, LVAh)", "...
[ "0.6597832", "0.62690103", "0.62548614", "0.6254381", "0.6121353", "0.60698295", "0.599574", "0.59520334", "0.5925594", "0.5899377", "0.5871035", "0.5857244", "0.58555025", "0.5812753", "0.5776932", "0.5739642", "0.5738931", "0.57373977", "0.5725293", "0.5720802", "0.56657374...
0.6378374
1
Hide the figure grid in the figure
def gbZg(LZpg: object, Cs6h: object) -> None: Cs6h.grid(False)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def b9Yn(YKHO):\n YKHO.plotter.cells_off(YKHO.ax)\n YKHO.fig.canvas.draw()", "def Afoa(YKHO):\n YKHO.geometry('%dx%d%+d%+d' % (0, 0, 0, 0))", "def zYYE(LZpg: object, Cs6h: object) -> None:\n x5MY.delete(Cs6h)", "def nUV6(aNZO):\n aNZO.set_frame_on(True)\n aNZO.patch.set_visible(False)\n ...
[ "0.7047676", "0.70297813", "0.68988466", "0.6796349", "0.67299616", "0.6620176", "0.6612076", "0.65799737", "0.65392315", "0.653496", "0.64558256", "0.6455507", "0.6452754", "0.6451081", "0.64433354", "0.6389912", "0.63645524", "0.6346707", "0.63374066", "0.6330263", "0.63278...
0.911055
0
Given two images containing pixel annotations, calculates agreement. If a substrate_idx is provided, calculates IoU over that substrate, otherwise calculates pixel accuracy
def YqiB(mEtw, ZEEZ, Wg67=None): iQin = ((mEtw == Wg67) * (ZEEZ == Wg67)).sum() b65I = ((mEtw == Wg67) + (ZEEZ == Wg67)).sum() return (iQin, b65I)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def d86l(tp5B, dfhg):\n rqAK = oRi_(int)\n SHsD = oRi_(int)\n for LNo8 in PRqg.tqdm(tp5B.keys()):\n for LZVa, Wg67 in DBzC.items():\n iQin, b65I = YqiB(tp5B[LNo8], dfhg.get(LNo8, []), substrate_idx=Wg67)\n if b65I:\n rqAK[LZVa] += iQin\n SHsD[LZVa...
[ "0.6669386", "0.60677356", "0.5994295", "0.59527326", "0.59527326", "0.57825994", "0.57823753", "0.5700432", "0.5691588", "0.5669964", "0.565506", "0.56381494", "0.563136", "0.5595641", "0.5591643", "0.5590119", "0.55770004", "0.5547028", "0.554653", "0.5519034", "0.551428", ...
0.79069084
0
Compute the density using the simplified EOS
def WQKP(Kt_s, o4sw, epBp, AasR=AasR, wQpj=wQpj, _k4H=_k4H, lu_f=lu_f, dbIe=dbIe, BlGJ=BlGJ, aEMM=aEMM): MHTt = Kt_s - wGZt GGAE = o4sw - jCGB oZuG = MRrp - _k4H * (1 + 0.5 * AasR * MHTt + dbIe * epBp) * MHTt + lu_f * (1 - 0.5 * wQpj * GGAE - BlGJ * epBp) * GGAE - aEMM * MHTt * GGAE return oZuG
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def p6EJ(YKHO):\n wA3x = oyIN.array([0.0] + [r8hN.value for r8hN in YKHO.fraction])\n wA3x[0] = 100 - sum(wA3x)\n if (wA3x < 0).any():\n return uIGg\n akib = YKHO._volume(wA3x)\n InLe = oyIN.array([r8hN.density() for r8hN in [YKHO.base] + YKHO.material])\n return oyIN.sum(akib * InLe)", ...
[ "0.6899088", "0.6735469", "0.6676664", "0.66023666", "0.65880615", "0.657711", "0.6553591", "0.6545843", "0.6496512", "0.649109", "0.6488794", "0.6464219", "0.6453814", "0.6435498", "0.6394814", "0.6392401", "0.6388438", "0.63717675", "0.63460886", "0.62834775", "0.62756175",...
0.0
-1
Round a datetime object to any time lapse in seconds
def I3hM(JRYC=None, HlDX=60): if hasattr(JRYC, 'tzinfo'): JRYC.replace(tzinfo=None) yk4i = JRYC - JRYC.replace(hour=0, minute=0, second=0, microsecond=0) C6wh = yk4i.seconds Y3rN = (C6wh + HlDX / 2) // HlDX * HlDX return JRYC + qcWV.timedelta(0, Y3rN - C6wh, -JRYC.microsecond)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def ZhNM(ITS7):\n XXcz = ITS7.minute % 5\n W3xo = ITS7.second\n oLQB = ITS7.microsecond\n ITS7 = ITS7 - fCoM(minutes=XXcz, seconds=W3xo, microseconds=oLQB)\n return ITS7", "def ZhNM(JRYC=None, HlDX=60):\n if JRYC == None:\n JRYC = qcWV.now()\n C6wh = (JRYC.replace(tzinfo=None) - JRYC....
[ "0.7319746", "0.71368575", "0.7098589", "0.70558184", "0.69927", "0.69684905", "0.6829757", "0.6818082", "0.68054426", "0.66659987", "0.6533629", "0.63276696", "0.6323017", "0.63170487", "0.6301285", "0.6299775", "0.6283563", "0.622859", "0.6186915", "0.6161188", "0.6160083",...
0.71509767
1
Return the Django CMS page's url that this Entity has attached to it (or to its nearest parent)
def q1Ua(YKHO): if YKHO.website: return YKHO.website.get_absolute_url() elif YKHO.external_url: return YKHO.external_url.url elif YKHO.parent: return YKHO.parent.get_website_url() else: return XXMN.get_website
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def hlzF(YKHO):\n if YKHO.redirect:\n return YKHO.redirect\n if YKHO == I0sS.tree.root_nodes()[0]:\n return gxEw('ostinato_page_home')\n pmON = []\n for _AKB in YKHO.get_ancestors():\n pmON.append(_AKB.slug)\n pmON.append(YKHO.slug)\n return YKHO.perma_url(('ostinato_page_vie...
[ "0.7395588", "0.73515296", "0.70522416", "0.70473766", "0.7042088", "0.7036055", "0.7021756", "0.701494", "0.69864625", "0.6944052", "0.6916468", "0.69100386", "0.68751824", "0.68729883", "0.68711525", "0.6868451", "0.68536216", "0.6846103", "0.6841438", "0.6805998", "0.67978...
0.6827559
19
Layers will be in the order they are first used. Use this method declare the order of all layers initially if that is more convenient. Example svg.declare_layers(["foo", "bar"]) svg["bar"].circle(...) svg["foo"].circle(...)
def PNHp(YKHO, ZWCE): for mWFP in ZWCE: YKHO[mWFP] return YKHO
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def ZRwK(YKHO):\n x2Hv = oC3b.objects.all()\n for QTTr in x2Hv:\n YKHO.add_layer(str(QTTr), QTTr)", "def _9XV(DumB, gEmA):\n for YRbF in DumB:\n YRbF.setZValue(gEmA)", "def nnEG(YKHO, fhcK):\n lWgs = YKHO.layers\n assert len(lWgs) > 0\n for gEmA in fhcK:\n assert gEmA.get...
[ "0.6521296", "0.60912186", "0.6073792", "0.6043184", "0.59845", "0.59835064", "0.5904451", "0.5867343", "0.5645457", "0.5634773", "0.5614134", "0.5607074", "0.55846554", "0.55837303", "0.55254525", "0.5511223", "0.5505191", "0.54991955", "0.54805404", "0.5435835", "0.5401328"...
0.6691811
1
Yield successive tuples of slices defining patches of size `patch_size` from an array of dimensions `dims`. The iteration starts from position `start_pos` in the array, or starting at the origin if this isn't provided. Each patch is chosen in a contiguous grid using a first dimension as least significant ordering.
def R_d2(Htse, FTrt, fE52=()): qC1Y = len(Htse) FTrt = eTW8(Htse, FTrt) fE52 = zJq9(fE52, qC1Y) XT48 = tuple(YcfV(range, zip(fE52, Htse, FTrt))) for dQgj in Lx3t(*XT48[::-1]): yield tuple((slice(KCHu, KCHu + XP5J) for KCHu, XP5J in zip(dQgj[::-1], FTrt)))
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def R_d2(N0ky: Sequence[int], FTrt: Sequence[int] | int, fE52: Sequence[int]=(), yHH9: Sequence[float] | float=0.0, H5Km: bool=True) -> jd6F[tuple[slice, ...], None, None]:\n GvCA = eTW8(N0ky, FTrt)\n for dQgj in kC6l(image_size=N0ky, patch_size=GvCA, start_pos=fE52, overlap=yHH9, padded=H5Km):\n yiel...
[ "0.7605126", "0.68866265", "0.68019587", "0.6716003", "0.6668529", "0.6636184", "0.6457288", "0.639002", "0.63698727", "0.6058741", "0.5978948", "0.596932", "0.5887997", "0.5831623", "0.5824264", "0.5628391", "0.56025636", "0.55978453", "0.55938584", "0.5566723", "0.5549259",...
0.84265006
0
Enumerate all slices defining 2D/3D patches of size `patch_size` from an `image_size` input image.
def WPlR(N0ky, FTrt, _CL2): ismU = len(N0ky) if ismU not in (2, 3): raise ValueError('image_size should has 2 or 3 elements') FTrt = eTW8(N0ky, FTrt) _CL2 = zJq9(_CL2, ismU) Y5ew = [int(epAf.ceil(float(N0ky[YRbF]) / _CL2[YRbF])) if _CL2[YRbF] != 0 else 1 for YRbF in range(ismU)] SuPp = [...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def R_d2(N0ky: Sequence[int], FTrt: Sequence[int] | int, fE52: Sequence[int]=(), yHH9: Sequence[float] | float=0.0, H5Km: bool=True) -> jd6F[tuple[slice, ...], None, None]:\n GvCA = eTW8(N0ky, FTrt)\n for dQgj in kC6l(image_size=N0ky, patch_size=GvCA, start_pos=fE52, overlap=yHH9, padded=H5Km):\n yiel...
[ "0.74667376", "0.7214571", "0.6946546", "0.67794037", "0.66863877", "0.6623078", "0.6539736", "0.6448639", "0.6441259", "0.6380542", "0.6360427", "0.6165405", "0.61171037", "0.6110804", "0.60667384", "0.6039885", "0.5972813", "0.59668595", "0.5953215", "0.5951258", "0.5846345...
0.74851185
0
Yield successive patches from `arr` of size `patch_size`. The iteration can start from position `start_pos` in `arr` but drawing from a padded array extended by the `patch_size` in each dimension (so these coordinates can be negative to start in the padded region). If `copy_back` is True the values from each patch are ...
def kNWG(ezWE: np.ndarray, FTrt, fE52=(), DWLe: bool=True, Tuqy: str='wrap', **qIxt): FTrt = eTW8(ezWE.shape, FTrt) fE52 = zJq9(fE52, ezWE.ndim) xs_2 = oyIN.pad(ezWE, tuple(((XP5J, XP5J) for XP5J in FTrt)), Tuqy, **qIxt) pysv = tuple((KCHu + XP5J for KCHu, XP5J in zip(fE52, FTrt))) MmUg = tuple((KCH...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def kNWG(ezWE: NdarrayOrTensor, FTrt: Sequence[int] | int=0, fE52: Sequence[int]=(), yHH9: Sequence[float] | float=0.0, DWLe: bool=True, Tuqy: str | None=PS4K.WRAP, **qIxt: dict) -> jd6F[tuple[tAlg, oyIN.ndarray], None, None]:\n from monai.transforms.croppad.functional import pad_nd\n GvCA = eTW8(ezWE.shape,...
[ "0.8052687", "0.68469435", "0.68047655", "0.64481837", "0.63350564", "0.62117356", "0.6032768", "0.60040605", "0.5822174", "0.5779093", "0.57770807", "0.5759318", "0.5751497", "0.5708546", "0.56990117", "0.5604038", "0.5602812", "0.558997", "0.5578437", "0.5569295", "0.555285...
0.833687
0
Given an image of dimensions `dims`, return a patch size tuple taking the dimension from `patch_size` if this is not 0/None. Otherwise, or if `patch_size` is shorter than `dims`, the dimension from `dims` is taken. This ensures the returned patch size is within the bounds of `dims`. If `patch_size` is a single number t...
def eTW8(Htse, FTrt): qC1Y = len(Htse) try: vFkS = int(FTrt) FTrt = (vFkS,) * qC1Y except TypeError: FTrt = zJq9(FTrt, qC1Y) return tuple((min(NmYP, hnFq or NmYP) for NmYP, hnFq in zip(Htse, FTrt)))
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def eTW8(N0ky: Sequence[int], FTrt: Sequence[int] | int | np.ndarray) -> tuple[int, ...]:\n qC1Y = len(N0ky)\n GvCA = zJq9(FTrt, qC1Y)\n return tuple((min(NmYP, hnFq or NmYP) for NmYP, hnFq in zip(N0ky, GvCA)))", "def Yp_T(Htse, FTrt, j93M: Optional[np.random.RandomState]=None):\n buqX = oyIN.random....
[ "0.70552206", "0.6140606", "0.6106958", "0.6088183", "0.57691526", "0.5652423", "0.55327773", "0.5506837", "0.54655063", "0.5415204", "0.5341019", "0.52009356", "0.5147486", "0.5119845", "0.5087839", "0.50872743", "0.50498927", "0.50302655", "0.49074468", "0.49024823", "0.488...
0.7945127
0
To make column norm of `affine` the same as `scale`. If diagonal is False, returns an affine that combines orthogonal rotation and the new scale. This is done by first decomposing `affine`, then setting the zoom factors to `scale`, and composing a new affine; the shearing factors are removed. If diagonal is True, retur...
def wfy5(rnv5, NXpY, IjIm: bool=True): rnv5 = oyIN.array(rnv5, dtype=float, copy=True) if len(rnv5) != len(rnv5[0]): raise ValueError('affine should be a square matrix') NXpY = oyIN.array(NXpY, dtype=float, copy=True) if oyIN.any(NXpY <= 0): raise ValueError('scale must be a sequence of ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def wfy5(rnv5: np.ndarray, NXpY: np.ndarray | Sequence[float], IjIm: bool=True):\n rnv5 = oyIN.array(rnv5, dtype=float, copy=True)\n if len(rnv5) != len(rnv5[0]):\n raise ValueError(f'affine must be n x n, got {len(rnv5)} x {len(rnv5[0])}.')\n i8Jr = oyIN.array(NXpY, dtype=float, copy=True)\n Cs...
[ "0.7194488", "0.5994049", "0.59912354", "0.5915723", "0.5384092", "0.5365139", "0.53525025", "0.5346628", "0.5248908", "0.5242017", "0.5241914", "0.52233315", "0.51467407", "0.5132126", "0.5115379", "0.5028426", "0.50227356", "0.50128067", "0.501081", "0.50019133", "0.4982473...
0.7144264
1
Source path for the static document with missing file fallback.
def crhL(YKHO): fcvf = YKHO.pod.path_format.format_static(YKHO.source_format, locale=YKHO.locale) if YKHO.use_locale and YKHO.use_fallback and (not YKHO.pod.file_exists(fcvf)): fcvf = YKHO.pod_path return fcvf
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def fcvf(YKHO):\n pmON = YKHO.config.get('static_dir')\n if pmON:\n return pmON\n for fcvf in YKHO.source_paths:\n if YKHO.pod_path.startswith(fcvf):\n return fcvf\n return YKHO.source_paths[YKHO._base_source_path_index or 0]", "def Un4K(YKHO, Vp_u: DocMetadata) -> h8nf[str]:...
[ "0.7844096", "0.6985158", "0.69540066", "0.6874629", "0.67333215", "0.67305684", "0.6673397", "0.66175884", "0.6610678", "0.6584124", "0.6580565", "0.6478843", "0.6329997", "0.63059056", "0.6305837", "0.62678605", "0.6242955", "0.6191759", "0.61828184", "0.61820614", "0.61753...
0.69644463
2
Total seconds in the duration.
def z0YJ(YKHO): return ((YKHO.days * 86400 + YKHO.seconds) * 10 ** 6 + YKHO.microseconds) / 10 ** 6
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def z0YJ(YKHO):\n return 0", "def m3XP(YKHO):\n return YKHO.get_data('duration_in_seconds')", "def C6wh(YKHO):\n Os4s = YKHO.end or rIAI.now()\n Aofo = Os4s - YKHO.start\n return Aofo.seconds", "def C6wh(YKHO):\n return YKHO._seconds", "def C6wh(YKHO):\n return YKHO._seconds", "def W...
[ "0.86587787", "0.8130925", "0.8093025", "0.80003345", "0.80003345", "0.7957805", "0.7933309", "0.7810196", "0.77947843", "0.7788315", "0.77819175", "0.77526325", "0.7730897", "0.76528883", "0.76338065", "0.7621815", "0.76131994", "0.75891864", "0.7588751", "0.7588751", "0.758...
0.832391
1
Construct a date from a POSIX timestamp (like time.time()).
def Cxh3(Emd4, a1PO): LVAh, r8hN, Csk6, TKQ0, cpvk, KG9w, XKrP, w4Ni, zr3f = MK1i.localtime(a1PO) return Emd4(LVAh, r8hN, Csk6)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Cxh3(Emd4, E3oo):\n return _c1T()", "def ljfJ(E3oo):\n return qcWV.fromtimestamp(E3oo)", "def p0rV(E3oo):\n Igxa = I8kJ.dates.date2num(qcWV.fromtimestamp(E3oo))\n return Igxa", "def dFAW(E3oo=None):\n if E3oo is None:\n E3oo = ITS7.time()\n _c1T = qcWV.date.fromtimestamp(E3oo)\n ...
[ "0.7942078", "0.7566127", "0.7346331", "0.7313906", "0.7031769", "0.6900633", "0.6759771", "0.66030014", "0.6595869", "0.64605874", "0.64407605", "0.6329673", "0.6324291", "0.6314442", "0.6277952", "0.62235487", "0.62194335", "0.619535", "0.61585677", "0.6134754", "0.6121105"...
0.670045
7
Construct a date from a proleptic Gregorian ordinal. January 1 of year 1 is day 1. Only the year, month and day are nonzero in the result.
def VjKn(Emd4, exwG): LVAh, r8hN, Csk6 = Pdm4(exwG) return Emd4(LVAh, r8hN, Csk6)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def VjKn(Emd4, VVMx):\n return _c1T()", "def gysZ(lO87, UDG2):\n Aofo = qcWV.date(lO87, 1, 1)\n Aofo += qcWV.timedelta(days=UDG2 - 1)\n return Aofo", "def cQya(Emd4, VVMx: int) -> Qrp8:\n return Emd4.fromordinal(VVMx)", "def Qrp8(lO87, x0eS, CjKC):\n return qcWV.datetime(lO87, x0eS, CjKC, 0...
[ "0.68265814", "0.67379045", "0.60325325", "0.5935473", "0.59110737", "0.5880265", "0.58587164", "0.5836866", "0.58030343", "0.57922894", "0.57751685", "0.57751065", "0.57534164", "0.5610511", "0.5606185", "0.5604394", "0.55926335", "0.5586711", "0.55856985", "0.5570371", "0.5...
0.51085943
63
Return the date formatted according to ISO. This is 'YYYYMMDD'. References
def A4Zb(YKHO): return '%04d-%02d-%02d' % (YKHO._year, YKHO._month, YKHO._day)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def A4Zb(YKHO):\n KCHu = '{0:04}'.format(YKHO._year)\n if YKHO._month:\n KCHu += '-{0:02}'.format(YKHO._month)\n if YKHO._day:\n KCHu += '-{0:02}'.format(YKHO._day)\n return KCHu", "def Jv5M(YKHO):\n return YKHO.strftime(YKHO.FORMAT_PRECISION_DAY)", "def SP9u(BWXx: int) -> ...
[ "0.77984023", "0.76661795", "0.746209", "0.70012194", "0.6944533", "0.6926987", "0.68108386", "0.6770215", "0.67618424", "0.6738082", "0.6707987", "0.6693457", "0.6690283", "0.6666362", "0.6665504", "0.66532874", "0.66341037", "0.65845925", "0.6533149", "0.6532402", "0.649018...
0.7877379
0
Return local time tuple compatible with time.localtime().
def cFpg(YKHO): return jqYg(YKHO._year, YKHO._month, YKHO._day, 0, 0, 0, -1)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def rlSG(WY3t):\n return WY3t.timestamp()", "def oMjx():\n return qcWV.datetime.now().isoformat()[:len('2017-01-24T10:44:00')]", "def oMjx(YKHO) -> GnQL:\n return YKHO._local_time", "def cFpg(YKHO):\n zr3f = YKHO.dst()\n if zr3f is None:\n zr3f = -1\n elif zr3f:\n zr3f = 1\n ...
[ "0.6868456", "0.6759091", "0.65390295", "0.6408829", "0.63834465", "0.62887186", "0.61896205", "0.61795753", "0.607105", "0.60601085", "0.6057456", "0.5984415", "0.5928824", "0.59073496", "0.5851447", "0.5801418", "0.5798117", "0.579025", "0.57557595", "0.57342637", "0.568197...
0.5837053
15
Add a date to a timedelta.
def FOdN(YKHO, Elif): if isinstance(Elif, Y6bT): z1Rg = YKHO.toordinal() + Elif.days if 0 < z1Rg <= ut33: return _c1T.fromordinal(z1Rg) raise OverflowError('result out of range') return NotImplemented
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def H2v5(JRYC, Sm0u=0, C6wh=0):\n return JRYC + qcWV.timedelta(days=Sm0u, seconds=C6wh)", "def IHD_(_c1T, V_GC):\n return _c1T + qcWV.timedelta(days=V_GC)", "def Xd8J(kepv, Sm0u=0, X_bn=0, ulWt=0, DKYA=0):\n return naCA(kepv.year + ulWt, kepv.month + X_bn, kepv.day + Sm0u + DKYA * 7)", "def FOdN(YKH...
[ "0.7117301", "0.69542116", "0.6441337", "0.63574463", "0.6329362", "0.6204943", "0.6188563", "0.6146536", "0.6090541", "0.5954821", "0.59144026", "0.58906394", "0.58857566", "0.5845158", "0.5799688", "0.57790095", "0.5754718", "0.5746537", "0.5703588", "0.5583959", "0.5534856...
0.67089677
2
datetime > string name of time zone.
def tAkU(YKHO, JRYC): raise NotImplementedError('tzinfo subclass must override tzname()')
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def LiQK(YKHO):\n return IpZr.addressbook.preferences.utils.get_time_zone_name()", "def MbZJ(YKHO):\n return YKHO._time_zone", "def MbZJ():\n return rIAI('Etc/GMT-10')", "def MbZJ(YKHO) -> str:\n return qe4Y.get(YKHO, 'time_zone')", "def rIAI():\n pass", "def rIAI():\n return ITS7.timez...
[ "0.7105962", "0.7041414", "0.7003352", "0.69928", "0.6902011", "0.6801389", "0.67753494", "0.65253943", "0.65072775", "0.64584714", "0.64381987", "0.6407766", "0.63468724", "0.6344794", "0.6329056", "0.6229834", "0.6158494", "0.60979545", "0.607531", "0.6074766", "0.60470253"...
0.6104339
17
datetime > timedelta, positive for east of UTC, negative for west of UTC
def aKBz(YKHO, JRYC): raise NotImplementedError('tzinfo subclass must override utcoffset()')
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Elpc(JRYC):\n return JRYC - qcWV.timedelta(seconds=UJxm)", "def _YhM(YKHO, JRYC: datetime) -> bool:\n return YKHO.target_time >= QOQo(JRYC)", "def d91q(JRYC):\n if JRYC > qcWV.now(FXGE.utc):\n return True\n return False", "def B80K(YKHO):\n yk4i = YKHO.machine_date - YKHO.actual_dat...
[ "0.6280276", "0.62306535", "0.6190972", "0.6161588", "0.61297816", "0.6075623", "0.6027141", "0.60217035", "0.5961634", "0.5950339", "0.5911102", "0.5795746", "0.5745029", "0.5665904", "0.5653349", "0.565006", "0.56416893", "0.56246936", "0.5614236", "0.558975", "0.5577295", ...
0.0
-1
datetime > DST offset as timedelta, positive for east of UTC. Return 0 if DST not in effect. utcoffset() must include the DST offset.
def zr3f(YKHO, JRYC): raise NotImplementedError('tzinfo subclass must override dst()')
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Y894():\n if ITS7.localtime().tm_isdst and ITS7.daylight:\n return -ITS7.altzone\n else:\n return -ITS7.timezone", "def yyip(YKHO, tAkU):\n lhKE = FXGE.timezone(tAkU)\n wzkt = qcWV.datetime.now()\n RA_F = lhKE.localize(wzkt, is_dst=False).utcoffset()\n return RA_F.days * 86400...
[ "0.6781972", "0.65637696", "0.6371492", "0.63614273", "0.635369", "0.6341991", "0.6338954", "0.6217189", "0.61945367", "0.61535645", "0.6119937", "0.611382", "0.6091785", "0.5993934", "0.5993787", "0.59794426", "0.595639", "0.5945905", "0.59220064", "0.5755463", "0.5681006", ...
0.57366914
20
datetime in UTC > datetime in local time.
def W8tu(YKHO, JRYC): if not isinstance(JRYC, Rf0f): raise TypeError('fromutc() requires a datetime argument') if JRYC.tzinfo is not YKHO: raise ValueError('dt.tzinfo is not self') yYb2 = JRYC.utcoffset() if yYb2 is None: raise ValueError('fromutc() requires a non-None utcoffset(...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Elpc(JRYC):\n return JRYC - qcWV.timedelta(seconds=UJxm)", "def cMES(ZCQF):\n nOtw = ITS7.time()\n vgXP = qcWV.fromtimestamp(nOtw) - qcWV.utcfromtimestamp(nOtw)\n return ZCQF + vgXP", "def KR93(shus: datetime) -> qcWV:\n if shus is None:\n return None\n B8aT = shus.astimezone(yl4j....
[ "0.7222915", "0.71106786", "0.7003666", "0.68234694", "0.6767893", "0.6763946", "0.6753816", "0.6749853", "0.6681044", "0.6662721", "0.6610653", "0.6511649", "0.65026426", "0.6498716", "0.6488153", "0.6449673", "0.6439356", "0.64143956", "0.6378257", "0.6378257", "0.6378257",...
0.0
-1
Return the time formatted according to ISO.
def A4Zb(YKHO, ooLV='auto'): KCHu = bFOe(YKHO._hour, YKHO._minute, YKHO._second, YKHO._microsecond, ooLV) yl4j = YKHO._tzstr() if yl4j: KCHu += yl4j return KCHu
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Jv5M(YKHO, a1PO=None):\n if a1PO is None:\n a1PO = ITS7.time()\n jmHs = ITS7.strftime('%Y-%m-%d %H:%M:%S', ITS7.localtime(a1PO))\n return jmHs", "def jFaa(a1PO=ITS7.time()):\n return qcWV.datetime.now().isoformat()[0:19]", "def PCz5(YKHO):\n return '%.4d-%.2d-%.2d %.2d:%.2d:%.2d' % (Y...
[ "0.7798619", "0.7565409", "0.741238", "0.7212931", "0.72082263", "0.7107972", "0.70813596", "0.70811695", "0.70491254", "0.696224", "0.6916769", "0.69164604", "0.6907902", "0.69023085", "0.68958104", "0.6894289", "0.6883305", "0.6821868", "0.6804137", "0.67717224", "0.6728617...
0.7143134
5
Return the timezone offset as timedelta, positive east of UTC (negative west of UTC).
def aKBz(YKHO): if YKHO._tzinfo is None: return None vgXP = YKHO._tzinfo.utcoffset(None) vnnk('utcoffset', vgXP) return vgXP
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def mVXc():\n fCoM = qcWV.datetime.now() - qcWV.datetime.utcnow()\n return fCoM.total_seconds()", "def PduB(YKHO):\n return SED2(YKHO._tz, YKHO._t)", "def YfmJ(YKHO) -> float:\n return YKHO.AD.tz.utcoffset(YKHO.datetime()).total_seconds() / 60", "def CHDc(rIAI):\n return NLrD.get(rIAI, {'offse...
[ "0.77070475", "0.7264717", "0.71097314", "0.701621", "0.6957274", "0.6934106", "0.6725874", "0.67047375", "0.6629715", "0.64883184", "0.63960767", "0.63786894", "0.624489", "0.6116624", "0.60631806", "0.6032272", "0.5977205", "0.59698105", "0.5927816", "0.5925971", "0.5921354...
0.56652105
29
Return 0 if DST is not in effect, or the DST offset (as timedelta positive eastward) if DST is in effect. This is purely informational; the DST offset has already been added to the UTC offset returned by utcoffset() if applicable, so there's no need to consult dst() unless you're interested in displaying the DST info.
def zr3f(YKHO): if YKHO._tzinfo is None: return None vgXP = YKHO._tzinfo.dst(None) vnnk('dst', vgXP) return vgXP
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def zr3f(YKHO):\n if YKHO._tzinfo is None:\n return None\n vgXP = YKHO._tzinfo.dst(YKHO._realized_if_concrete_tzinfo())\n vnnk('dst', vgXP)\n return vgXP", "def Y894():\n if ITS7.localtime().tm_isdst and ITS7.daylight:\n return -ITS7.altzone\n else:\n return -ITS7.timezone"...
[ "0.79034424", "0.6852501", "0.6627189", "0.6487176", "0.6445749", "0.62509197", "0.6102271", "0.59712857", "0.5833469", "0.58159745", "0.580037", "0.5784196", "0.57792485", "0.5762912", "0.5729294", "0.5607387", "0.5595929", "0.559285", "0.55924326", "0.5586443", "0.5575912",...
0.7982787
0
Construct a UTC datetime from time.time().
def wj6w(Emd4): a1PO = MK1i.time() return Emd4.utcfromtimestamp(a1PO)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def pJbb(Emd4):\n a1PO = HOAL.time()\n JT1u = HOAL.gmtime(a1PO)\n return Emd4.FromStructTime(JT1u).WithZone(zDirection=0)", "def JT1u():\n return GRk0.timegm(ITS7.gmtime())", "def XFBR(YKHO):\n h5YN = YKHO.toZone('UTC')\n CsFy = int(h5YN._second)\n foC1 = h5YN.micros() % 1000000\n JRYC ...
[ "0.72356766", "0.6852686", "0.684078", "0.68388003", "0.6772385", "0.6708112", "0.6695378", "0.65758073", "0.6472742", "0.64718795", "0.6450979", "0.6445946", "0.64225674", "0.64049816", "0.64049816", "0.64049816", "0.6388486", "0.63750064", "0.6366122", "0.6355113", "0.63551...
0.70411646
1
Return local time tuple compatible with time.localtime().
def cFpg(YKHO): zr3f = YKHO.dst() if zr3f is None: zr3f = -1 elif zr3f: zr3f = 1 else: zr3f = 0 return jqYg(YKHO.year, YKHO.month, YKHO.day, YKHO.hour, YKHO.minute, YKHO.second, zr3f)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def rlSG(WY3t):\n return WY3t.timestamp()", "def oMjx():\n return qcWV.datetime.now().isoformat()[:len('2017-01-24T10:44:00')]", "def oMjx(YKHO) -> GnQL:\n return YKHO._local_time", "def Elpc(ScXE):\n rIAI = ScXE[0].split(' ; ')[2]\n h25_ = ScXE[2]\n rDOR = ScXE[0][:-(len(rIAI) + 3)]\n o...
[ "0.6868456", "0.6759091", "0.65390295", "0.63834465", "0.62887186", "0.61896205", "0.61795753", "0.607105", "0.60601085", "0.6057456", "0.5984415", "0.5928824", "0.59073496", "0.5851447", "0.5837053", "0.5801418", "0.5798117", "0.579025", "0.57557595", "0.57342637", "0.568197...
0.6408829
3
Return integer POSIX timestamp.
def KTtP(YKHO): qtWj = qcWV(1970, 1, 1) RPFj = 24 * 3600 a1PO = (YKHO - qtWj) // fCoM(0, 1) def WY3t(P6bq): LVAh, r8hN, Csk6, TKQ0, cpvk, KG9w = MK1i.localtime(P6bq)[:6] return (qcWV(LVAh, r8hN, Csk6, TKQ0, cpvk, KG9w) - qtWj) // fCoM(0, 1) jzdc = WY3t(a1PO) - a1PO IrOQ = a1PO -...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def ItX3() -> int:\n return int(ITS7.time() * 1000)", "def E3oo():\n return int(ITS7.time())", "def ItX3():\n return int(ITS7.time())", "def ItX3():\n return int(ITS7.time() * 1000)", "def azw4():\n return int(ITS7.time())", "def X2x9():\n return str(int(ITS7.time()))", "def a1kK():\n...
[ "0.8753553", "0.8677451", "0.8522794", "0.8515965", "0.84376234", "0.7841757", "0.78202295", "0.7729608", "0.76771694", "0.76251274", "0.7621465", "0.76189464", "0.7497464", "0.7426284", "0.7425352", "0.7419928", "0.740653", "0.7405725", "0.7387691", "0.7354451", "0.7330909",...
0.0
-1
Return POSIX timestamp as float
def E3oo(YKHO): if YKHO._tzinfo is None: KCHu = YKHO._mktime() return KCHu + YKHO.microsecond / 1000000.0 else: return (YKHO - DfBS).total_seconds()
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def lnRi(a1PO, qtWj=None):\n if qtWj is None:\n qtWj = oyIN.datetime64(0, 's')\n return (a1PO - qtWj) / oyIN.timedelta64(1, 's')", "def kPaK(auAJ):\n return auAJ.hour / 24 + auAJ.minute / (24 * 60) + auAJ.second / (24 * 60 * 60) + round(auAJ.microsecond, 3) / (24 * 60 * 60 * 1000000.0)", "def n...
[ "0.6992535", "0.6878568", "0.68192965", "0.6736622", "0.6731897", "0.668916", "0.6476074", "0.6426588", "0.6326478", "0.6303143", "0.62882674", "0.6234106", "0.621217", "0.6149554", "0.61409074", "0.613869", "0.608031", "0.6065234", "0.6041819", "0.6016021", "0.59996104", "...
0.6259493
11
Return the time part, with same tzinfo.
def nVhh(YKHO): return ITS7(YKHO.hour, YKHO.minute, YKHO.second, YKHO.microsecond, YKHO._tzinfo, fold=YKHO.fold)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def m7L9(YKHO):\n return qcWV.datetime.now(YKHO.time_zone)", "def pKUP(vlNY: timezone) -> qcWV:\n return qcWV.now().astimezone(vlNY)", "def m7L9():\n swig = rIAI('US/Eastern')\n wzkt = qcWV.datetime.now(swig).time()\n return wzkt", "def m7L9(vgXP=0, RAIs=True):\n yo7_ = qcWV.datetime.now() ...
[ "0.6948679", "0.6842157", "0.66398674", "0.65428716", "0.6479562", "0.6439625", "0.64161605", "0.64099103", "0.63855416", "0.63758206", "0.62873507", "0.62810874", "0.62722397", "0.62676567", "0.625785", "0.62470746", "0.6242392", "0.6237184", "0.6237141", "0.6221848", "0.619...
0.7869794
0
Return the time formatted according to ISO.
def A4Zb(YKHO, VWe_='T', ooLV='auto'): KCHu = '%04d-%02d-%02d%c' % (YKHO._year, YKHO._month, YKHO._day, VWe_) + bFOe(YKHO._hour, YKHO._minute, YKHO._second, YKHO._microsecond, ooLV) l4XF = YKHO.utcoffset() yl4j = q82M(l4XF) if yl4j: KCHu += yl4j return KCHu
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Jv5M(YKHO, a1PO=None):\n if a1PO is None:\n a1PO = ITS7.time()\n jmHs = ITS7.strftime('%Y-%m-%d %H:%M:%S', ITS7.localtime(a1PO))\n return jmHs", "def jFaa(a1PO=ITS7.time()):\n return qcWV.datetime.now().isoformat()[0:19]", "def PCz5(YKHO):\n return '%.4d-%.2d-%.2d %.2d:%.2d:%.2d' % (Y...
[ "0.7798619", "0.7565409", "0.741238", "0.7212931", "0.72082263", "0.7143134", "0.7107972", "0.70813596", "0.70811695", "0.70491254", "0.696224", "0.6916769", "0.69164604", "0.6907902", "0.69023085", "0.68958104", "0.6894289", "0.6883305", "0.6804137", "0.67717224", "0.6728617...
0.6821868
18
Return the timezone offset as timedelta positive east of UTC (negative west of UTC).
def aKBz(YKHO): if YKHO._tzinfo is None: return None vgXP = YKHO._tzinfo.utcoffset(YKHO._realized_if_concrete_tzinfo()) vnnk('utcoffset', vgXP) return vgXP
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def mVXc():\n fCoM = qcWV.datetime.now() - qcWV.datetime.utcnow()\n return fCoM.total_seconds()", "def PduB(YKHO):\n return SED2(YKHO._tz, YKHO._t)", "def Y894():\n if ITS7.localtime().tm_isdst and ITS7.daylight:\n return -ITS7.altzone\n else:\n return -ITS7.timezone", "def YfmJ(...
[ "0.7738117", "0.72315204", "0.7050119", "0.7044904", "0.6883803", "0.68589586", "0.6666285", "0.66511524", "0.65661156", "0.6400021", "0.6351908", "0.63440007", "0.6241571", "0.6094988", "0.60877", "0.59931016", "0.5970607", "0.5962317", "0.5954533", "0.5915596", "0.5906494",...
0.58246714
22
Return 0 if DST is not in effect, or the DST offset (as timedelta positive eastward) if DST is in effect. This is purely informational; the DST offset has already been added to the UTC offset returned by utcoffset() if applicable, so there's no need to consult dst() unless you're interested in displaying the DST info.
def zr3f(YKHO): if YKHO._tzinfo is None: return None vgXP = YKHO._tzinfo.dst(YKHO._realized_if_concrete_tzinfo()) vnnk('dst', vgXP) return vgXP
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def zr3f(YKHO):\n if YKHO._tzinfo is None:\n return None\n vgXP = YKHO._tzinfo.dst(None)\n vnnk('dst', vgXP)\n return vgXP", "def Y894():\n if ITS7.localtime().tm_isdst and ITS7.daylight:\n return -ITS7.altzone\n else:\n return -ITS7.timezone", "def LaHl():\n WKvO = qc...
[ "0.7982787", "0.6852501", "0.6627189", "0.6487176", "0.6445749", "0.62509197", "0.6102271", "0.59712857", "0.5833469", "0.58159745", "0.580037", "0.5784196", "0.57792485", "0.5762912", "0.5729294", "0.5607387", "0.5595929", "0.559285", "0.55924326", "0.5586443", "0.5575912", ...
0.79034424
1
Plot of the FDataGrid samples by clusters. The clusters are calculated with the estimator passed as a parameter. If the estimator is not fitted, the fit method is called. Once each sample is assigned a label the plotting can be done. Each group is assigned a color described in a leglend.
def HeFd(BHCt, EcVT, a88W=None, LZpg=None, MPlV=None, Gmep=None, OfOG=None, P4s4=None, HCqb=None, gOe1=None, JXyK=None, w6WV=None, HNUn=3, MYQr=QrM1.cm.get_cmap('rainbow')): Sk9T(BHCt) try: BHCt._check_is_fitted() BHCt._check_test_data(EcVT) except WkL7: BHCt.fit(EcVT) if isinsta...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def bv11(BHCt, oFmy, *, a88W=None, LZpg=None, MPlV=None, Gmep=None, OfOG=None, Crrw, P4s4, HCqb, gOe1, JXyK, w6WV, HNUn, MYQr):\n LZpg, MPlV = YTZ8(a88W, LZpg, MPlV)\n LZpg, MPlV = W_l5(oFmy, LZpg, MPlV, Gmep, OfOG)\n D7ZV(BHCt, oFmy, None, P4s4, HCqb, gOe1, JXyK, w6WV)\n if P4s4 is None:\n P4s4...
[ "0.7227393", "0.7193735", "0.71616477", "0.70715195", "0.7061236", "0.69927675", "0.6837134", "0.67753047", "0.6768641", "0.67516124", "0.6643371", "0.6615665", "0.6493218", "0.64516", "0.645055", "0.64125025", "0.636499", "0.6300699", "0.62987894", "0.62667155", "0.6257936",...
0.7258416
0
Returns a random pair of leggings.
def tJEo(): return tuKI.choice(d1QR)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def nsmI(YKHO):\n return tuKI.sample(YKHO.pictures.keys(), 2)", "def Pi8e(YKHO):\n vyoe = list(YKHO._all_waypoints)\n tuKI.shuffle(vyoe)\n return tuple(vyoe)", "def Okhq():\n return tuKI.choice(y_1H)", "def atIT(MEXo, yzQ0, Fg_i, G1Hx):\n mOlj = []\n ymxS = []\n tEh9 = []\n PD75 = ...
[ "0.67189395", "0.6582839", "0.61662394", "0.61259276", "0.6118828", "0.6111193", "0.609139", "0.6082798", "0.6071782", "0.606003", "0.60313797", "0.60286945", "0.5967144", "0.59549415", "0.59342325", "0.59293985", "0.5926842", "0.59146374", "0.5899798", "0.5891182", "0.588721...
0.80405426
0
Check if valid stock item(s) have been provided.
def NMoC(YKHO, QePW, *qIxc, **B2fa): DumB = YKHO.get_items() if len(DumB) == 0: nPrm = {'error': bGrB('Must provide valid StockItem(s)')} return oGir(nPrm, status=400) UXqs = YKHO.get_object() try: kzAT = UXqs.render(DumB) except: tTpl = HwRy.exc_info()[1] nPr...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def ijW9(YKHO, c8Vy):\n if not c8Vy[0] in YKHO.data['pizza']:\n print('Error: ' + c8Vy[0] + ' pizza does not exist.')\n return False\n if not c8Vy[1] in YKHO.data['pizza'][c8Vy[0]]:\n print('Error: ' + c8Vy[1] + ' size does not exist for ' + c8Vy[0] + ' pizza.')\n return False\n ...
[ "0.69188875", "0.67410445", "0.67389095", "0.6624274", "0.65152407", "0.63841784", "0.63737553", "0.6335458", "0.62852734", "0.6227092", "0.61819965", "0.6163342", "0.6136819", "0.61161315", "0.60862064", "0.60234684", "0.6001421", "0.5985206", "0.5957052", "0.5911877", "0.59...
0.0
-1
Creates a classification model.
def LQs7(vqPN, Pha6, qV0r, Uszf, CtWL, jXxl, AgTV, as3x): C3ST = bgFP.BertModel(config=AgTV, is_training=not vqPN, input_ids=Pha6, input_mask=qV0r, token_type_ids=Uszf, use_one_hot_embeddings=as3x) RLZ8 = C3ST.get_sequence_output() Ep8u = RLZ8.shape[0] G8d9 = RLZ8.shape[1] wjbX = RLZ8.shape[2] h...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def LQs7(YKHO):\n YKHO.classifier = HmMl(max_depth=1)", "def LQs7(YKHO, Nq1b: float=1):\n YKHO.classifier = v9Rb(max_depth=5)", "def LQs7():\n C3ST = ileL()\n C3ST.add(l6ZH(units=128, activation='relu', input_shape=(784,)))\n C3ST.add(l6ZH(units=128, activation='relu'))\n C3ST.add(l6ZH(units=...
[ "0.7451048", "0.716728", "0.70753753", "0.69427526", "0.69337225", "0.69306064", "0.6929345", "0.68631464", "0.68004555", "0.6769279", "0.6737084", "0.66838384", "0.66709864", "0.660953", "0.65912193", "0.6564333", "0.6534873", "0.6526978", "0.6525293", "0.6521778", "0.651739...
0.0
-1
Calculate how much penguins has the close enemies icebergs.
def K9TG(YKHO, ol1E): iXBJ, z8Se = YKHO.__simulation_data.get_avg_distance_from_players(ol1E) if iXBJ <= 0: T0EV = tEia else: T0EV = iXBJ wiPB = [uXXz for uXXz in YKHO.__game.get_enemy_icebergs() if YKHO.__is_will_belong_to_enemy(uXXz) and BfDw.get_real_distance_between_icebergs(ol1E, uX...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def uMT5(YKHO, FGDV):\n if type(FGDV) == DY6i:\n OZoK = FGDV.penguins_per_turn\n JvEW = FGDV.penguin_amount\n else:\n OZoK = 0\n JvEW = FGDV.penguin_amount - 1\n return min(JvEW, OZoK)", "def zpmb(YKHO):\n return oyIN.sum(YKHO.herbivores_on_island)", "def tz1G(YKHO, FGDV...
[ "0.6231481", "0.614905", "0.6140536", "0.59368527", "0.58718663", "0.580957", "0.57884294", "0.5750335", "0.5749767", "0.5741155", "0.5721059", "0.57177645", "0.57042515", "0.57033217", "0.5639478", "0.5622435", "0.55887794", "0.55817956", "0.5577311", "0.55672836", "0.555027...
0.7253487
0
Gets coordinates of the device location. Returns None if not provided or not accessible.
def wLi6(dYm4) -> dict: oFXJ = None if dYm4.device_has_geolocation: if dYm4.geolocation_permission: oFXJ = hqTP.convert_mycity_coordinates_to_arcgis(dYm4) return oFXJ
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def xsU0(YKHO):\n try:\n return YKHO.__data['coordinates']['Guest Entrance']['gps']\n except:\n return None", "def hbd3(YKHO) -> tuple:\n if YKHO.data is None:\n return (None, None)\n QnmL = YKHO.data['GPSInfo']['GPSLatitude']\n FDPT = YKHO.data['GPSInfo']['GPSLongitude']\n ...
[ "0.7508627", "0.6993387", "0.69858235", "0.69332206", "0.6818274", "0.67915535", "0.6666421", "0.6622221", "0.6619786", "0.6588545", "0.6551099", "0.64797306", "0.6463064", "0.63817817", "0.6357216", "0.63539475", "0.63466513", "0.63341695", "0.6323071", "0.63205975", "0.6317...
0.0
-1
Copy the key/value pairs from another dictionary into this dictionary, overwriting any conflicting keys in this dictionary.
def QdZT(YKHO, qner=None, **eHNT): llHi = False if qner: for H5ew, BWXx in qner.items() if hasattr(qner, 'items') else qner: YKHO.__setitem__(H5ew, BWXx, bulk_change=True) llHi = True if eHNT: for H5ew, BWXx in eHNT.items(): YKHO.__setitem__(H5ew, BWXx, bu...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def nSnN(YKHO, Elif: dict):\n YKHO._storage = RSKQ(YKHO._storage, Elif)", "def cxu0(AjzU, _sQW):\n BdN0 = AjzU.copy()\n for G1Hx, Ty9i in _sQW.items():\n if isinstance(Ty9i, dict):\n BdN0[G1Hx] = cxu0(BdN0[G1Hx], _sQW[G1Hx])\n else:\n BdN0[G1Hx] = Ty9i\n return BdN...
[ "0.7387048", "0.725533", "0.7231954", "0.7143269", "0.68870693", "0.6875816", "0.6836898", "0.6824049", "0.6775912", "0.6767146", "0.67609125", "0.6621395", "0.65873575", "0.65868723", "0.65814626", "0.6577281", "0.6561855", "0.6552224", "0.65510833", "0.6537261", "0.65338963...
0.0
-1
Insert an item at a given position. The first argument is the index of the element before which to insert, so a.insert(0, x) inserts at the front of the list, and a.insert(len(a), x) is equivalent to a.append(x).
def JPHp(YKHO, d6pt, BWXx): if YKHO._can_insert(d6pt, BWXx): list.insert(YKHO, d6pt, BWXx)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def JPHp(YKHO, d6pt, ZfUD):\n if d6pt > len(YKHO):\n raise IndexError\n elif d6pt == 0:\n YKHO.insert_first(ZfUD)\n else:\n YKHO._rest.insert(d6pt - 1, ZfUD)", "def JPHp(YKHO, d6pt, ZfUD):\n return list.insert(YKHO, d6pt, YKHO.ref(ZfUD))", "def JPHp(YKHO, d6pt: int, ZfUD: Any) ...
[ "0.73122674", "0.7141766", "0.70961785", "0.69323033", "0.6796972", "0.6772682", "0.67552716", "0.6693691", "0.66368234", "0.6631376", "0.66176337", "0.6608958", "0.6574597", "0.6526233", "0.65096164", "0.6490155", "0.64883775", "0.64796865", "0.6478901", "0.64654714", "0.645...
0.68982285
4
Convert object to list. It is already list returns self
def mFWN(YEnM, aMvo=list): if YEnM is None: return aMvo() if isinstance(YEnM, aMvo): return YEnM if isinstance(YEnM, (QMSQ, str)): return aMvo((YEnM,)) if isinstance(YEnM, (list, tuple, set, frozenset)) or hasattr(YEnM, '__iter__'): return aMvo(YEnM) return aMvo((YEnM...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def _Jar(YEnM):\n if not isinstance(YEnM, list):\n return [YEnM]\n else:\n return YEnM", "def eK7y(YEnM):\n return YEnM if isinstance(YEnM, list) else [YEnM]", "def B73H(YEnM) -> list:\n if YEnM is None:\n return []\n elif isinstance(YEnM, list):\n return YEnM\n el...
[ "0.83325016", "0.774703", "0.7554239", "0.7535699", "0.741788", "0.7379035", "0.7334636", "0.7334633", "0.7331051", "0.72984946", "0.72504807", "0.72303146", "0.7209674", "0.7114596", "0.7088114", "0.7071589", "0.7036857", "0.6952685", "0.694317", "0.6926797", "0.69040835", ...
0.7347454
6
Checks if string s has valid syntax for horizontal tree.
def gegf(KCHu): if not KCHu or type(KCHu) != str or KCHu[0] != '[': return False Ltd4 = [] for YRbF in range(len(KCHu)): Mqrd = KCHu[YRbF] if Mqrd == '[': if YRbF != 0 and KCHu[YRbF - 1] == '[' or (YRbF > 1 and KCHu[YRbF - 2] != ','): return False ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def UxdE(KCHu):\n Bekv = 'Invalid!'\n if gegf(KCHu):\n print(HL6h(KCHu))\n else:\n print(Bekv)", "def pbT6(YKHO, KCHu: str) -> bool:\n E5BI = []\n J8oL = {')': '(', '}': '{', ']': '['}\n for hcXw in KCHu:\n if hcXw not in J8oL:\n E5BI.append(hcXw)\n else:\...
[ "0.7046031", "0.68810767", "0.6779586", "0.6649023", "0.63603646", "0.63461107", "0.62871104", "0.6232321", "0.60503346", "0.5967644", "0.596626", "0.5931016", "0.59306395", "0.5847726", "0.5763241", "0.5696815", "0.56707615", "0.563801", "0.5547333", "0.5531735", "0.5531246"...
0.6466785
4
Computes the accuracy over the k top predictions for the specified values of k
def vjyh(YKHO, hlel, pan_): with ht2j.no_grad(): Ep8u = pan_.size(0) bGrB, nvEb = hlel.topk(k=1, dim=1, largest=True, sorted=True) nvEb = nvEb.t() gXXc = nvEb.eq(pan_.view(1, -1).expand_as(nvEb)) R2Dg = gXXc[:1].view(-1).float().sum(0, keepdim=True) YAq3 = R2Dg.mul_(1...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Z7qO(LVAh, aMgO, G1Hx=2):\n nvEb = []\n for YRbF in range(len(LVAh)):\n if LVAh[YRbF] in aMgO[YRbF][:G1Hx]:\n nvEb.append(1)\n else:\n nvEb.append(0)\n return sum(nvEb) / len(nvEb)", "def vjyh(aMgO, ibJh, hz5a=(1,)):\n Gq8e = max(hz5a)\n Ep8u = ibJh.size(0)\...
[ "0.8331214", "0.8284662", "0.82381004", "0.8229767", "0.82202226", "0.81864446", "0.81847763", "0.8175173", "0.8171541", "0.81699467", "0.81664646", "0.81645083", "0.81637454", "0.81622064", "0.81622064", "0.81622064", "0.81622064", "0.81622064", "0.81622064", "0.81622064", "...
0.0
-1
Sets the learning rate to the initial LR decayed by 10 every 30 epochs
def e_63(YKHO, K0do, qtWj, qIxc): tspZ = qIxc.learning_rate * 0.1 ** (qtWj // 30) for Lwm5 in K0do.param_groups: Lwm5['lr'] = tspZ
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def e_63(DJmW, K0do, qtWj, exwG=100):\n DJmW = DJmW * 0.1 ** (qtWj // exwG)\n print('learning rate : ', DJmW)\n for Lwm5 in K0do.param_groups:\n Lwm5['lr'] = DJmW", "def e_63(ouZy, K0do, qtWj, dLlC):\n tspZ = ouZy * 0.3 ** (qtWj // 5)\n if qtWj == dLlC:\n tspZ = tspZ * 0.3\n for L...
[ "0.7911784", "0.79050946", "0.78485286", "0.77735764", "0.7732469", "0.7730158", "0.77215046", "0.7720291", "0.7707188", "0.76916134", "0.7672935", "0.7663783", "0.7663783", "0.7663783", "0.7653085", "0.76401496", "0.7637848", "0.76358664", "0.7624403", "0.76229596", "0.76195...
0.77176815
8
Return the percentage of similitude between results and reality.
def lBgG(dixj, AETx): u54L = len(dixj) if u54L != len(AETx): return 0 sg14 = 0 for YRbF in range(u54L): if dixj[YRbF] == AETx[YRbF]: sg14 += 1 return 100 * sg14 / u54L
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def KR_f(YKHO):\n if not (YKHO.votes and YKHO.score):\n return 0\n return 100 * (YKHO.get_real_rating() / YKHO.field.range)", "def IwjK(CuxP, bg8K):\n Q30x = CuxP - bg8K\n cgUP = oyIN.std(Q30x, ddof=1)\n if oyIN.isnan(cgUP):\n return 0.0\n return oyIN.mean(Q30x) / cgUP", "def Hi...
[ "0.6748519", "0.6599777", "0.6563543", "0.6536272", "0.6477461", "0.64762145", "0.64625", "0.6444886", "0.643034", "0.64172226", "0.6355888", "0.6320645", "0.6307949", "0.6297327", "0.6256581", "0.6222313", "0.6211672", "0.61806935", "0.6169909", "0.61523825", "0.6140885", ...
0.69330865
0
Give the first following peak after a point on one signal.
def o4bp(eOS2, wEsz, Zihr): Rnru = wEsz[:-2] NqbJ = wEsz[1:-1] ashj = wEsz[2:] if Zihr == '+': S4gj, = oyIN.where(XQEQ.evaluate('(sig1<=sig2) & ( sig2>sig3)')) elif Zihr == '-': S4gj, = oyIN.where(XQEQ.evaluate('(sig1>=sig2) & ( sig2<sig3)')) T2Xz = -oyIN.ones(eOS2.size, dtype='i...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def hfRT(YKHO):\n pass", "def hfRT(YKHO) -> PvyL:\n return YKHO.most_intense_point()", "def CUdD(DAMg, Ruu7):\n G9jH.debug('running first_peak_detect function')\n for YRbF in range(Ruu7, len(DAMg)):\n G9jH.debug('current value of i is %d', YRbF)\n if DAMg[YRbF - 1] < DAMg[YRbF] > DAMg...
[ "0.71856356", "0.7005908", "0.69553566", "0.690424", "0.6754664", "0.6728453", "0.66947204", "0.6598065", "0.6530342", "0.65045017", "0.6425302", "0.6304055", "0.6237729", "0.62373376", "0.6197878", "0.61924434", "0.61449325", "0.6085978", "0.60394716", "0.60376275", "0.60313...
0.65125316
9
Create the filename for the image
def lits(): wzkt = qcWV.now().strftime('%a-%w-%b-%H:%M:%S') return 'CCTV_{0}.jpg'.format(wzkt)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def MiTW(YKHO):\n d6pt = YKHO.helpers.alpha_uuid()\n Ux0P = YKHO.form['FieldStorage'][YKHO.image_cid].filename\n Fst3 = GKtl(bmCH(Ux0P)[0])\n return YKHO.articleData.get('directory') + '/' + YKHO.articleData.get('article_name') + '-' + d6pt + Fst3", "def r1Ht(YKHO, LNo8):\n return LNo8.replace('sh...
[ "0.8076618", "0.76982325", "0.76669437", "0.7609989", "0.75951207", "0.7572182", "0.75527716", "0.750989", "0.7491719", "0.74731326", "0.7446953", "0.74074036", "0.7378294", "0.7242009", "0.72108406", "0.70437557", "0.7012552", "0.69422007", "0.69396174", "0.69069815", "0.690...
0.8175233
0
Return length of the dataset.
def szAg(YKHO) -> int: return len(YKHO.data)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def szAg(YKHO):\n return YKHO._dataset.size(dirs=YKHO._dirs)", "def u54L(YKHO) -> int:\n return len(YKHO.data)", "def szAg(YKHO):\n return len(YKHO.dataset)", "def u54L(YKHO):\n return len(YKHO.data)", "def u54L(YKHO):\n return len(YKHO.data)", "def u54L(YKHO):\n return len(YKHO.data)",...
[ "0.8409464", "0.83180475", "0.82663137", "0.824963", "0.824963", "0.824963", "0.8217461", "0.8198147", "0.8185409", "0.8185409", "0.8185409", "0.8185409", "0.81721336", "0.8160378", "0.8118708", "0.8085709", "0.80830795", "0.8074432", "0.80703044", "0.80674833", "0.80621445",...
0.8011856
24
Save articles into JSON files.
def GJIt(YKHO, mrVf): for l3QS in mrVf: with open(f'{YKHO.data_folder}/articles/{l3QS.get('id')}.json', 'w') as eHNT: qQXR.dump(l3QS, eHNT)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def ZMos(GdJA, eHKs):\n rg4j = str(qcWV.now().date())\n n80H = Hy7s.path.join(eHKs, rg4j)\n Hy7s.makedirs(n80H, exist_ok=True)\n VqRE = Hy7s.path.join(n80H, GdJA['source'] + '.json')\n if not Hy7s.path.isfile(VqRE):\n with open(VqRE, 'w') as ytgA:\n zgjV = {'results': {GdJA['id']: ...
[ "0.7155873", "0.68222743", "0.6810558", "0.6680842", "0.66180253", "0.65919954", "0.6574795", "0.64991677", "0.64795566", "0.64482945", "0.64417255", "0.64391255", "0.643686", "0.64252853", "0.6394636", "0.6382291", "0.63592774", "0.63583505", "0.63538396", "0.6322471", "0.63...
0.86986554
0
Get entity annotations from Monant platform and save them to JSON files.
def wa5R(YKHO): Mkmy = G4JS.get(f'{YKHO.api_host}/v1/entity-annotations?annotation_type=Source reliability (binary)&size=100', headers=YKHO.get_request_headers()) G0WL = Mkmy.json().get('entity_annotations') for ICn2 in G0WL: g2mL = ICn2.get('entity_id') with open(f'{YKHO.data_folder}/annota...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def nkyg(PSbX):\n PRsU = Hy7s.listdir('data_annotations')\n XgyP = {}\n for gIsw in PRsU:\n ICn2 = qQXR.load(open(f'{PSbX}/annotations/{gIsw}', 'r'))\n H5ew = int(ICn2['entity_id'])\n XgyP[H5ew] = ICn2['value']['value']\n return XgyP", "def qJLq(YKHO):\n IznC = 'annotations'\n...
[ "0.6310822", "0.6286099", "0.6221531", "0.61979747", "0.6150533", "0.6126273", "0.6080921", "0.5874297", "0.5868495", "0.58176434", "0.5812265", "0.58055127", "0.5801545", "0.5789865", "0.5761264", "0.5742751", "0.5688504", "0.56479406", "0.5638197", "0.56217295", "0.5555076"...
0.7949725
0
Limit samples to greater than the sequence length and fewer than N frames. Also limit it to classes we want to use.
def o8c1(YKHO): TfmK = [] for ZfUD in YKHO.data: if int(ZfUD[2]) >= YKHO.seq_length and int(ZfUD[2]) <= YKHO.max_frames: TfmK.append(ZfUD) return TfmK
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def L_5S(PT0P):\n return min(PT0P / 10, pBMM)", "def tUDs(nPrm, KndY, WXkz=2):\n nPrm = nPrm[range(0, nPrm.shape[0], WXkz)]\n KndY = KndY[range(0, KndY.shape[0], WXkz)]\n return (nPrm, KndY)", "def FIMM(YKHO, q4aw=80, MrNN=None, lNai=(224, 224, 3)):\n YKHO.seq_length = q4aw\n YKHO.class_limit...
[ "0.5833286", "0.5667921", "0.55643165", "0.55641323", "0.55286056", "0.55219245", "0.5458092", "0.5436224", "0.53909874", "0.5367901", "0.53218985", "0.53218985", "0.53218985", "0.53218985", "0.5288281", "0.5247768", "0.5238297", "0.52160585", "0.52108985", "0.5150198", "0.51...
0.47116217
91
Given a list and a size, return a rescaled/samples list. For example, if we want a list of size 5 and we have a list of size 25, return a new list of size five which is every 5th element of the origina list.
def IaU4(IqQl, zNig): assert len(IqQl) >= zNig EdbX = len(IqQl) // zNig hlel = [IqQl[YRbF] for YRbF in range(0, len(IqQl), EdbX)] return hlel[:zNig]
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def KNnl(eJh7: np.ndarray, zNig: int) -> oyIN.ndarray:\n yMhW = epAf.ceil(len(eJh7) / zNig)\n buFC = yMhW * epAf.floor(len(eJh7) / yMhW)\n return oyIN.mean(eJh7[:buFC].reshape(-1, yMhW), axis=1)", "def q8Fb(input, zNig):\n zi3C = len(input)\n hUWX = zi3C // zNig\n QhHk = zi3C % zNig\n Aofo =...
[ "0.7207605", "0.6805966", "0.6706896", "0.653218", "0.6509618", "0.64563954", "0.63008064", "0.6258255", "0.6111745", "0.6111509", "0.6109494", "0.61063105", "0.6097677", "0.608714", "0.6029441", "0.6018637", "0.5989179", "0.59677154", "0.5945093", "0.59402585", "0.590469", ...
0.80564153
0
Check to see if we created the 0001 frame of this file.
def ECXa(lpM_): cK59, j1aU, bGrB = lpM_ return bool(Hy7s.path.exists(Hy7s.path.join('demo_frames', j1aU + '-0001.jpg')))
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def ahqu(YKHO):\n TPVt = bin(int(YKHO.packet_body[YKHO.reader], base=16))[2:].zfill(8)\n return TPVt[0:3] == '001'", "def iruL(YKHO):\n nUeQ = GkAb(YKHO.get_encoder_path() + '.data-00000-of-00001')\n return nUeQ.exists()", "def rW68(YKHO):\n if YKHO.currentFrame == []:\n return False\n ...
[ "0.6845341", "0.6385996", "0.62448496", "0.6057301", "0.5787386", "0.57349885", "0.57237864", "0.56976765", "0.56358933", "0.5621559", "0.559981", "0.55927694", "0.5521344", "0.550883", "0.5489131", "0.5481525", "0.54558146", "0.5454623", "0.54435945", "0.54361707", "0.542268...
0.58535653
4
Returns the Euclidean Distance between a pair of objects. Function is used during parallelization.
def PDEI(xmKD, HXrW): return XTiz.sum((xmKD[HXrW[0]] - xmKD[HXrW[1]]) ** 2)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def usGr(WKvO, LVAh):\n return PZyS(sum((pow(jzdc - Fg_i, 2) for jzdc, Fg_i in zip(WKvO, LVAh))))", "def DU_V(rkr3, nExx):\n return ((rkr3[0] - nExx[0]) ** 2 + (rkr3[1] - nExx[1]) ** 2) ** 0.5", "def VVDj(YKHO, F5TF, BPWI):\n return oyIN.linalg.norm(oyIN.array(F5TF) - oyIN.array(BPWI))", "def sOE8(E...
[ "0.7447262", "0.7350513", "0.73296595", "0.73179066", "0.730077", "0.7266704", "0.7238701", "0.7188232", "0.71286017", "0.7123436", "0.7119737", "0.71051663", "0.70892656", "0.7031163", "0.7024691", "0.7018128", "0.70100087", "0.70067424", "0.69784427", "0.6969641", "0.696342...
0.0
-1
Returns the Earth Mover Distance between a pair of objects. Function is used during parallelization.
def S1L1(Cs6h, xmKD, HXrW): return jKA6(Cs6h, Cs6h, u_weights=xmKD[HXrW[0]], v_weights=xmKD[HXrW[1]])
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def VVDj(YKHO, F5TF, BPWI):\n return oyIN.linalg.norm(oyIN.array(F5TF) - oyIN.array(BPWI))", "def Uy8Q(BzZr, RL4V):\n Ayfi = Nkg6(BzZr.details['lon'], BzZr.details['lat'], RL4V.details['lon'], RL4V.details['lat'])\n return Ayfi", "def qsL7(YKHO, Ai82, AAbN):\n return 1000 * epAf.sqrt((Ai82.x - AAbN...
[ "0.6140589", "0.6113229", "0.59033144", "0.59033144", "0.5900714", "0.5888907", "0.5857976", "0.5745408", "0.57076067", "0.56939185", "0.567923", "0.56577253", "0.5649809", "0.5632931", "0.5630739", "0.5612005", "0.5595232", "0.5572394", "0.5571492", "0.55671525", "0.5566166"...
0.5214664
96
Returns the Earth Mover Distance between a pair of objects. Function is used during parallelization.
def FmFZ(Cs6h, xmKD, HXrW): RnI0 = xmKD[HXrW[0]] n5hc = xmKD[HXrW[1]] EcVT = XTiz.column_stack(XTiz.nonzero(RnI0)) fuBA = XTiz.column_stack(XTiz.nonzero(n5hc)) cLbd = RnI0[XTiz.nonzero(RnI0)] cj94 = n5hc[XTiz.nonzero(n5hc)] return g8U6(EcVT, fuBA, X_weights=cLbd, Y_weights=cj94)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def VVDj(YKHO, F5TF, BPWI):\n return oyIN.linalg.norm(oyIN.array(F5TF) - oyIN.array(BPWI))", "def Uy8Q(BzZr, RL4V):\n Ayfi = Nkg6(BzZr.details['lon'], BzZr.details['lat'], RL4V.details['lon'], RL4V.details['lat'])\n return Ayfi", "def qsL7(YKHO, Ai82, AAbN):\n return 1000 * epAf.sqrt((Ai82.x - AAbN...
[ "0.6140828", "0.6114125", "0.59009343", "0.59009343", "0.5899646", "0.5887343", "0.58584136", "0.57448024", "0.57067776", "0.5693578", "0.56800014", "0.56561565", "0.5649594", "0.5632582", "0.5628515", "0.5611888", "0.55951047", "0.5572395", "0.5571489", "0.55674255", "0.5565...
0.0
-1
Returns the Earth Mover Distance between a pair of objects. Function is used during parallelization.
def x6zz(Cs6h, xmKD, HXrW): return J5k2(Cs6h, Cs6h, u_weights=xmKD[HXrW[0]], v_weights=xmKD[HXrW[1]])
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def VVDj(YKHO, F5TF, BPWI):\n return oyIN.linalg.norm(oyIN.array(F5TF) - oyIN.array(BPWI))", "def Uy8Q(BzZr, RL4V):\n Ayfi = Nkg6(BzZr.details['lon'], BzZr.details['lat'], RL4V.details['lon'], RL4V.details['lat'])\n return Ayfi", "def qsL7(YKHO, Ai82, AAbN):\n return 1000 * epAf.sqrt((Ai82.x - AAbN...
[ "0.6140828", "0.6114125", "0.59009343", "0.59009343", "0.5899646", "0.5887343", "0.58584136", "0.57448024", "0.57067776", "0.5693578", "0.56800014", "0.56561565", "0.5649594", "0.5632582", "0.5628515", "0.5611888", "0.55951047", "0.5572395", "0.5571489", "0.55674255", "0.5565...
0.0
-1
Returns the initialized dataframe Returns pandas Dataframe initialized dataframe
def o4pG(YKHO): try: return YKHO.df_input except Exception as e: print(tTpl)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def LAVE(YKHO):\n return rLdf.DataFrame()", "def bOBl(YKHO):\n if YKHO._dataframe is None:\n try:\n import pandas as rLdf\n except ImportError:\n raise RuntimeError(\"To enable dataframe support, run 'pip install datadotworld[pandas]'\")\n YKHO._dataframe = rLdf.D...
[ "0.8237481", "0.7771796", "0.76089174", "0.7549396", "0.7528971", "0.75231546", "0.7477045", "0.7453425", "0.7445679", "0.7369251", "0.7317071", "0.7295593", "0.72757655", "0.7230049", "0.72181886", "0.7208909", "0.7134565", "0.71017146", "0.70900786", "0.70872957", "0.707599...
0.0
-1
Returns the calculated intercept of the polynomial regression
def E1SW(YKHO, TxP0, KeBf): try: WKvO = YKHO.df_input[[TxP0]] LVAh = YKHO.df_input[[KeBf]] _g9D = xxYs(degree=2) aFib = _g9D.fit_transform(WKvO) C3ST = nkHP() C3ST.fit(aFib, LVAh) QA3Q = C3ST.intercept_ return round(QA3Q[0], 4) except Exception as ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def uqnJ(YKHO):\n return YKHO.regression.intercept_", "def qaRV(YKHO, TxP0, KeBf):\n try:\n WKvO = YKHO.df_input[[TxP0]]\n LVAh = YKHO.df_input[[KeBf]]\n _g9D = xxYs(degree=2)\n aFib = _g9D.fit_transform(WKvO)\n C3ST = nkHP()\n C3ST.fit(aFib, LVAh)\n return ...
[ "0.7419375", "0.7269656", "0.700004", "0.665531", "0.66219336", "0.6617497", "0.65746427", "0.6553796", "0.65420437", "0.6540526", "0.65344995", "0.65324485", "0.65271163", "0.65270245", "0.6526316", "0.6439887", "0.643661", "0.6433109", "0.64183915", "0.6406595", "0.6376373"...
0.80430543
0
Test the name property.
def Q1pW(YKHO): xhv7 = qqwA.Factory.NewPathSpec(xHrl.TYPE_INDICATOR_CS, parent=YKHO._gpt_path_spec, volume_index=0) BYks = YKHO._file_system.GetFileEntryByPathSpec(xhv7) YKHO.assertIsNotNone(BYks) YKHO.assertEqual(BYks.name, 'cs1')
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def MpXb(YKHO):\n YKHO.assertTrue(type(WKvO.name) == str)", "def RK9C(YKHO):\n hQHm = L6MF.Version(version='1.2.3', name='foo')\n aEqx = 'foo'\n YKHO.assertEqual(hQHm.name, aEqx)", "def Q1pW(YKHO):\n dgr_ = VvEf()\n YKHO.util.stringTypeTest(YKHO, dgr_, 'name')\n YKHO.util.stringPropertyTes...
[ "0.7994545", "0.7621826", "0.7574307", "0.75134736", "0.75109535", "0.741161", "0.7379381", "0.7315784", "0.7302214", "0.7277098", "0.72736675", "0.7271381", "0.7256727", "0.7250427", "0.72418636", "0.7220323", "0.7208508", "0.7182417", "0.7174923", "0.7158955", "0.7103506", ...
0.0
-1
Returns the name of the type of body this is.
def XP5J(YKHO): return 'Plane'
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def l87X(YKHO):\n return YKHO._type_name", "def l87X(YKHO) -> h8nf[str]:\n return qe4Y.get(YKHO, 'type_name')", "def l87X(YKHO):\n return YKHO.TYPE_NAMES[YKHO.type]", "def mWFP(YKHO) -> str:\n return YKHO.type_data.name", "def l87X(YKHO) -> qe4Y.Output[h8nf[str]]:\n return qe4Y.get(YKHO, 'ty...
[ "0.72072667", "0.72031623", "0.71060884", "0.7103304", "0.7073736", "0.70535296", "0.7043681", "0.6824264", "0.6824264", "0.6824264", "0.6824264", "0.6824264", "0.6824264", "0.6824264", "0.6824264", "0.6824264", "0.6824264", "0.6824264", "0.6824264", "0.6824264", "0.6824264",...
0.0
-1
Returns normal vector of body at given point.
def mhAC(YKHO, AU8u): return YKHO._normal.dup()
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def qvqi(YKHO, RCOG: Point) -> lNLu:\n Z4N3 = YKHO.world_to_object(RCOG)\n kQyJ = YKHO.local_normal_at(Z4N3)\n return YKHO.normal_to_world(kQyJ)", "def mhAC(YKHO, AU8u):\n AU8u = YKHO._center - oyIN.array(AU8u)\n return NkkI(AU8u / YKHO._radius)", "def mhAC(YKHO) -> lNLu:\n return YKHO._norma...
[ "0.79505223", "0.78277105", "0.75717294", "0.75153327", "0.7366493", "0.7349096", "0.73231417", "0.7306383", "0.7291598", "0.7282756", "0.7231979", "0.710991", "0.70887834", "0.70513093", "0.701303", "0.6995466", "0.699226", "0.6950905", "0.68633443", "0.6798702", "0.6663207"...
0.76340336
2
Returns positive distance to target (or negative if no hit).
def iQin(YKHO, spHt): l2yZ = YKHO._normal.dot(spHt.d) if abs(l2yZ) < X7zS.too_small: return -1.0 ArPr = (YKHO._origin - spHt.o).dot(YKHO._normal) if l2yZ * ArPr < 0.0: return -1.0 else: return ArPr / l2yZ
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def DUYS(YKHO):\n return lNLu.distance(YKHO.position, YKHO.target_position)", "def NcH7(YKHO):\n return abs(int(YKHO.position[0] - YKHO.target_position[0])) + abs(int(YKHO.position[1] - YKHO.target_position[1]))", "def s7yO(YKHO, vqrk):\n Ty9i = YKHO.vector_to(vqrk)\n return CkYf(Ty9i)", "def ZNr...
[ "0.78525376", "0.77088195", "0.7459229", "0.7453839", "0.6987158", "0.690894", "0.68732536", "0.6871685", "0.6828911", "0.67403746", "0.6696794", "0.6663096", "0.64520615", "0.64108807", "0.6353254", "0.63351756", "0.62974954", "0.6284827", "0.62818664", "0.6273209", "0.62298...
0.0
-1
acq = QubicAcquisition(instrument, sampling, scene, d)
def FIMM(YKHO, YKiD, NgvF, F6jf, Csk6): XkN1 = Csk6['block'] D3OP = Csk6['effective_duration'] HE1C = Csk6['photon_noise'] q0Bl = Csk6['max_nbytes'] WqyC = Csk6['nprocs_instrument'] n9mW = Csk6['nprocs_sampling'] JZ1r = Csk6['comm'] AwYh = Csk6['psd'] lUK_ = Csk6['bandwidth'] uyV...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def FIMM(YKHO, ZQtX, NgvF, F6jf, Csk6):\n _mSQ = Csk6['weights']\n YKHO.warnings(Csk6)\n if Csk6['MultiBand'] and Csk6['nf_sub'] > 1:\n YKHO.subacqs = [P47P(ZQtX[YRbF], NgvF, F6jf, Csk6) for YRbF in range(len(ZQtX))]\n else:\n raise ValueError('If you do not use a multiband instrument,you...
[ "0.73421264", "0.70766366", "0.7023857", "0.61177397", "0.6046371", "0.5981141", "0.591843", "0.5774393", "0.5670127", "0.5631059", "0.56212586", "0.5617507", "0.56167495", "0.55850184", "0.557392", "0.5543862", "0.5516496", "0.54935575", "0.5493272", "0.5492852", "0.54911435...
0.7179647
1
Return the operator for the bolometer responses.
def SDhz(YKHO): return h4iP([YKHO.instrument.get_detector_response_operator(YKHO.sampling[Fg_i]) for Fg_i in YKHO.block], axisin=1)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def seET(YKHO) -> str:\n return qe4Y.get(YKHO, 'operator')", "def seET(YKHO) -> str:\n return qe4Y.get(YKHO, 'operator')", "def seET(YKHO) -> h8nf[str]:\n return qe4Y.get(YKHO, 'operator')", "def seET(YKHO) -> h8nf[str]:\n return qe4Y.get(YKHO, 'operator')", "def seET(YKHO) -> h8nf[str]:\n r...
[ "0.71995807", "0.71995807", "0.7093884", "0.7093884", "0.7093884", "0.7093884", "0.7093884", "0.7093884", "0.7093884", "0.7093884", "0.7093884", "0.7093884", "0.7093884", "0.7093884", "0.7093884", "0.7093884", "0.7093884", "0.7093884", "0.7093884", "0.7093884", "0.7093884", ...
0.5637549
56
Return the operator for the bolometer responses.
def qEfa(YKHO): return h4iP([YKHO.instrument.get_hwp_operator(YKHO.sampling[Fg_i], YKHO.scene) for Fg_i in YKHO.block], axisin=1)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def seET(YKHO) -> str:\n return qe4Y.get(YKHO, 'operator')", "def seET(YKHO) -> str:\n return qe4Y.get(YKHO, 'operator')", "def seET(YKHO) -> h8nf[str]:\n return qe4Y.get(YKHO, 'operator')", "def seET(YKHO) -> h8nf[str]:\n return qe4Y.get(YKHO, 'operator')", "def seET(YKHO) -> h8nf[str]:\n r...
[ "0.71995807", "0.71995807", "0.7093884", "0.7093884", "0.7093884", "0.7093884", "0.7093884", "0.7093884", "0.7093884", "0.7093884", "0.7093884", "0.7093884", "0.7093884", "0.7093884", "0.7093884", "0.7093884", "0.7093884", "0.7093884", "0.7093884", "0.7093884", "0.7093884", ...
0.0
-1