query stringlengths 10 2k | document stringlengths 20 51.2k | metadata dict | negatives listlengths 0 101 | negative_scores listlengths 0 101 | document_score stringlengths 3 10 | document_rank stringclasses 102
values |
|---|---|---|---|---|---|---|
GetThreshold(itkHistogramThresholdCalculatorHDSS self) > short const & | def GetThreshold(self) -> "short const &":
return _itkHistogramThresholdCalculatorPython.itkHistogramThresholdCalculatorHDSS_GetThreshold(self) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def GetThreshold(self) -> \"short const &\":\n return _itkHistogramThresholdCalculatorPython.itkHistogramThresholdCalculatorHFSS_GetThreshold(self)",
"def GetThreshold(self) -> \"unsigned short const &\":\n return _itkHistogramThresholdCalculatorPython.itkHistogramThresholdCalculatorHDUS_GetThresho... | [
"0.8782284",
"0.8629568",
"0.83764005",
"0.79862857",
"0.79809403",
"0.79682785",
"0.79415905",
"0.7457221",
"0.6532926",
"0.65004766",
"0.65004766",
"0.6490394",
"0.64594024",
"0.6451057",
"0.6451057",
"0.6451057",
"0.6451057",
"0.6451057",
"0.6318237",
"0.6255153",
"0.62279... | 0.8963618 | 0 |
cast(itkLightObject obj) > itkHistogramThresholdCalculatorHDSS | def cast(obj: 'itkLightObject') -> "itkHistogramThresholdCalculatorHDSS *":
return _itkHistogramThresholdCalculatorPython.itkHistogramThresholdCalculatorHDSS_cast(obj) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def itkHistogramThresholdCalculatorHDSS_cast(obj: 'itkLightObject') -> \"itkHistogramThresholdCalculatorHDSS *\":\n return _itkHistogramThresholdCalculatorPython.itkHistogramThresholdCalculatorHDSS_cast(obj)",
"def cast(obj: 'itkLightObject') -> \"itkHistogramThresholdCalculatorHDUS *\":\n return _itkH... | [
"0.792787",
"0.79278487",
"0.78446555",
"0.7802158",
"0.7754244",
"0.77534133",
"0.77397054",
"0.76976305",
"0.76773834",
"0.75155467",
"0.74286795",
"0.73953027",
"0.7370725",
"0.7347258",
"0.7328887",
"0.7317074",
"0.72296387",
"0.72009146",
"0.7193333",
"0.7161453",
"0.714... | 0.79498684 | 0 |
New() > itkHistogramThresholdCalculatorHDSS Create a new object of the class itkHistogramThresholdCalculatorHDSS and set the input and the parameters if some named or nonnamed arguments are passed to that method. New() tries to assign all the non named parameters to the input of the new objects the first non named para... | def New(*args, **kargs):
obj = itkHistogramThresholdCalculatorHDSS.__New_orig__()
import itkTemplate
itkTemplate.New(obj, *args, **kargs)
return obj | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def New(*args, **kargs):\n obj = itkIsoDataThresholdCalculatorHDSS.__New_orig__()\n import itkTemplate\n itkTemplate.New(obj, *args, **kargs)\n return obj",
"def New(*args, **kargs):\n obj = itkHistogramThresholdCalculatorHFSS.__New_orig__()\n import itkTemplate\n ... | [
"0.7609324",
"0.74879116",
"0.7438431",
"0.70551777",
"0.69496536",
"0.6843225",
"0.67978287",
"0.6789098",
"0.66757125",
"0.6606093",
"0.64691263",
"0.6428916",
"0.63909084",
"0.637588",
"0.6365102",
"0.63332254",
"0.6318115",
"0.6298939",
"0.6195005",
"0.6194829",
"0.618159... | 0.8096453 | 0 |
itkHistogramThresholdCalculatorHDSS_cast(itkLightObject obj) > itkHistogramThresholdCalculatorHDSS | def itkHistogramThresholdCalculatorHDSS_cast(obj: 'itkLightObject') -> "itkHistogramThresholdCalculatorHDSS *":
return _itkHistogramThresholdCalculatorPython.itkHistogramThresholdCalculatorHDSS_cast(obj) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def cast(obj: 'itkLightObject') -> \"itkHistogramThresholdCalculatorHDSS *\":\n return _itkHistogramThresholdCalculatorPython.itkHistogramThresholdCalculatorHDSS_cast(obj)",
"def itkHistogramThresholdCalculatorHDUS_cast(obj: 'itkLightObject') -> \"itkHistogramThresholdCalculatorHDUS *\":\n return _itkH... | [
"0.82392716",
"0.81323105",
"0.8029001",
"0.79975426",
"0.78032583",
"0.77575004",
"0.77000356",
"0.7697225",
"0.7626319",
"0.75614214",
"0.75059056",
"0.74843264",
"0.74736637",
"0.74540627",
"0.74154323",
"0.73475415",
"0.72800887",
"0.72679186",
"0.7261617",
"0.72384983",
... | 0.8452652 | 0 |
Clone(itkHistogramThresholdCalculatorHDUC self) > itkHistogramThresholdCalculatorHDUC_Pointer | def Clone(self) -> "itkHistogramThresholdCalculatorHDUC_Pointer":
return _itkHistogramThresholdCalculatorPython.itkHistogramThresholdCalculatorHDUC_Clone(self) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def Clone(self) -> \"itkHistogramThresholdCalculatorHDUS_Pointer\":\n return _itkHistogramThresholdCalculatorPython.itkHistogramThresholdCalculatorHDUS_Clone(self)",
"def Clone(self) -> \"itkIsoDataThresholdCalculatorHDUC_Pointer\":\n return _itkIsoDataThresholdCalculatorPython.itkIsoDataThresholdC... | [
"0.88066816",
"0.84501046",
"0.8334865",
"0.8232218",
"0.8198226",
"0.8161614",
"0.8072677",
"0.7996928",
"0.7916527",
"0.78923887",
"0.77946013",
"0.7619471",
"0.7598596",
"0.7581866",
"0.7569618",
"0.7544129",
"0.750867",
"0.74777865",
"0.74093705",
"0.73618436",
"0.7349409... | 0.9156343 | 0 |
SetInput(itkHistogramThresholdCalculatorHDUC self, itkHistogramD input) | def SetInput(self, input: 'itkHistogramD') -> "void":
return _itkHistogramThresholdCalculatorPython.itkHistogramThresholdCalculatorHDUC_SetInput(self, input) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def SetInput(self, input: 'itkHistogramD') -> \"void\":\n return _itkHistogramThresholdCalculatorPython.itkHistogramThresholdCalculatorHDUS_SetInput(self, input)",
"def GetInput(self) -> \"itkHistogramD const *\":\n return _itkHistogramThresholdCalculatorPython.itkHistogramThresholdCalculatorHDUC_G... | [
"0.8286537",
"0.807174",
"0.7896645",
"0.7829621",
"0.7722396",
"0.7542926",
"0.7474174",
"0.74467033",
"0.7429632",
"0.7428609",
"0.7245094",
"0.71638364",
"0.71120924",
"0.7075688",
"0.70332617",
"0.70056325",
"0.69958705",
"0.6922853",
"0.68954897",
"0.68936527",
"0.686196... | 0.8570084 | 0 |
GetInput(itkHistogramThresholdCalculatorHDUC self) > itkHistogramD | def GetInput(self) -> "itkHistogramD const *":
return _itkHistogramThresholdCalculatorPython.itkHistogramThresholdCalculatorHDUC_GetInput(self) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def GetInput(self) -> \"itkHistogramD const *\":\n return _itkHistogramThresholdCalculatorPython.itkHistogramThresholdCalculatorHDUS_GetInput(self)",
"def GetInput(self) -> \"itkHistogramD const *\":\n return _itkHistogramThresholdCalculatorPython.itkHistogramThresholdCalculatorHDF_GetInput(self)",... | [
"0.80567396",
"0.7875559",
"0.7715876",
"0.76575094",
"0.76125395",
"0.7574893",
"0.74531037",
"0.736216",
"0.7313109",
"0.7308745",
"0.72171324",
"0.7174527",
"0.714511",
"0.70909923",
"0.70897454",
"0.7067517",
"0.696702",
"0.6957059",
"0.6910755",
"0.6910602",
"0.6901814",... | 0.81892115 | 0 |
GetOutput(itkHistogramThresholdCalculatorHDUC self) > itkSimpleDataObjectDecoratorUC | def GetOutput(self) -> "itkSimpleDataObjectDecoratorUC *":
return _itkHistogramThresholdCalculatorPython.itkHistogramThresholdCalculatorHDUC_GetOutput(self) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def GetOutput(self) -> \"itkSimpleDataObjectDecoratorUC *\":\n return _itkHistogramThresholdCalculatorPython.itkHistogramThresholdCalculatorHFUC_GetOutput(self)",
"def GetOutput(self) -> \"itkSimpleDataObjectDecoratorUS *\":\n return _itkHistogramThresholdCalculatorPython.itkHistogramThresholdCalcu... | [
"0.79875726",
"0.7876213",
"0.77358043",
"0.76035064",
"0.7423082",
"0.71984965",
"0.71860987",
"0.71702856",
"0.70582527",
"0.690424",
"0.6740242",
"0.66627544",
"0.6659659",
"0.66442513",
"0.65925115",
"0.6559946",
"0.64480394",
"0.6445512",
"0.6412634",
"0.6410808",
"0.634... | 0.8334378 | 0 |
GetThreshold(itkHistogramThresholdCalculatorHDUC self) > unsigned char const & | def GetThreshold(self) -> "unsigned char const &":
return _itkHistogramThresholdCalculatorPython.itkHistogramThresholdCalculatorHDUC_GetThreshold(self) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def GetThreshold(self) -> \"unsigned char const &\":\n return _itkHistogramThresholdCalculatorPython.itkHistogramThresholdCalculatorHFUC_GetThreshold(self)",
"def GetThreshold(self) -> \"unsigned short const &\":\n return _itkHistogramThresholdCalculatorPython.itkHistogramThresholdCalculatorHDUS_Ge... | [
"0.867347",
"0.8256249",
"0.80836433",
"0.7988003",
"0.79737276",
"0.7955787",
"0.79144984",
"0.7214025",
"0.70936507",
"0.69575536",
"0.69160753",
"0.6834989",
"0.68293065",
"0.67756104",
"0.6759843",
"0.6733281",
"0.67005646",
"0.6658193",
"0.662282",
"0.6536275",
"0.647981... | 0.8921613 | 0 |
cast(itkLightObject obj) > itkHistogramThresholdCalculatorHDUC | def cast(obj: 'itkLightObject') -> "itkHistogramThresholdCalculatorHDUC *":
return _itkHistogramThresholdCalculatorPython.itkHistogramThresholdCalculatorHDUC_cast(obj) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def itkHistogramThresholdCalculatorHDUC_cast(obj: 'itkLightObject') -> \"itkHistogramThresholdCalculatorHDUC *\":\n return _itkHistogramThresholdCalculatorPython.itkHistogramThresholdCalculatorHDUC_cast(obj)",
"def cast(obj: 'itkLightObject') -> \"itkHistogramThresholdCalculatorHDUS *\":\n return _itkH... | [
"0.8234363",
"0.81247675",
"0.805468",
"0.8021322",
"0.79944366",
"0.7969975",
"0.79305357",
"0.78833765",
"0.78581464",
"0.7842353",
"0.7768973",
"0.7669502",
"0.75752825",
"0.75520915",
"0.75431263",
"0.7506192",
"0.7441515",
"0.74300885",
"0.73871154",
"0.7378316",
"0.7364... | 0.8181807 | 1 |
New() > itkHistogramThresholdCalculatorHDUC Create a new object of the class itkHistogramThresholdCalculatorHDUC and set the input and the parameters if some named or nonnamed arguments are passed to that method. New() tries to assign all the non named parameters to the input of the new objects the first non named para... | def New(*args, **kargs):
obj = itkHistogramThresholdCalculatorHDUC.__New_orig__()
import itkTemplate
itkTemplate.New(obj, *args, **kargs)
return obj | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def New(*args, **kargs):\n obj = itkIsoDataThresholdCalculatorHDUC.__New_orig__()\n import itkTemplate\n itkTemplate.New(obj, *args, **kargs)\n return obj",
"def New(*args, **kargs):\n obj = itkHistogramThresholdCalculatorHDUS.__New_orig__()\n import itkTemplate\n ... | [
"0.77586406",
"0.7375778",
"0.7096102",
"0.6845177",
"0.6809429",
"0.6784543",
"0.67436886",
"0.67108727",
"0.6580808",
"0.65740526",
"0.65635526",
"0.6522851",
"0.64938647",
"0.6466268",
"0.63967305",
"0.63657445",
"0.630978",
"0.62638724",
"0.6220163",
"0.6135018",
"0.61303... | 0.80900836 | 0 |
itkHistogramThresholdCalculatorHDUC_cast(itkLightObject obj) > itkHistogramThresholdCalculatorHDUC | def itkHistogramThresholdCalculatorHDUC_cast(obj: 'itkLightObject') -> "itkHistogramThresholdCalculatorHDUC *":
return _itkHistogramThresholdCalculatorPython.itkHistogramThresholdCalculatorHDUC_cast(obj) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def cast(obj: 'itkLightObject') -> \"itkHistogramThresholdCalculatorHDUC *\":\n return _itkHistogramThresholdCalculatorPython.itkHistogramThresholdCalculatorHDUC_cast(obj)",
"def itkHistogramThresholdCalculatorHDUS_cast(obj: 'itkLightObject') -> \"itkHistogramThresholdCalculatorHDUS *\":\n return _itkH... | [
"0.8516243",
"0.83477086",
"0.82697886",
"0.8104678",
"0.79745924",
"0.7965274",
"0.7928175",
"0.79176015",
"0.78862506",
"0.7868434",
"0.7855887",
"0.78213453",
"0.77891135",
"0.7733086",
"0.76316506",
"0.762053",
"0.7607335",
"0.75309616",
"0.7521084",
"0.75031936",
"0.7499... | 0.8811864 | 0 |
Clone(itkHistogramThresholdCalculatorHDUS self) > itkHistogramThresholdCalculatorHDUS_Pointer | def Clone(self) -> "itkHistogramThresholdCalculatorHDUS_Pointer":
return _itkHistogramThresholdCalculatorPython.itkHistogramThresholdCalculatorHDUS_Clone(self) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def Clone(self) -> \"itkHistogramThresholdCalculatorHDSS_Pointer\":\n return _itkHistogramThresholdCalculatorPython.itkHistogramThresholdCalculatorHDSS_Clone(self)",
"def Clone(self) -> \"itkHistogramThresholdCalculatorHDUC_Pointer\":\n return _itkHistogramThresholdCalculatorPython.itkHistogramThre... | [
"0.86397624",
"0.85155696",
"0.84630704",
"0.83510804",
"0.8092738",
"0.8091149",
"0.79944086",
"0.79796636",
"0.78103167",
"0.77058834",
"0.76221627",
"0.7578176",
"0.75707775",
"0.7552271",
"0.74421465",
"0.7425703",
"0.7424813",
"0.74109876",
"0.73645955",
"0.7279788",
"0.... | 0.92318064 | 0 |
SetInput(itkHistogramThresholdCalculatorHDUS self, itkHistogramD input) | def SetInput(self, input: 'itkHistogramD') -> "void":
return _itkHistogramThresholdCalculatorPython.itkHistogramThresholdCalculatorHDUS_SetInput(self, input) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def SetInput(self, input: 'itkHistogramD') -> \"void\":\n return _itkHistogramThresholdCalculatorPython.itkHistogramThresholdCalculatorHDSS_SetInput(self, input)",
"def SetInput(self, input: 'itkHistogramD') -> \"void\":\n return _itkHistogramThresholdCalculatorPython.itkHistogramThresholdCalculato... | [
"0.8291908",
"0.82502943",
"0.81647164",
"0.8028707",
"0.78250986",
"0.7824863",
"0.7804661",
"0.7700852",
"0.76851517",
"0.7665581",
"0.76458657",
"0.7414279",
"0.732243",
"0.7320591",
"0.7307206",
"0.7088711",
"0.70840764",
"0.70100325",
"0.7006436",
"0.68993574",
"0.685232... | 0.86126447 | 0 |
GetInput(itkHistogramThresholdCalculatorHDUS self) > itkHistogramD | def GetInput(self) -> "itkHistogramD const *":
return _itkHistogramThresholdCalculatorPython.itkHistogramThresholdCalculatorHDUS_GetInput(self) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def GetInput(self) -> \"itkHistogramD const *\":\n return _itkHistogramThresholdCalculatorPython.itkHistogramThresholdCalculatorHDF_GetInput(self)",
"def GetInput(self) -> \"itkHistogramD const *\":\n return _itkHistogramThresholdCalculatorPython.itkHistogramThresholdCalculatorHDSS_GetInput(self)",... | [
"0.79023796",
"0.7825475",
"0.7798445",
"0.7640872",
"0.7604907",
"0.7580862",
"0.7489787",
"0.73774076",
"0.7299516",
"0.72043866",
"0.706561",
"0.70631045",
"0.7051907",
"0.705131",
"0.703794",
"0.703088",
"0.70234644",
"0.69920796",
"0.6915194",
"0.69080776",
"0.6884173",
... | 0.8047951 | 0 |
GetOutput(itkHistogramThresholdCalculatorHDUS self) > itkSimpleDataObjectDecoratorUS | def GetOutput(self) -> "itkSimpleDataObjectDecoratorUS *":
return _itkHistogramThresholdCalculatorPython.itkHistogramThresholdCalculatorHDUS_GetOutput(self) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def GetOutput(self) -> \"itkSimpleDataObjectDecoratorUS *\":\n return _itkHistogramThresholdCalculatorPython.itkHistogramThresholdCalculatorHFUS_GetOutput(self)",
"def GetOutput(self) -> \"itkSimpleDataObjectDecoratorSS *\":\n return _itkHistogramThresholdCalculatorPython.itkHistogramThresholdCalcu... | [
"0.7927907",
"0.7753237",
"0.77426326",
"0.7711836",
"0.7636275",
"0.76214343",
"0.75915664",
"0.68849224",
"0.67023504",
"0.6653168",
"0.6580578",
"0.6523952",
"0.65117455",
"0.648747",
"0.6451603",
"0.6431616",
"0.6409893",
"0.64071774",
"0.6377398",
"0.6364849",
"0.6355193... | 0.81639665 | 0 |
GetThreshold(itkHistogramThresholdCalculatorHDUS self) > unsigned short const & | def GetThreshold(self) -> "unsigned short const &":
return _itkHistogramThresholdCalculatorPython.itkHistogramThresholdCalculatorHDUS_GetThreshold(self) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def GetThreshold(self) -> \"short const &\":\n return _itkHistogramThresholdCalculatorPython.itkHistogramThresholdCalculatorHDSS_GetThreshold(self)",
"def GetThreshold(self) -> \"unsigned short const &\":\n return _itkHistogramThresholdCalculatorPython.itkHistogramThresholdCalculatorHFUS_GetThresho... | [
"0.86350787",
"0.86271006",
"0.85272",
"0.82512534",
"0.82486516",
"0.8070507",
"0.80470586",
"0.7455691",
"0.6783254",
"0.6653904",
"0.65263647",
"0.65263647",
"0.6482417",
"0.6478763",
"0.6447677",
"0.6447677",
"0.6447677",
"0.6447677",
"0.6447677",
"0.6445873",
"0.64363384... | 0.8825859 | 0 |
cast(itkLightObject obj) > itkHistogramThresholdCalculatorHDUS | def cast(obj: 'itkLightObject') -> "itkHistogramThresholdCalculatorHDUS *":
return _itkHistogramThresholdCalculatorPython.itkHistogramThresholdCalculatorHDUS_cast(obj) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def itkHistogramThresholdCalculatorHDUS_cast(obj: 'itkLightObject') -> \"itkHistogramThresholdCalculatorHDUS *\":\n return _itkHistogramThresholdCalculatorPython.itkHistogramThresholdCalculatorHDUS_cast(obj)",
"def cast(obj: 'itkLightObject') -> \"itkHistogramThresholdCalculatorHFF *\":\n return _itkHi... | [
"0.8041488",
"0.77552015",
"0.7716036",
"0.7703266",
"0.7675279",
"0.76680875",
"0.76125824",
"0.7599281",
"0.75623584",
"0.7533068",
"0.75159174",
"0.750841",
"0.74515104",
"0.7426334",
"0.7335127",
"0.7208632",
"0.7188657",
"0.7161619",
"0.7143836",
"0.7066756",
"0.7055615"... | 0.80456454 | 0 |
New() > itkHistogramThresholdCalculatorHDUS Create a new object of the class itkHistogramThresholdCalculatorHDUS and set the input and the parameters if some named or nonnamed arguments are passed to that method. New() tries to assign all the non named parameters to the input of the new objects the first non named para... | def New(*args, **kargs):
obj = itkHistogramThresholdCalculatorHDUS.__New_orig__()
import itkTemplate
itkTemplate.New(obj, *args, **kargs)
return obj | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def New(*args, **kargs):\n obj = itkHistogramThresholdCalculatorHDSS.__New_orig__()\n import itkTemplate\n itkTemplate.New(obj, *args, **kargs)\n return obj",
"def New(*args, **kargs):\n obj = itkHistogramThresholdCalculatorHDUC.__New_orig__()\n import itkTemplate\n ... | [
"0.7671753",
"0.76637626",
"0.74839914",
"0.741419",
"0.7175962",
"0.7050188",
"0.70409256",
"0.701549",
"0.69791365",
"0.691668",
"0.6871412",
"0.66760963",
"0.66546965",
"0.66410017",
"0.65923977",
"0.6579836",
"0.657928",
"0.657674",
"0.6573243",
"0.64327985",
"0.6381379",... | 0.8038236 | 0 |
itkHistogramThresholdCalculatorHDUS_cast(itkLightObject obj) > itkHistogramThresholdCalculatorHDUS | def itkHistogramThresholdCalculatorHDUS_cast(obj: 'itkLightObject') -> "itkHistogramThresholdCalculatorHDUS *":
return _itkHistogramThresholdCalculatorPython.itkHistogramThresholdCalculatorHDUS_cast(obj) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def cast(obj: 'itkLightObject') -> \"itkHistogramThresholdCalculatorHDUS *\":\n return _itkHistogramThresholdCalculatorPython.itkHistogramThresholdCalculatorHDUS_cast(obj)",
"def itkHistogramThresholdCalculatorHFUS_cast(obj: 'itkLightObject') -> \"itkHistogramThresholdCalculatorHFUS *\":\n return _itkH... | [
"0.82419014",
"0.7881654",
"0.7825878",
"0.7795409",
"0.77586555",
"0.7714168",
"0.77028733",
"0.7698147",
"0.76626617",
"0.7660675",
"0.7643192",
"0.76397765",
"0.7572739",
"0.7518654",
"0.7489742",
"0.7451035",
"0.74340636",
"0.71836776",
"0.7167064",
"0.71387833",
"0.71309... | 0.8485633 | 0 |
Clone(itkHistogramThresholdCalculatorHFF self) > itkHistogramThresholdCalculatorHFF_Pointer | def Clone(self) -> "itkHistogramThresholdCalculatorHFF_Pointer":
return _itkHistogramThresholdCalculatorPython.itkHistogramThresholdCalculatorHFF_Clone(self) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def Clone(self) -> \"itkHistogramThresholdCalculatorHFUC_Pointer\":\n return _itkHistogramThresholdCalculatorPython.itkHistogramThresholdCalculatorHFUC_Clone(self)",
"def Clone(self) -> \"itkHistogramThresholdCalculatorHFSS_Pointer\":\n return _itkHistogramThresholdCalculatorPython.itkHistogramThre... | [
"0.87986153",
"0.8706439",
"0.8681247",
"0.8643015",
"0.8616377",
"0.8217713",
"0.7987476",
"0.7970369",
"0.79651517",
"0.78203225",
"0.7794644",
"0.7790979",
"0.77092445",
"0.7656966",
"0.76531655",
"0.7645553",
"0.76303583",
"0.75827914",
"0.75526994",
"0.7525611",
"0.74755... | 0.93332183 | 0 |
SetInput(itkHistogramThresholdCalculatorHFF self, itkHistogramF input) | def SetInput(self, input: 'itkHistogramF') -> "void":
return _itkHistogramThresholdCalculatorPython.itkHistogramThresholdCalculatorHFF_SetInput(self, input) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def GetInput(self) -> \"itkHistogramF const *\":\n return _itkHistogramThresholdCalculatorPython.itkHistogramThresholdCalculatorHFF_GetInput(self)",
"def SetInput(self, input: 'itkHistogramF') -> \"void\":\n return _itkHistogramThresholdCalculatorPython.itkHistogramThresholdCalculatorHFUC_SetInput(... | [
"0.8345551",
"0.8185819",
"0.80411214",
"0.7984224",
"0.79813075",
"0.7925304",
"0.785077",
"0.7743449",
"0.7385842",
"0.7381586",
"0.73495907",
"0.7293156",
"0.72636324",
"0.7232295",
"0.72286433",
"0.7215143",
"0.70663875",
"0.6968442",
"0.6907008",
"0.6884551",
"0.676224",... | 0.8646758 | 0 |
GetInput(itkHistogramThresholdCalculatorHFF self) > itkHistogramF | def GetInput(self) -> "itkHistogramF const *":
return _itkHistogramThresholdCalculatorPython.itkHistogramThresholdCalculatorHFF_GetInput(self) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def GetInput(self) -> \"itkHistogramF const *\":\n return _itkHistogramThresholdCalculatorPython.itkHistogramThresholdCalculatorHFUC_GetInput(self)",
"def GetInput(self) -> \"itkHistogramF const *\":\n return _itkHistogramThresholdCalculatorPython.itkHistogramThresholdCalculatorHFUS_GetInput(self)"... | [
"0.8297321",
"0.82195807",
"0.81141996",
"0.78120404",
"0.78052044",
"0.77097",
"0.7595093",
"0.75448805",
"0.74465775",
"0.73543847",
"0.7339621",
"0.73282504",
"0.7297569",
"0.72963023",
"0.7281923",
"0.72471327",
"0.7195347",
"0.7122864",
"0.7118233",
"0.710218",
"0.708506... | 0.85593444 | 0 |
GetOutput(itkHistogramThresholdCalculatorHFF self) > itkSimpleDataObjectDecoratorF | def GetOutput(self) -> "itkSimpleDataObjectDecoratorF *":
return _itkHistogramThresholdCalculatorPython.itkHistogramThresholdCalculatorHFF_GetOutput(self) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def GetOutput(self) -> \"itkSimpleDataObjectDecoratorF *\":\n return _itkHistogramThresholdCalculatorPython.itkHistogramThresholdCalculatorHDF_GetOutput(self)",
"def GetOutput(self) -> \"itkSimpleDataObjectDecoratorUC *\":\n return _itkHistogramThresholdCalculatorPython.itkHistogramThresholdCalcula... | [
"0.82625526",
"0.7794872",
"0.77910733",
"0.7742468",
"0.7537901",
"0.7486408",
"0.74030805",
"0.73987806",
"0.7368899",
"0.73111916",
"0.72712547",
"0.71533436",
"0.7101531",
"0.70860934",
"0.70240766",
"0.6992546",
"0.6984336",
"0.6963333",
"0.6887528",
"0.688305",
"0.68348... | 0.8562968 | 0 |
cast(itkLightObject obj) > itkHistogramThresholdCalculatorHFF | def cast(obj: 'itkLightObject') -> "itkHistogramThresholdCalculatorHFF *":
return _itkHistogramThresholdCalculatorPython.itkHistogramThresholdCalculatorHFF_cast(obj) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def itkHistogramThresholdCalculatorHFF_cast(obj: 'itkLightObject') -> \"itkHistogramThresholdCalculatorHFF *\":\n return _itkHistogramThresholdCalculatorPython.itkHistogramThresholdCalculatorHFF_cast(obj)",
"def cast(obj: 'itkLightObject') -> \"itkHistogramThresholdCalculatorHDF *\":\n return _itkHisto... | [
"0.85427374",
"0.8125025",
"0.8118344",
"0.79960245",
"0.7954855",
"0.7924645",
"0.78693867",
"0.7865285",
"0.7810013",
"0.78057283",
"0.77541566",
"0.7677431",
"0.75110245",
"0.7487125",
"0.74794525",
"0.7444733",
"0.7440603",
"0.74125975",
"0.73978007",
"0.7385728",
"0.7381... | 0.84473425 | 1 |
itkHistogramThresholdCalculatorHFF_cast(itkLightObject obj) > itkHistogramThresholdCalculatorHFF | def itkHistogramThresholdCalculatorHFF_cast(obj: 'itkLightObject') -> "itkHistogramThresholdCalculatorHFF *":
return _itkHistogramThresholdCalculatorPython.itkHistogramThresholdCalculatorHFF_cast(obj) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def cast(obj: 'itkLightObject') -> \"itkHistogramThresholdCalculatorHFF *\":\n return _itkHistogramThresholdCalculatorPython.itkHistogramThresholdCalculatorHFF_cast(obj)",
"def itkHistogramThresholdCalculatorHDF_cast(obj: 'itkLightObject') -> \"itkHistogramThresholdCalculatorHDF *\":\n return _itkHisto... | [
"0.8665566",
"0.833314",
"0.8302629",
"0.8251016",
"0.8164938",
"0.815643",
"0.8141846",
"0.8096763",
"0.8046047",
"0.8005474",
"0.7991851",
"0.7755425",
"0.7672024",
"0.76554537",
"0.7642181",
"0.7575818",
"0.7560682",
"0.75489175",
"0.7473428",
"0.7466837",
"0.74555326",
... | 0.887191 | 0 |
Clone(itkHistogramThresholdCalculatorHFSS self) > itkHistogramThresholdCalculatorHFSS_Pointer | def Clone(self) -> "itkHistogramThresholdCalculatorHFSS_Pointer":
return _itkHistogramThresholdCalculatorPython.itkHistogramThresholdCalculatorHFSS_Clone(self) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def Clone(self) -> \"itkHistogramThresholdCalculatorHFUS_Pointer\":\n return _itkHistogramThresholdCalculatorPython.itkHistogramThresholdCalculatorHFUS_Clone(self)",
"def Clone(self) -> \"itkIsoDataThresholdCalculatorHFSS_Pointer\":\n return _itkIsoDataThresholdCalculatorPython.itkIsoDataThresholdC... | [
"0.87746346",
"0.86731005",
"0.8616037",
"0.8614168",
"0.8585513",
"0.81426466",
"0.81219214",
"0.8071674",
"0.80502194",
"0.7984825",
"0.7810134",
"0.76362383",
"0.7580702",
"0.75155234",
"0.7458459",
"0.743928",
"0.7401895",
"0.73765266",
"0.7353021",
"0.7350089",
"0.727443... | 0.9284892 | 0 |
SetInput(itkHistogramThresholdCalculatorHFSS self, itkHistogramF input) | def SetInput(self, input: 'itkHistogramF') -> "void":
return _itkHistogramThresholdCalculatorPython.itkHistogramThresholdCalculatorHFSS_SetInput(self, input) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def SetInput(self, input: 'itkHistogramF') -> \"void\":\n return _itkHistogramThresholdCalculatorPython.itkHistogramThresholdCalculatorHFF_SetInput(self, input)",
"def SetInput(self, input: 'itkHistogramF') -> \"void\":\n return _itkHistogramThresholdCalculatorPython.itkHistogramThresholdCalculator... | [
"0.84113276",
"0.8322815",
"0.8280212",
"0.8251398",
"0.80543035",
"0.80043304",
"0.7956668",
"0.76590145",
"0.7457527",
"0.73224854",
"0.72273576",
"0.7206223",
"0.71101326",
"0.7098861",
"0.70740825",
"0.706405",
"0.6999872",
"0.68601096",
"0.6813283",
"0.6797242",
"0.67567... | 0.8676142 | 0 |
GetInput(itkHistogramThresholdCalculatorHFSS self) > itkHistogramF | def GetInput(self) -> "itkHistogramF const *":
return _itkHistogramThresholdCalculatorPython.itkHistogramThresholdCalculatorHFSS_GetInput(self) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def GetInput(self) -> \"itkHistogramF const *\":\n return _itkHistogramThresholdCalculatorPython.itkHistogramThresholdCalculatorHFF_GetInput(self)",
"def GetInput(self) -> \"itkHistogramF const *\":\n return _itkHistogramThresholdCalculatorPython.itkHistogramThresholdCalculatorHFUC_GetInput(self)",... | [
"0.82850426",
"0.82096744",
"0.81953156",
"0.75605977",
"0.75541776",
"0.7534776",
"0.7485705",
"0.7478599",
"0.7434578",
"0.7334022",
"0.7281614",
"0.7210834",
"0.7174059",
"0.7144504",
"0.71354365",
"0.7068251",
"0.7062242",
"0.7024738",
"0.6932853",
"0.69163054",
"0.689481... | 0.8295606 | 0 |
GetOutput(itkHistogramThresholdCalculatorHFSS self) > itkSimpleDataObjectDecoratorSS | def GetOutput(self) -> "itkSimpleDataObjectDecoratorSS *":
return _itkHistogramThresholdCalculatorPython.itkHistogramThresholdCalculatorHFSS_GetOutput(self) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def GetOutput(self) -> \"itkSimpleDataObjectDecoratorF *\":\n return _itkHistogramThresholdCalculatorPython.itkHistogramThresholdCalculatorHFF_GetOutput(self)",
"def GetOutput(self) -> \"itkSimpleDataObjectDecoratorSS *\":\n return _itkHistogramThresholdCalculatorPython.itkHistogramThresholdCalcula... | [
"0.8130836",
"0.8127512",
"0.8002515",
"0.79658455",
"0.7796433",
"0.7758983",
"0.72385186",
"0.71989363",
"0.7076338",
"0.69809085",
"0.6863585",
"0.68162245",
"0.67784715",
"0.67645115",
"0.6748328",
"0.67457086",
"0.67168564",
"0.66975033",
"0.6683761",
"0.6658102",
"0.665... | 0.8380796 | 0 |
GetThreshold(itkHistogramThresholdCalculatorHFSS self) > short const & | def GetThreshold(self) -> "short const &":
return _itkHistogramThresholdCalculatorPython.itkHistogramThresholdCalculatorHFSS_GetThreshold(self) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def GetThreshold(self) -> \"short const &\":\n return _itkHistogramThresholdCalculatorPython.itkHistogramThresholdCalculatorHDSS_GetThreshold(self)",
"def GetThreshold(self) -> \"unsigned short const &\":\n return _itkHistogramThresholdCalculatorPython.itkHistogramThresholdCalculatorHFUS_GetThresho... | [
"0.86768913",
"0.8631402",
"0.842889",
"0.82494897",
"0.8219138",
"0.8053724",
"0.78144604",
"0.73701346",
"0.6714306",
"0.6626488",
"0.6599459",
"0.65011305",
"0.64955217",
"0.6487012",
"0.6465194",
"0.6465194",
"0.6465194",
"0.6465194",
"0.6465194",
"0.64355",
"0.63425404",... | 0.89851034 | 0 |
cast(itkLightObject obj) > itkHistogramThresholdCalculatorHFSS | def cast(obj: 'itkLightObject') -> "itkHistogramThresholdCalculatorHFSS *":
return _itkHistogramThresholdCalculatorPython.itkHistogramThresholdCalculatorHFSS_cast(obj) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def itkHistogramThresholdCalculatorHFSS_cast(obj: 'itkLightObject') -> \"itkHistogramThresholdCalculatorHFSS *\":\n return _itkHistogramThresholdCalculatorPython.itkHistogramThresholdCalculatorHFSS_cast(obj)",
"def itkHistogramThresholdCalculatorHFF_cast(obj: 'itkLightObject') -> \"itkHistogramThresholdCalcul... | [
"0.82636493",
"0.82266885",
"0.8202087",
"0.8085375",
"0.8063425",
"0.7984142",
"0.79709387",
"0.7964017",
"0.7914003",
"0.7831058",
"0.78076565",
"0.7721945",
"0.768453",
"0.7670075",
"0.7642706",
"0.7505278",
"0.746781",
"0.7451477",
"0.7395508",
"0.7393444",
"0.7344117",
... | 0.820379 | 2 |
New() > itkHistogramThresholdCalculatorHFSS Create a new object of the class itkHistogramThresholdCalculatorHFSS and set the input and the parameters if some named or nonnamed arguments are passed to that method. New() tries to assign all the non named parameters to the input of the new objects the first non named para... | def New(*args, **kargs):
obj = itkHistogramThresholdCalculatorHFSS.__New_orig__()
import itkTemplate
itkTemplate.New(obj, *args, **kargs)
return obj | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def New(*args, **kargs):\n obj = itkIsoDataThresholdCalculatorHFSS.__New_orig__()\n import itkTemplate\n itkTemplate.New(obj, *args, **kargs)\n return obj",
"def New(*args, **kargs):\n obj = itkHistogramThresholdCalculatorHFUS.__New_orig__()\n import itkTemplate\n ... | [
"0.7805379",
"0.77605647",
"0.77065873",
"0.7500799",
"0.7428085",
"0.72885126",
"0.7185875",
"0.7131539",
"0.70975196",
"0.70172656",
"0.69718814",
"0.68278027",
"0.66995007",
"0.6636293",
"0.6570962",
"0.65458643",
"0.65023994",
"0.6498743",
"0.64773285",
"0.64121044",
"0.6... | 0.82470804 | 0 |
itkHistogramThresholdCalculatorHFSS_cast(itkLightObject obj) > itkHistogramThresholdCalculatorHFSS | def itkHistogramThresholdCalculatorHFSS_cast(obj: 'itkLightObject') -> "itkHistogramThresholdCalculatorHFSS *":
return _itkHistogramThresholdCalculatorPython.itkHistogramThresholdCalculatorHFSS_cast(obj) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def cast(obj: 'itkLightObject') -> \"itkHistogramThresholdCalculatorHFSS *\":\n return _itkHistogramThresholdCalculatorPython.itkHistogramThresholdCalculatorHFSS_cast(obj)",
"def itkHistogramThresholdCalculatorHFF_cast(obj: 'itkLightObject') -> \"itkHistogramThresholdCalculatorHFF *\":\n return _itkHis... | [
"0.8385072",
"0.832406",
"0.8268112",
"0.8213666",
"0.81736165",
"0.81679124",
"0.8055587",
"0.7965512",
"0.79386467",
"0.7936704",
"0.79177594",
"0.7816066",
"0.77992916",
"0.7776273",
"0.7756639",
"0.77203315",
"0.7683889",
"0.75414914",
"0.74981636",
"0.7442045",
"0.740195... | 0.85875255 | 0 |
Clone(itkHistogramThresholdCalculatorHFUC self) > itkHistogramThresholdCalculatorHFUC_Pointer | def Clone(self) -> "itkHistogramThresholdCalculatorHFUC_Pointer":
return _itkHistogramThresholdCalculatorPython.itkHistogramThresholdCalculatorHFUC_Clone(self) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def Clone(self) -> \"itkHistogramThresholdCalculatorHFUS_Pointer\":\n return _itkHistogramThresholdCalculatorPython.itkHistogramThresholdCalculatorHFUS_Clone(self)",
"def Clone(self) -> \"itkIsoDataThresholdCalculatorHFUC_Pointer\":\n return _itkIsoDataThresholdCalculatorPython.itkIsoDataThresholdC... | [
"0.89517516",
"0.86765563",
"0.85419434",
"0.84284455",
"0.8167896",
"0.8086846",
"0.79913396",
"0.79374146",
"0.7875914",
"0.78338987",
"0.76980555",
"0.7629735",
"0.7481861",
"0.7465061",
"0.74496096",
"0.7447864",
"0.73748183",
"0.73545206",
"0.7336656",
"0.7335791",
"0.73... | 0.9250396 | 0 |
SetInput(itkHistogramThresholdCalculatorHFUC self, itkHistogramF input) | def SetInput(self, input: 'itkHistogramF') -> "void":
return _itkHistogramThresholdCalculatorPython.itkHistogramThresholdCalculatorHFUC_SetInput(self, input) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def SetInput(self, input: 'itkHistogramF') -> \"void\":\n return _itkHistogramThresholdCalculatorPython.itkHistogramThresholdCalculatorHFUS_SetInput(self, input)",
"def GetInput(self) -> \"itkHistogramF const *\":\n return _itkHistogramThresholdCalculatorPython.itkHistogramThresholdCalculatorHFUC_G... | [
"0.8431948",
"0.8397067",
"0.8334335",
"0.8152681",
"0.810875",
"0.8049652",
"0.7882919",
"0.7424728",
"0.7266388",
"0.7260831",
"0.7231404",
"0.7171036",
"0.7161553",
"0.7038093",
"0.6973789",
"0.6944705",
"0.6942732",
"0.6911291",
"0.6910686",
"0.6873833",
"0.6843836",
"0... | 0.87547314 | 0 |
GetInput(itkHistogramThresholdCalculatorHFUC self) > itkHistogramF | def GetInput(self) -> "itkHistogramF const *":
return _itkHistogramThresholdCalculatorPython.itkHistogramThresholdCalculatorHFUC_GetInput(self) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def GetInput(self) -> \"itkHistogramF const *\":\n return _itkHistogramThresholdCalculatorPython.itkHistogramThresholdCalculatorHFF_GetInput(self)",
"def GetInput(self) -> \"itkHistogramF const *\":\n return _itkHistogramThresholdCalculatorPython.itkHistogramThresholdCalculatorHFUS_GetInput(self)",... | [
"0.8338332",
"0.8306491",
"0.8080923",
"0.7850638",
"0.7527735",
"0.7512974",
"0.7493738",
"0.74864006",
"0.74265486",
"0.73873943",
"0.72904545",
"0.72036666",
"0.7185184",
"0.71294993",
"0.7116439",
"0.7089402",
"0.70886993",
"0.6942118",
"0.69378906",
"0.6930755",
"0.69245... | 0.8513392 | 0 |
GetOutput(itkHistogramThresholdCalculatorHFUC self) > itkSimpleDataObjectDecoratorUC | def GetOutput(self) -> "itkSimpleDataObjectDecoratorUC *":
return _itkHistogramThresholdCalculatorPython.itkHistogramThresholdCalculatorHFUC_GetOutput(self) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def GetOutput(self) -> \"itkSimpleDataObjectDecoratorUS *\":\n return _itkHistogramThresholdCalculatorPython.itkHistogramThresholdCalculatorHFUS_GetOutput(self)",
"def GetOutput(self) -> \"itkSimpleDataObjectDecoratorF *\":\n return _itkHistogramThresholdCalculatorPython.itkHistogramThresholdCalcul... | [
"0.80203086",
"0.799112",
"0.78472066",
"0.7603795",
"0.7585312",
"0.74974287",
"0.7447356",
"0.7377938",
"0.7168593",
"0.7045747",
"0.69969445",
"0.69819754",
"0.69708306",
"0.6949988",
"0.6941649",
"0.6885157",
"0.68367887",
"0.6757159",
"0.67479336",
"0.673743",
"0.6725834... | 0.84114003 | 0 |
GetThreshold(itkHistogramThresholdCalculatorHFUC self) > unsigned char const & | def GetThreshold(self) -> "unsigned char const &":
return _itkHistogramThresholdCalculatorPython.itkHistogramThresholdCalculatorHFUC_GetThreshold(self) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def GetThreshold(self) -> \"unsigned char const &\":\n return _itkHistogramThresholdCalculatorPython.itkHistogramThresholdCalculatorHDUC_GetThreshold(self)",
"def GetThreshold(self) -> \"unsigned short const &\":\n return _itkHistogramThresholdCalculatorPython.itkHistogramThresholdCalculatorHFUS_Ge... | [
"0.84491986",
"0.8264169",
"0.81213826",
"0.80868274",
"0.79327816",
"0.7896448",
"0.7633673",
"0.7483497",
"0.7157281",
"0.7090922",
"0.6970415",
"0.69288737",
"0.69258523",
"0.6895115",
"0.667732",
"0.657236",
"0.6544731",
"0.65382653",
"0.64663345",
"0.6438865",
"0.6425742... | 0.8988381 | 0 |
cast(itkLightObject obj) > itkHistogramThresholdCalculatorHFUC | def cast(obj: 'itkLightObject') -> "itkHistogramThresholdCalculatorHFUC *":
return _itkHistogramThresholdCalculatorPython.itkHistogramThresholdCalculatorHFUC_cast(obj) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def itkHistogramThresholdCalculatorHFUC_cast(obj: 'itkLightObject') -> \"itkHistogramThresholdCalculatorHFUC *\":\n return _itkHistogramThresholdCalculatorPython.itkHistogramThresholdCalculatorHFUC_cast(obj)",
"def cast(obj: 'itkLightObject') -> \"itkHistogramThresholdCalculatorHFF *\":\n return _itkHi... | [
"0.84461623",
"0.8225038",
"0.82175255",
"0.81636626",
"0.81484914",
"0.789238",
"0.78372604",
"0.7796451",
"0.7774412",
"0.77489424",
"0.7734492",
"0.7722685",
"0.7644109",
"0.7616398",
"0.7600669",
"0.7569187",
"0.7515242",
"0.7315388",
"0.7306658",
"0.7304385",
"0.72941893... | 0.8319928 | 1 |
New() > itkHistogramThresholdCalculatorHFUC Create a new object of the class itkHistogramThresholdCalculatorHFUC and set the input and the parameters if some named or nonnamed arguments are passed to that method. New() tries to assign all the non named parameters to the input of the new objects the first non named para... | def New(*args, **kargs):
obj = itkHistogramThresholdCalculatorHFUC.__New_orig__()
import itkTemplate
itkTemplate.New(obj, *args, **kargs)
return obj | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def New(*args, **kargs):\n obj = itkHistogramThresholdCalculatorHFUS.__New_orig__()\n import itkTemplate\n itkTemplate.New(obj, *args, **kargs)\n return obj",
"def New(*args, **kargs):\n obj = itkIsoDataThresholdCalculatorHFUC.__New_orig__()\n import itkTemplate\n ... | [
"0.8063295",
"0.79634744",
"0.76980114",
"0.765602",
"0.7464412",
"0.74124044",
"0.74103945",
"0.7169963",
"0.71255434",
"0.70075655",
"0.6921804",
"0.6897468",
"0.6858696",
"0.6846386",
"0.67907435",
"0.6752249",
"0.6698387",
"0.66837347",
"0.66803235",
"0.66611934",
"0.6611... | 0.836911 | 0 |
itkHistogramThresholdCalculatorHFUC_cast(itkLightObject obj) > itkHistogramThresholdCalculatorHFUC | def itkHistogramThresholdCalculatorHFUC_cast(obj: 'itkLightObject') -> "itkHistogramThresholdCalculatorHFUC *":
return _itkHistogramThresholdCalculatorPython.itkHistogramThresholdCalculatorHFUC_cast(obj) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def cast(obj: 'itkLightObject') -> \"itkHistogramThresholdCalculatorHFUC *\":\n return _itkHistogramThresholdCalculatorPython.itkHistogramThresholdCalculatorHFUC_cast(obj)",
"def itkHistogramThresholdCalculatorHFUS_cast(obj: 'itkLightObject') -> \"itkHistogramThresholdCalculatorHFUS *\":\n return _itkH... | [
"0.850037",
"0.8389833",
"0.832961",
"0.8252749",
"0.824644",
"0.8091211",
"0.7930467",
"0.79184514",
"0.791153",
"0.78578055",
"0.7839024",
"0.7737161",
"0.7728992",
"0.77093387",
"0.76992285",
"0.7697037",
"0.7637055",
"0.7497372",
"0.7419315",
"0.7276814",
"0.7261951",
"... | 0.8758859 | 0 |
Clone(itkHistogramThresholdCalculatorHFUS self) > itkHistogramThresholdCalculatorHFUS_Pointer | def Clone(self) -> "itkHistogramThresholdCalculatorHFUS_Pointer":
return _itkHistogramThresholdCalculatorPython.itkHistogramThresholdCalculatorHFUS_Clone(self) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def Clone(self) -> \"itkHistogramThresholdCalculatorHFUC_Pointer\":\n return _itkHistogramThresholdCalculatorPython.itkHistogramThresholdCalculatorHFUC_Clone(self)",
"def Clone(self) -> \"itkHistogramThresholdCalculatorHFSS_Pointer\":\n return _itkHistogramThresholdCalculatorPython.itkHistogramThre... | [
"0.8872397",
"0.86554533",
"0.8512672",
"0.84207237",
"0.83991915",
"0.82641685",
"0.8036663",
"0.79491884",
"0.790441",
"0.7817621",
"0.7718426",
"0.77022815",
"0.75888544",
"0.75651485",
"0.74969834",
"0.7413308",
"0.7347598",
"0.7331429",
"0.7327598",
"0.7255297",
"0.72494... | 0.92012924 | 0 |
SetInput(itkHistogramThresholdCalculatorHFUS self, itkHistogramF input) | def SetInput(self, input: 'itkHistogramF') -> "void":
return _itkHistogramThresholdCalculatorPython.itkHistogramThresholdCalculatorHFUS_SetInput(self, input) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def SetInput(self, input: 'itkHistogramF') -> \"void\":\n return _itkHistogramThresholdCalculatorPython.itkHistogramThresholdCalculatorHFUC_SetInput(self, input)",
"def SetInput(self, input: 'itkHistogramF') -> \"void\":\n return _itkHistogramThresholdCalculatorPython.itkHistogramThresholdCalculato... | [
"0.86280596",
"0.84661764",
"0.83677065",
"0.82435507",
"0.8204841",
"0.8099192",
"0.8022126",
"0.76387835",
"0.7386208",
"0.72613186",
"0.7251017",
"0.72444016",
"0.7200434",
"0.70386237",
"0.7027779",
"0.7001788",
"0.6987096",
"0.696836",
"0.6937342",
"0.68607664",
"0.68009... | 0.87043107 | 0 |
GetInput(itkHistogramThresholdCalculatorHFUS self) > itkHistogramF | def GetInput(self) -> "itkHistogramF const *":
return _itkHistogramThresholdCalculatorPython.itkHistogramThresholdCalculatorHFUS_GetInput(self) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def GetInput(self) -> \"itkHistogramF const *\":\n return _itkHistogramThresholdCalculatorPython.itkHistogramThresholdCalculatorHFUC_GetInput(self)",
"def GetInput(self) -> \"itkHistogramF const *\":\n return _itkHistogramThresholdCalculatorPython.itkHistogramThresholdCalculatorHFF_GetInput(self)",... | [
"0.831212",
"0.8295901",
"0.8107395",
"0.7669629",
"0.75904757",
"0.75677586",
"0.7449853",
"0.7430745",
"0.7353334",
"0.7299118",
"0.72618735",
"0.72362363",
"0.7223032",
"0.7137886",
"0.7089583",
"0.7012469",
"0.7004587",
"0.69572425",
"0.6940337",
"0.6917612",
"0.6888056",... | 0.8299586 | 1 |
GetOutput(itkHistogramThresholdCalculatorHFUS self) > itkSimpleDataObjectDecoratorUS | def GetOutput(self) -> "itkSimpleDataObjectDecoratorUS *":
return _itkHistogramThresholdCalculatorPython.itkHistogramThresholdCalculatorHFUS_GetOutput(self) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def GetOutput(self) -> \"itkSimpleDataObjectDecoratorF *\":\n return _itkHistogramThresholdCalculatorPython.itkHistogramThresholdCalculatorHFF_GetOutput(self)",
"def GetOutput(self) -> \"itkSimpleDataObjectDecoratorUC *\":\n return _itkHistogramThresholdCalculatorPython.itkHistogramThresholdCalcula... | [
"0.80955464",
"0.79823834",
"0.7936252",
"0.78685534",
"0.7843546",
"0.74833447",
"0.74818957",
"0.70700395",
"0.6916311",
"0.6902333",
"0.6891538",
"0.6821751",
"0.6821299",
"0.679559",
"0.67885095",
"0.6753626",
"0.6736736",
"0.67170674",
"0.6672991",
"0.6639474",
"0.663645... | 0.82568985 | 0 |
GetThreshold(itkHistogramThresholdCalculatorHFUS self) > unsigned short const & | def GetThreshold(self) -> "unsigned short const &":
return _itkHistogramThresholdCalculatorPython.itkHistogramThresholdCalculatorHFUS_GetThreshold(self) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def GetThreshold(self) -> \"short const &\":\n return _itkHistogramThresholdCalculatorPython.itkHistogramThresholdCalculatorHFSS_GetThreshold(self)",
"def GetThreshold(self) -> \"unsigned short const &\":\n return _itkHistogramThresholdCalculatorPython.itkHistogramThresholdCalculatorHDUS_GetThresho... | [
"0.8688392",
"0.8573413",
"0.8486487",
"0.8291521",
"0.82593584",
"0.80759364",
"0.8030731",
"0.7330607",
"0.69813424",
"0.69358987",
"0.6728641",
"0.67085993",
"0.668846",
"0.66746265",
"0.6667456",
"0.65281004",
"0.6503931",
"0.64654845",
"0.64221406",
"0.64221406",
"0.6422... | 0.8854744 | 0 |
cast(itkLightObject obj) > itkHistogramThresholdCalculatorHFUS | def cast(obj: 'itkLightObject') -> "itkHistogramThresholdCalculatorHFUS *":
return _itkHistogramThresholdCalculatorPython.itkHistogramThresholdCalculatorHFUS_cast(obj) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def itkHistogramThresholdCalculatorHFUS_cast(obj: 'itkLightObject') -> \"itkHistogramThresholdCalculatorHFUS *\":\n return _itkHistogramThresholdCalculatorPython.itkHistogramThresholdCalculatorHFUS_cast(obj)",
"def cast(obj: 'itkLightObject') -> \"itkHistogramThresholdCalculatorHFF *\":\n return _itkHi... | [
"0.8265402",
"0.81894034",
"0.8183842",
"0.81542367",
"0.8095187",
"0.79198915",
"0.78887117",
"0.78628105",
"0.78612095",
"0.7782802",
"0.7756783",
"0.7639185",
"0.76211256",
"0.7539567",
"0.75240487",
"0.7512476",
"0.7457921",
"0.7442978",
"0.7431061",
"0.73487526",
"0.7347... | 0.82166797 | 1 |
New() > itkHistogramThresholdCalculatorHFUS Create a new object of the class itkHistogramThresholdCalculatorHFUS and set the input and the parameters if some named or nonnamed arguments are passed to that method. New() tries to assign all the non named parameters to the input of the new objects the first non named para... | def New(*args, **kargs):
obj = itkHistogramThresholdCalculatorHFUS.__New_orig__()
import itkTemplate
itkTemplate.New(obj, *args, **kargs)
return obj | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def New(*args, **kargs):\n obj = itkHistogramThresholdCalculatorHFUC.__New_orig__()\n import itkTemplate\n itkTemplate.New(obj, *args, **kargs)\n return obj",
"def New(*args, **kargs):\n obj = itkHistogramThresholdCalculatorHFSS.__New_orig__()\n import itkTemplate\n ... | [
"0.797152",
"0.79017866",
"0.7775497",
"0.76642245",
"0.76403934",
"0.76371855",
"0.7421371",
"0.7286185",
"0.7278912",
"0.7204706",
"0.71616113",
"0.6894981",
"0.68230265",
"0.67733544",
"0.6699982",
"0.66446245",
"0.6636608",
"0.6626957",
"0.65031534",
"0.6488182",
"0.64335... | 0.8258146 | 0 |
itkHistogramThresholdCalculatorHFUS_cast(itkLightObject obj) > itkHistogramThresholdCalculatorHFUS | def itkHistogramThresholdCalculatorHFUS_cast(obj: 'itkLightObject') -> "itkHistogramThresholdCalculatorHFUS *":
return _itkHistogramThresholdCalculatorPython.itkHistogramThresholdCalculatorHFUS_cast(obj) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def itkHistogramThresholdCalculatorHFUC_cast(obj: 'itkLightObject') -> \"itkHistogramThresholdCalculatorHFUC *\":\n return _itkHistogramThresholdCalculatorPython.itkHistogramThresholdCalculatorHFUC_cast(obj)",
"def cast(obj: 'itkLightObject') -> \"itkHistogramThresholdCalculatorHFUS *\":\n return _itkH... | [
"0.8460827",
"0.8412501",
"0.83117336",
"0.8281528",
"0.8237758",
"0.8130842",
"0.80742943",
"0.7983972",
"0.7928227",
"0.78654176",
"0.7858855",
"0.78399694",
"0.78219885",
"0.7765182",
"0.77628064",
"0.77088165",
"0.77001375",
"0.76061445",
"0.7539724",
"0.7461892",
"0.7375... | 0.8628769 | 0 |
Computes the crossentropy cost given in equation (13) | def compute_cost(A2, Y, parameters):
m = Y.shape[1] # number of example
# Compute the cross-entropy cost
logprobs = np.multiply(np.log(A2), Y)
cost = -(1/m)*(np.sum((logprobs) + np.multiply(np.log(1-A2), 1-Y)))
cost = np.squeeze(cost) # makes sure cost is the dimension we expect.
... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def get_reconstruction_cost(self, nv):\n cross_entropy = T.mean(\n T.sum(\n self.input * T.log(nv) +\n (1 - self.input) * T.log(1 - nv),\n axis=1\n )\n )\n return cross_entropy",
"def get_reconstruction_cost(self, updates, pr... | [
"0.76055557",
"0.7501212",
"0.7287926",
"0.7100716",
"0.7044549",
"0.70235336",
"0.69854295",
"0.6972657",
"0.69194007",
"0.691513",
"0.6869063",
"0.68634725",
"0.67902124",
"0.6742519",
"0.6673672",
"0.667267",
"0.66720825",
"0.6656334",
"0.662936",
"0.66060054",
"0.6587196"... | 0.683592 | 12 |
Tests whether resulting normals are always pointing upwards (positive z component). As this should happen by chance a lot already, we test many times to make sure results are positive consistently. | def test_normal_always_up(self):
z_of_normals = []
for i in range(100):
neighborhood, pc = create_point_cloud_in_plane_and_neighborhood()
z_of_normals += list(EigenValueVectorizeFeatureExtractor().extract(pc, neighborhood, None, None, None)[5])
np.testing.assert_array_les... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def near_way(self):\r\n\r\n prey_position = np.array(self.prey.position)\r\n actual_position = np.array(self.previous_data[-1])\r\n previous_position = np.array(self.previous_data[-2])\r\n\r\n difference_actual = np.linalg.norm(prey_position - actual_position)\r\n difference_prev... | [
"0.6384497",
"0.58652234",
"0.58392256",
"0.57304484",
"0.5717019",
"0.5673496",
"0.5673496",
"0.5617201",
"0.5606369",
"0.5592602",
"0.55612844",
"0.5559589",
"0.55532455",
"0.5547184",
"0.5532742",
"0.5506811",
"0.5477208",
"0.5467457",
"0.54491514",
"0.54130715",
"0.539013... | 0.7331091 | 0 |
The set of arguments for constructing a Machine resource. | def __init__(__self__, *,
resource_group_name: pulumi.Input[str],
agent_upgrade: Optional[pulumi.Input['AgentUpgradeArgs']] = None,
client_public_key: Optional[pulumi.Input[str]] = None,
extensions: Optional[pulumi.Input[Sequence[pulumi.Input['MachineE... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def __init__(__self__,\n resource_name: str,\n args: MachineArgs,\n opts: Optional[pulumi.ResourceOptions] = None):\n ...",
"def __init__(self, resource, *args):\n self.args = list(args)\n self.flags = OrderedDict()\n self.additional_flags = []\n ... | [
"0.71151084",
"0.608159",
"0.6031795",
"0.601485",
"0.5993629",
"0.59718364",
"0.5943314",
"0.5923571",
"0.5897699",
"0.58889496",
"0.58698106",
"0.581515",
"0.5800886",
"0.57955664",
"0.5785077",
"0.57791656",
"0.5771914",
"0.57528526",
"0.5738771",
"0.5728808",
"0.56996274"... | 0.57061344 | 20 |
The name of the resource group. The name is case insensitive. | def resource_group_name(self) -> pulumi.Input[str]:
return pulumi.get(self, "resource_group_name") | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def resource_group_name(self) -> str:\n return pulumi.get(self, \"resource_group_name\")",
"def group_name(self) -> str:\n return pulumi.get(self, \"group_name\")",
"def resource_group_name(self) -> pulumi.Output[str]:\n return pulumi.get(self, \"resource_group_name\")",
"def resource_gr... | [
"0.85936785",
"0.83619434",
"0.82052696",
"0.82052696",
"0.82052696",
"0.82052696",
"0.82052696",
"0.82052696",
"0.82052696",
"0.82052696",
"0.82052696",
"0.82052696",
"0.82052696",
"0.82052696",
"0.81771773",
"0.80872446",
"0.80872446",
"0.80872446",
"0.80872446",
"0.80872446"... | 0.8090017 | 46 |
The geolocation where the resource lives | def location(self) -> Optional[pulumi.Input[str]]:
return pulumi.get(self, "location") | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def get_location(self):\n\t\treturn self.location",
"def get_location(self):\n return self.location",
"def get_location(self):\n return self.location",
"def get_location(self):\r\n return self.__location",
"def get_location(self):\r\n return None",
"def getLocation(self):\n ... | [
"0.816298",
"0.7999453",
"0.79540074",
"0.7945644",
"0.78364915",
"0.77626437",
"0.7730134",
"0.7681095",
"0.7624169",
"0.76093256",
"0.76093256",
"0.75724584",
"0.75544393",
"0.7547195",
"0.75165695",
"0.74507827",
"0.74267685",
"0.7419033",
"0.7419033",
"0.7419033",
"0.7419... | 0.0 | -1 |
Metadata pertaining to the geographic location of the resource. | def location_data(self) -> Optional[pulumi.Input['LocationDataArgs']]:
return pulumi.get(self, "location_data") | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def location_info(self) -> LocationInfoIm:\n return self._location_info",
"def location(self) -> str:\n return self.metadata.location",
"def location(self):\r\n return self._get('location', {})",
"def location(self):\n return self.geometry.location",
"def get_location(self):\n\t... | [
"0.7129173",
"0.7104616",
"0.70088",
"0.6821807",
"0.6727983",
"0.6712844",
"0.67039293",
"0.6673566",
"0.66695726",
"0.6666784",
"0.66390955",
"0.66269535",
"0.66269535",
"0.66269535",
"0.66269535",
"0.66269535",
"0.66269535",
"0.66269535",
"0.66269535",
"0.66269535",
"0.662... | 0.60626256 | 91 |
Specifies the hybrid machine display name. | def display_name(self) -> pulumi.Output[str]:
return pulumi.get(self, "display_name") | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def configure(self, manager):\n success, display = manager.c.eval(\"self.core.display_name\")\n assert success\n self.env[\"WAYLAND_DISPLAY\"] = display",
"def set_display_name(self, display_name):\n self._call('set_display_name', display_name=display_name)",
"def display_name(self,... | [
"0.7113256",
"0.7066831",
"0.67425835",
"0.67425835",
"0.67425835",
"0.67425835",
"0.67425835",
"0.67425835",
"0.67360586",
"0.65840197",
"0.6553229",
"0.6553229",
"0.6553229",
"0.6553229",
"0.6553229",
"0.6553229",
"0.6381137",
"0.6322497",
"0.621934",
"0.615794",
"0.6086013... | 0.55908495 | 97 |
The geolocation where the resource lives | def location(self) -> pulumi.Output[str]:
return pulumi.get(self, "location") | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def get_location(self):\n\t\treturn self.location",
"def get_location(self):\n return self.location",
"def get_location(self):\n return self.location",
"def get_location(self):\r\n return self.__location",
"def get_location(self):\r\n return None",
"def getLocation(self):\n ... | [
"0.8161798",
"0.7997874",
"0.7954063",
"0.7944226",
"0.7835242",
"0.7761241",
"0.77294546",
"0.7679306",
"0.7622524",
"0.7607819",
"0.7607819",
"0.7571947",
"0.75542605",
"0.7545127",
"0.7515215",
"0.7449363",
"0.74258864",
"0.74169964",
"0.74169964",
"0.74169964",
"0.7416996... | 0.6881992 | 74 |
Metadata pertaining to the geographic location of the resource. | def location_data(self) -> pulumi.Output[Optional['outputs.LocationDataResponse']]:
return pulumi.get(self, "location_data") | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def location_info(self) -> LocationInfoIm:\n return self._location_info",
"def location(self) -> str:\n return self.metadata.location",
"def location(self):\r\n return self._get('location', {})",
"def location(self):\n return self.geometry.location",
"def get_location(self):\n\t... | [
"0.7129173",
"0.7104616",
"0.70088",
"0.6821807",
"0.6727983",
"0.6712844",
"0.67039293",
"0.6673566",
"0.66695726",
"0.6666784",
"0.66390955",
"0.66269535",
"0.66269535",
"0.66269535",
"0.66269535",
"0.66269535",
"0.66269535",
"0.66269535",
"0.66269535",
"0.66269535",
"0.662... | 0.0 | -1 |
Specifies the Operating System product SKU. | def os_sku(self) -> pulumi.Output[str]:
return pulumi.get(self, "os_sku") | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def sku(self) -> pulumi.Input['LabVirtualMachineSkuArgs']:\n return pulumi.get(self, \"sku\")",
"def sku(self, sku):\n\n self._sku = sku",
"def os_sku(self) -> Optional[pulumi.Input[Union[str, 'OSSKU']]]:\n return pulumi.get(self, \"os_sku\")",
"def sku(self) -> Optional[pulumi.Input['Ev... | [
"0.6835083",
"0.66742295",
"0.666913",
"0.66090524",
"0.65726024",
"0.65044457",
"0.65044457",
"0.64953846",
"0.6379483",
"0.6362421",
"0.6356161",
"0.63087",
"0.63087",
"0.6236497",
"0.6182134",
"0.6182134",
"0.6182134",
"0.6105247",
"0.6105247",
"0.60547197",
"0.60481846",
... | 0.65892667 | 4 |
The version of Operating System running on the hybrid machine. | def os_version(self) -> pulumi.Output[str]:
return pulumi.get(self, "os_version") | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def version():\n cmd = \"{} -v\".format(_detect_os())\n out = __salt__[\"cmd.run\"](cmd).splitlines()\n ret = out[0].split(\": \")\n return ret[1]",
"def osversion():\n return platform()",
"def operating_system_version(self):\n return self._operating_system_version",
"def get_os_version... | [
"0.8202376",
"0.81996816",
"0.8144283",
"0.8079892",
"0.80662",
"0.80483526",
"0.80121493",
"0.78331524",
"0.77253723",
"0.77253723",
"0.7724514",
"0.77145916",
"0.7692034",
"0.7521865",
"0.7488609",
"0.74582636",
"0.74414307",
"0.74341655",
"0.7305427",
"0.72931683",
"0.7177... | 0.80882066 | 3 |
The provisioning state, which only appears in the response. | def provisioning_state(self) -> pulumi.Output[str]:
return pulumi.get(self, "provisioning_state") | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def provisioning_state(self) -> str:\n return pulumi.get(self, \"provisioning_state\")",
"def provisioning_state(self) -> str:\n return pulumi.get(self, \"provisioning_state\")",
"def provisioning_state(self) -> str:\n return pulumi.get(self, \"provisioning_state\")",
"def provisioning_s... | [
"0.8441268",
"0.8441268",
"0.8441268",
"0.8441268",
"0.8441268",
"0.8441268",
"0.8441268",
"0.8441268",
"0.8441268",
"0.8441268",
"0.8441268",
"0.8441268",
"0.8441268",
"0.8441268",
"0.8441268",
"0.8441268",
"0.8441268",
"0.8441268",
"0.8441268",
"0.8441268",
"0.8441268",
"... | 0.84392184 | 34 |
The status of the hybrid machine agent. | def status(self) -> pulumi.Output[str]:
return pulumi.get(self, "status") | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def status(self):\n return self.microblaze.state",
"def getStatus(self):\r\n return self.controller.getStatus()",
"def status(self):\n return self.m.status",
"def status(self):\n return self.status",
"def agents_status(self):\n return self._get('agents/status')",
"async... | [
"0.7472064",
"0.7465396",
"0.74195415",
"0.7375443",
"0.73746413",
"0.736953",
"0.7363566",
"0.73536766",
"0.7339582",
"0.7339582",
"0.73374414",
"0.7323439",
"0.7308897",
"0.7308897",
"0.73021454",
"0.7272443",
"0.72681516",
"0.72681516",
"0.72681516",
"0.7266647",
"0.725447... | 0.71251136 | 69 |
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" | def type(self) -> pulumi.Output[str]:
return pulumi.get(self, "type") | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def resource_type(self) -> Optional[str]:\n return pulumi.get(self, \"resource_type\")",
"def resource_type(self) -> Optional[str]:\n return pulumi.get(self, \"resource_type\")",
"def resource_type(self) -> Optional[pulumi.Input[str]]:\n return pulumi.get(self, \"resource_type\")",
"def ... | [
"0.7918516",
"0.7918516",
"0.7866337",
"0.7866337",
"0.7866337",
"0.7866337",
"0.7866337",
"0.7708053",
"0.75534964",
"0.7282099",
"0.70591027",
"0.6979169",
"0.69202054",
"0.6868452",
"0.67303157",
"0.67049116",
"0.6654272",
"0.6646357",
"0.66396123",
"0.66396123",
"0.663961... | 0.0 | -1 |
Generates a cryptographically secure random string of numbers which for our purposes acts as a private seed. Then we use shake_128 to generate a secure hash of the seed Both are returned | def genSeed():
seed_length = int(''.join(random.SystemRandom().choice(string.digits) for _ in range(0, 3)))
seed = os.urandom(seed_length)
hashing_algorithm = hashlib.shake_128()
hashing_algorithm.update(seed)
# 2200 bytes from SHAKE-128 function is enough data to get 1024 coefficients
# smaller than 5q, from Alk... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def gensalt():\n return hexlify(os.urandom(24)).decode()",
"def get_salt():\n return os.urandom(32)",
"def generate_key():\n return unicode(hashlib.sha224(str(random.getrandbits(128))).hexdigest())",
"def generate_salt(size):\n return hexlify(urandom(size)).decode()",
"def genSCID():\n scid_... | [
"0.72859246",
"0.70048964",
"0.68979406",
"0.684359",
"0.6757954",
"0.66921526",
"0.6607488",
"0.6575141",
"0.65382934",
"0.65163815",
"0.6507161",
"0.64613926",
"0.6422251",
"0.6421985",
"0.6421555",
"0.6421555",
"0.6385966",
"0.6380819",
"0.6377384",
"0.63657194",
"0.636509... | 0.7032633 | 1 |
return the max page number of a specific job | def get_max_pageNo(positionName):
request_url = "https://www.lagou.com/jobs/positionAjax.json?needAddtionalResult=false"
headers = get_headers()
form_data=get_Info(positionName,1)
response = requests.post(request_url, headers=headers, data = form_data,timeout=10)
if response.status_code == 200:
... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def get_latest(self):\n self.cprint(\"##\\tGetting max page number...\\n\", log=True)\n return 1",
"def get_max_page(connection: DBConnection) -> int:\n return connection.execute(\"SELECT max_page FROM max_page\").fetchone()[0]",
"def _get_max_pagenum(self, pagetree):\n browse_links = [... | [
"0.7214961",
"0.7133414",
"0.70216364",
"0.6761695",
"0.66468126",
"0.6542996",
"0.6439183",
"0.6359644",
"0.6359644",
"0.63591653",
"0.63316005",
"0.6238575",
"0.6153321",
"0.61524343",
"0.61145866",
"0.6098794",
"0.6049269",
"0.6015831",
"0.5973751",
"0.59633875",
"0.592428... | 0.61678636 | 12 |
Initialize the object detection using model loaded from forzen graph | def __init__(self, detection_graph, category_index, tensor_dict):
self.detection_graph = detection_graph
self.category_index = category_index
self.tensor_dict = tensor_dict | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def __init__(self):\n self.classes_to_detect = ['person']\n # Load lebel_map\n self._load_label(PATH_TO_LABELS, NUM_CLASSES, use_disp_name=True)\n\n # Load Tensorflow model into memory\n self.detection_graph = tf.Graph()\n with self.detection_graph.as_default():\n ... | [
"0.6995791",
"0.67505133",
"0.6686572",
"0.66070294",
"0.6591064",
"0.6571485",
"0.6500421",
"0.6487339",
"0.6477733",
"0.64566374",
"0.64492476",
"0.64474505",
"0.64199686",
"0.6419213",
"0.64140344",
"0.6395008",
"0.63934386",
"0.63826513",
"0.6378798",
"0.6377824",
"0.6377... | 0.58792293 | 82 |
Replaces the dataset. For reusing the instance or for deleting the memory. | def SetTrSet(self,value):
self.ds = value | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def DataSet(self, dataset):\n # Do we have dataset to store\n if dataset and dataset.VTKObject:\n # Do we need to create a vtkWeakReference\n if not hasattr(self, '_dataset') or self._dataset is None:\n self._dataset = vtkWeakReference()\n\n self._datas... | [
"0.6564002",
"0.6484917",
"0.6468398",
"0.6347855",
"0.6341545",
"0.6306704",
"0.6276485",
"0.6227681",
"0.6220956",
"0.62046117",
"0.6168743",
"0.6146771",
"0.6145816",
"0.61345917",
"0.61098534",
"0.607254",
"0.6031218",
"0.5999605",
"0.59661305",
"0.5883507",
"0.5858539",
... | 0.0 | -1 |
A function that is run ONCE after all unit tests in this class. Delete all project directories created during these unit tests | def tearDownClass(cls):
projects = ['arc_project_for_testing_delete_after_usage1', 'arc_project_for_testing_delete_after_usage2',
'ar c', 'ar:c', 'ar<c', 'ar%c']
for project in projects:
project_directory = os.path.join(arc_path, 'Projects', project)
shutil.rm... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def tearDown(self):\r\n shutil.rmtree(self.workspace_dir)",
"def tearDown(self):\n rmtree(getcwd(), ignore_errors=True)",
"def tearDown(self):\n rmtree(getcwd(), ignore_errors=True)",
"def tearDown(self):\n for root, dirs, files in os.walk(TEMPDIR, topdown=False):\n for... | [
"0.78151983",
"0.7750127",
"0.7750127",
"0.7747488",
"0.7742251",
"0.7742251",
"0.7742251",
"0.7742251",
"0.7742251",
"0.7742251",
"0.7742251",
"0.7677634",
"0.76318276",
"0.76318276",
"0.7628418",
"0.761822",
"0.7602519",
"0.75914925",
"0.75683814",
"0.7555221",
"0.75523925"... | 0.7804711 | 1 |
Initialize Group Query Results class instance | def __init__( self, id, name, value, typ, reverse=None ):
self.id = ('000'+str(id))[-3:]
self.group = 1
self.is_grouped = 1
self.typ = typ
if reverse:
value = value + self.reverse_key
setattr( self, name, value )
self.count = 0 | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def __init__(self, groups=dict()):\n self.groups = groups",
"def __init__(self, **kwargs):\n DataLoader.__init__(self, **kwargs)\n query_type = kwargs['query_type']\n \n self._results_ = None\n \n if cmp(FDH._QTYPE_BANNER_, query_type) == 0:\n self._que... | [
"0.6561047",
"0.6483301",
"0.64092153",
"0.6401454",
"0.6392704",
"0.6306747",
"0.6288052",
"0.6272237",
"0.62079006",
"0.61854434",
"0.6172704",
"0.6147112",
"0.61364466",
"0.61362195",
"0.60455",
"0.60147816",
"0.60057473",
"0.5990426",
"0.59702474",
"0.59475976",
"0.59314"... | 0.0 | -1 |
Initialise a table object. If a value is passed into the cursor parameter then the last thing we do is call L{_get_table}. | def __init__(self, table_name, cursor=None, schema=None):
self.name = table_name
self.tablespace_name = None
self.table_type = None
self.columns = {}
self.indexes = {}
self.constraints = {}
self.triggers = {}
if schema:
self.schema = schema
... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def _init_table(self, table: \"Table\"):\n if not self.columns:\n self.columns = table.columns\n self._data = table.data",
"def __init__(self, *args):\n _table.Table_swiginit(self, _table.new_Table(*args))",
"def create_table(cls, cursor: sqlite3.Cursor) -> None:\n\n _get... | [
"0.7001003",
"0.68720293",
"0.6786683",
"0.67561424",
"0.6711313",
"0.66536033",
"0.6609409",
"0.63662183",
"0.6265762",
"0.6235592",
"0.6222676",
"0.61921537",
"0.61527586",
"0.6082501",
"0.6080962",
"0.60759956",
"0.60154235",
"0.5983417",
"0.5940854",
"0.593779",
"0.593653... | 0.67838275 | 3 |
Return the structure of this table as an XML document fragment | def to_xml(self):
xml_strings = ['<table name="%s">\n' % self.name]
if self.tablespace_name:
xml_strings.append(' <tablespace name=')
xml_strings.append('"%s" />\n' % self.tablespace_name)
# Columns
for column in self.columns:
col_details = self.colum... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def get_structure(self):\n if len(self.headers) == 0:\n self.restore_structure()\n columns = self.parse_declaration()\n result = \"<tablestructure>\\n\"\n result += \"\\t<table id=\\\"%s\\\" name=\\\"%s\\\">\\n\" % (self.id, self.name)\n result += \"\\t<header>\\n\"\n ... | [
"0.76985776",
"0.73668724",
"0.7138779",
"0.70139503",
"0.6441342",
"0.6438858",
"0.635951",
"0.63415474",
"0.63107055",
"0.6248073",
"0.6199101",
"0.6194688",
"0.61218655",
"0.6118161",
"0.60965043",
"0.6075897",
"0.604936",
"0.6048183",
"0.60473317",
"0.60325855",
"0.602134... | 0.7528937 | 1 |
Return the structure of this trigger as an XML document fragment | def to_xml(self):
xml_strings = [' <trigger name="%s">\n' % self.name]
xml_strings.append(' <scope>%s</scope>\n' % self.scope)
if self.level:
xml_strings.append(' <level>%s</level>\n' % self.level)
xml_strings.append(' <events>%s</events>\n' % self.events)
x... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def get_xml(self):\n return etree.tostring(self.get_etree())",
"def xml(self):\n raise NotImplementedError('must be implemented by all subclasses')",
"def dump(self):\n outputs = [\"Trigger : %s\\n\" % self.name]\n outputs.append(\" %s %s \" % (self.scope, ','.join(self.events)))\n ... | [
"0.6029304",
"0.6021426",
"0.6013072",
"0.5948979",
"0.5948979",
"0.5886491",
"0.5809906",
"0.5775106",
"0.5660646",
"0.5623413",
"0.56233317",
"0.56003827",
"0.5484068",
"0.5477523",
"0.54671955",
"0.54595447",
"0.5444156",
"0.5437828",
"0.5433306",
"0.53574544",
"0.5348185"... | 0.7463079 | 0 |
Returns formatted timestamp (isoformat) | def dateformat(timestamp):
date = datetime.datetime.fromtimestamp(int(timestamp))
return date.isoformat() | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def timestamp_to_iso_format(timestamp):\n if timestamp is None:\n return None\n return datetime.isoformat(datetime.utcfromtimestamp(int(timestamp)))",
"def _get_timestamp():\n return '{}Z'.format(\n datetime.datetime.utcnow().strftime('%Y-%m-%dT%H:%M:%S.%f')[:-3]\n ... | [
"0.77321553",
"0.7660828",
"0.7570868",
"0.75226396",
"0.74968785",
"0.7454602",
"0.7447048",
"0.74174553",
"0.7407527",
"0.7321035",
"0.73181707",
"0.7299821",
"0.72672904",
"0.72672904",
"0.7263589",
"0.72324437",
"0.7232365",
"0.7218345",
"0.71930933",
"0.7160468",
"0.7152... | 0.76106566 | 2 |
Returns a list of custom template names. template is the name of the original template. | def _custom_template_names(self, template):
splitted = template.rsplit('/', 1)
name = 'custom_' + splitted[-1]
ret = [name]
if len(splitted) == 2:
ret.append(splitted[0] + '/' + name)
return ret | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def get_template_names(self) -> List[str]:\n\n if self.template_name is None:\n raise Exception(\n \"TemplateResponseMixin requires either a\"\n \"definition of 'template_name' or a\"\n \"implementation of 'get_template_names()'\"\n )\n ... | [
"0.72856176",
"0.7135562",
"0.6862259",
"0.68508935",
"0.6801312",
"0.67914784",
"0.67521626",
"0.67461485",
"0.6436217",
"0.6418902",
"0.63841236",
"0.6377295",
"0.6334872",
"0.62382877",
"0.62175",
"0.61199695",
"0.61047316",
"0.60953546",
"0.6091808",
"0.60322744",
"0.6028... | 0.84390604 | 0 |
Transform an array with one flattened image per row, into an array in which images are reshaped and layed out like tiles on a floor. This function is useful for visualizing datasets whose rows are images, and also columns of matrices used for transforming those rows (such as the first layer of a neural net). | def tile_raster_images(X, img_shape, tile_shape, tile_spacing=(0, 0),
scale_rows_to_unit_interval=True,
output_pixel_vals=True):
assert len(img_shape) == 2
assert len(tile_shape) == 2
assert len(tile_spacing) == 2
# The expression below can be re-w... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def flattenImage(input_array):\r\n shp = np.size(input_array)\r\n return np.reshape(input_array, (shp,))",
"def flatten_image(x):\n *batch_shape, h, w, c = x.shape\n return x.reshape((*batch_shape, h * w * c))",
"def reshape_pixel_array(self, pixel_arr):\n reshaped_pixel_arr = []\n n ... | [
"0.7549094",
"0.6913078",
"0.681841",
"0.67430013",
"0.66004163",
"0.6555817",
"0.6490065",
"0.6456548",
"0.6456548",
"0.6456548",
"0.6331526",
"0.63112485",
"0.6260817",
"0.6253879",
"0.6236137",
"0.6229154",
"0.6169295",
"0.6168172",
"0.6134043",
"0.613061",
"0.613061",
"... | 0.59385973 | 31 |
Gets a collection of `InputExample`s for the train set. | def get_train_examples(self, data_dir):
raise NotImplementedError() | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def get_train_inputs(self, example):\n return example",
"def get_train_examples(self):\n raise NotImplementedError()",
"def get_train_examples(self, input_file):\r\n raise NotImplementedError()",
"def _create_examples(self, data, set_type):\n examples = []\n for (i, elem) in en... | [
"0.73503816",
"0.7174346",
"0.7127727",
"0.65599126",
"0.6421691",
"0.6405246",
"0.63429385",
"0.62904894",
"0.6282127",
"0.6252822",
"0.62496114",
"0.6233181",
"0.6222054",
"0.6222054",
"0.62070256",
"0.62070256",
"0.62070256",
"0.62070256",
"0.62070256",
"0.62070256",
"0.62... | 0.6248022 | 23 |
Gets a collection of `InputExample`s for the dev set. | def get_dev_examples(self, data_dir):
raise NotImplementedError() | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def get_dev_examples(self, input_file):\r\n raise NotImplementedError()",
"def get_train_inputs(self, example):\n return example",
"def get_examples(self, env):\n return self.fam.c_get_examples(self, env)",
"def get_dev_examples(self):\n raise NotImplementedError()",
"def _create_ex... | [
"0.68119633",
"0.6587602",
"0.6560021",
"0.65544045",
"0.64271533",
"0.6383276",
"0.6252229",
"0.61916137",
"0.61173093",
"0.6090526",
"0.60528195",
"0.60483676",
"0.5990947",
"0.5928007",
"0.59219277",
"0.5920356",
"0.5919169",
"0.5916696",
"0.5916696",
"0.5916696",
"0.59166... | 0.5995842 | 24 |
Gets a collection of `InputExample`s for the test set. | def get_test_examples(self, data_dir):
raise NotImplementedError() | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def _create_examples(self, data, set_type):\n examples = []\n for (i, elem) in enumerate(data):\n guid = \"%s-%s\" % (set_type, i)\n text = elem[0]\n label = elem[1]\n examples.append(\n InputExample(guid=guid, text=text, label=label))\n ... | [
"0.6849201",
"0.68117833",
"0.6449045",
"0.64120954",
"0.6390244",
"0.6380512",
"0.63573486",
"0.631445",
"0.63001204",
"0.6285433",
"0.62853587",
"0.62804675",
"0.6272988",
"0.626253",
"0.6261441",
"0.62613",
"0.6256415",
"0.62528956",
"0.62511957",
"0.62481475",
"0.62390435... | 0.0 | -1 |
Return the full path to ``path`` by prepending the SCRIPT_NAME. If ``path`` is a URL, do nothing. | def _get_full_path(self, path, environ):
if path.startswith('//'):
path = path[1:]
elif path.startswith('/'):
path = environ.get('SCRIPT_NAME', '') + path
return path | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def get_path(path):\n if _prefix and not '/' in path:\n path = _prefix + path\n\n if not _cwd:\n return path\n\n return join(_cwd, path)",
"def noTrailingSlash(path):\n return path.split('/')[0]",
"def strip_path(path):\n name_re = re.compile(\"[^/]*\\.([a-z]+)$\")\n return ... | [
"0.642572",
"0.637585",
"0.6298725",
"0.62948805",
"0.6263938",
"0.6254257",
"0.6231205",
"0.62031454",
"0.6147382",
"0.60776085",
"0.606782",
"0.6041343",
"0.60337853",
"0.60211927",
"0.59982306",
"0.5988162",
"0.5982659",
"0.5980877",
"0.5960473",
"0.59531695",
"0.59326386"... | 0.70872235 | 0 |
Makes all words lower case, removes the emojis and all other irrelevant characters | def preprocessing(dataframe):
dataframe.loc[:, "content"] = dataframe.loc[:, "content"].str.replace("&.*?;", "")
dataframe.loc[:, "content"] = dataframe.loc[:, "content"].str.replace(
r"[^a-zA-Z\s.:!?/#\"]", ""
)
dataframe["original_content"] = dataframe["content"]
dataframe.loc[:, "content"... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def remove_non_ascii(words):\n #Revisar esta funcion porque no filtra nada...\n new_words = []\n for word in words:\n new_word = unicodedata.normalize('NFKD', word).encode('ascii', 'ignore').decode('utf-8', 'ignore')\n new_words.append(new_word)\n return new_words",
"def _remove_non_asc... | [
"0.7454315",
"0.73930645",
"0.7363583",
"0.73451835",
"0.73451835",
"0.73451835",
"0.73451835",
"0.73451835",
"0.73451835",
"0.724415",
"0.7193215",
"0.71765435",
"0.71449775",
"0.7129104",
"0.70594615",
"0.70542234",
"0.70409906",
"0.7035763",
"0.702485",
"0.702485",
"0.7024... | 0.0 | -1 |
Compute action log probabilities given predicted policies and selected actions. | def compute_policy_log_probs(available_actions, policy, actions):
def compute_log_probs(probs, labels):
# Select arbitrary element for unused arguments (log probs will be masked)
labels = tf.maximum(labels, 0)
indices = tf.stack([tf.range(tf.shape(labels)[0]), labels], axis=1)
# TODO... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def action_log_probs(self, state):\n dist = self.action_distribution(state)\n raw_action = dist.rsample() # reparametrization trick\n\n # enforcing action bounds\n tanh_action = torch.tanh(raw_action) # prevent recomputation later.\n action = tanh_action * self.action_scale + s... | [
"0.7191752",
"0.70525885",
"0.67549807",
"0.6741952",
"0.6684861",
"0.6681167",
"0.65598786",
"0.65380853",
"0.64760935",
"0.64717025",
"0.6444234",
"0.63522214",
"0.6322491",
"0.6277109",
"0.6214631",
"0.61800224",
"0.6176227",
"0.61597705",
"0.60957676",
"0.6068972",
"0.604... | 0.75209856 | 0 |
Retrieve value of the tkinter widget no matter what kind of the widget it is. Return raw, unprocessed value for further processing. | def get_widget_value(self, widget):
if isinstance(widget, Entry):
return widget.get()
elif isinstance(widget, Spinbox):
widget.selection_element()
return widget.get()
elif isinstance(widget, Listbox):
return widget.get(0, END)
elif isinstan... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def get_value(self):\n if self.notebook:\n return self.widget.value\n else:\n if hasattr(self.widget, \"value\"):\n return self.widget.value()\n elif hasattr(self.widget, \"currentText\"):\n return self.widget.currentText()\n e... | [
"0.78755355",
"0.72092587",
"0.6684298",
"0.65990376",
"0.6598992",
"0.6542203",
"0.64888775",
"0.6460026",
"0.6456284",
"0.6448079",
"0.64239866",
"0.63803625",
"0.6376227",
"0.6376227",
"0.6342988",
"0.6332796",
"0.6327605",
"0.6327605",
"0.6327605",
"0.6317074",
"0.6313079... | 0.7889045 | 0 |
Get the path to a file The file is searched in given directoris in order. If the file is not found, None will be returned; otherwise, the path (i.e., directory plus file name) will be returned. INPUT fname File name dirs List of directories | def path_to_file(fname, dirs):
for each in dirs:
path = '/'.join([each, fname])
if os.path.exists(path):
return path
return None | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def get_dir_for_fname(directory, filename):\r\n for fname, dirpath in get_all_files(directory):\r\n if fname == filename:\r\n return dirpath\r\n return None",
"def Filename(fname):\n if fname.startswith('##... | [
"0.71410424",
"0.69109327",
"0.66819394",
"0.66253877",
"0.65168357",
"0.64820325",
"0.64103496",
"0.63602084",
"0.6318237",
"0.6318237",
"0.63121444",
"0.63093156",
"0.6301092",
"0.630074",
"0.62919027",
"0.62865716",
"0.6253481",
"0.62389857",
"0.62378657",
"0.6225552",
"0.... | 0.83847153 | 0 |
Returns whether or not the verifying checksum digits of the given `cpf` match it's base number. Input should be a digit string of proper length. | def isValid(self):
return ValidadorChaveAcessoNFe.validar(self) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def is_valid(self):\n # check if cpf isn't in invalid_cpfs list\n if self.cpf in self.invalid_cpfs: return False\n\n # get first nine digits to calculate two verification digits\n cpf = self.cpf[:9]\n # while cpf isn't complete (this runs two loops)\n while len(cpf) < 11:\... | [
"0.7098083",
"0.6896239",
"0.63078135",
"0.6291108",
"0.6241346",
"0.6197495",
"0.6184308",
"0.6092477",
"0.5989149",
"0.59544754",
"0.5951095",
"0.594167",
"0.5909109",
"0.5908982",
"0.5901253",
"0.5823157",
"0.5821258",
"0.5790803",
"0.5760407",
"0.5741858",
"0.57383007",
... | 0.0 | -1 |
Called when the user specifies an intent for this skill | def on_intent(intent_request, session):
print("on_intent requestId=" + intent_request['requestId'] +
", sessionId=" + session['sessionId'])
intent = intent_request['intent']
intent_name = intent_request['intent']['name']
# Sends the request to one of our intents
if intent_name == "sendVideoIntent":
return... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def on_intent(intent_request, session):\n\n intent = intent_request['intent']\n intent_name = intent_request['intent']['name']\n\n # Dispatch to your skill's intent handlers\n\n if intent_name not in skillmap:\n intent_name = \"NullSkill\"\n\n if intent_name in skillmap:\n try:\n ... | [
"0.71425295",
"0.69551635",
"0.69480896",
"0.6904782",
"0.68920237",
"0.6763186",
"0.6754033",
"0.67221457",
"0.67199254",
"0.6715521",
"0.6698368",
"0.66912574",
"0.66695374",
"0.66442376",
"0.6641862",
"0.6638022",
"0.66073626",
"0.6594146",
"0.6574747",
"0.6569399",
"0.656... | 0.6291462 | 39 |
Get the principal axes of the body. Compute the maximum scale of the body, the minimal scale of the body, and the scale of the axis at right angles to both of these axes. Returns | def princ_axes(self):
# get coordinates of mesh
coords = BoundaryMesh(self.mesh,"exterior",True).coordinates()
# get distances
dist = np.sqrt(np.einsum('ij->i', np.square(coords)))
# get maximal value
maxind = np.argmax(dist)
maxdist = dist[maxind]
... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def right_angle_axes(self):\n return self.container['right_angle_axes']",
"def axes(self) -> np.ndarray: # array[Axes]\n return self._axes",
"def principal_axes_of_inertia(self, i_seq):\n return self._principal_axes_of_inertia[i_seq]",
"def yscale(self):\r\n yscales = [ax.get_yscale() fo... | [
"0.56915206",
"0.56448585",
"0.5629895",
"0.56192863",
"0.5516891",
"0.5516891",
"0.5504834",
"0.54219383",
"0.53970695",
"0.53809214",
"0.52959085",
"0.52837074",
"0.5279192",
"0.5258749",
"0.5245562",
"0.5224669",
"0.5200806",
"0.51734555",
"0.51670027",
"0.5097672",
"0.509... | 0.61774695 | 0 |
Compute the moment of inertia. Compute the moment of inertia of the body, which is the integral of the density times the minimum distance to the rotation axis squared. In g cm^2. Returns | def moment_of_inertia(self):
# update the coordinates of the mesh
self.get_coords()
# take the cross product of the position and rotation vectors, giving
# ||r||*||omega||*sin(theta), with theta the angle between r and omega.
# note that the minimum distance to the rotatio... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def compute_moment_intertia(self, scale_factor: float=1) -> Tuple[float, float, float]:\n positions = self.positions\n COM = np.sum(positions, axis=0)/positions.shape[0]\n moment_inertia = np.sum(np.square(positions - COM))\n moment_inertia *= scale_factor\n return (0, 0, moment_... | [
"0.6970203",
"0.69604784",
"0.6879895",
"0.6775634",
"0.6423141",
"0.633223",
"0.63167036",
"0.62137806",
"0.61226976",
"0.61185133",
"0.60956955",
"0.60102594",
"0.582259",
"0.5813173",
"0.5763962",
"0.57300943",
"0.5726907",
"0.5712777",
"0.5631869",
"0.5630338",
"0.5621525... | 0.8272345 | 0 |
Compute the magnitude of the tidal stress force. | def tidal_acc(self, xyz):
assert(xyz.shape[1] == 3)
# create solar mass variable, if not already extant
try:
self.M
except AttributeError:
self.M = Constant(2e33) # solar mass in g
# get the vector of x-values
x = xyz[:, 0]
... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def magnitude(self):\n\t\treturn sqrt(self.dot(self))",
"def magnitude(self):\n return self.real ** 2 + numpy.inner(self.pure, self.pure)",
"def magnitude(self): # @todo @caution check: something wrong?\n\n return (math.sqrt(reduce(lambda x, y: x+y,\n [x**2 for x in self.vector])))... | [
"0.713125",
"0.6938134",
"0.68494064",
"0.66222465",
"0.651262",
"0.6388763",
"0.6388763",
"0.62305367",
"0.62107015",
"0.6209985",
"0.61967045",
"0.6122035",
"0.6065177",
"0.6035667",
"0.6017234",
"0.6000365",
"0.5998997",
"0.59876746",
"0.5984779",
"0.59177935",
"0.5902606"... | 0.0 | -1 |
Move the mesh, with velocity self.u, over time dt. This uses the builtin ALE functions from FEniCS. | def move_mesh(self, dt):
# get the displacement vector from dt*u
move = project(Constant(dt)*self.u, self.V)
# use ALE to move the mesh.
# this updates all functions defined on the mesh
ALE.move(self.mesh, move) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def move(self):\n t = self.get_time_step() # Get the timestep\n\n for body in self.bodies:\n body.update_pos_revs(t, self.time)\n\n # Once all the positions are updated, update all velocities and\n # accelerations.\n for body in self.bodies:\n body.update_v... | [
"0.6751851",
"0.64303744",
"0.6384452",
"0.622268",
"0.61427116",
"0.6137712",
"0.61363685",
"0.6131925",
"0.6117039",
"0.61116964",
"0.60744935",
"0.6065354",
"0.6042904",
"0.60332996",
"0.60291135",
"0.6025736",
"0.6016938",
"0.6003387",
"0.59980416",
"0.59736544",
"0.59668... | 0.81449515 | 0 |
Subtract the average velocity in each direction. This ensures that the center of mass of the body has no velocity, and that the body sticks to the prescribed trajectory. The forces acting on the body should be symmetric, so this is entirely removing this sort of numerical noise. Due to the instability of the nullveloci... | def adjust_u(self):
# compute the volume integrals of the x,y, and z components of u
ux = assemble(self.u.sub(0)*dx)
uy = assemble(self.u.sub(1)*dx)
uz = assemble(self.u.sub(2)*dx)
# create a function of value 1, which can be integrated.
try:
self.uni... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def calc_separation_alt_az(self, body):\n self.body.compute(self.site)\n body.body.compute(self.site)\n\n delta_az = float(self.body.az) - float(target.az)\n delta_alt = float(self.body.alt) - float(target.alt)\n return (delta_alt, delta_az)",
"def reduce_velocity(self):\n ... | [
"0.5939986",
"0.5777607",
"0.5705934",
"0.55595887",
"0.5557924",
"0.5514371",
"0.5488117",
"0.54579407",
"0.5424163",
"0.5359323",
"0.53480005",
"0.5316125",
"0.53154904",
"0.53066254",
"0.5303833",
"0.5303719",
"0.5288754",
"0.5253539",
"0.5249774",
"0.5249658",
"0.52377003... | 0.0 | -1 |
Check if two passwords are the same and if the old password is not equal to the new password. | def clean(self):
cleaned_data = super(UserUpdateForm, self).clean()
if cleaned_data.get("password") != cleaned_data.get("password2"):
raise forms.ValidationError("The new passwords do not match.")
elif cleaned_data.get("password") == cleaned_data.get("oldpassword"):
raise... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def change_password_tests(new_password1, new_password2):\n error = None\n if not new_password1 == new_password2:\n error = \"New passwords do no match\"\n elif new_password1 in common_passwords:\n error = \"New password is frequently used. Please use another password.\"\n elif not is_comp... | [
"0.7878236",
"0.7698073",
"0.7371709",
"0.7279372",
"0.7273554",
"0.7222517",
"0.716639",
"0.71614355",
"0.71233773",
"0.7047734",
"0.699041",
"0.6937001",
"0.69268703",
"0.69167835",
"0.6882148",
"0.6868742",
"0.6847814",
"0.6846768",
"0.6803713",
"0.6794372",
"0.6791236",
... | 0.66360915 | 39 |
Collate's training batch from normalized text and melspectrogram PARAMS | def __call__(self, batch):
# Right zero-pad all one-hot text sequences to max input length
input_lengths, ids_sorted_decreasing = torch.sort(
torch.LongTensor([len(x[0]) for x in batch]),
dim=0, descending=True)
max_input_len = input_lengths[0]
text_padded = torc... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def collate_fn(batch):\n text = [item[0] for item in batch]\n audio = [item[1] for item in batch]\n\n text_lengths = [len(x) for x in text]\n audio_lengths = [len(x) for x in audio]\n\n max_text = max(text_lengths)\n max_audio = max(audio_lengths)\n\n text_batch = np.stack(pad_text(x, max_text... | [
"0.6910581",
"0.6619326",
"0.65486646",
"0.65270513",
"0.6333216",
"0.62941784",
"0.6231028",
"0.62011284",
"0.6174752",
"0.61373377",
"0.6065178",
"0.60547197",
"0.60454506",
"0.60289",
"0.6026028",
"0.6021405",
"0.6009134",
"0.6004333",
"0.59648925",
"0.594245",
"0.59412956... | 0.58430934 | 34 |
Test default product price being 10. | def test_default_product_price(self):
prod = Product('Test Product')
self.assertEqual(prod.price, 10) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def test_default_product_price(self):\r\n prod = Product('Test Product')\r\n self.assertEqual(prod.price, 10)",
"def test_default_product_price(self):\n prod = product('Test Product')\n self.assertEqual(prod.price, 10)\n self.assertEqual(prod.weight, 20)",
"def test_default_p... | [
"0.8733433",
"0.86106205",
"0.85803825",
"0.72878647",
"0.7268852",
"0.7268852",
"0.7268852",
"0.7268852",
"0.7268852",
"0.7268852",
"0.7263674",
"0.7178675",
"0.68581754",
"0.6813741",
"0.67410624",
"0.67410624",
"0.67094463",
"0.66890216",
"0.6659307",
"0.66544884",
"0.6653... | 0.87383187 | 9 |
Plot losses over time using matplotlib The same can be just observed in tensorboard | def plot_loss(G_losses, D_losses):
plt.figure(figsize=(10,5))
plt.title("Generator and Discriminator Loss During Training")
plt.plot(G_losses,label="G")
plt.plot(D_losses,label="D")
plt.xlabel("iterations")
plt.ylabel("Loss")
plt.legend()
plt.show() | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def plotLoss():\n # ssr\n ssr = np.log(gradientDescent(X, y)[1])\n # number of iterations \n iterations = np.log(np.arange(1, len(ssr) + 1, 1))\n # plot reduction of ssr\n plt.plot(iterations, ssr)\n # xlabel\n plt.xlabel(\"Iteration\")\n # ylabel\n plt.ylabel(\"SSR\")\n # title\n ... | [
"0.77221024",
"0.7542725",
"0.73110014",
"0.7305916",
"0.73055696",
"0.7245657",
"0.7133818",
"0.7053078",
"0.7000896",
"0.69899434",
"0.6983542",
"0.69220567",
"0.69177604",
"0.68984234",
"0.6835299",
"0.68276894",
"0.6767022",
"0.67482734",
"0.6719081",
"0.6694985",
"0.6694... | 0.7158026 | 6 |
Find user by his id and return user model. | def get_by_id(self, id):
return self.user_cls(id=id, password='secret' + str(id)) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def find_by_id(cls, user_id):\n return UsersModel.query.filter_by(id=user_id).first()",
"def find_by_id(cls, _id):\n user = cls.query.filter_by(id=_id).first()\n return user",
"def get(id):\n return User.query.filter_by(id=id).first()",
"def load_user(user_id):\n return app.use... | [
"0.8378577",
"0.83297896",
"0.81365716",
"0.8029666",
"0.8026908",
"0.79959327",
"0.7896302",
"0.7896302",
"0.7896302",
"0.7896302",
"0.7863915",
"0.78569317",
"0.78559333",
"0.78556955",
"0.78510606",
"0.7845933",
"0.7843483",
"0.78403735",
"0.7837484",
"0.7831092",
"0.78247... | 0.0 | -1 |
Find user by his id and return user model. | def get_by_id(self, id):
user = super(ExtendedUsersService, self).get_by_id(id)
user.first_name = 'John' + str(id)
user.last_name = 'Smith' + str(id)
user.gender = 'male'
return user | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def find_by_id(cls, user_id):\n return UsersModel.query.filter_by(id=user_id).first()",
"def find_by_id(cls, _id):\n user = cls.query.filter_by(id=_id).first()\n return user",
"def get(id):\n return User.query.filter_by(id=id).first()",
"def load_user(user_id):\n return app.use... | [
"0.8378577",
"0.83297896",
"0.81365716",
"0.8029666",
"0.8026908",
"0.79959327",
"0.7896302",
"0.7896302",
"0.7896302",
"0.7896302",
"0.7863915",
"0.78569317",
"0.78559333",
"0.78556955",
"0.78510606",
"0.7845933",
"0.7843483",
"0.78403735",
"0.7837484",
"0.7831092",
"0.78247... | 0.0 | -1 |
Returns the base filename for the given policy_selector. | def GetBaseFilename(self, policy_selector):
sanitized_policy_selector = re.sub('[^A-Za-z0-9.@-]', '_', policy_selector)
return os.path.join(self.data_dir or '',
'policy_%s' % sanitized_policy_selector) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def base_filename(self):\n return self.filename.split('.')[0]",
"def _get_output_filename(dataset_dir, split_name):\n return '%s/%s*.tfrecord' % (dataset_dir, split_name)",
"def get_filename(filepath):\n return os.path.basename(filepath)",
"def get_filename(self) -> str:\n fname = self.ur... | [
"0.65088403",
"0.6217949",
"0.610379",
"0.60873085",
"0.6072391",
"0.60663813",
"0.60376567",
"0.60285056",
"0.60040677",
"0.5980613",
"0.5954073",
"0.5953453",
"0.59407806",
"0.5929229",
"0.5928211",
"0.591956",
"0.5916318",
"0.5892194",
"0.58917505",
"0.58682436",
"0.586191... | 0.8911209 | 0 |
Returns the external policy data for |policy_selector| if found. | def ReadPolicyDataFromDataDir(self, policy_selector):
base_filename = self.GetBaseFilename(policy_selector)
try:
return open(base_filename + '.data').read()
except IOError:
return None | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def CreatePolicyForExternalPolicyData(self, policy_key):\n settings = ep.ExternalPolicyData()\n data = self.server.ReadPolicyDataFromDataDir(policy_key)\n if data:\n settings.download_url = urlparse.urljoin(\n self.server.GetBaseURL(), 'externalpolicydata?key=%s' % policy_key)\n setting... | [
"0.6457726",
"0.6014039",
"0.5936442",
"0.5789535",
"0.5770075",
"0.57678676",
"0.5706712",
"0.5672028",
"0.5652636",
"0.5652636",
"0.5652636",
"0.55996966",
"0.549766",
"0.54415226",
"0.54185414",
"0.5416485",
"0.54138917",
"0.5409806",
"0.5409806",
"0.54086494",
"0.537927",... | 0.6571167 | 0 |
Find the passwords in the table corresponding to the given hash. | def _find(self, hashV):
return self.table.search(hashV) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def encontrar_passwords():\n hashes = [\n ('ox', 'ox45K6RsEUfmQ', generar_palabras()), # fido\n ('$1$42dJ1xYh', '$1$42dJ1xYh$MfrRke8/Ej3h5.vMtNEhC.', leer_palabras('./colores.txt')), # white\n ('$6$SZGpKoPi', '$6$SZGpKoPi$GGGqHYKy6PO/H5nvV0AmaGB/5krnxVuz2k2uX81O.CF5nYctE5RlR/rzJQCL3ZsF8yr... | [
"0.72978723",
"0.66508526",
"0.62685984",
"0.62271947",
"0.6217077",
"0.6138599",
"0.61381423",
"0.59775436",
"0.59470755",
"0.58902323",
"0.5804127",
"0.5733245",
"0.5733236",
"0.5725066",
"0.5707922",
"0.56797785",
"0.5650762",
"0.5644555",
"0.5642421",
"0.563599",
"0.56295... | 0.5654293 | 16 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.