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
Get the current room temperature.
def WE3r(YKHO): if YKHO._update_on_read: YKHO.update() return YKHO.get_conv_val('ACTUAL_ROOM_TEMPERATURE_HC1')
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def CMHP(YKHO):\n vzeF.debug('get current_temperature ' + YKHO._name + '=' + YKHO._parameters['RoomTemp'])\n return float(YKHO._parameters['RoomTemp'])", "def CMHP(YKHO):\n if YKHO._sensor == fVsx:\n return YKHO._external_temp\n else:\n return YKHO._room_temp", "def CMHP(YKHO):\n r...
[ "0.8729348", "0.86223966", "0.8611514", "0.83354014", "0.8206336", "0.81735134", "0.8140762", "0.8112468", "0.8106077", "0.8089441", "0.80616176", "0.80611914", "0.79909647", "0.7986453", "0.79811305", "0.7980236", "0.795992", "0.7946241", "0.7923983", "0.7916894", "0.7916894...
0.824543
4
Get the current room humidity.
def d9is(YKHO): if YKHO._update_on_read: YKHO.update() return YKHO.get_conv_val('RELATIVE_HUMIDITY_HC1')
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def eVVu(YKHO):\n return YKHO._room.current_humidity", "def JxEH(YKHO):\n return YKHO.__dht22Hum.getHumidity()", "def JxEH(YKHO):\n return YKHO.humid", "def dU0H(YKHO):\n return YKHO._dht11.humidity()", "def dU0H(YKHO):\n return YKHO._humidity", "def dU0H(YKHO):\n return YKHO._humidity"...
[ "0.8507177", "0.8486687", "0.8485225", "0.84720105", "0.84677017", "0.84677017", "0.84578437", "0.8383076", "0.8363076", "0.8333957", "0.83159786", "0.83151037", "0.830577", "0.8303042", "0.823042", "0.81918204", "0.8171114", "0.8147644", "0.8146512", "0.8132315", "0.81266224...
0.8187948
16
Get the outside temperature.
def OVYP(YKHO): if YKHO._update_on_read: YKHO.update() return YKHO.get_conv_val('OUTSIDE_TEMPERATURE')
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def OVYP(YKHO) -> float:\n Aofo = NMoC(u6kE % (rJDA, Rci7)).json()['current_observation']['temp_c']\n bo34.debug('Wunderground reports temp for location %s as %s', Rci7, Aofo)\n return Aofo", "def cqzk(YKHO) -> float:\n return float(YKHO.controller.entities.sensor.outside_temperature_feels_like.state...
[ "0.83758706", "0.8129802", "0.75347096", "0.7373896", "0.7370663", "0.7341874", "0.730956", "0.7292246", "0.72724116", "0.7252487", "0.7235871", "0.72242874", "0.7217153", "0.72090894", "0.7158618", "0.7134945", "0.7133452", "0.71006864", "0.70782894", "0.70710254", "0.706354...
0.8451961
0
Get the heating circuit HK1 temperature.
def eDs5(YKHO): if YKHO._update_on_read: YKHO.update() return YKHO.get_conv_val('ACTUAL_TEMPERATURE_HK_1')
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def ot3k(YKHO):\n if YKHO._update_on_read:\n YKHO.update()\n return YKHO.get_conv_val('HEATING_CIRCUIT_1__ECO_TEMPERATURE')", "def _1oq(YKHO):\n if YKHO._update_on_read:\n YKHO.update()\n return YKHO.get_conv_val('HEATING_CIRCUIT_1__COMFORT_TEMPERATURE')", "def k_vS(YKHO):\n if YKH...
[ "0.842671", "0.8146434", "0.8004181", "0.7523398", "0.73376846", "0.7323214", "0.7283761", "0.72768235", "0.7275292", "0.7252809", "0.717671", "0.7168055", "0.71599966", "0.7145808", "0.71445113", "0.71174276", "0.70569193", "0.703861", "0.70353967", "0.703452", "0.7033226", ...
0.7954477
3
Get the heating circuit wp flow temperature.
def FOrd(YKHO): if YKHO._update_on_read: YKHO.update() return YKHO.get_conv_val('ACTUAL_FLOW_TEMPERATURE_WP')
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def _1oq(YKHO):\n if YKHO._update_on_read:\n YKHO.update()\n return YKHO.get_conv_val('HEATING_CIRCUIT_1__COMFORT_TEMPERATURE')", "def ot3k(YKHO):\n if YKHO._update_on_read:\n YKHO.update()\n return YKHO.get_conv_val('HEATING_CIRCUIT_1__ECO_TEMPERATURE')", "def ovGo(YKHO):\n YKHO._...
[ "0.7958319", "0.7848895", "0.78084546", "0.7805178", "0.7755325", "0.773259", "0.7694425", "0.7683792", "0.76357853", "0.7632938", "0.7626872", "0.7603239", "0.7589246", "0.75874895", "0.7586191", "0.7584987", "0.7577364", "0.7567193", "0.7559335", "0.7548144", "0.754358", ...
0.7644512
8
Get the heating circuit electric booster flow temperature.
def L0Xv(YKHO): if YKHO._update_on_read: YKHO.update() return YKHO.get_conv_val('ACTUAL_FLOW_TEMPERATURE_NHZ')
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def ot3k(YKHO):\n if YKHO._update_on_read:\n YKHO.update()\n return YKHO.get_conv_val('HEATING_CIRCUIT_1__ECO_TEMPERATURE')", "def ovGo(YKHO):\n YKHO._read_temperature()\n return YKHO._t_fine / 5120.0", "def _1oq(YKHO):\n if YKHO._update_on_read:\n YKHO.update()\n return YKHO.ge...
[ "0.7792398", "0.7546198", "0.7483274", "0.74471766", "0.73894197", "0.731679", "0.73118657", "0.7311752", "0.7296516", "0.72836107", "0.7271581", "0.72670484", "0.72654986", "0.72183645", "0.72157305", "0.7214604", "0.7203139", "0.7200899", "0.7190478", "0.71853924", "0.71734...
0.0
-1
Get the heating circuit return temperature.
def c57l(YKHO): if YKHO._update_on_read: YKHO.update() return YKHO.get_conv_val('ACTUAL_RETURN_TEMPERATURE')
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def ot3k(YKHO):\n if YKHO._update_on_read:\n YKHO.update()\n return YKHO.get_conv_val('HEATING_CIRCUIT_1__ECO_TEMPERATURE')", "def b3Jg(YKHO):\n if YKHO.temperature == -1:\n YKHO.temperature = 24\n elif YKHO.heating == True:\n YKHO.temperature = YKHO.temperature + 1\n elif YKH...
[ "0.81903315", "0.80126137", "0.7931594", "0.7891926", "0.78896946", "0.784269", "0.78100145", "0.7808383", "0.78015953", "0.7752318", "0.7741216", "0.7721632", "0.7715542", "0.77066815", "0.7699373", "0.7679347", "0.76712584", "0.76712096", "0.7642899", "0.7631796", "0.762696...
0.7601383
32
Get the heating circuit pressure.
def EchQ(YKHO): if YKHO._update_on_read: YKHO.update() return YKHO.get_conv_val('HEATING_PRESSURE')
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def n8vt(YKHO):\n if YKHO._update_on_read:\n YKHO.update()\n return YKHO.get_conv_val('HIGH_PRESSURE')", "def CJ2p(YKHO):\n return YKHO.pressure_and_temperature[1]", "def CJ2p(YKHO):\n return YKHO.number_density * YKHO.temperature * hAVj.k * 10000000.0", "def CJ2p(YKHO):\n return YKHO._...
[ "0.76190543", "0.7403251", "0.73659205", "0.731702", "0.731702", "0.731702", "0.731702", "0.7313598", "0.7252274", "0.7210948", "0.7207273", "0.7180115", "0.71273494", "0.71196157", "0.7118488", "0.70774376", "0.70719326", "0.6988634", "0.6970789", "0.69134146", "0.68861854",...
0.8478812
0
Get the hot water circuit DHW temperature.
def i75L(YKHO): if YKHO._update_on_read: YKHO.update() return YKHO.get_conv_val('DHW__ACTUAL_TEMPERATURE')
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def WMEl(YKHO):\n if YKHO._update_on_read:\n YKHO.update()\n return YKHO.get_conv_val('DHW__SET_TEMPERATURE')", "def DhzW(YKHO):\n if YKHO._update_on_read:\n YKHO.update()\n return YKHO.get_conv_val('DHW__COMFORT_TEMPERATURE')", "def L8WX(YKHO):\n if YKHO._update_on_read:\n ...
[ "0.8145446", "0.8075007", "0.78845674", "0.756015", "0.7477956", "0.74201113", "0.74054474", "0.7366875", "0.73142666", "0.7190029", "0.7155261", "0.7153367", "0.713935", "0.71348566", "0.7124738", "0.7067256", "0.7065871", "0.7055597", "0.7045717", "0.7041865", "0.70317453",...
0.79439783
2
Get the source circuit pressure.
def Ju9P(YKHO): if YKHO._update_on_read: YKHO.update() return YKHO.get_conv_val('SOURCE_PRESSURE')
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def MLFu(YKHO):\n return YKHO.data[YKHO.default_station].pressure", "def n7lv(YKHO):\n return YKHO.press", "def CJ2p(YKHO):\n return YKHO._pressure", "def CJ2p(YKHO):\n return YKHO._pressure", "def CJ2p(YKHO):\n return YKHO._pressure", "def CJ2p(YKHO):\n return YKHO._pressure", "def C...
[ "0.6893621", "0.6828428", "0.6779744", "0.6779744", "0.6779744", "0.6779744", "0.6725968", "0.67040294", "0.6597179", "0.6584001", "0.65694094", "0.65243924", "0.65239775", "0.64909714", "0.64222115", "0.63620424", "0.62724954", "0.6210773", "0.6202151", "0.6176369", "0.61705...
0.82532394
0
Get the heat pump high pressure.
def n8vt(YKHO): if YKHO._update_on_read: YKHO.update() return YKHO.get_conv_val('HIGH_PRESSURE')
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def xdbk(YKHO):\n if YKHO._update_on_read:\n YKHO.update()\n return YKHO.get_conv_val('LOW_PRESSURE')", "async def high_temperature(YKHO):\n return await YKHO.julabo.high_temperature()", "def EchQ(YKHO):\n if YKHO._update_on_read:\n YKHO.update()\n return YKHO.get_conv_val('HEATING...
[ "0.7545961", "0.742689", "0.7366658", "0.7137202", "0.7106845", "0.70252377", "0.6979322", "0.69731754", "0.69497436", "0.6880687", "0.6830447", "0.6806339", "0.6777738", "0.67721003", "0.67721003", "0.6756708", "0.6756708", "0.67447156", "0.67432654", "0.673778", "0.66718054...
0.82894176
0
Get the heat pump low pressure.
def xdbk(YKHO): if YKHO._update_on_read: YKHO.update() return YKHO.get_conv_val('LOW_PRESSURE')
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "async def low_temperature(YKHO):\n return await YKHO.julabo.low_temperature()", "def MXqP(YKHO) -> float:\n return YKHO.device['thermostat']['setpoint_low']", "def Tezk(YKHO):\n return YKHO._yesterdays_weather.get_low_temperature()", "def n8vt(YKHO):\n if YKHO._update_on_read:\n YKHO.updat...
[ "0.75922704", "0.73771966", "0.7329896", "0.7217601", "0.71999645", "0.7107821", "0.70889515", "0.7005412", "0.7003361", "0.69546235", "0.68927574", "0.6888974", "0.6809685", "0.68093574", "0.68093574", "0.68093574", "0.68093574", "0.67592454", "0.6722458", "0.66975796", "0.6...
0.8258842
0
Get the total electricity kWh for vd heating.
def nGYA(YKHO): if YKHO._update_on_read: YKHO.update() return YKHO.get_conv_val('ALL_HEAT_PUMPS__POWER_CONSUMPTION__VD_HEATING_DAY__KWH')
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def fYk1(YKHO):\n if YKHO._update_on_read:\n YKHO.update()\n return YKHO.get_conv_val('ALL_HEAT_PUMPS__AMOUNT_OF_HEAT__VD_HEATING_TOTAL__MWH') * 1000 + YKHO.get_conv_val('ALL_HEAT_PUMPS__AMOUNT_OF_HEAT__VD_HEATING_TOTAL__KWH')", "def ejKx(YKHO):\n if YKHO._update_on_read:\n YKHO.update()\n...
[ "0.84278107", "0.8349854", "0.80788714", "0.79823065", "0.7482192", "0.74131256", "0.7288636", "0.72806585", "0.7203205", "0.6715421", "0.6684055", "0.6598884", "0.64966", "0.6483766", "0.6475837", "0.6460196", "0.64308083", "0.6407299", "0.63498634", "0.6342808", "0.6331439"...
0.79162824
4
Parse pip.conf to get proxy settings to pass on to easy_install This is a little bit controversial because we make some decisions without the consent of the user. We set parallelism options in case native code comes into play and we honor pip.ini proxy settings as well as proxy settings in the environment. The reason f...
def QRxU(): GPtr = kwpV() GPtr.read(Z49w) try: kMyc = GPtr.get('global', 'proxy') except (EtCm, qMRL): kMyc = None return kMyc
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def ZmyB(YKHO):\n if vPBo.http_proxy:\n _hwp = \"sed -i '1i export http_proxy=%s' /etc/bash.bashrc\"\n YKHO.RemoteCommand(_hwp % vPBo.http_proxy)\n if vPBo.https_proxy:\n fthQ = \"sed -i '1i export https_proxy=%s' /etc/bash.bashrc\"\n YKHO.RemoteCommand(fthQ % vPBo.http_proxy)\n ...
[ "0.7015072", "0.6526555", "0.63849354", "0.6299689", "0.6254132", "0.6110782", "0.61001754", "0.5807258", "0.5791896", "0.575843", "0.5732133", "0.5731682", "0.57101387", "0.56769985", "0.56671786", "0.5651924", "0.5643625", "0.5605207", "0.5586933", "0.55722773", "0.55661756...
0.7798021
0
Guess column types based on a sample of data.
def yIYf(pmON, pMVb, ekHH, tZ2K='utf-8'): jI4j = uJdr(pmON, use_iterators=True) OGYo = jI4j.get_active_sheet() usx6 = uOgj(OGYo.iter_rows(), 0, ekHH + 1) usx6.next() ZLJ_ = zip(*usx6) NkYV = [] for iVRZ in ZLJ_: hkxX = [Z9rn.internal_value for Z9rn in iVRZ] a1PO = k073([Ty9i....
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def eh_L(YKHO, ekHH=0.1, Ts1s=0.5, F_zl=True):\n LOnh.type_check(ekHH, [int, float])\n LOnh.type_check(Ts1s, [float, int])\n assert Ts1s >= 0 and Ts1s <= 1, 'threshold must be between 0 and 1'\n if type(ekHH) == float:\n ekHH = int(ekHH * YKHO.dataframe.shape[0])\n c168 = {}\n for AAHb in ...
[ "0.71024853", "0.69843346", "0.68212086", "0.6758644", "0.6750637", "0.6693207", "0.6634429", "0.6578953", "0.65189266", "0.650364", "0.6469767", "0.6449723", "0.638408", "0.6383288", "0.6347313", "0.6303023", "0.622601", "0.62087137", "0.6186878", "0.61614126", "0.6127961", ...
0.755541
0
Returns a default initialized graphNode object.
def qYnQ(): return Q1Kq.graph().graphNode()
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def uGn6(YKHO, **o8Kj):\n try:\n del o8Kj['graph_type']\n except KeyError:\n pass\n KDYH = YKHO._get_graph_defaults()\n KDYH.update(**o8Kj)\n Oa1e = H7Nv.Dot(**KDYH)\n Oa1e.set_node_defaults(**YKHO._get_node_defaults())\n Oa1e.set_edge_defaults(**YKHO._get_edge_defaults())\n r...
[ "0.72134703", "0.70991814", "0.70991814", "0.7038965", "0.7038965", "0.68732846", "0.68732846", "0.6844005", "0.6750444", "0.67247975", "0.6714079", "0.66867536", "0.6680437", "0.6650513", "0.6630043", "0.659506", "0.65754807", "0.6573627", "0.65196586", "0.64620477", "0.6438...
0.60029644
92
Set the services ARN
def mIUW(YKHO, hMqs): YKHO.__arn__ = hMqs
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Ifx8(YKHO) -> qe4Y.Input[str]:\n return qe4Y.get(YKHO, 'service_arn')", "def tpRL(YKHO) -> qe4Y.Input[str]:\n return qe4Y.get(YKHO, 'service_role_arn')", "def tpRL(YKHO) -> str:\n return qe4Y.get(YKHO, 'service_role_arn')", "def tpRL(YKHO) -> h8nf[qe4Y.Input[str]]:\n return qe4Y.get(YKHO, 'se...
[ "0.57788944", "0.56254435", "0.56221247", "0.55206597", "0.5511044", "0.5414376", "0.53586584", "0.5227011", "0.5179594", "0.5149352", "0.50904346", "0.5065746", "0.50607866", "0.5045517", "0.50191176", "0.49985713", "0.4949684", "0.4904885", "0.48959094", "0.4894886", "0.484...
0.57224524
1
Return the ARN of this service
def oJMC(YKHO) -> h8nf[str]: return YKHO.__arn__
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Ifx8(YKHO) -> qe4Y.Output[str]:\n return qe4Y.get(YKHO, 'service_arn')", "def Ifx8(YKHO) -> qe4Y.Input[str]:\n return qe4Y.get(YKHO, 'service_arn')", "def tpRL(YKHO) -> str:\n return qe4Y.get(YKHO, 'service_role_arn')", "def tpRL(YKHO) -> qe4Y.Output[str]:\n return qe4Y.get(YKHO, 'service_rol...
[ "0.7927064", "0.7649033", "0.7444767", "0.7387304", "0.71675175", "0.7142929", "0.70201916", "0.6943399", "0.6943399", "0.6943399", "0.6943399", "0.6943399", "0.6943399", "0.6943399", "0.6943399", "0.6943399", "0.6943399", "0.6943399", "0.6943399", "0.6943399", "0.6943399", ...
0.6750993
62
Returns True if the variable is assigned, i.e. its domain has been reduced to a single value.
def HYRo(YKHO): return len(YKHO.domain) == 1
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def AlZS(YKHO):\n return True", "def Bfsb(YKHO, TMbP):\n for SRYB in YKHO.crossword.variables:\n if SRYB not in TMbP:\n return False\n if not TMbP[SRYB]:\n return False\n return True", "def ZZQq(YKHO):\n return len(YKHO.vars_to_assign) == 0", "def Zi2_(YKHO):\n...
[ "0.6794285", "0.66776824", "0.65600514", "0.629704", "0.6275516", "0.62164944", "0.62046206", "0.6171737", "0.6166407", "0.6121295", "0.6099509", "0.6054037", "0.600309", "0.5976866", "0.59656", "0.595599", "0.59509736", "0.59030753", "0.58996123", "0.58698875", "0.5868987", ...
0.7118026
0
Returns the assigned value, only if the variable is assigned.
def BWXx(YKHO): assert YKHO.is_assigned(), 'The domain of %s is not reduced to a single value' % str(YKHO) return YKHO.domain[0]
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def qK5C(YKHO):\n for Ty9i in YKHO.network.variables:\n if not Ty9i.isAssigned():\n return Ty9i\n return None", "def ixeq(YKHO):\n return YKHO.vars_to_assign.pop()", "def tIhY(wEf2):\n VHW9 = lYrb().f_back\n zFiD = Md4O(VHW9).code_context[0]\n SRYB, VWe_, bGrB = zFiD.partiti...
[ "0.7206308", "0.69779307", "0.6929547", "0.6913384", "0.6902138", "0.6697905", "0.66978246", "0.6629959", "0.65808743", "0.6439941", "0.6372944", "0.6370828", "0.63643414", "0.6344425", "0.6309247", "0.6309138", "0.629872", "0.6263334", "0.6263334", "0.6263334", "0.62574095",...
0.0
-1
Returns True if the constraint is satisfied by the values (val1, val2) assigned to (var1, var2).
def dVYS(YKHO, wNuL, Mlb1): return wNuL in YKHO.var1.domain and Mlb1 in YKHO.var2.domain and YKHO.relation(wNuL, Mlb1)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def cuJm(YKHO, eCM_, K96V):\n if K96V is None or eCM_ is None:\n return True\n if eCM_ != K96V:\n return True\n return False", "def zoFY(YKHO, hkxX):\n if not YKHO.constraints:\n return True\n NArs = {}\n for mWFP, BWXx in zip(YKHO.names, hkxX):\n NArs[mWFP] = BWXx\n...
[ "0.64923126", "0.64049494", "0.63987225", "0.63673913", "0.6343411", "0.6339133", "0.63017416", "0.6172135", "0.61617774", "0.6103538", "0.6098167", "0.60976577", "0.6062508", "0.6030744", "0.60094196", "0.5956478", "0.592081", "0.58785987", "0.57916915", "0.5769864", "0.5738...
0.7094926
0
Return the path of the scikithts data dir. This folder is used by some large dataset loaders to avoid downloading the data several times. By default the data dir is set to a folder named 'scikit_hts_data' in the user home folder. Alternatively, it can be set by the 'SCIKIT_HTS_DATA' environment variable or programmatic...
def Oh5_(nUtl=None): if nUtl is None: nUtl = Hy7s.environ.get('SCIKIT_HTS_DATA', Hy7s.path.join('~', 'scikit_hts_data')) nUtl = Hy7s.path.expanduser(nUtl) if not Hy7s.path.exists(nUtl): Hy7s.makedirs(nUtl) return nUtl
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def s8df() -> GkAb:\n i0XC = xBNw() / 'data'\n if not i0XC.is_dir():\n return GkAb.home() / '.scyan_data'\n return i0XC", "def h_xa(YKHO):\n pmON = Hy7s.path.join(YKHO._path, 'data')\n Hy7s.makedirs(pmON, exist_ok=True)\n return pmON", "def h_xa():\n return oAb3.Path('./data')", "...
[ "0.78613955", "0.75114036", "0.739514", "0.7367064", "0.73218185", "0.72628367", "0.7256239", "0.72276294", "0.7210728", "0.7181229", "0.7165232", "0.716457", "0.7119241", "0.7056762", "0.7040208", "0.7036502", "0.70229787", "0.70015824", "0.6983114", "0.69791025", "0.6968789...
0.76957023
1
Given a numpy array, return a numpy array of int64s containing the indices of `array` where the value is either invalid or null.
def bQAH(qw7D): ZHfW = [] WTRj = oyIN.issubdtype(qw7D.dtype, oyIN.str_) or oyIN.issubdtype(qw7D.dtype, oyIN.object_) otzg = oyIN.issubdtype(qw7D.dtype, oyIN.datetime64) or oyIN.issubdtype(qw7D.dtype, oyIN.timedelta64) for YRbF, ZfUD in enumerate(qw7D): qVG7 = ZfUD is None if not WTRj: ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def GRmG(qw7D):\n return oyIN.where(oyIN.logical_and(~oyIN.isnan(qw7D), oyIN.logical_and(qw7D < ahGW, qw7D > AGMg)))[0]", "def iEk4(ezWE):\n return oyIN.where(ezWE != 0)[0]", "def gMrF(qw7D):\n qw7D = qw7D.copy()\n for d6pt in range(len(qw7D)):\n GSEJ = qw7D[d6pt]\n GSEJ[GSEJ != True]...
[ "0.72801197", "0.6598468", "0.6484506", "0.6290877", "0.62151915", "0.6207923", "0.6076076", "0.6032171", "0.5964083", "0.5927215", "0.58546925", "0.58542985", "0.5842169", "0.5817158", "0.58009565", "0.57717335", "0.5703677", "0.5703015", "0.5699697", "0.56931484", "0.568461...
0.61581105
6
Computes the magnitude of the last two columns of matrix matrix_psi. The magnitude is computed as
def Ivfe(j8qY: np.ndarray) -> oyIN.ndarray: return oyIN.absolute(j8qY[:, 1] + 1j * j8qY[:, 2])
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def YXbZ(YKHO, SppC):\n LXbl = YKHO.forward_transform(SppC)\n rdlD, fvDH = LXbl.shape\n AFO_ = oyIN.zeros((rdlD, fvDH))\n for P6bq in range(rdlD):\n for Ty9i in range(fvDH):\n AFO_[P6bq, Ty9i] = oyIN.sqrt(LXbl[P6bq, Ty9i].real ** 2 + LXbl[P6bq, Ty9i].imag ** 2)\n return AFO_", "d...
[ "0.7188516", "0.67928565", "0.64292717", "0.6404858", "0.6278794", "0.6239356", "0.62232405", "0.62146384", "0.6176429", "0.61389124", "0.613228", "0.61103946", "0.610954", "0.6070003", "0.6026511", "0.5996711", "0.59921265", "0.59308755", "0.5930393", "0.585299", "0.585299",...
0.868457
0
image upload directory setting e.g) images/{year}/{month}/{day}/{username}/{filename} images/2016/7/12/hjh/hjh20160712158859.png
def JJkJ(KAOR, Ux0P): wzkt = qcWV.datetime.now() pmON = 'images/{year}/{month}/{day}/{username}/{filename}'.format(year=wzkt.year, month=wzkt.month, day=wzkt.day, username=KAOR.user.username, filename=NU2T(wzkt, KAOR, Ux0P)) return pmON
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def p6pU(KAOR, Ux0P):\n yGsg = f'{qxeD.uuid4()}{oAb3.Path(Ux0P).suffix}'\n return f'image_uploads/{KAOR.forum.id}/{KAOR.poster.id}/{yGsg}'", "def jw5Q(KAOR, Ux0P):\n return 'images/{0}/{1}/{2}/{3}/{4}'.format(KAOR.clase, KAOR.orden, KAOR.familia, KAOR.genero, Ux0P)", "def ZCgn(KAOR, Ux0P):\n YBcr =...
[ "0.73614454", "0.73298705", "0.7089853", "0.7032608", "0.70246005", "0.6980575", "0.69116426", "0.68466836", "0.67989403", "0.67773765", "0.6739846", "0.671592", "0.66698396", "0.6620333", "0.66119415", "0.6595698", "0.6592657", "0.6538547", "0.65352184", "0.651834", "0.65040...
0.6761045
10
Make a new keras model
def pPQk(RdGg=49): C3ST = ileL() C3ST.add(G370((2, 3, 1), input_shape=(3, 28, 28))) C3ST.add(yHwh(32, (8, 8), strides=(4, 4), activation='relu')) C3ST.add(yHwh(64, (4, 4), strides=(2, 2), activation='relu')) C3ST.add(yHwh(64, (2, 2), strides=(1, 1), activation='relu')) C3ST.add(D2Bo()) C3ST....
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def fkCJ(YKHO) -> ZylS.keras.Model:\n pass", "def pPQk():\n global model, callbacks\n if C3ST != None:\n return\n g4y1 = bdPE.layers.Input(shape=(2, 3, 3))\n hlel = D2Bo()(g4y1)\n hlel = l6ZH(512, kernel_initializer='glorot_uniform', activation='relu')(hlel)\n hlel = l6ZH(512, kernel_...
[ "0.79618984", "0.7874226", "0.76366395", "0.7618476", "0.7607403", "0.7542529", "0.7531495", "0.745729", "0.742833", "0.7428091", "0.73998886", "0.7352193", "0.73379356", "0.7311864", "0.72782856", "0.7266942", "0.7265946", "0.72608656", "0.72572273", "0.72426087", "0.7240759...
0.0
-1
Computes the binary mask of the detected Page from the probabilities outputed by network
def tQSB(BFeB: np.ndarray, gwAu: float=-1) -> oyIN.ndarray: ZHfW = XQXy.thresholding(BFeB, gwAu) ZHfW = XQXy.cleaning_binary(ZHfW, kernel_size=5) return ZHfW
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Es5c(JxU2, gwAu):\n return JxU2 > gwAu", "def RltG(YKHO, vTBz: np.ndarray) -> oyIN.ndarray:\n ZHfW = oyIN.zeros_like(vTBz[0], dtype=oyIN.uint8)\n TFPw = vTBz.shape[0]\n if YKHO.mask2show is not None:\n assert max(YKHO.mask2show) < TFPw\n Ekay = YKHO.mask2show\n else:\n Eka...
[ "0.6245489", "0.6092747", "0.6078812", "0.5993156", "0.5936165", "0.5871924", "0.58666986", "0.5866067", "0.5866067", "0.580691", "0.5801441", "0.57968444", "0.57732713", "0.5730037", "0.572275", "0.5703119", "0.5700285", "0.56981945", "0.5691855", "0.5681683", "0.5660087", ...
0.7086676
0
Extracts the tea ID from an URL and returns a tuple containing the tea raw ID (like TC7001) and numeric ID (like 7001).
def Bmia(YKHO, bD7m): zpw1 = bD7m.split('/')[-1].split('.')[0].split('-')[-1].upper() Z5Pu = int(zpw1.strip('ABCDEFGHIJKLMNOPQRSTUVWXYZ')) return (zpw1, Z5Pu)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def fHdY(bD7m):\n biej = ZbWC.compile('.+/e/(?:.+-)?(\\\\d+)$')\n try:\n id = ZbWC.match(biej, bD7m).group(1)\n except AttributeError:\n G9jH.error('No ID in URL {}'.format(bD7m))\n raise yFVR('No ID in URL {}'.format(bD7m))\n return id", "def P7mU(bD7m: str) -> str:\n return ...
[ "0.67655414", "0.6552379", "0.6535156", "0.6491783", "0.6442363", "0.639492", "0.63660234", "0.6361956", "0.635533", "0.63327426", "0.6332379", "0.6319092", "0.62788653", "0.62744576", "0.62386745", "0.6231742", "0.6222948", "0.6104732", "0.6064047", "0.5950099", "0.5879378",...
0.8079071
0
Decide whether to return a single model or an ensemble.
def dLjf(YKHO, ihr1, RTQI, GPtr): if GPtr['ensemble_size'] == 0: return {'model': YKHO.build_single_model(ihr1, RTQI, GPtr)} FYrf = [YKHO.build_single_model(ihr1, RTQI, GPtr) for bGrB in range(GPtr['ensemble_size'])] return {'models': U78l.ModuleList(FYrf)}
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Yaw1(YKHO):\n DMw4 = 'all'\n if YKHO.segmental is None:\n if YKHO.suprasegmental is None:\n DMw4 = 'raw'\n elif YKHO.raw is None:\n DMw4 = 'suprasegmental'\n else:\n DMw4 = 'supra_and_raw'\n elif YKHO.suprasegmental is None:\n if YKHO.raw is...
[ "0.64081407", "0.6269535", "0.62610275", "0.60737133", "0.6043282", "0.5994285", "0.5927672", "0.5842466", "0.58076197", "0.5806475", "0.58006626", "0.5798174", "0.5779883", "0.5777341", "0.57616913", "0.5751924", "0.5729325", "0.5727499", "0.56868905", "0.5674763", "0.567252...
0.0
-1
Generates a sample_shape shaped sample or sample_shape shaped batch of samples if the distribution parameters are batched. Returns a (sample, log_prob) pair.
def mvm2(YKHO, W061, XeOP, rIHd: List[int]=()): NArs = YKHO(W061, XeOP) return YKHO.dist.sample(NArs, rIHd)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def iPgu(BN_u, KjSY, rIHd, nEeK=0.0, ekgN=1.0, yDqo=oyIN.float32):\n oAzn = oyIN.array([BN_u // 2, BN_u // 4, BN_u])\n if isinstance(rIHd, tuple):\n\n def Spda():\n return rIHd\n efHc = Spda\n elif tq_1.isfunction(rIHd):\n efHc = rIHd\n else:\n raise RuntimeError(...
[ "0.64830506", "0.63064", "0.62248385", "0.6134381", "0.6097165", "0.6096762", "0.607125", "0.60620993", "0.6057954", "0.60339546", "0.6014079", "0.60061425", "0.59995425", "0.59973216", "0.5996389", "0.599163", "0.59510547", "0.5927582", "0.59148896", "0.59094924", "0.5904762...
0.54301447
99
Generates a sample_shape shaped reparameterized sample or sample_shape shaped batch of reparameterized samples if the distribution parameters are batched. Returns a (rsample, log_prob) pair.
def YGtz(YKHO, W061, XeOP, rIHd: List[int]=()): NArs = YKHO(W061, XeOP) return YKHO.dist.rsample(NArs, rIHd)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def YGtz(YKHO, Ep8u):\n WKvO = YKHO.base_dist.rsample((Ep8u,))\n Vjik = YKHO.base_dist.log_prob(WKvO)\n SZFh: i2pj\n for SZFh in YKHO.transforms:\n WKvO, NgYY = SZFh.forward(WKvO)\n Vjik += 1 / NgYY\n return (WKvO, Vjik)", "def YGtz(YKHO, NArs: Dict[str, torch.Tensor], rIHd: List[int...
[ "0.7096073", "0.709354", "0.69130987", "0.6845414", "0.67016035", "0.6532114", "0.6390108", "0.62637645", "0.6123845", "0.6100789", "0.60871816", "0.604182", "0.603245", "0.6015418", "0.59635437", "0.59571093", "0.58699125", "0.58454764", "0.58135873", "0.5805537", "0.5797103...
0.61834
8
Returns the cumulative density/mass function evaluated at `next_obs`.
def YzER(YKHO, W061, XeOP, YFaX): NArs = YKHO(W061, XeOP) return YKHO.dist.cdf(YFaX, NArs)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def FQed(YKHO):\n wjRY = 0.0\n for YRbF in range(0, YKHO.tick_count):\n Yqag = YKHO.get_x_value_from_index(YRbF)\n Q7Be = YKHO.shape_function(Yqag)\n zgiu.validate_real_number_is_positive_or_zero(Q7Be)\n wjRY += Q7Be\n YKHO.cumulative_function.append(wjRY)", "def mMPC(YKH...
[ "0.58364624", "0.57805794", "0.5724646", "0.57084626", "0.54442316", "0.542568", "0.5372232", "0.5368157", "0.53658587", "0.534844", "0.5344268", "0.5340778", "0.5336481", "0.5293955", "0.52929896", "0.5272356", "0.5245204", "0.52378976", "0.5230225", "0.520338", "0.5201223",...
0.69767433
0
Returns the inverse cumulative density/mass function evaluated at `prob`.
def lYVX(YKHO, W061, XeOP, JxU2): NArs = YKHO(W061, XeOP) return YKHO.dist.icdf(JxU2, NArs)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def f2rf(JxU2):\n return js4S.pdf(JxU2)", "def lYVX(YKHO, W061, JxU2):\n NArs = YKHO(W061)\n return YKHO.dist.icdf(JxU2, NArs)", "def DP2U(XP5J):\n with g2zq.extradps(5):\n XP5J = k99t(XP5J)\n if XP5J == 1:\n return g2zq.inf\n a1PO = g2zq.powm1(2, 1 - XP5J)\n ...
[ "0.64243937", "0.64109766", "0.6366806", "0.62287813", "0.6112681", "0.6101375", "0.60709983", "0.59564555", "0.5934156", "0.5930672", "0.5906819", "0.5881282", "0.58618474", "0.5848101", "0.58462137", "0.58310664", "0.5790429", "0.57796377", "0.57351565", "0.5712967", "0.570...
0.58172345
16
Returns entropy of distribution.
def oqGu(YKHO, W061, XeOP): NArs = YKHO(W061, XeOP) return YKHO.dist.entropy(NArs)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def oqGu(YKHO):\n try:\n return YKHO._entropy()\n except AttributeError:\n return YKHO.dist.entropy()", "def oqGu(YKHO) -> float:\n return YKHO._distribution.entropy()[0]", "def oqGu(YKHO):\n return YKHO._normal.entropy()", "def oqGu(IZxK):\n return -1 * sum([JxU2 * RKD7(JxU2, 2)...
[ "0.87175345", "0.8562715", "0.8511429", "0.8328614", "0.8214777", "0.8193192", "0.8108769", "0.8108769", "0.80609876", "0.8056806", "0.8028054", "0.79905236", "0.7965884", "0.7965884", "0.7948052", "0.7894526", "0.7858188", "0.784729", "0.7789202", "0.77639335", "0.7758526", ...
0.73752
49
The list of children of this entity.
def afYC(YKHO): return [Z9rn for Z9rn in YKHO._children]
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def afYC(YKHO):\n return YKHO._children", "def afYC(YKHO):\n return YKHO._children", "def afYC(YKHO):\n return YKHO._children", "def afYC(YKHO):\n return YKHO._children", "def afYC(YKHO):\n return YKHO._children", "def afYC(YKHO):\n return YKHO._children", "def afYC(YKHO):\n return...
[ "0.8186977", "0.8171657", "0.8171657", "0.8171657", "0.8171657", "0.8171657", "0.8171657", "0.8171657", "0.8171657", "0.81689847", "0.8114273", "0.8114273", "0.81027526", "0.8080824", "0.8071071", "0.8040806", "0.803434", "0.80169404", "0.80169404", "0.79976577", "0.7969277",...
0.8064046
15
Get the projection matrix. Should be overloaded by camera classes to define the projection of view.
def EVIl(YKHO, Ermd): return YKHO._projection
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def GHeV(YKHO):\n YKHO.proj_matrix = Ie5s.zeros()\n if YKHO.ortho:\n YKHO.proj_matrix[0, 0] = YKHO.res_x * 0.5\n YKHO.proj_matrix[1, 1] = YKHO.res_y * 0.5\n YKHO.proj_matrix[3, 0] = 0\n YKHO.proj_matrix[3, 1] = 0\n YKHO.proj_matrix[3, 3] = 1\n else:\n a1PO = epAf....
[ "0.8594782", "0.8417067", "0.83335674", "0.81383234", "0.7951009", "0.7860471", "0.77754635", "0.76818573", "0.7654594", "0.7614029", "0.74796134", "0.73314035", "0.7312158", "0.7294823", "0.7272563", "0.71568936", "0.7062985", "0.7021766", "0.69148564", "0.68899214", "0.6875...
0.74556977
11
The camera associated with this viewbox. Can be None if there are no cameras in the scene.
def yDvq(YKHO): if YKHO._camera is None: Vh4F = YKHO.get_cameras() if Vh4F: YKHO._camera = Vh4F[0] return YKHO._camera
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def yDvq(YKHO):\n return YKHO.renderer.scene.camera", "def yDvq(YKHO):\n return YKHO._camera", "def mFP8(YKHO):\n return YKHO._camera", "def Tfg2(YKHO):\n return YKHO.camera", "def yDvq(YKHO):\n return YKHO.GetActiveCamera()", "def Tfg2(YKHO):\n if YKHO.camera is None:\n raise Ru...
[ "0.8438728", "0.8213544", "0.81782866", "0.80478513", "0.8021481", "0.8008932", "0.7994184", "0.78898674", "0.78214544", "0.77067584", "0.7607654", "0.7607654", "0.7607654", "0.7607654", "0.7425771", "0.7411676", "0.7400135", "0.73766595", "0.7332452", "0.73083776", "0.726730...
0.85190505
0
Flat a tuple, list, single value or list of list to flat list e.g. >>> flat_list(1,2,3) [1, 2, 3] >>> flat_list(1) [1] >>> flat_list([1,2,3]) [1, 2, 3] >>> flat_list([None]) []
def Iwtg(*ybN4): jzdc = [] for WKvO in ybN4: if WKvO is None: continue if isinstance(WKvO, (tuple, list)): jzdc.extend([YRbF for YRbF in WKvO if YRbF is not None]) else: jzdc.append(WKvO) return jzdc
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Iwtg(yv6U: list) -> list:\n if not isinstance(yv6U, list):\n raise TypeError('1st parameter lst must be a list')\n Aofo = []\n for YRbF in yv6U:\n if isinstance(YRbF, list):\n Aofo.extend(Iwtg(YRbF))\n else:\n Aofo.extend([YRbF])\n return Aofo", "def H1s...
[ "0.72126657", "0.7122355", "0.711671", "0.70647544", "0.70002776", "0.69871634", "0.6933581", "0.6928642", "0.687122", "0.6870235", "0.68596035", "0.6852883", "0.6846916", "0.68412566", "0.6837473", "0.6831752", "0.6830643", "0.67983246", "0.67919743", "0.67886263", "0.675994...
0.7692314
0
creates a random ten character password
def NlX3(exwG): YRbF = 0 jTXt = '' while YRbF < exwG: jTXt += tuKI.choice(vIwR.ascii_letters + vIwR.digits) YRbF += 1 return jTXt
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def BSw2():\n return ''.join((tuKI.choice(vIwR.ascii_uppercase + vIwR.digits) for WKvO in range(8)))", "def ikbr():\n return ''.join((jxbx().choice(tcl1 + BHGE) for bGrB in range(8)))", "def NlX3():\n gLiZ = vIwR.ascii_uppercase + vIwR.ascii_lowercase + vIwR.digits\n zNig = tuKI.randint(6, 20)\n ...
[ "0.8636515", "0.8620162", "0.8596935", "0.852362", "0.85203594", "0.84777534", "0.8420251", "0.84126496", "0.83835214", "0.8335245", "0.83283216", "0.82693607", "0.8267373", "0.82645893", "0.82371646", "0.8230562", "0.8228931", "0.82201207", "0.821706", "0.8195572", "0.818380...
0.8180828
21
accepts custom password length and prints randomly generated password accordingly
def b8V_(): u54L = int(input('Enter the desired password length: ')) print(NlX3(u54L))
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def PvIU(T7MU, u54L):\n jTXt = ''.join((tuKI.choice(T7MU) for WKvO in range(u54L)))\n print(f'String Of Length {u54L} is: {jTXt}')", "def ENfd(u54L=20):\n gLiZ = vIwR.ascii_letters + vIwR.digits\n return ''.join((FXSn.choice(gLiZ) for YRbF in range(u54L)))", "def ikbr(u54L):\n DumB = ['a', 'c', ...
[ "0.82294637", "0.82223296", "0.8199294", "0.80915314", "0.8090008", "0.80806404", "0.80496985", "0.80456066", "0.80378854", "0.797054", "0.7965344", "0.7933594", "0.79282", "0.79227203", "0.79176646", "0.7914039", "0.79011875", "0.79002774", "0.7898316", "0.7890641", "0.78887...
0.84348154
0
Return the source NoiseEquivalentFluxDensity (NEFD).
def QRdF(XhdP, upAO, I8JS, JbyC, tjcP, D1SZ): gDUd = 0 fHDJ = 0.0 YDR7 = XhdP.size SwSR = oyIN.abs(D1SZ) for YRbF in range(YDR7): if JbyC[YRbF] != 0: continue if upAO[YRbF] <= 0: continue gDUd += 1 Oa1e = XhdP[YRbF] if Oa1e == 0: ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def ZEO8():\n return HnbY(particle_id=HnbY.Type.electron_neutrino, vertex=[100, 200, -500], direction=[0, 0, 1], energy=1000000000.0, interaction_model=AnbA, interaction_type=hFLg.Type.neutral_current)", "def b2rl(YKHO):\n return YKHO.nfreq * oyIN.array([zZcM.nD for zZcM in YKHO.srcList])", "def POXC(YKH...
[ "0.60504854", "0.6013836", "0.59897804", "0.59897804", "0.5984756", "0.5958743", "0.58841884", "0.58180684", "0.57871944", "0.57766706", "0.5743705", "0.5732126", "0.572264", "0.5701266", "0.56963104", "0.56761974", "0.56532097", "0.5652279", "0.5648974", "0.5647246", "0.5625...
0.5558896
26
Reset the current instance such that it can be used as if it hasn't observed any rewards/played any actions.
def SiRx(YKHO): YKHO.num_taken_so_far = oyIN.zeros(YKHO.num_actions) YKHO.num_taken_until_last_episode = oyIN.zeros(YKHO.num_actions) YKHO.num_current_episode = oyIN.zeros(YKHO.num_actions) YKHO.doubling_trick = f7Dd.DoublingTrick() YKHO.sum_rewards = {YKHO.player_id: oyIN.zeros(YKHO.num_actions), Y...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def ka5c(YKHO):\n YKHO._reached = False\n YKHO._actions = dict()", "def SiRx(YKHO):\n YKHO.current_state = None\n YKHO.previous_state = None\n YKHO.current_action = None\n YKHO.previous_action = None\n YKHO.test_action = None", "def SiRx(YKHO):\n YKHO.score.reset()\n YKHO.health.rese...
[ "0.7801631", "0.7754983", "0.7703374", "0.76714134", "0.7659976", "0.7642724", "0.76296484", "0.7625681", "0.7606732", "0.7601681", "0.75886226", "0.75886226", "0.75886226", "0.7575168", "0.75737953", "0.7567402", "0.75252706", "0.7523649", "0.75215787", "0.75215787", "0.7514...
0.0
-1
Creates an instance of this model from a dictionary
def rQfz(Emd4, cmPJ): if cmPJ is None: return None nyyK = cmPJ.get('Success') UAju = cmPJ.get('Errors') qmLP = cmPJ.get('Warnings') yEHD = cmPJ.get('Messages') return Emd4(nyyK, UAju, qmLP, yEHD)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def rQfz(Emd4, cmPJ):\n if cmPJ == None:\n return None\n else:\n mWFP = cmPJ.get('name')\n l8cJ = cmPJ.get('generic_id')\n Gsi3 = cmPJ.get('therauptic_uses')\n PALZ = cmPJ.get('search_score')\n return Emd4(mWFP, l8cJ, Gsi3, PALZ)", "def rQfz(Emd4, cmPJ):\n if cm...
[ "0.83722425", "0.8335738", "0.8215464", "0.8167521", "0.8167521", "0.81483614", "0.8051766", "0.80300796", "0.8013641", "0.79792094", "0.79221934", "0.7919166", "0.79183745", "0.79125935", "0.7906434", "0.79004663", "0.78967476", "0.7886129", "0.78760797", "0.78543913", "0.78...
0.0
-1
returns a string version of the given timedelta, with a resolution of minutes ('m') or seconds ('s')
def bjUD(UqGG, B1Wx='m'): Csk6 = U8Lr() Csk6['days'] = UqGG.days Csk6['hours'], wXAI = divmod(UqGG.seconds, 3600) if B1Wx == 'm' or B1Wx == 's': Csk6['minutes'], C6wh = divmod(wXAI, 60) if B1Wx == 's': Csk6['seconds'] = C6wh def hUZ1(T21g, WbTE): if WbTE == 1: ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def l_YO(fCoM):\n if not fCoM:\n return '0m'\n z0YJ = int(fCoM.total_seconds())\n Wave = z0YJ // 3600\n O66n = round(z0YJ % 3600 / 60)\n if O66n == 60:\n Wave += 1\n O66n = 0\n if Wave and O66n:\n return '{}h {}m'.format(Wave, O66n)\n elif Wave:\n return '{}h...
[ "0.76052946", "0.75795335", "0.7575877", "0.75458544", "0.7443561", "0.73890877", "0.7374468", "0.7326506", "0.73043793", "0.72999793", "0.72768074", "0.7250729", "0.7247319", "0.7196337", "0.7187986", "0.7185089", "0.7158058", "0.70657945", "0.7061494", "0.7054817", "0.70403...
0.722642
13
Determines if the player was hit and changes the sprite if it was.
def UZ_k(YKHO): YKHO.damage = not YKHO.damage if YKHO.damage: YKHO.image = YKHO.images[1] else: YKHO.image = YKHO.images[0]
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def QdZT(YKHO):\n YKHO.rect.x += YKHO.change_x\n UZ_k = a9eO.sprite.collide_rect(YKHO, YKHO.player)\n if UZ_k and YKHO.player.attack_type != 'kame' and (YKHO.dead is False) and (YKHO.player.attack_type != 'spirit_bomb'):\n if YKHO.change_x < 0:\n YKHO.player.rect.right = YKHO.rect.left\n...
[ "0.7010291", "0.6835623", "0.67465454", "0.672508", "0.6718534", "0.66553056", "0.65670604", "0.6394751", "0.6383281", "0.6373938", "0.6331914", "0.6330716", "0.6329407", "0.63284105", "0.6293913", "0.6272703", "0.6268513", "0.6264978", "0.62362975", "0.62242293", "0.6213405"...
0.682575
2
Return the list of $\\sigma_8$ values used in training lite
def VxB0(): return oyIN.array([0.535, 0.605, 0.64, 0.675, 0.71, 0.78, 0.815, 0.85, 0.885, 0.955, 0.99, 1.025, 1.06, 1.13, 1.165, 1.2])
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def uZHQ(C3ST):\n if C3ST == 'mnist':\n return {'Isotropic $(\\\\sigma = 0.8)$': 0.8, 'Isotropic $(\\\\sigma = 1.2)$': 1.2}\n elif C3ST == 'fashion_mnist':\n return {'Isotropic $(\\\\sigma = 0.6)$': 0.6, 'Isotropic $(\\\\sigma = 1.4)$': 1.4}\n elif C3ST == 'cifar10':\n return {'Isotro...
[ "0.6918174", "0.66318506", "0.65949476", "0.6513064", "0.6377844", "0.62897927", "0.62793255", "0.6262492", "0.61121154", "0.61121154", "0.6107127", "0.6086631", "0.6040245", "0.6022218", "0.59917897", "0.598788", "0.5967713", "0.5965355", "0.5926829", "0.59212077", "0.590221...
0.0
-1
Return the list of $\\sigma_8$ values used in testing lite
def _EF9(): return oyIN.array([0.57, 0.745, 0.92, 1.095])
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def uZHQ(C3ST):\n if C3ST == 'mnist':\n return {'Isotropic $(\\\\sigma = 0.8)$': 0.8, 'Isotropic $(\\\\sigma = 1.2)$': 1.2}\n elif C3ST == 'fashion_mnist':\n return {'Isotropic $(\\\\sigma = 0.6)$': 0.6, 'Isotropic $(\\\\sigma = 1.4)$': 1.4}\n elif C3ST == 'cifar10':\n return {'Isotro...
[ "0.70083493", "0.6750505", "0.67404836", "0.66868657", "0.6650449", "0.66261154", "0.65747637", "0.6571961", "0.6551952", "0.64886636", "0.6347934", "0.6292631", "0.6232833", "0.62090105", "0.6200305", "0.6174501", "0.61376834", "0.60972273", "0.6070715", "0.6070715", "0.6046...
0.0
-1
Return the list of $\\sigma_8$ values used in training Q2
def p1zn(): return oyIN.array([0.5035, 1.025, 0.6995, 0.5385, 0.6015, 1.018, 0.829, 0.927, 0.7905, 1.095, 0.9655, 0.5595, 1.165, 0.6645, 0.724, 0.6155, 1.039, 0.78, 0.941, 0.633, 1.186, 1.193, 1.0635, 0.8675, 1.151, 0.8815, 1.0775, 0.563, 0.6925, 0.7555, 1.1755, 1.1335, 0.696, 0.801, 0.864, 0.598, 1.158, 0.8955, 0....
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def nbJa(YKHO):\n\n def z8uy(eHNT):\n return 2 * oyIN.pi * eHNT * YKHO.sample_rate\n return tuple([2.355 / z8uy(eHNT) for eHNT in YKHO.bandwidth])", "def uZHQ(C3ST):\n if C3ST == 'mnist':\n return {'Isotropic $(\\\\sigma = 0.8)$': 0.8, 'Isotropic $(\\\\sigma = 1.2)$': 1.2}\n elif C3ST =...
[ "0.6901193", "0.6803491", "0.675032", "0.66821253", "0.65781796", "0.6500122", "0.64940596", "0.62766606", "0.62752277", "0.6268034", "0.62614155", "0.62614155", "0.62296695", "0.6216989", "0.62035376", "0.6190822", "0.61847264", "0.61702245", "0.6141375", "0.6128595", "0.609...
0.0
-1
Return the list of $\\sigma_8$ values used in training Q2
def Lj2Y(): return oyIN.array([1.025, 0.5385, 1.018, 0.927, 1.095, 0.5595, 0.6645, 0.6155, 0.78, 0.633, 1.193, 0.8675, 0.8815, 0.563, 0.7555, 1.1335, 0.801, 0.598, 0.8955, 1.0355, 1.046, 1.0215])
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def nbJa(YKHO):\n\n def z8uy(eHNT):\n return 2 * oyIN.pi * eHNT * YKHO.sample_rate\n return tuple([2.355 / z8uy(eHNT) for eHNT in YKHO.bandwidth])", "def uZHQ(C3ST):\n if C3ST == 'mnist':\n return {'Isotropic $(\\\\sigma = 0.8)$': 0.8, 'Isotropic $(\\\\sigma = 1.2)$': 1.2}\n elif C3ST =...
[ "0.6900671", "0.6803941", "0.6750311", "0.668127", "0.6578622", "0.6500211", "0.6493779", "0.6276022", "0.62753636", "0.6267388", "0.62606347", "0.62606347", "0.6229126", "0.6216841", "0.6202831", "0.6190595", "0.6183907", "0.6169858", "0.6141482", "0.61287963", "0.609394", ...
0.0
-1
Return the list of $\\sigma_8$ values used in training Q2
def d1LQ(): return oyIN.array([0.5035, 0.6995, 0.6015, 0.829, 0.7905, 0.9655, 1.165, 0.724, 1.039, 0.941, 1.186, 1.0635, 1.151, 1.0775, 0.6925, 1.1755, 0.696, 0.864, 1.158, 0.5315, 0.899, 0.542, 1.1825])
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def nbJa(YKHO):\n\n def z8uy(eHNT):\n return 2 * oyIN.pi * eHNT * YKHO.sample_rate\n return tuple([2.355 / z8uy(eHNT) for eHNT in YKHO.bandwidth])", "def uZHQ(C3ST):\n if C3ST == 'mnist':\n return {'Isotropic $(\\\\sigma = 0.8)$': 0.8, 'Isotropic $(\\\\sigma = 1.2)$': 1.2}\n elif C3ST =...
[ "0.6900614", "0.6802233", "0.67509955", "0.6682748", "0.65765023", "0.650017", "0.6494594", "0.62761307", "0.627327", "0.6268223", "0.62615776", "0.62615776", "0.6228619", "0.621631", "0.6203832", "0.6189977", "0.6184366", "0.61710906", "0.61413795", "0.61290914", "0.6094661"...
0.0
-1
Return the list of $\\sigma_8$ values used in training Q3
def vzQc(): return oyIN.array([0.8395, 0.689, 0.8465, 0.6365, 1.0145, 0.6785, 1.004, 1.1055, 1.053, 0.57, 1.0495, 0.8255, 0.668, 1.137, 0.5805, 0.9235, 0.619, 0.661, 0.7695, 0.7765, 0.9375, 0.836, 0.591, 0.906, 1.1545, 0.8745, 0.766, 0.675, 0.8885, 0.9095, 1.102, 0.92, 0.556, 1.011, 1.0075, 0.6225, 0.5455, 0.6715, ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def uZHQ(C3ST):\n if C3ST == 'mnist':\n return {'Isotropic $(\\\\sigma = 0.8)$': 0.8, 'Isotropic $(\\\\sigma = 1.2)$': 1.2}\n elif C3ST == 'fashion_mnist':\n return {'Isotropic $(\\\\sigma = 0.6)$': 0.6, 'Isotropic $(\\\\sigma = 1.4)$': 1.4}\n elif C3ST == 'cifar10':\n return {'Isotro...
[ "0.68137115", "0.67912775", "0.6588171", "0.6585245", "0.65539247", "0.6474591", "0.6370743", "0.6369746", "0.61793286", "0.6167084", "0.6161056", "0.6154158", "0.6154158", "0.6146257", "0.6146129", "0.61213756", "0.61013037", "0.60670805", "0.60533327", "0.6022399", "0.60223...
0.0
-1
Return the list of $\\sigma_8$ values used in training Q3
def IUoH(): return oyIN.array([0.689, 0.6365, 0.6785, 1.1055, 0.57, 0.8255, 1.137, 0.9235, 0.661, 0.7765, 0.836, 0.906, 0.8745, 0.675, 0.9095, 0.92, 1.011, 0.6225, 0.6715, 0.983, 0.71, 0.962])
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def uZHQ(C3ST):\n if C3ST == 'mnist':\n return {'Isotropic $(\\\\sigma = 0.8)$': 0.8, 'Isotropic $(\\\\sigma = 1.2)$': 1.2}\n elif C3ST == 'fashion_mnist':\n return {'Isotropic $(\\\\sigma = 0.6)$': 0.6, 'Isotropic $(\\\\sigma = 1.4)$': 1.4}\n elif C3ST == 'cifar10':\n return {'Isotro...
[ "0.681359", "0.6792341", "0.65875965", "0.65851057", "0.65546393", "0.6472382", "0.637015", "0.636914", "0.6177538", "0.61648864", "0.6159574", "0.6152563", "0.6152563", "0.6146668", "0.61456263", "0.6120971", "0.61002636", "0.6067522", "0.60520446", "0.6021509", "0.6021509",...
0.0
-1
Return the list of $\\sigma_8$ values used in training Q3
def LmZU(): return oyIN.array([0.8395, 0.8465, 1.0145, 1.004, 1.053, 1.0495, 0.668, 0.5805, 0.619, 0.7695, 0.9375, 0.591, 1.1545, 0.766, 0.8885, 1.102, 0.556, 1.0075, 0.5455, 0.626, 0.738, 0.8325, 0.822])
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def uZHQ(C3ST):\n if C3ST == 'mnist':\n return {'Isotropic $(\\\\sigma = 0.8)$': 0.8, 'Isotropic $(\\\\sigma = 1.2)$': 1.2}\n elif C3ST == 'fashion_mnist':\n return {'Isotropic $(\\\\sigma = 0.6)$': 0.6, 'Isotropic $(\\\\sigma = 1.4)$': 1.4}\n elif C3ST == 'cifar10':\n return {'Isotro...
[ "0.6812109", "0.6791214", "0.65858287", "0.6582458", "0.65521353", "0.6469938", "0.63692904", "0.6367555", "0.6176809", "0.6164201", "0.6157567", "0.6150767", "0.6150767", "0.61450976", "0.61439115", "0.61194015", "0.60981625", "0.60646665", "0.6050298", "0.60187393", "0.6018...
0.0
-1
Return the list of $\\sigma_8$ values used in training Q4
def vKcT(): return oyIN.array([1.1475, 0.5525, 0.85, 0.9445, 0.7835, 0.549, 0.794, 0.815, 0.9585, 0.6575, 0.9935, 1.067, 0.8605, 0.514, 1.0985, 1.0285, 0.612, 1.1405, 1.081, 0.948, 0.6085, 0.934, 0.731, 0.7275, 0.5945, 0.913, 0.787, 1.0425, 0.7135, 0.808, 1.074, 0.8185, 0.6505, 0.9725, 0.976, 0.9025, 0.8045, 0.584,...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def uZHQ(C3ST):\n if C3ST == 'mnist':\n return {'Isotropic $(\\\\sigma = 0.8)$': 0.8, 'Isotropic $(\\\\sigma = 1.2)$': 1.2}\n elif C3ST == 'fashion_mnist':\n return {'Isotropic $(\\\\sigma = 0.6)$': 0.6, 'Isotropic $(\\\\sigma = 1.4)$': 1.4}\n elif C3ST == 'cifar10':\n return {'Isotro...
[ "0.6861606", "0.67482424", "0.66501665", "0.66206175", "0.66022015", "0.6486396", "0.64320314", "0.64026344", "0.63024044", "0.63024044", "0.6299932", "0.6255829", "0.6243619", "0.62328815", "0.6206509", "0.6184837", "0.6153032", "0.6128639", "0.6128639", "0.6117992", "0.6100...
0.0
-1
Return the list of $\\sigma_8$ values used in training Q4
def dGNT(): return oyIN.array([0.5525, 0.9445, 0.549, 0.815, 0.6575, 1.067, 0.514, 1.0285, 1.1405, 0.948, 0.934, 0.7275, 0.913, 1.0425, 0.808, 0.8185, 0.9725, 0.9025, 0.584, 0.717, 1.1125, 0.7625])
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def uZHQ(C3ST):\n if C3ST == 'mnist':\n return {'Isotropic $(\\\\sigma = 0.8)$': 0.8, 'Isotropic $(\\\\sigma = 1.2)$': 1.2}\n elif C3ST == 'fashion_mnist':\n return {'Isotropic $(\\\\sigma = 0.6)$': 0.6, 'Isotropic $(\\\\sigma = 1.4)$': 1.4}\n elif C3ST == 'cifar10':\n return {'Isotro...
[ "0.6865663", "0.6752554", "0.66528314", "0.6618816", "0.66059196", "0.6489759", "0.64353096", "0.64063054", "0.630696", "0.630696", "0.63045037", "0.6261133", "0.62488765", "0.62346244", "0.6211455", "0.61855817", "0.61574733", "0.6133865", "0.6133865", "0.6122706", "0.610510...
0.0
-1
Return the list of $\\sigma_8$ values used in training Q4
def pp_K(): return oyIN.array([1.1475, 0.85, 0.7835, 0.794, 0.9585, 0.9935, 0.8605, 1.0985, 0.612, 1.081, 0.6085, 0.731, 0.5945, 0.787, 0.7135, 1.074, 0.6505, 0.976, 0.8045, 0.535, 0.64, 0.745, 0.521])
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def uZHQ(C3ST):\n if C3ST == 'mnist':\n return {'Isotropic $(\\\\sigma = 0.8)$': 0.8, 'Isotropic $(\\\\sigma = 1.2)$': 1.2}\n elif C3ST == 'fashion_mnist':\n return {'Isotropic $(\\\\sigma = 0.6)$': 0.6, 'Isotropic $(\\\\sigma = 1.4)$': 1.4}\n elif C3ST == 'cifar10':\n return {'Isotro...
[ "0.68644476", "0.67518884", "0.66519207", "0.66192895", "0.66059524", "0.6488053", "0.6435488", "0.64068645", "0.6306689", "0.6306689", "0.6304202", "0.6260371", "0.6247826", "0.62342936", "0.6210411", "0.6186844", "0.6157312", "0.6132466", "0.6132466", "0.6122468", "0.610424...
0.0
-1
Return the list of $\\sigma_8$ values used in testing
def tGLk(): return oyIN.array([1.144, 0.9865, 0.6855, 1.088, 1.116, 0.682, 1.0565, 0.752, 0.9305, 1.0915, 0.5665, 0.647, 0.871, 0.9795, 1.2, 1.13, 0.5735, 0.997, 0.878, 0.507, 0.8115])
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def uZHQ(C3ST):\n if C3ST == 'mnist':\n return {'Isotropic $(\\\\sigma = 0.8)$': 0.8, 'Isotropic $(\\\\sigma = 1.2)$': 1.2}\n elif C3ST == 'fashion_mnist':\n return {'Isotropic $(\\\\sigma = 0.6)$': 0.6, 'Isotropic $(\\\\sigma = 1.4)$': 1.4}\n elif C3ST == 'cifar10':\n return {'Isotro...
[ "0.7013896", "0.6876987", "0.6864205", "0.68048906", "0.66299254", "0.6624505", "0.64984345", "0.6483584", "0.64371705", "0.63706946", "0.6369057", "0.63648856", "0.63473725", "0.63189596", "0.6293439", "0.62881523", "0.62430847", "0.6237856", "0.6231565", "0.6198862", "0.619...
0.0
-1
Return the list of $\\sigma_8$ values used in validation
def n0DB(): return oyIN.array([1.144, 0.6855, 1.116, 1.0565, 0.9305, 0.5665, 0.871, 1.2, 0.5735, 0.878, 0.8115])
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def uZHQ(C3ST):\n if C3ST == 'mnist':\n return {'Isotropic $(\\\\sigma = 0.8)$': 0.8, 'Isotropic $(\\\\sigma = 1.2)$': 1.2}\n elif C3ST == 'fashion_mnist':\n return {'Isotropic $(\\\\sigma = 0.6)$': 0.6, 'Isotropic $(\\\\sigma = 1.4)$': 1.4}\n elif C3ST == 'cifar10':\n return {'Isotro...
[ "0.6948983", "0.67897874", "0.6667307", "0.6656647", "0.6618519", "0.63521534", "0.6322603", "0.6301845", "0.6282435", "0.6270969", "0.6270969", "0.62325716", "0.6225881", "0.6223357", "0.6223357", "0.61971045", "0.6174032", "0.61663324", "0.61544025", "0.6144486", "0.6134386...
0.0
-1
Returns list of $\\sigma_8$ values for an input data set
def w6_J(__n6): if __n6 == 'Q1': return XwrX() if __n6 == 'Q2': return p1zn() if __n6 == 'Q3': return vzQc() if __n6 == 'Q4': return vKcT() if __n6 == 'O1': return xxQk() if __n6 == 'O2': return uOlb() if __n6 == 'O3': return Lj2Y() ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def nbJa(YKHO):\n\n def z8uy(eHNT):\n return 2 * oyIN.pi * eHNT * YKHO.sample_rate\n return tuple([2.355 / z8uy(eHNT) for eHNT in YKHO.bandwidth])", "def _lFw(nPrm):\n gLiZ = []\n XObx = 0\n for wEf2 in nPrm:\n XObx += 2 + 2 * wEf2\n or8S = max(0, min(4, int(XObx)))\n W...
[ "0.68322605", "0.66005653", "0.65821666", "0.65361243", "0.6426124", "0.63766515", "0.63155866", "0.62047493", "0.60840225", "0.60691184", "0.6029897", "0.5980723", "0.59620523", "0.59620523", "0.5955305", "0.59223974", "0.59223974", "0.5913354", "0.5900483", "0.5893031", "0....
0.0
-1
Compute a threshold for an image threshold_method one of the TM_ methods above threshold_modifier TM_GLOBAL to calculate one threshold over entire image TM_ADAPTIVE to calculate a perpixel threshold TM_PER_OBJECT to calculate a different threshold for each object image a NxM numpy array of the image data
def WgNV(fjMG, POIo, LNo8, ZHfW=None, Crrw=None, Xfw8=None, cgR3=None, wZAh=1.0, gPs2=10, **B2fa): _h7x = pgsM(fjMG, LNo8, ZHfW, **B2fa) _h7x *= wZAh if not Xfw8 is None: _h7x = max(_h7x, Xfw8) if not cgR3 is None: _h7x = min(_h7x, cgR3) if POIo == d6g2: _vHR = _h7x elif ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def RvYz(NKcE, LNo8, gwAu, ZHfW=None, Crrw=None, Xfw8=None, cgR3=None, **B2fa):\n if Crrw is None:\n Crrw = oyIN.ones(LNo8.shape, int)\n if not ZHfW is None:\n Crrw[oyIN.logical_not(ZHfW)] = 0\n kZRL = Zxt2.ndimage.find_objects(Crrw, oyIN.max(Crrw))\n _vHR = oyIN.ones(LNo8.shape, ...
[ "0.7297296", "0.68864805", "0.68776745", "0.679137", "0.67152756", "0.66659415", "0.663566", "0.6559813", "0.6546649", "0.6505908", "0.6481678", "0.64503855", "0.64152926", "0.6395593", "0.639168", "0.63860685", "0.6379293", "0.6378931", "0.6378931", "0.63739216", "0.63739216...
0.674432
4
Compute a single threshold over the whole image
def pgsM(fjMG, LNo8, ZHfW=None, **B2fa): if ZHfW is not None and (not oyIN.any(ZHfW)): return 1 if fjMG == pMp0: FYKK = SfIe elif fjMG == w7tV: FYKK = xGeH elif fjMG == Bk8n: FYKK = O7bb elif fjMG == _qS4: FYKK = P2EO elif fjMG == xCDB: FYKK = x3Do...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def JfRw(Xn71):\n RTm6 = oyIN.where(Xn71 > oyIN.mean(Xn71), 0.0, 1.0)\n return RTm6", "def a929(VXjJ, gwAu=128, Xsw1=255):\n return ((VXjJ >= gwAu) * Xsw1).astype(oyIN.uint8)", "def FZ0k(GqgM):\n ROpF = (10, 20, 30)\n RVMj, bGrB = HYgn(ROpF, n_regions=4)\n kWt4 = C94G(oyIN.ones(ROpF, dtype=oy...
[ "0.8016711", "0.7997741", "0.7496761", "0.74900055", "0.7487234", "0.7401398", "0.7344541", "0.73113036", "0.7183723", "0.7178994", "0.70970464", "0.70832664", "0.7059582", "0.7046711", "0.7045436", "0.7041258", "0.7037782", "0.7022526", "0.70079374", "0.6979666", "0.6972138"...
0.0
-1
Calculate the median absolute deviation of a sample a a numpy arraylike collection of values returns the median of the deviation of a from its median.
def XNqj(jzdc): jzdc = oyIN.asfarray(jzdc).flatten() return oyIN.median(oyIN.abs(jzdc - oyIN.median(jzdc)))
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def XNqj(WKvO):\n return oyIN.median([abs(wEf2 - oyIN.median(WKvO)) for wEf2 in WKvO])", "def k06k(jzdc, m1lp=True):\n jzdc = XTiz.asarray(jzdc)\n GX6U = XTiz.median(jzdc)\n XNqj = XTiz.median(XTiz.abs(jzdc - GX6U))\n if m1lp:\n XNqj *= 1.4826\n return XNqj", "def k06k(jzdc, jDK_=None)...
[ "0.76834756", "0.7671409", "0.76345634", "0.7536593", "0.75261915", "0.7444107", "0.7413995", "0.73848164", "0.73610806", "0.7297565", "0.7241402", "0.72292656", "0.7212926", "0.7155898", "0.71535385", "0.7130145", "0.7120263", "0.7087141", "0.70773244", "0.70652527", "0.7035...
0.7931684
0
Compute the logtransformed variance of foreground and background image intensity image used for thresholding mask mask of ignored pixels binary_image binary image marking foreground and background
def AEsZ(LNo8, ZHfW, o2YJ): if not oyIN.any(ZHfW): return 0 ormZ = oyIN.max(LNo8[ZHfW]) / 256 if ormZ == 0: return 0 mHuL = oyIN.log2(oyIN.maximum(LNo8[o2YJ & ZHfW], ormZ)) dnR4 = oyIN.log2(oyIN.maximum(LNo8[~o2YJ & ZHfW], ormZ)) vw0e = oyIN.product(mHuL.shape) OrSU = oyIN.pr...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def J09K(LNo8, ZHfW, o2YJ):\n ZHfW = ZHfW.copy()\n ZHfW[oyIN.isnan(LNo8)] = False\n if not oyIN.any(ZHfW):\n return 0\n ormZ = oyIN.max(LNo8[ZHfW]) / 256\n if ormZ == 0:\n return 0\n nq7S = LNo8.copy()\n nq7S[nq7S < ormZ] = ormZ\n LNo8 = bQlC(nq7S, 8)\n jN4Q = oyIN.min(LNo8...
[ "0.69586736", "0.58473104", "0.58357894", "0.5692918", "0.5681361", "0.5674497", "0.55813754", "0.5578575", "0.5574233", "0.55660915", "0.5539224", "0.5538855", "0.54867417", "0.5457313", "0.5455974", "0.5447205", "0.54433924", "0.54375964", "0.5433795", "0.5422585", "0.54198...
0.7579727
0
Inverse of truncate chars. Instead of the first x characters, excludes the first nth characters.
def rjpX(vIwR, yKcO): return vIwR[yKcO:]
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def O358(WKvO, FliN=9):\n nJ9F = WKvO + '0'\n ehCC = min([YRbF for YRbF in range(2, len(nJ9F)) if nJ9F[YRbF] < '9'])\n return WKvO[:ehCC + FliN]", "def JNU5(l5Ny):\n return l5Ny[:200] + (l5Ny[200:] and '...')", "def h3yy(WKvO: str) -> str:\n if len(WKvO) < 20:\n return WKvO\n else:\n ...
[ "0.6865072", "0.6797556", "0.6663038", "0.66254115", "0.6576952", "0.64806956", "0.6471912", "0.64479", "0.642694", "0.64231044", "0.6407356", "0.63887006", "0.6381934", "0.63547623", "0.63524795", "0.63524795", "0.63524795", "0.63318926", "0.63318926", "0.63318926", "0.63318...
0.660536
4
Add a term to the equation. May be a string or Term object.
def BWq7(YKHO, OXAZ): OXAZ = aw0m(OXAZ) if len(YKHO.TermList) > 0: if OXAZ.IsBlob: raise yNo_('Cannot add a blob to non-empty equation') for Elif in YKHO.TermList: if OXAZ.Term == Elif.Term: Elif.Constant += OXAZ.Constant return YKHO.TermList.append(OX...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def A6gX(YKHO, OXAZ: Union['mip.Var', 'mip.LinExpr', numbers.Real], lk9W: numbers.Real=1):\n if isinstance(OXAZ, RELP):\n YKHO.add_var(OXAZ, lk9W)\n elif isinstance(OXAZ, GEVx):\n YKHO.add_expr(OXAZ, lk9W)\n elif isinstance(OXAZ, mSrU.Real):\n YKHO.add_const(OXAZ)\n else:\n ...
[ "0.77056235", "0.74744576", "0.74744576", "0.7408061", "0.70023495", "0.6924798", "0.69154817", "0.68599725", "0.67665386", "0.6762995", "0.6762995", "0.67397875", "0.66791254", "0.6621317", "0.64609855", "0.64473397", "0.6417535", "0.63185114", "0.6298296", "0.6253243", "0.6...
0.75998235
1
Add an Equation object to the block.
def RcE0(YKHO, pmsH): H5ew = pmsH.LeftHandSide YKHO.Equations[H5ew] = pmsH
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def eEDL(YKHO, tTpl: Equation) -> None:\n YKHO.equations.append(tTpl)", "def H2v5(YKHO, BZ29):\n YKHO.equations.append(BZ29)", "def eEDL(YKHO, hGN5):\n YKHO.f.write(Qa9X(content=hGN5))", "def VBvp(YKHO, tTpl: Equation) -> None:\n YKHO.initial_equations.append(tTpl)", "def u6p8(YKHO, lsX7, mWFP=...
[ "0.7960056", "0.783852", "0.75337166", "0.6697188", "0.642645", "0.6422237", "0.62788373", "0.62788373", "0.62482095", "0.623633", "0.62022233", "0.61912036", "0.6144294", "0.6101634", "0.6032683", "0.58262926", "0.5801101", "0.5762955", "0.5762738", "0.57494956", "0.5734625"...
0.754739
2
Is a variable in the EquationBlock
def FYXB(YKHO, H5ew): return H5ew in YKHO.Equations
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def IKfL(YKHO):\n return YKHO.object == 'variable'", "def IKfL(YKHO, Q6kx):\n return YKHO.property_value_of(Q6kx, 'type') == q8HZ.V", "def IKfL(YKHO, Q6kx):\n if YKHO.is_leaf_node(Q6kx):\n return False\n return YKHO.labels[YKHO.children[Q6kx][0]] == 'v'", "def IKfL(kLQb):\n return GoVZ(...
[ "0.72535104", "0.7176282", "0.7169749", "0.70153534", "0.7002902", "0.6982737", "0.6875808", "0.67798567", "0.670033", "0.66305524", "0.6615359", "0.6615359", "0.661333", "0.65646523", "0.65216905", "0.6503243", "0.64909434", "0.64909434", "0.6475457", "0.6394285", "0.6393752...
0.571962
48
Given two x and two y values, compute the straight line gradient.
def ICX2(lCHq, ANJu, UXsi, c163): return (c163 - UXsi) / (ANJu - lCHq)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def NfqM(WKvO, LVAh):\n Jw7X = 2.0 * ((1.5 - WKvO + WKvO * LVAh) * (LVAh - 1) + (2.25 - WKvO + WKvO * LVAh ** 2) * (LVAh ** 2 - 1) + (2.625 - WKvO + WKvO * LVAh ** 3) * (LVAh ** 3 - 1))\n eUWA = 2.0 * ((1.5 - WKvO + WKvO * LVAh) * WKvO + (2.25 - WKvO + WKvO * LVAh ** 2) * 2.0 * WKvO * LVAh + (2.625 - WKvO + ...
[ "0.7551674", "0.7377399", "0.73752874", "0.7324301", "0.7306073", "0.7188093", "0.714689", "0.70679235", "0.70320404", "0.6979217", "0.6957583", "0.6875445", "0.68686765", "0.68504", "0.6839979", "0.6827418", "0.6827418", "0.6814783", "0.6800496", "0.6772617", "0.67148525", ...
0.68087965
18
Rendering sex distribution bar graph from the clients.csv file using plotly
def kbSq(): hkxX = ErXB() nPrm = [iEax.Bar(x=['Male', 'Female', 'Not Specified'], y=[hkxX['M'], hkxX['F'], hkxX['N']])] xrbP = nfKA.plot(nPrm, filename='Gender Bar Char', auto_open=False) return mizK.get_embed(xrbP)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def d6pt():\n pUx_ = jQ3Z.groupby('genre').count()['message']\n nYUM = list(pUx_.index)\n NWDf = jQ3Z.drop(['id', 'message', 'original', 'genre'], axis=1)\n hSy9 = NWDf.sum()\n eCbM = NWDf.columns.tolist()\n lQ5z = [(Z9rn, exwG) for Z9rn, exwG in sorted(zip(hSy9, eCbM))]\n vcA8 = [SjLr[0] for ...
[ "0.68590236", "0.6058627", "0.587966", "0.5824139", "0.5785743", "0.57564574", "0.56549615", "0.56468874", "0.5591891", "0.5574824", "0.5562025", "0.5552765", "0.5526633", "0.552166", "0.5507451", "0.5487462", "0.5475645", "0.5474077", "0.5450584", "0.54455435", "0.5443512", ...
0.57283646
6
Yield tuples of numpy arrays `(features, labels)` from a list of filepaths to neuroimaging files.
def B6l2(CNwg, r3OS, xQgD=oyIN.float32, MZAh=oyIN.int32, FEri=None, hXNa=False, WuUW=None): CNwg = jth9.deepcopy(CNwg) if isinstance(CNwg, str): raise ValueError('`filepaths` must be a nested sequence of filepaths.') if any((len(YRbF) != 2 for YRbF in CNwg)): raise ValueError('Found sequence...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Bcfh():\n nPrm = oyIN.empty((0, 193))\n Crrw = oyIN.empty(0)\n for xtX7 in KtiP:\n DeQe = uTAc(euRf + xtX7)\n print('Extraing data for the ' + xtX7[:-1] + ' instrument.')\n for nUeQ in DeQe:\n UAKC, psht, md8z, kzqU, umaN = carQ(nUeQ, euRf + xtX7)\n bySB = oy...
[ "0.69737494", "0.6879139", "0.6807959", "0.67779326", "0.6752587", "0.67033684", "0.6683973", "0.6673469", "0.6620204", "0.6603237", "0.6594425", "0.6586241", "0.6585438", "0.65710586", "0.6537448", "0.6533761", "0.65272236", "0.65193796", "0.64789563", "0.64789504", "0.64714...
0.0
-1
Apply the normalization configuration to one volume. Only normalizes features.
def hWT_(YKHO, WKvO, LVAh=None): if YKHO.preprocessing_function: WKvO = YKHO.preprocessing_function(WKvO) if YKHO.rescale: WKvO *= YKHO.rescale if YKHO.samplewise_minmax: WKvO = Ey2R(WKvO) if YKHO.samplewise_zscore: WKvO = qX3H(WKvO) if YKHO.samplewise_center: ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def NkkI(YKHO):\n CkYf = YU_E.vtkImageNormalize()\n CkYf.SetInputData(YKHO.imagedata())\n CkYf.Update()\n return YKHO._updateVolume(CkYf.GetOutput())", "def kwsU(YKHO):\n YKHO.scale = txNa().fit(YKHO.features)\n YKHO.features = YKHO.scale.transform(YKHO.features)", "def kLFL(tgCD, k6TH, WuUW)...
[ "0.6892949", "0.68770695", "0.66527647", "0.66418505", "0.6622084", "0.6602124", "0.6592453", "0.65794164", "0.6564228", "0.6508942", "0.64984846", "0.6466865", "0.6446633", "0.6424611", "0.63817704", "0.6380873", "0.6369783", "0.6364607", "0.6363521", "0.63605416", "0.635554...
0.0
-1
Generate tuples of `(features, labels)` from a list of filepaths. Relevant augmentation (e.g., rotation) is applied to labels in addition to features. Other augmentation, like salt and pepper, is only applied to the features.
def yifg(YKHO, CNwg, r3OS, FEri=None, xQgD='float32', MZAh='int32', hXNa=None): if hXNa is None: raise ValueError('`shuffle` must be explicitly set to True or False.') def WuUW(WKvO, LVAh): WKvO, LVAh = YKHO.random_transform(x=WKvO, y=LVAh) WKvO, LVAh = YKHO.standardize(x=WKvO, y=LVAh) ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def uA4Y(*dZT1):\n s7Nh = []\n LVAh = None\n Crrw = None\n for pmON in dZT1:\n WKvO = []\n LVAh = []\n Crrw = []\n for nUeQ in Hy7s.listdir(pmON):\n UXqs = nUeQ.split('.')[0]\n Crrw.append(UXqs)\n print('loading {} features...'.format(UXqs))\...
[ "0.67199314", "0.6478606", "0.64627004", "0.6249078", "0.6204885", "0.618568", "0.61826086", "0.6166332", "0.6124433", "0.61175555", "0.6105143", "0.6095197", "0.60924023", "0.6055755", "0.5988364", "0.5941944", "0.59341085", "0.5933437", "0.59169245", "0.5838738", "0.5834269...
0.0
-1
Return function that returns instance of `tensorflow.data.Dataset`. Dataset generates tuples of augmented `(features, labels)` from a list of filepaths. Relevant augmentation (e.g., rotation) is applied to labels in addition to features. Other augmentation, like salt and pepper, is only applied to the features.
def oF_J(YKHO, CNwg, r3OS, FEri, xQgD, MZAh, hXNa=None, Ep8u=8, JkES=1, JB9A=0, eyrV=False): if hXNa is None: raise ValueError('`shuffle` must be explicitly set to True or False.') def AVyw(): return YKHO.flow_from_filepaths(filepaths=CNwg, block_shape=r3OS, strides=FEri, x_dtype=xQgD, y_dtype=...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def oUGu(YKHO, ZzTC, TR5M=False, hXNa=False):\n __n6 = ZylS.data.Dataset.from_generator(lambda: ZzTC, (ZylS.string, ZylS.int32))\n __n6 = __n6.map(YKHO._parse_function, num_parallel_calls=ZylS.data.experimental.AUTOTUNE)\n if hXNa:\n __n6 = __n6.shuffle(YKHO._config.trigger_train_shuffle_size)\n ...
[ "0.78120804", "0.7432461", "0.74241763", "0.7390113", "0.72804874", "0.6876732", "0.68721914", "0.68092984", "0.6773724", "0.67530775", "0.6749884", "0.6672256", "0.667188", "0.664537", "0.6547398", "0.65432835", "0.6531071", "0.6502615", "0.64919835", "0.64289564", "0.637397...
0.0
-1
A 'GET' request to '/instruments' returns a response of '200 OK' and then renders 'instrument_list.html', passing in the list of database instruments as a context variable 'instruments'.
def zGPy(YKHO, bo34): fhkA = YKHO.client.get('/instruments') YKHO.assert200(fhkA, "GET return is not '200 OK'") b1aq = YKHO.get_context_variable('instruments') YKHO.assertTrue('Test Vendor 1' in b1aq[0]['vendor'], "'Test Vendor 1' is not in the 'vendor' field for the first instrument.") YKHO.assertT...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def HT0S(QePW):\n st2S = 'home'\n L4Dn = KEDk()\n gZXu = {'breadcrumbs': st2S}\n if len(L4Dn) == 0:\n if gCuF.DEBUG:\n L4Dn = ['eqsans']\n gZXu['user_alert'] = ['Could not get instrument list from the catalog']\n gZXu['instruments'] = L4Dn\n gZXu = FQTa.view_util.fill_tem...
[ "0.82416636", "0.73374546", "0.67123723", "0.666725", "0.6637567", "0.63976425", "0.630354", "0.6227315", "0.6179154", "0.61502546", "0.6143262", "0.61033344", "0.6068451", "0.60254693", "0.5877705", "0.58089185", "0.5785172", "0.5756181", "0.5748276", "0.5663712", "0.5642458...
0.69635916
2
If the authoratative Origin to the Resource does not exist and no origin is given then DoesNotExist is returned. Assumption is to only trust validated sources.
def NMoC(YKHO, j8eK, hLRM=None): j8eK = mJyg(j8eK) if not hLRM: mTqN = list(YKHO.filter(_uri=j8eK)) if not mTqN: raise YKHO.model.DoesNotExist if len(mTqN) == 1: return mTqN[0] else: raise YKHO.model.DoesNotExist('Please pass the exact Origin. ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def s9hz(YKHO, hLRM):\n return True", "def s9hz(YKHO, hLRM):\n return True", "def s9hz(YKHO, hLRM):\n return True", "def s9hz(YKHO, hLRM):\n return True", "def s9hz(YKHO, hLRM):\n return True", "def s9hz(YKHO, hLRM):\n return True", "def s9hz(YKHO, hLRM):\n return True", "def s9h...
[ "0.66232705", "0.66232705", "0.66232705", "0.66232705", "0.66232705", "0.66232705", "0.66232705", "0.66232705", "0.6607956", "0.64645994", "0.64420897", "0.63834596", "0.6382426", "0.598107", "0.5973376", "0.58178663", "0.57421505", "0.56897175", "0.56336224", "0.5631194", "0...
0.6155202
13
``temporary_directory`` can be used as a context manager. It removes the directory upon context.__exit__.
def DkEq(YKHO): ckRy = [] with WYsc() as pmON: ckRy.append(pmON) [pmON] = ckRy YKHO.assertFalse(pmON.exists())
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def VD5O():\n jbXL = gbPf.mkdtemp()\n try:\n yield jbXL\n finally:\n try:\n RDuA.rmtree(jbXL)\n except (OSError, IOError):\n G9jH.exception('Failed to remove temp directory %s', jbXL)", "def WYsc():\n z_es = gbPf.mkdtemp()\n try:\n yield z_es\n ...
[ "0.8363914", "0.83595264", "0.82667047", "0.8266523", "0.8156032", "0.8156032", "0.79633504", "0.7930159", "0.7918402", "0.7917025", "0.79141647", "0.78813463", "0.7869559", "0.7803655", "0.77740985", "0.7765355", "0.7697178", "0.764692", "0.76369786", "0.75989264", "0.759440...
0.0
-1
Get descriptor field name.
def Ek9G(YKHO): return f'{YKHO.name}'
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def gGw6(YKHO):\n return YKHO.name", "def gGw6(YKHO):\n return YKHO.name", "def vXX7(YKHO) -> str:\n return YKHO._field_name", "def vXX7(YKHO):\n return YKHO._field_name", "def vXX7(YKHO) -> str:\n return qe4Y.get(YKHO, 'field_name')", "def mWFP(YKHO):\n return YKHO.field.name", "def ...
[ "0.77851796", "0.77851796", "0.77816355", "0.7773231", "0.7636465", "0.76032555", "0.7424677", "0.7344003", "0.7314146", "0.7143034", "0.7112718", "0.71120435", "0.6954669", "0.69399315", "0.69399315", "0.69042134", "0.6854853", "0.6841242", "0.6774894", "0.6763565", "0.67420...
0.86739606
0
Return this field's type.
def sdgl(YKHO): return YKHO.field_type
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def vF49(YKHO):\n if isinstance(YKHO._field_type, exCv):\n if YKHO._field_type == 'self':\n YKHO._field_type = YKHO._cls\n else:\n YKHO._field_type = rUYY.resolve(YKHO._field_type)\n return YKHO._field_type", "def sVYR(YKHO):\n return YKHO._form_field_type", "def FR...
[ "0.8451667", "0.83653355", "0.832154", "0.832154", "0.8215509", "0.8215509", "0.8215509", "0.8192407", "0.8192407", "0.8192407", "0.8192407", "0.8192407", "0.8192407", "0.8192407", "0.81703013", "0.81389016", "0.8121346", "0.8121346", "0.81098443", "0.81098443", "0.80575365",...
0.90025705
0
Return this field's type.
def sdgl(YKHO): return 'basic:url:{}'.format(YKHO.url_type)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def sdgl(YKHO):\n return YKHO.field_type", "def vF49(YKHO):\n if isinstance(YKHO._field_type, exCv):\n if YKHO._field_type == 'self':\n YKHO._field_type = YKHO._cls\n else:\n YKHO._field_type = rUYY.resolve(YKHO._field_type)\n return YKHO._field_type", "def sVYR(YKH...
[ "0.90025705", "0.8451667", "0.83653355", "0.832154", "0.832154", "0.8215509", "0.8215509", "0.8215509", "0.8192407", "0.8192407", "0.8192407", "0.8192407", "0.8192407", "0.8192407", "0.8192407", "0.81703013", "0.81389016", "0.8121346", "0.8121346", "0.81098443", "0.81098443",...
0.0
-1
Return this field's type.
def sdgl(YKHO): return 'list:{}'.format(YKHO.inner.get_field_type())
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def sdgl(YKHO):\n return YKHO.field_type", "def vF49(YKHO):\n if isinstance(YKHO._field_type, exCv):\n if YKHO._field_type == 'self':\n YKHO._field_type = YKHO._cls\n else:\n YKHO._field_type = rUYY.resolve(YKHO._field_type)\n return YKHO._field_type", "def sVYR(YKH...
[ "0.90025705", "0.8451667", "0.83653355", "0.832154", "0.832154", "0.8215509", "0.8215509", "0.8215509", "0.8192407", "0.8192407", "0.8192407", "0.8192407", "0.8192407", "0.8192407", "0.8192407", "0.81703013", "0.81389016", "0.8121346", "0.8121346", "0.81098443", "0.81098443",...
0.0
-1
Return this field's type.
def sdgl(YKHO): return 'data:{}'.format(YKHO.data_type)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def sdgl(YKHO):\n return YKHO.field_type", "def vF49(YKHO):\n if isinstance(YKHO._field_type, exCv):\n if YKHO._field_type == 'self':\n YKHO._field_type = YKHO._cls\n else:\n YKHO._field_type = rUYY.resolve(YKHO._field_type)\n return YKHO._field_type", "def sVYR(YKH...
[ "0.90025705", "0.8451667", "0.83653355", "0.832154", "0.832154", "0.8215509", "0.8215509", "0.8215509", "0.8192407", "0.8192407", "0.8192407", "0.8192407", "0.8192407", "0.8192407", "0.8192407", "0.81703013", "0.81389016", "0.8121346", "0.8121346", "0.81098443", "0.81098443",...
0.79867446
29
Gets the location of the go source given go package, based on the $GOPATH.
def SxQv(VDkw): dHYy = Hy7s.getenv('GOPATH') for pmON in dHYy.split(':'): jAOY = Hy7s.path.abspath(Hy7s.path.expanduser(Hy7s.path.join(pmON, 'src', *VDkw.split('/')))) if Hy7s.path.isdir(jAOY): return jAOY return ''
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def mazo(Cui_, hxGQ):\n Cui_ = Cui_ or tf7k\n xfst = Hy7s.path.join(Cui_, hxGQ)\n if not Hy7s.path.isdir(xfst):\n raise XI0d(xfst)\n bo34.debug('detected packages path: %s', xfst)\n return xfst", "def MfYP():\n return Hy7s.path.abspath(Hy7s.path.dirname(xAKo))", "def Cui_():\n Ux0P ...
[ "0.73228", "0.68347347", "0.68081594", "0.67310894", "0.671884", "0.6497986", "0.6407084", "0.6391866", "0.63864535", "0.63708186", "0.6367928", "0.6342399", "0.63014436", "0.62927204", "0.6284967", "0.62379384", "0.622229", "0.61866444", "0.6176356", "0.6175592", "0.6166319"...
0.64813715
6
Sets the naes2_sids of this NielsenWatermarkDetectionTest.
def zjqh(YKHO, zjqh): YKHO._naes2_sids = zjqh
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def jt2g(YKHO, jt2g):\n YKHO._naes2_enabled = jt2g", "def WL7E(YKHO, WL7E):\n YKHO._naes2_high_frequency_sids = WL7E", "def YfyB(YKHO, YfyB):\n YKHO._naes6_sids = YfyB", "def C0y9(YKHO, C0y9):\n YKHO._naes2_sids_any_or_specific = C0y9", "def nA3S(YKHO, iqJK):\n return gQS9.TTable1D_setSN(YKH...
[ "0.6370723", "0.6182893", "0.5744071", "0.51465935", "0.5007162", "0.49778435", "0.49280757", "0.4864986", "0.48084575", "0.4742874", "0.47202498", "0.47185507", "0.47127503", "0.47127503", "0.47117034", "0.47101456", "0.46334758", "0.46199724", "0.46087858", "0.4607815", "0....
0.7945019
0
Returns the string representation of the model
def gTzM(YKHO): return CgYo.pformat(YKHO.to_dict())
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def zAg0(YKHO):\n return str(YKHO.__model)", "def zAg0(YKHO):\n return str(YKHO.model)", "def zAg0(YKHO):\n return YKHO.text", "def zAg0(YKHO):\n oOUF = '-----------------------------------------------------------------------------------\\n'\n _2sc = YKHO.__class__.__name__\n oOUF += '\\t\\...
[ "0.86418265", "0.85103965", "0.7853324", "0.77442306", "0.7712258", "0.76979405", "0.765959", "0.7637644", "0.76218504", "0.7607561", "0.7606604", "0.7606604", "0.7606604", "0.75990754", "0.7585653", "0.758149", "0.7570811", "0.7567585", "0.75392604", "0.75392604", "0.7527967...
0.0
-1
Returns true if both objects are not equal
def Vdqg(YKHO, Elif): if not isinstance(Elif, BChx): return True return YKHO.to_dict() != Elif.to_dict()
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Vdqg(YKHO, Elif: object) -> bool:\n return not YKHO.__eq__(Elif)", "def Vdqg(YKHO, Elif: object) -> bool:\n return not YKHO == Elif", "def Vdqg(YKHO, Elif: object):\n return not YKHO == Elif", "def Vdqg(YKHO, Elif):\n if YKHO.__eq__(Elif):\n return False\n return True", "def Vdqg(...
[ "0.8392633", "0.8354901", "0.82950056", "0.8132309", "0.81149805", "0.8099986", "0.809911", "0.8097883", "0.8097883", "0.8092252", "0.8092252", "0.8092252", "0.8092252", "0.8085141", "0.8085141", "0.8085141", "0.8085141", "0.8085141", "0.8066694", "0.80594814", "0.805757", ...
0.0
-1
Close database or file storage
def GTYX(*qIxc, **B2fa): S8SU.close()
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def ssTe(P1dF):\n S8SU.close()", "def ssTe(YKHO):\n tiX4().close()", "def ssTe():\n if hasattr(Oa1e, 'sqlite_db'):\n Oa1e.sqlite_db.close()", "def ssTe(P1dF):\n import classes\n ' Close Storage '\n classes.storage.close()", "def ssTe(YKHO):\n YKHO._db.close_db()", "def ssTe():...
[ "0.8493918", "0.824705", "0.8219805", "0.8209529", "0.82092553", "0.8172756", "0.81096256", "0.81096256", "0.8108289", "0.8094867", "0.80896974", "0.806002", "0.80566823", "0.8044287", "0.8040272", "0.80070996", "0.8001861", "0.800055", "0.79970473", "0.79883456", "0.79883456...
0.0
-1
Just return an empty raster_size x 3 black image
def r96p(YKHO, UhUj: np.ndarray, CJ2b: List[np.ndarray], xQf4: List[np.ndarray], YWSi: Optional[np.ndarray]=None) -> oyIN.ndarray: gSsh = oyIN.zeros((YKHO.raster_size[0], YKHO.raster_size[1], 3), dtype=oyIN.float32) return gSsh
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def eXeU(YKHO):\n return OFAI.new('RGB', (YKHO.tilesize, YKHO.tilesize))", "def kpwU(Y8lG: int, u41L: int, pA0V: int=512) -> hnIv:\n return hnIv.new('RGB', (Y8lG * pA0V, u41L * pA0V))", "def mS9I(YKHO):\n return oyIN.zeros((1, YKHO.width, YKHO.num_channels), dtype=oyIN.uint8)", "def pkeh(H2v2, TVTK,...
[ "0.7261458", "0.70377946", "0.70064753", "0.6850113", "0.6773271", "0.6553114", "0.65157753", "0.6456838", "0.64447606", "0.6397137", "0.6389222", "0.6387373", "0.6373377", "0.6297625", "0.6255488", "0.621789", "0.62154424", "0.6196417", "0.6196417", "0.61364025", "0.61332864...
0.0
-1
Gets the username of this User.
def NtEF(YKHO) -> str: return YKHO._username
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def fiXC(YKHO):\n CBIr = getattr(YKHO, YKHO.USER_FIELD)\n return CBIr.get_username()", "def fiXC(YKHO):\n return getattr(YKHO, YKHO.USERNAME_FIELD)", "def NtEF(YKHO):\n return YKHO._get_account()['username']", "def fiXC(YKHO):\n return YKHO.__username__", "def fiXC(YKHO):\n return YKHO.us...
[ "0.9048951", "0.8512864", "0.846995", "0.8433153", "0.8396781", "0.83747053", "0.83747053", "0.83439374", "0.83080775", "0.82792455", "0.82170755", "0.8199049", "0.81669295", "0.81589425", "0.81589425", "0.81589425", "0.81589425", "0.81589425", "0.81589425", "0.81589425", "0....
0.8282697
11
Gets the first_name of this User.
def c9ua(YKHO) -> str: return YKHO._first_name
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def c9ua(YKHO):\n return YKHO.user.first_name", "def c9ua(YKHO):\n return YKHO.user.first_name", "def fz1W(YKHO):\n return YKHO._first_name", "def fz1W(YKHO) -> str:\n return YKHO.first_name", "def c9ua(YKHO, KAOR):\n return KAOR.user.first_name", "def c9ua(YKHO, KAOR):\n return KAOR.us...
[ "0.892732", "0.892732", "0.87699944", "0.86993116", "0.8692287", "0.85970896", "0.8569069", "0.85639006", "0.85639006", "0.85639006", "0.85639006", "0.85639006", "0.85639006", "0.85639006", "0.8561533", "0.85042447", "0.84840614", "0.8393067", "0.8366611", "0.8308866", "0.830...
0.85371155
16
Gets the last_name of this User.
def zp3f(YKHO) -> str: return YKHO._last_name
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def zp3f(YKHO):\n return YKHO.user.last_name", "def zp3f(YKHO):\n return YKHO.user.last_name", "def CCKR(YKHO) -> str:\n return YKHO.last_name", "def CCKR(YKHO):\n return YKHO._last_name", "def CCKR(YKHO):\n return YKHO._last_name", "def zp3f(YKHO, KAOR):\n return KAOR.user.last_name", ...
[ "0.8865433", "0.8865433", "0.8731067", "0.8687118", "0.8615781", "0.8593372", "0.85482424", "0.85215026", "0.8428941", "0.84063965", "0.84063965", "0.84063965", "0.84063965", "0.84063965", "0.84063965", "0.84063965", "0.8357733", "0.8284155", "0.82441217", "0.82421976", "0.82...
0.8445895
9
Gets the email of this User.
def D3lj(YKHO) -> str: return YKHO._email
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def RC0X(YKHO):\n CBIr = getattr(YKHO, YKHO.USER_FIELD)\n return CBIr.get_email()", "def D3lj(YKHO):\n return YKHO.user.email if YKHO.user else YKHO._email", "def RC0X(YKHO):\n try:\n n8jz = r28k.objects.filter(type=r28k.TYPE_EMAIL, identity=YKHO)[:1]\n D3lj = n8jz.get()\n except r...
[ "0.90477747", "0.8495394", "0.8391356", "0.83688533", "0.8354161", "0.8315711", "0.8315711", "0.82003635", "0.8188836", "0.8159302", "0.8148034", "0.8148034", "0.8148034", "0.8146143", "0.8138455", "0.8010588", "0.8010588", "0.8010588", "0.79018635", "0.79013747", "0.79013747...
0.7491938
56
Sets the email of this User.
def D3lj(YKHO, D3lj: str): YKHO._email = D3lj
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def srEc(YKHO, D3lj=''):\n YKHO._email = D3lj", "def srEc(YKHO, D3lj):\n YKHO.email = D3lj", "def lEeL(YKHO, D3lj):\n YKHO.__email = D3lj", "def lEeL(YKHO, D3lj: str):\n YKHO.__email = D3lj\n return YKHO", "def D3lj(YKHO, BWXx):\n if xs3G.validate_email(BWXx) is True:\n YKHO._updat...
[ "0.8063981", "0.8009542", "0.7971403", "0.7859949", "0.7847262", "0.77051365", "0.76241475", "0.76241475", "0.75326353", "0.7518609", "0.7489779", "0.7489779", "0.7489779", "0.7489779", "0.7489779", "0.7464779", "0.7464779", "0.7416873", "0.7416873", "0.7416873", "0.7416873",...
0.7533214
8
Gets the phone of this User.
def bWtk(YKHO) -> str: return YKHO._phone
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def FlVu(YKHO):\n return YKHO.phone", "def SB2j(YKHO):\n return YKHO.__phone", "def bWtk(YKHO):\n return YKHO._phone", "def bWtk(YKHO):\n return YKHO._phone", "def bWtk(YKHO):\n return YKHO._phone", "def bWtk(YKHO):\n return YKHO._phone", "def bWtk(YKHO):\n return YKHO._phone", "...
[ "0.8322146", "0.81780696", "0.8132369", "0.8132369", "0.8132369", "0.8132369", "0.8132369", "0.7962201", "0.7962201", "0.7962201", "0.7962201", "0.7934773", "0.7892002", "0.78498816", "0.7846826", "0.76975185", "0.7662506", "0.7514621", "0.7514621", "0.7514621", "0.7514621", ...
0.78959715
12
Gets the user_status of this User.
def ByGp(YKHO) -> int: if YKHO.is_not_int(YKHO._user_status): return None return YKHO._user_status
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def VLTN(YKHO):\n return Edpv.STATUS[YKHO.status]", "def jGRS(YKHO):\n return YKHO._status if 'status' in YKHO._user_dat else 0", "def weZ8(YKHO, QTiD):\n for YRbF in range(len(YKHO.dat.users)):\n if QTiD in YKHO.dat.users[YRbF]:\n JJHj = YKHO.dat.users[YRbF][4]\n return J...
[ "0.79485893", "0.77853036", "0.722032", "0.71945053", "0.71718353", "0.7123295", "0.7082589", "0.70659333", "0.70659333", "0.70373625", "0.70373625", "0.70373625", "0.70373625", "0.70345604", "0.70345604", "0.70345604", "0.70321393", "0.6994255", "0.69809085", "0.69065654", "...
0.8018813
0
Split data into train and test sets
def bmBq(nPrm, EDUY): usx6 = nPrm.shape[0] JbQ8 = list(range(usx6)) fSe9 = list(range(0, usx6, EDUY)) foXX = [WKvO for WKvO in JbQ8 if WKvO not in fSe9] t4zr = nPrm.iloc[fSe9] t4zr.reset_index(drop=True, inplace=True) XxFT = nPrm.iloc[foXX] XxFT.reset_index(drop=True, inplace=True) r...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def lpha(nPrm, zBu_):\n ppBc = nPrm.iloc[0:pBSp(zBu_ * len(nPrm))]\n Zwka = nPrm.iloc[pBSp(zBu_ * len(nPrm)):]\n return (ppBc, Zwka)", "def FJfc(__n6, NI2E=0.2, zBu_=0.7):\n pass", "def lpha(YKHO, nPrm):\n TmjN = int(len(nPrm) * 0.8)\n fVgT = nPrm.sample(frac=1).reset_index(drop=True)\n Ev...
[ "0.8423293", "0.8242771", "0.8198256", "0.81854504", "0.81639004", "0.81612587", "0.81376904", "0.81360424", "0.8126124", "0.8114464", "0.81036186", "0.8102262", "0.80912197", "0.80891305", "0.80751705", "0.80746436", "0.80741954", "0.80589104", "0.802685", "0.7985302", "0.79...
0.0
-1
returns a uws.JobParameter instance for inputKey.
def IrTr(B44r): class SomeParameter(g6SP.JobParameter): mWFP = B44r.name vodS = B44r._parse d7rc = B44r._unparse return L1yZ
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def wxIh(YKHO) -> qe4Y.Input[str]:\n return qe4Y.get(YKHO, 'job_name')", "def dLCC(YKHO, H5ew):\n try:\n k78t = YKHO.parameters.get(key=H5ew)\n except rIt9:\n k78t = R6bD.get_global_parameter(H5ew)\n return k78t", "def EV_x(YKHO, u0gG):\n return cwO8.getDataInputFromId(u0gG)", "d...
[ "0.6018724", "0.6011661", "0.5987461", "0.59811735", "0.5784528", "0.57819724", "0.57819724", "0.57819724", "0.57819724", "0.57819724", "0.57819724", "0.57819724", "0.57819724", "0.57819724", "0.57819724", "0.57819724", "0.57819724", "0.57819724", "0.57819724", "0.57819724", ...
0.8368324
0
Creates a type specification for an arbitrary Python object.
def ijGH(ZfUD, ijht=False, D3zX=True, Ark5=False): Lojf = FmWB(ZfUD) Cqok = {'type': Lojf} if Lojf == 'list': b1a3(ZfUD, Cqok, preload=ijht) elif Lojf == 'tuple': EJ2C(ZfUD, Cqok, preload=ijht) elif Lojf == 'dict': f968(ZfUD, Cqok, preload=ijht, include_private=D3zX, filter_g...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Wzky(**ArNO):\n return uUMx('PyObject*', 'object', to_py='return input;', to_cpp='return input;', to_cpp_check='return true;', to_cpp_check_precedence=..., ref_maps=uUMx.REF_MAPS_NO_NONE_CHECK, **ArNO)", "def YYzL(HrOk, QoB4):\n\n def QTKE(FWqb):\n _h7H = SnBA.DType(FWqb)\n wEsz = _h7H(Qo...
[ "0.60831124", "0.5904617", "0.5877941", "0.5814597", "0.5774959", "0.57439125", "0.5742465", "0.5710522", "0.5659375", "0.5631217", "0.5616607", "0.5556352", "0.5550798", "0.5525866", "0.548516", "0.5483323", "0.54827976", "0.54031473", "0.5394958", "0.5393999", "0.5376714", ...
0.0
-1
(TestSurvival) __init__ should return an Survival model
def hVQB(YKHO): YKHO.assertTrue(isinstance(YKHO.DUT, wOed)) YKHO.assertEqual(YKHO.DUT.dicRecords, {}) YKHO.assertEqual(YKHO.DUT.dicMTBF, {}) YKHO.assertEqual(YKHO.DUT.dicHazard, {}) YKHO.assertEqual(YKHO.DUT.dicReliability, {}) oyIN.testing.assert_array_equal(YKHO.DUT.hazard, oyIN.array([])) ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def FCbF(YKHO):\n YKHO.DUT = Ryma()", "def FIMM(YKHO, **NArs) -> None:\n super().__init__(**NArs)\n Iq_3 = QROb(n_estimators=YKHO.params.xgb_n_estimators, colsample_bynode=YKHO.params.xgb_colsample_bynode, colsample_bytree=YKHO.params.xgb_colsample_bytree, colsample_bylevel=YKHO.params.xgb_colsample_byl...
[ "0.6749441", "0.6331628", "0.6167278", "0.6147498", "0.610298", "0.60478556", "0.60381794", "0.58731985", "0.586622", "0.5858103", "0.58572793", "0.57965213", "0.57851416", "0.57845736", "0.5782524", "0.5779566", "0.57757616", "0.5769749", "0.5736563", "0.5734556", "0.5715515...
0.0
-1
A function to check if a queen can be place on board[row][col]
def Qazr(iBIi, exwG, rdlD, fvDH): for YRbF in range(fvDH): if iBIi[rdlD][YRbF] == 1: return False for YRbF, r845 in zip(range(rdlD, -1, -1), range(fvDH, -1, -1)): if iBIi[YRbF][r845] == 1: return False for YRbF, r845 in zip(range(rdlD, exwG, 1), range(fvDH, -1, -1)): ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def SGVO(iBIi: List[int]) -> bool:\n m3DY, EAAj = (len(iBIi) - 1, iBIi[-1])\n for rdlD, fvDH in enumerate(iBIi[:-1]):\n yk4i = abs(EAAj - fvDH)\n if yk4i == 0 or yk4i == m3DY - rdlD:\n return False\n return True", "def HAYG(iBIi, LVAh, WKvO):\n dixj = []\n for YRbF in rang...
[ "0.8034577", "0.78897274", "0.7689641", "0.7688134", "0.76858145", "0.76578856", "0.761872", "0.76156276", "0.76092637", "0.75360274", "0.74653274", "0.7443112", "0.73955464", "0.73520315", "0.73408574", "0.73098254", "0.72720224", "0.7250192", "0.72449625", "0.7209735", "0.7...
0.71573347
22
Returns a sorted list of all the installed apps that have been registered in this site.
def FzDK(YKHO, QePW): oHel = YKHO._build_app_dict(QePW) F9sO = sorted(oHel.values(), key=lambda WKvO: WKvO['name'].lower()) for P4t4 in F9sO: P4t4['models'].sort(key=lambda WKvO: WKvO['display_order']) return F9sO
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def vxoC(YKHO):\n XLL2 = YKHO.app.list_apps()\n F9sO = [P4t4['title'] for P4t4 in XLL2]\n return F9sO", "def vxoC(YKHO):\n F9sO = YKHO._braviarc.load_app_list()\n return F9sO", "def lh2V():\n yvT9 = set()\n for P4t4 in POek.INSTALLED_APPS:\n yvT9.add(P4t4)\n return yvT9", "def ...
[ "0.8000876", "0.79281414", "0.77453864", "0.7654681", "0.76144683", "0.7598103", "0.7581122", "0.7578842", "0.7578842", "0.75481236", "0.75347954", "0.75041276", "0.74600744", "0.74429953", "0.73812175", "0.7338532", "0.7305585", "0.7300865", "0.727828", "0.727828", "0.726639...
0.72729474
20