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
Simply check whether n is positive and the remainder of n is equal to 1 modulus 4.
def is_hilbert_number(n): return n > 0 and n % 4 == 1
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def isPowerOfFour(self, n: int) -> bool:\n return (n > 0) and log2(n) % 2 == 0", "def is_divisible(num, n):\n return num % n == 0", "def mystery_2b_no_if(n: int) -> bool:\n return (n % 2 == 0 and n % 3 == 1) or (n % 2 != 0 and (n < 0 or (n > 4 and n % 3 != 1)))", "def divisible_by(n):\n r...
[ "0.75579154", "0.7393624", "0.73032993", "0.7136373", "0.7136373", "0.7017555", "0.6921901", "0.6913846", "0.6882399", "0.6862464", "0.6841968", "0.67823637", "0.6689885", "0.66877115", "0.6682476", "0.66731983", "0.66692114", "0.6659432", "0.66395193", "0.6595931", "0.658521...
0.6634371
19
Boolean of descending sort preference
def desc(self): return self.raw_field.startswith('-')
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def is_descending(self):\n return self._tag == 'descending'", "def is_ascending(self):\r\n return not self.is_descending", "def is_descending(self):\r\n return self.startswith('-')", "def testSortingReverse(self):\n if self.sortingReverse.lower() in [\"1\", \"yes\", \"true\", \"on...
[ "0.7286003", "0.7187139", "0.690768", "0.67139775", "0.6595622", "0.65356094", "0.6403579", "0.635533", "0.6313742", "0.62917507", "0.6265557", "0.6095139", "0.6068767", "0.6066734", "0.5999472", "0.5995538", "0.59663844", "0.5852857", "0.58041835", "0.5801626", "0.57918465",...
0.0
-1
Determine the sorting preference by query parameter Return an array of Sortable objects.
def init(req, model): rels = model.relationships fields = model.all_fields params = req.get_param_as_list('sort') or [goldman.config.SORT] params = [Sortable(param.lower()) for param in params] for param in params: _validate_no_rels(param, rels) _validate_field(param, fields) ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def sort_from_request(request):\n order = request.args.get('order_by')\n if order:\n key, direction = order.split(',')\n reverse = False if direction == 'ASC' else True\n return Sort(key, reverse)\n else:\n return Sort(None)", "def get_sort_query(self, kind, order, is_number)...
[ "0.64093214", "0.63537973", "0.61808455", "0.61255336", "0.6059215", "0.59281087", "0.58903205", "0.58903205", "0.58321065", "0.58296746", "0.5799147", "0.5716281", "0.56781524", "0.564885", "0.5647461", "0.5623405", "0.5598485", "0.55261964", "0.5509622", "0.54869145", "0.54...
0.60485864
5
Slice the first and second rows
def test_index_12(self): self.insert() data = self.tbl[2:6] assert self.check(self.idata[:2], data)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def test_slice_second(self):\n self.table.append(['Tom', 26])\n self.table.append(['Chantelle', 24])\n self.assertEqual(self.table[1], ['Chantelle', 24])", "def slice_matrix(m,i,j):\n return np.take(np.take(m,i,0),j,1)", "def slice2(self, vs=None,xs=None):\n return self.condition2(vs...
[ "0.6809242", "0.65570694", "0.65457726", "0.64546967", "0.64076453", "0.6358079", "0.63284904", "0.6239468", "0.61862016", "0.61575395", "0.6145285", "0.610379", "0.6088438", "0.6022517", "0.595306", "0.59502447", "0.58979726", "0.5891219", "0.58874226", "0.5881698", "0.58752...
0.0
-1
Slice up to the third row
def test_index_lt_3(self): self.insert() data = self.tbl[:6] assert self.check(self.idata[:2], data)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def slice(tensor):\n out = tensor[:, 444:524, :]\n return out", "def _slice(tensor, size, i):\n return tensor[:, i * size : (i + 1) * size]", "def last_first_middle_third(seq):\n # Using the length of the sequence, figure out roughly what one third should be\n one_third = len(seq) // 3\n\n ne...
[ "0.64709103", "0.62566334", "0.62556475", "0.6106568", "0.60457146", "0.6028012", "0.58507603", "0.5848774", "0.5843885", "0.5843885", "0.5840412", "0.5816581", "0.5755167", "0.5746813", "0.55647624", "0.55647624", "0.5562623", "0.5537664", "0.55151993", "0.5501092", "0.54971...
0.0
-1
Slice past the third row
def test_index_geq_3(self): self.insert() data = self.tbl[6:] assert self.check(self.idata[2:], data)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def slice(tensor):\n out = tensor[:, 444:524, :]\n return out", "def _slice(tensor, size, i):\n return tensor[:, i * size : (i + 1) * size]", "def test_slice_second_last(self):\n self.table.append(['Tom', 26])\n self.table.append(['Chantelle', 24])\n self.assertEqual(self.table[-2...
[ "0.6302302", "0.6259045", "0.6001038", "0.5971433", "0.5968378", "0.59520143", "0.57150835", "0.570774", "0.5701933", "0.56411606", "0.56401825", "0.5638592", "0.56162935", "0.56086504", "0.5524274", "0.5517102", "0.5479664", "0.5474055", "0.54690236", "0.54593563", "0.541620...
0.0
-1
Create a data class instance from a dictionary.
def from_dict(data_class: Type[T], data: Data, config: Optional[Config] = None) -> T: init_values: MutableMapping[str, Any] = {} post_init_values: MutableMapping[str, Any] = {} config = config or Config() try: data_class_hints = cache(get_type_hints)(data_class, localns=config.hashable_forward_r...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def from_dict(cls, data):\n return cls(**data)", "def from_dict(cls, data):\r\n instance = cls()\r\n for key, value in data.items():\r\n instance.__dict__[key] = value\r\n return instance", "def from_dict(cls, data: Dict[str, any]):\n return cls(**data)", "def fr...
[ "0.84356487", "0.82308626", "0.8190489", "0.8179636", "0.79487646", "0.7881755", "0.7881755", "0.78781533", "0.78666216", "0.782632", "0.782632", "0.782632", "0.782632", "0.782632", "0.782632", "0.782632", "0.782632", "0.782632", "0.782632", "0.782632", "0.782632", "0.78263...
0.7076106
89
Rotate the particle with the specified quaternion
def rotate(self, quaternion): rot3d = quaternion2rot3d(quaternion) new_pos = np.dot(self.atom_pos, rot3d.T) self.set_atom_pos(new_pos)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def rotate_particle(quaternion, particle):\n rot3d = quaternion2rot3d(quaternion)\n new_pos = np.dot(particle.atom_pos, rot3d.T)\n particle.set_atom_pos(new_pos)", "def _rotate_quaternion(self, q):\n self._normalise()\n return self * q * self.conjugate", "def qrotate(points, axis, theta)...
[ "0.82134056", "0.7707563", "0.7365915", "0.6868423", "0.6843226", "0.6843226", "0.6707162", "0.6661263", "0.6577403", "0.65072805", "0.6483651", "0.64052", "0.6382379", "0.625872", "0.6237808", "0.6224393", "0.6223185", "0.62230515", "0.61865306", "0.6170144", "0.61595505", ...
0.7728155
1
Apply one quaternion to rotate the particle.
def rotate_particle(quaternion, particle): rot3d = quaternion2rot3d(quaternion) new_pos = np.dot(particle.atom_pos, rot3d.T) particle.set_atom_pos(new_pos)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def _rotate_quaternion(self, q):\n self._normalise()\n return self * q * self.conjugate", "def qrotate(points, axis, theta):\n q = Quaternion.rotator(axis, theta)\n return q.rotate(points)", "def rotate(self, quaternion):\n rot3d = quaternion2rot3d(quaternion)\n new_po...
[ "0.742648", "0.70184314", "0.69919026", "0.6387921", "0.6332647", "0.6332647", "0.63158506", "0.63083833", "0.6297896", "0.62867", "0.62408525", "0.6216354", "0.6193681", "0.61933154", "0.6117962", "0.6105211", "0.60729426", "0.6044815", "0.60123914", "0.6005049", "0.59987664...
0.74978524
0
Computes the entropy growth rate of a transition matrix
def EntropyGrowthRate(T): pi = StationaryDistribution(T) # directly work on the data object of the sparse matrix # NOTE: np.log2(T.data) has no problem with elements being zeros # NOTE: as we work with a sparse matrix here, where the zero elements # NOTE: are not stored T.data *= np.log2(T...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def compute_entropy(mat):\n\n total_entropy = 0\n\n count_motifs = count_nucleotides(mat)\n p = profile(count_motifs, mat.shape[0])\n\n for i in range(len(p[0, :])):\n entropy = 0\n for j in range(len(p[:, 0])):\n if p[j, i] != 0:\n entropy = entropy + p[j, i] * ...
[ "0.6391148", "0.6272318", "0.62659234", "0.62536377", "0.62515754", "0.6229414", "0.62147415", "0.62120277", "0.61772054", "0.6177133", "0.6173305", "0.6164772", "0.61608964", "0.6158174", "0.6125902", "0.61037993", "0.6089266", "0.6078998", "0.6057718", "0.60567546", "0.6023...
0.5644137
65
find id of node which has minimum energy in network
def find_min_node(self): min_energy = 10 ** 10 min_id = -1 for node in self.node: if node.energy < min_energy: min_energy = node.energy min_id = node.id return min_id
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def nodes_min_energy_index(self, node):\n idx = -1\n curr_energy = np.inf\n for i in range(self.cost_matrix.shape[1]):\n new_energy = self.cost_matrix[node][i]\n if new_energy < curr_energy:\n curr_energy = new_energy\n idx = i\n retur...
[ "0.7396237", "0.71087605", "0.7081908", "0.68451405", "0.6838723", "0.68083143", "0.67169255", "0.66216576", "0.65200025", "0.6480664", "0.64050573", "0.63789004", "0.6304069", "0.62081707", "0.6197132", "0.6182314", "0.6174042", "0.6165677", "0.61640227", "0.6138184", "0.613...
0.8771858
0
r""" Turn a list of batch_size lines into a tensor where each element of tensor is index of corresponding letter in all_letters
def line_to_tensor(batch_size, max_seq_length, lines, all_letters, n_letters): tensor = torch.zeros(max_seq_length, batch_size).type(torch.LongTensor) for batch_idx, line in enumerate(lines): # Pad/truncate line to fit to max_seq_length padded_line = line[0:max_seq_length] + "#" * (max_seq_lengt...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def line_to_tensor(line):\n tensor = torch.zeros(len(line), 1, N_LETTERS)\n for i, letter in enumerate(line):\n tensor[i][0][letter_to_index(letter)] = 1\n return tensor", "def lineToTensor(line):\n tensor = torch.zeros(len(line), 1, n_letters)\n for li, letter in enumerate(line):\n ...
[ "0.6472327", "0.6370242", "0.6287842", "0.60797554", "0.5904318", "0.5901345", "0.58888185", "0.58888185", "0.58405876", "0.5839657", "0.5623645", "0.5613586", "0.56058943", "0.5604532", "0.5592153", "0.5570251", "0.55604583", "0.5545675", "0.5545618", "0.5541155", "0.5525334...
0.750674
0
Computes the entropy of message in bits The formula for computing the entropy is H = sum_i (p_i log2(p_i)), where p_i = n_i / N, where n_i is the occurrence of i in the message and N is the total number of signs in the message.
def entropy(message): # Should the import be here or should it be at the top of the page? freq_dict = letter_freq(message) length_message = len(message) bit_entropy = 0 for occurrences in freq_dict.values(): frequency = occurrences / length_message bit_entropy = bit_entropy - frequen...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def entropy(message):\n n = len(message)\n message = letter_freq(message)\n h = 0\n for n_i in message.values():\n p_i = n_i/n\n h += -p_i*(log2(p_i))\n return h", "def entropy(message):\n message = letter_freq(message)\n n = sum(message.values())\n h = 0\n for n_i in mes...
[ "0.85138184", "0.84635735", "0.77649164", "0.7669737", "0.76205844", "0.76007", "0.7591656", "0.75041735", "0.74686176", "0.744174", "0.7396394", "0.73950416", "0.7380866", "0.7314342", "0.72970843", "0.7261026", "0.72461516", "0.7242129", "0.72165644", "0.72095585", "0.71804...
0.83031505
2
Get the range of a float feature.
def _rangeQueryFloatFeature(self): # create args minToGet = c_double() maxToGet = c_double() errorCode = VimbaDLL.featureFloatRangeQuery(self._handle, self._name, byref(minToGet), ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def get_featureRange(self):\n\n return self.featureRange", "def range(self):\n lower, upper = sorted((self.y1, self.y2))\n return FloatRange(lower=lower, upper=upper)", "def range(self) -> NDArrayFloat: # noqa: A003\n\n return ndarray_copy(self._range)", "def detect_range(self) -...
[ "0.76419353", "0.7165611", "0.70312136", "0.6874846", "0.68018043", "0.67596096", "0.67596096", "0.6740091", "0.67377317", "0.6641654", "0.65516376", "0.6498652", "0.6467492", "0.6423521", "0.635193", "0.63143927", "0.6293651", "0.6278658", "0.62073356", "0.61934584", "0.6186...
0.793461
0
returns the learning rate decay operation
def learning_rate_decay(alpha, decay_rate, global_step, decay_step): gd = tf.train.inverse_time_decay(alpha, global_step, decay_step, decay_rate, staircase=True) return gd
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def learning_rate(epoch):\n return alpha / (1 + decay_rate * epoch)", "def learning_rate(epoch):\n return alpha / (1 + decay_rate * epoch)", "def lr_decay(step):\n return(alpha / (1 + decay_rate * step))", "def learning_rate_decay(alpha, decay_rate, global_step, decay_step):\n ...
[ "0.78236675", "0.78236675", "0.7770506", "0.77552515", "0.7752199", "0.7668788", "0.76070666", "0.75253105", "0.7416428", "0.7358619", "0.733647", "0.7324354", "0.73032254", "0.729303", "0.7269967", "0.7230412", "0.72283983", "0.7214396", "0.718243", "0.71525383", "0.71340746...
0.74302036
8
Fixture to return the location of the test feature file dir
def featurefiledir(): return __FEATURE_FILES_DIR__
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def test_dir():\n return os.path.abspath(os.path.dirname(__file__))", "def get_test_path():\n path, name = os.path.split(__file__)\n return os.path.join(path,\"..\", 'test-data')", "def fixture_fixtures_dir() -> Path:\n _dir_path = Path(\"tests/fixtures\")\n return _dir_path", "def feature_pat...
[ "0.74079704", "0.73350626", "0.72298723", "0.7151617", "0.71445507", "0.7093662", "0.69302434", "0.6849697", "0.6766334", "0.6705661", "0.6680024", "0.6639145", "0.6607643", "0.65834284", "0.6526567", "0.6517288", "0.64992917", "0.6474402", "0.6459236", "0.6458842", "0.642321...
0.6924506
7
Fixture to create and get a clean ExtensionRegistry instance.
def extensionregistry(): registry = ExtensionRegistry() yield registry
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def entity_reg(hass):\n return mock_registry(hass)", "def test_load(self):\n class TestExtension(Extension):\n pass\n\n self.setup_extension(TestExtension, enable=False)\n\n self.assertEqual(self.manager.get_installed_extensions(),\n [TestExtension])\n ...
[ "0.6481339", "0.62893534", "0.62163985", "0.6204019", "0.6150869", "0.6122794", "0.5982793", "0.5973814", "0.5909268", "0.58975804", "0.5873562", "0.5721294", "0.57034093", "0.5674275", "0.56719947", "0.5649816", "0.56431127", "0.56345135", "0.55886596", "0.5569486", "0.55099...
0.62969834
1
Searched the tree for a value and returns its index
def __find(self, x, parent: 'Node'): found = None if parent.value == x: return parent for child in parent.children: if child.value == x: return child new_found = self.__find(x, parent=child) if new_found: found = ne...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def find(self, value):\n if self.value is None:\n raise BinaryTreeValueError(\"Value {} not in tree\")\n\n if self.value == value:\n return self.left_length\n\n elif value < self.value:\n # Value is in left side of tree\n return self.left.find(value)...
[ "0.72703475", "0.70558256", "0.7011695", "0.69942003", "0.6951921", "0.68962747", "0.6863564", "0.68510616", "0.68107826", "0.68107826", "0.67898303", "0.67867076", "0.67852706", "0.6779989", "0.6770391", "0.6767439", "0.6764878", "0.6690634", "0.66810405", "0.665591", "0.664...
0.0
-1
Tests the CharacterFromHexID() method.
def testGetCharacterFromHexID(self): db = beerlogdb.BeerLogDB(self.DB_PATH) db.known_tags_list = { 'charX': {'name': 'toto', 'glass': 33}, 'charY': {'name': 'toto', 'glass': 45} } db.AddEntry('charX', 'picX') self.assertEqual(db.GetCharacterFromHexID('non-ex'), None) ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def test_is_valid_hex(self):\n self.assertTrue(is_valid_hex('#aabb11'))\n self.assertTrue(is_valid_hex('#000'))\n self.assertTrue(is_valid_hex('#aaa'))\n self.assertFalse(is_valid_hex('black'))\n self.assertFalse(is_valid_hex('bl(ack'))", "def ishex(char: chr) -> bool:\n ret...
[ "0.65897", "0.6329143", "0.6178433", "0.6149218", "0.6033612", "0.60086083", "0.5973618", "0.59157634", "0.5910799", "0.590169", "0.5821076", "0.5811689", "0.5796738", "0.57467216", "0.57467055", "0.57400167", "0.5735188", "0.57143587", "0.5650564", "0.56218284", "0.55968213"...
0.83986276
0
Returns next item in the work list. Skips items of value 'None'. If no items remain and the nomore flag is True, raises StopIteration. Otherwise, waits and tries again. If told no new items will be added and the work list has been exhausted, then will stop waiting for new items and will raise a StopIteration.
def next(self): while True: # waiting item = self.get_next_if_any() if item is not None: # feature: value None is filtered out return item if self.nomore: # if nothing else is coming break # stop waiting time.sleep(0.1) # wai...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def get_next_if_any(self):\n try:\n ret = self.work[deepcopy(self.i)]\n self.i += 1\n # print \"Trickling item\", self.i\n return ret\n except Exception:\n return None", "async def next(self, default=NO_ITEM) -> typing.Any:\n try:\n ...
[ "0.74655056", "0.64955515", "0.6442161", "0.6432927", "0.6400945", "0.6329992", "0.6270726", "0.6256504", "0.62543", "0.62171865", "0.6211819", "0.6162988", "0.61603415", "0.6150767", "0.61029524", "0.6100559", "0.60471797", "0.59945554", "0.59578407", "0.59394425", "0.593227...
0.81400174
0
Appends this worker (or these workers) at the end of the stream. If worker variable is not already a worker, wraps with this stream's default worker (as specified during __init__) Returns this stream.
def then(self, worker, **worker_overrides): if hasattr(worker, "__iter__"): map(self.then, worker) else: if not isinstance(worker, workers.Worker): worker_args = deepcopy(self.defaults) worker_args.update(worker_overrides) worker = ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def worker(self, worker):\n\n self._worker = worker", "def __next__(self) -> type:\n\n return self._next_worker()", "def setWorker(self, worker):\n pass", "def worker(self):\n return self._worker", "def add_worker(\n self, worker: Worker, start: bool = True, exclusive: bo...
[ "0.5504909", "0.53708434", "0.52602273", "0.5217667", "0.5182951", "0.5018664", "0.5003659", "0.5001556", "0.49047694", "0.49025312", "0.4883978", "0.4803629", "0.47905362", "0.47161427", "0.4699171", "0.46758205", "0.46617612", "0.46419507", "0.46381506", "0.4584612", "0.457...
0.65711105
0
Elementwise product of two vectors plus a third one, with the application of an activation function when it is specified.
def xewy_plus_z(x, y, z, activation=None): R = tf.add(tf.multiply(x, y), z) if activation: return activation(R) else: return R
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def _forward(z: np.array, W: np.array, b: np.array,\n activation: str) -> np.array:\n a = np.dot(z, W) + b\n if activation == 'sigmoid':\n return sigmoid(a)\n elif activation == 'identity':\n return identity(a)", "def activate(self, inputs: Tuple[float, ...]) -> Tuple[float, .....
[ "0.66088736", "0.6501206", "0.6463272", "0.6433553", "0.64194316", "0.636197", "0.6361468", "0.6323663", "0.6321082", "0.6295754", "0.6272025", "0.6267631", "0.62512195", "0.6249915", "0.62197006", "0.62100524", "0.62039775", "0.62010866", "0.61958027", "0.6163765", "0.616268...
0.66119117
0
Multiply a vector by a scalar and add it to a second vector, with the application of an activation function when it is specified.
def xscalary_plus_z(scalar, x, y, activation=None): R = tf.add(tf.scalar_mul(scalar,x), y) if activation: return activation(R) else: return R
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def xewy_plus_z(x, y, z, activation=None):\n R = tf.add(tf.multiply(x, y), z)\n if activation:\n return activation(R)\n else: \n return R", "def _forward(z: np.array, W: np.array, b: np.array,\n activation: str) -> np.array:\n a = np.dot(z, W) + b\n if activation == 'sigm...
[ "0.67259", "0.67085737", "0.6587271", "0.65872025", "0.64035785", "0.6347857", "0.6258598", "0.62472576", "0.62441075", "0.62427694", "0.6239453", "0.61397773", "0.6062691", "0.60594213", "0.60591257", "0.6036085", "0.5991605", "0.5979216", "0.59601164", "0.59566545", "0.5956...
0.705384
0
Enters the supplied context manager If successful, also pushes its __exit__ method as a callback and returns the result of the __enter__ method.
def enter_context(self, cm): # We look up the special methods on the type to match the with # statement _cm_type = type(cm) _exit = _cm_type.__exit__ result = _cm_type.__enter__(cm) self._push_cm_exit(cm, _exit) return result
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def run401_02():\n\n class Context:\n def __init__(self):\n print('__init__()')\n\n def __enter__(self):\n print('__enter__()')\n return self\n\n def __exit__(self, exc_type, exc_val, exc_tb):\n # print(exc_type, exc_val, exc_tb)\n prin...
[ "0.7551216", "0.6490868", "0.6477639", "0.64531124", "0.6452863", "0.6452863", "0.64298356", "0.6398947", "0.6398947", "0.62478316", "0.62149704", "0.61637163", "0.61050177", "0.60108554", "0.60106117", "0.60106117", "0.59933585", "0.5991017", "0.59487236", "0.5927854", "0.59...
0.60804737
13
Get system state byte.
def system_state(self): byte = ord(self._serial_io(b'\x49', 1)) self._serial_ack = bool(byte & (1 << 4)) self._serial_chk = bool(byte & (1 << 6)) return byte
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def get_system_state(self):\n byte = self.system_state\n return {\n 'chksum': bool(byte & (1 << 6)),\n 'ack': bool(byte & (1 << 4)),\n 'FPGAboot': bool(byte & (1 << 2)),\n 'FPGArun': bool(byte & (1 << 1)),\n 'FPGAcom': bool(byte & (1 << 0)),\n ...
[ "0.67487335", "0.64340913", "0.64086384", "0.64025", "0.6344891", "0.63243854", "0.6297151", "0.6252535", "0.6189081", "0.6182659", "0.6146663", "0.6107864", "0.6105023", "0.6100191", "0.6091442", "0.6071827", "0.6046282", "0.6033162", "0.5989367", "0.598059", "0.59798235", ...
0.7707723
0
Get trigger mode as dict.
def get_trig_mode(self): byte = self.trig_mode return { 'rising': bool(byte & (1 << 7)), 'ext': bool(byte & (1 << 6)), 'abort': bool(byte & (1 << 3)), 'cont': bool(byte & (1 << 2)), 'fixed': bool(byte & (1 << 1)), 'snap': bool(byte ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def trigger_mode(self):\n return self.trigger_mode_index", "def adv_trigger_mode(self):\n return self.adv_trigger_mode_state", "def _getInteractiveMode(self):\n if isinstance(self._eventHandler, ZoomAndSelect):\n return {'mode': 'zoom', 'color': self._eventHandler.color}\n\n ...
[ "0.75316644", "0.6873769", "0.64976996", "0.6437056", "0.6412575", "0.63523203", "0.62933064", "0.6269262", "0.6208521", "0.620582", "0.61821926", "0.61681336", "0.61594117", "0.6132621", "0.6124215", "0.6098717", "0.60786223", "0.60606843", "0.60606843", "0.60606843", "0.606...
0.6681935
2
ROI Y offset as 12bit value.
def roi_y_offset(): def r(x): return x & 0xFFF def w(x): return min(x, 0xFFF) return r, w
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def OffsetY(*args, **kwargs):\n return _gdi_.NativePixelData_Accessor_OffsetY(*args, **kwargs)", "def OffsetY(*args, **kwargs):\n return _gdi_.AlphaPixelData_Accessor_OffsetY(*args, **kwargs)", "def y(self):\n return self._reg2val(MMA7660_Y_ADDR)", "def Get_RawOutY_Value(self):\r\n ...
[ "0.6575033", "0.65668434", "0.65213394", "0.65005755", "0.647236", "0.621364", "0.6211337", "0.61470556", "0.6121638", "0.60891026", "0.60891026", "0.6081298", "0.6070879", "0.60560113", "0.6021842", "0.6018426", "0.59647435", "0.5944422", "0.5892085", "0.58908266", "0.587133...
0.7467001
0
Return region of interrest.
def roi_rect(self): return ( self.roi_x_offset, self.roi_y_offset, self.roi_x_size, self.roi_y_size, )
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def region(self):\n return regions.lookup(self.state)", "def getregion(self, *args, **kwargs):\n return _image.image_getregion(self, *args, **kwargs)", "def region(self):\n # type: () -> string_types\n return self._region", "def region(self):\n return self._region", "def ...
[ "0.7542165", "0.7483945", "0.7457851", "0.74477553", "0.74477553", "0.7393905", "0.7297638", "0.72642374", "0.72642374", "0.72642374", "0.72642374", "0.72642374", "0.72642374", "0.71661997", "0.71661997", "0.71661997", "0.7128536", "0.70548654", "0.70464617", "0.70464617", "0...
0.0
-1
Close Camera if currently opened.
def close(self): if self.dev_open: try: self.lib().close() except CygnetExc: pass self.dev_open = False
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def close(self):\n if self.hcam is not None:\n lib.is_ExitCamera(self.hcam)\n self.hcam=None\n self.hcam=None", "def safeClose():\n # outputToggle(ledPin, False)\n # outputToggle(auxlightPin, False)\n camera.stop_preview()\n camera.close()\n GPIO.cleanup()", "...
[ "0.82252", "0.7477226", "0.7398292", "0.7252772", "0.6637535", "0.6557985", "0.6505411", "0.648058", "0.6479141", "0.64684063", "0.6458245", "0.645615", "0.64539737", "0.6356898", "0.6334265", "0.6319085", "0.6309362", "0.6287642", "0.6210711", "0.62019163", "0.61876994", "...
0.0
-1
This enum is backwardcompatible with rhs (older_enum) if and only if one
def IsBackwardCompatible(self, rhs, checker): def buildVersionFieldMap(enum): fields_by_min_version = {} for field in enum.fields: if field.min_version not in fields_by_min_version: fields_by_min_version[field.min_version] = set() fields_by_min_version[field.min_version].add(f...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def test_enum_aliases():\n class RedundantStatus(OrderedStrEnum):\n\n draft = 'draft'\n unpublished = 'draft'\n published = 'published'\n archived = 'archived'\n\n __order__ = 'draft, unpublished, published, archived'\n\n yield (tools.eq_, RedundantStatus.draft.ordinal, Red...
[ "0.61928606", "0.6135152", "0.60818774", "0.5989259", "0.59081787", "0.5790299", "0.5766568", "0.5711824", "0.56632996", "0.5657223", "0.558795", "0.5544709", "0.5536909", "0.5435645", "0.54112214", "0.54056513", "0.5396017", "0.5329889", "0.531817", "0.5315174", "0.52984697"...
0.581529
5
Check if the kind contains any native type (struct or enum). This check is recursive so it checks all struct fields, scoped interface enums, etc.
def ContainsNativeTypes(kind): # We remember the types we already checked to avoid infinite recursion when # checking recursive (or mutually recursive) types: checked = set() def Check(kind): if kind.spec in checked: return False checked.add(kind.spec) if IsEnumKind(kind): return kind.n...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def ContainsHandlesOrInterfaces(kind):\n # We remember the types we already checked to avoid infinite recursion when\n # checking recursive (or mutually recursive) types:\n checked = set()\n\n def Check(kind):\n if kind.spec in checked:\n return False\n checked.add(kind.spec)\n if IsStructKind(ki...
[ "0.72254103", "0.61171633", "0.58185405", "0.5535777", "0.55214554", "0.5477587", "0.5418707", "0.54124457", "0.53940755", "0.535638", "0.5315527", "0.522809", "0.5207957", "0.5207909", "0.5201473", "0.5198814", "0.5192182", "0.5192182", "0.51751685", "0.5155406", "0.51364475...
0.81297976
0
Get a specific user by id.
def read_user_by_id( user_id: PyObjectId, current_user: Users = Depends(deps.get_current_active_user), ) -> Optional[User]: user = dao.user.get_user_by_id(id=user_id) if user == current_user: return user if not user: raise HTTPException( status_code=400, detail="The user ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def get_user_by_id(self, id):\n\t\treturn self.users.get(id)", "def get(id):\n return User.query.filter_by(id=id).first()", "def get(self, id):\n\t\ttry:\n\t\t\tflask_app.logger.debug('We are getting the user: %d', id)\n\t\t\treturn user_service.get(id)\n\t\texcept AssertionError as e:\n\t\t\tuser_space...
[ "0.88417065", "0.85353214", "0.8532302", "0.84828997", "0.84399986", "0.8371879", "0.8312722", "0.82950485", "0.82752454", "0.8231121", "0.82303536", "0.8205734", "0.8205734", "0.8205734", "0.8205734", "0.817708", "0.8158661", "0.81535053", "0.8136354", "0.81239873", "0.81229...
0.7739944
60
Return the precision of the system.
def precision(self): return PRECISION_WHOLE
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def precision(self) :\n return self.__precision", "def precision(self) :\n return self.__precision", "def get_precision(self):\n ...", "def precision(self):\n tpos, fpos = len(self.__true_positives), len(self.__false_positives)\n return float(tpos) / (tpos + fpos)", "def ...
[ "0.8444097", "0.8444097", "0.82612175", "0.8181004", "0.8089527", "0.79801905", "0.7718673", "0.7630337", "0.7629425", "0.7629425", "0.7524124", "0.7463178", "0.73394215", "0.7315662", "0.72706413", "0.7264505", "0.72592515", "0.72338885", "0.7231734", "0.71754324", "0.712173...
0.7966513
6
Return the optional state attributes.
def device_state_attributes(self): # TODO: convert RH from Elk to AH ? #if self.current_humidity > 0: # humidity = self.current_humidity data = { 'hidden': self._hidden, 'temp_unit' : self.temperature_unit, } if self._device.temp_outside is ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def extra_state_attributes(self):\n if self.is_binary:\n return None\n return self.attr", "def extra_state_attributes(self):\n return self._attributes", "def extra_state_attributes(self):\r\n return self._attributes", "def extra_state_attributes(self):\n return self....
[ "0.7883022", "0.7863216", "0.7789307", "0.7711638", "0.7692919", "0.7680405", "0.7645333", "0.7625125", "0.7459336", "0.7444383", "0.74294287", "0.73881376", "0.7375724", "0.73232085", "0.7301608", "0.728261", "0.7244107", "0.7244107", "0.72256106", "0.72228706", "0.7220062",...
0.0
-1
Return the maximum temp supported.
def max_temp(self): return 99
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def max_temp(self):\n return GH_MAX_TEMP", "def max_temp(self):\n return self.atag.dhw_max_temp", "def max_temp(self):\n # return convert_temperature(\n # self._device.max_temp, TEMP_CELSIUS, self.hass.config.units.temperature_unit\n # )\n return self._device.max_t...
[ "0.85988975", "0.8459551", "0.8458674", "0.8438892", "0.83995616", "0.8327581", "0.82354313", "0.82110035", "0.8171325", "0.81500804", "0.8087402", "0.7873407", "0.7657547", "0.73928905", "0.736101", "0.73378927", "0.73006666", "0.7280445", "0.71801615", "0.7105498", "0.69483...
0.85153306
1
Set new target fan mode.
def set_fan_mode(self, fan): if fan == STATE_AUTO: self._device.set_fan(self._device.FAN_AUTO) elif fan == STATE_ON: self._device.set_fan(self._device.FAN_ON)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def set_fan_mode(self, value):\n return self.parent.controller.set_fan_auto_mode(value)", "def set_fan_mode(self, fan_mode):\n if self.preset_mode is not None:\n dps_mode = FAN_MODES[self.preset_mode][int(fan_mode)]\n self._device.set_property(PROPERTY_TO_DPS_ID[ATTR_FAN_MODE]...
[ "0.77543575", "0.77154255", "0.7704043", "0.7611645", "0.75783825", "0.7501574", "0.74044466", "0.7102789", "0.7077084", "0.70231044", "0.6946794", "0.6912525", "0.67700696", "0.67671233", "0.6766175", "0.67127615", "0.6685691", "0.66704637", "0.666543", "0.65710115", "0.6450...
0.78884286
0
Provide the Sky file image or directly the skydata (a Galex Object) (in galex filename format they have the skybg label). This will set the sky that you can access using self.sky. The Variance will be updated except if derive_variance is False Returns Void
def set_sky(self, filename=None, skydata=None, set_background=True): # - set the sky if filename is not None: self._properties["sky"] = GALEX(filename, background=0, dataslice0=self._build_properties["datasli...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def sky_noise(sky_file_name):\n fits_file = fits.open(sky_file_name)\n image_data = fits_file[0].data\n return image_data", "def sky_direction(self, sky_direction):\n\n self._sky_direction = sky_direction", "def sky_noise_weighting(file_name, sky_file_name):\n cs_data = spectra_analysis(...
[ "0.60928065", "0.578779", "0.5555694", "0.5444651", "0.53089005", "0.5159947", "0.5091371", "0.5087312", "0.50514364", "0.5044712", "0.504005", "0.50343555", "0.50155896", "0.50088704", "0.4982444", "0.49684095", "0.49525052", "0.49501544", "0.48957065", "0.48747668", "0.4864...
0.73781073
0
The ABmag zero point of SDSS data
def mab0(self): return GALEX_INFO[self.bandname]["ABmag0"]
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def AB_zero_mag(self):\n return self._get_mean_and_samples_attribute('AB_zero_mag')", "def ST_zero_mag(self):\n return 21.1", "def ST_zero_mag(self):\n return 21.1", "def AB_zero_flux(self):\n return 10 ** (-0.4 * self.AB_zero_mag) * Unit('erg*s**-1*cm**-2*AA**-1')", "def mab0(s...
[ "0.7738167", "0.7382462", "0.7382462", "0.70866597", "0.6871086", "0.67155606", "0.66425145", "0.6535739", "0.6513448", "0.63276136", "0.63046676", "0.6269584", "0.5961608", "0.5947641", "0.58843184", "0.5857695", "0.58431053", "0.57165354", "0.57127595", "0.56145567", "0.561...
0.6825877
5
Get the Yaxis coordinate Returns
def y_coords(self): y_coords = self.get_fre_band_arr() y_coords = np.insert(y_coords, 0, self.low_fre) return y_coords
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def get_y(self):\n return self.coords[1]", "def get_axis_y(self):\r\n return self.__y_axis", "def y(self):\n return self.coords[1]", "def y(self):\n return self._coords[1]", "def yaxis ( self ) :\n return self.__yaxis", "def yaxis ( self ) :\n return self.__yax...
[ "0.8409047", "0.8379632", "0.83530354", "0.8236138", "0.8183012", "0.8183012", "0.8170786", "0.816151", "0.81320775", "0.8113469", "0.80559003", "0.79416764", "0.79390043", "0.7922004", "0.7899723", "0.7896044", "0.78942674", "0.7881376", "0.788018", "0.788018", "0.7871554", ...
0.0
-1
Get the Xaxis coordinate Returns
def x_coords(self): x_coords = np.linspace(0, self.fft_length / self.samplate, self.fft_length + 1) return x_coords
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def get_axis_x(self):\r\n return self.__x_axis", "def xaxis ( self ) :\n return self.__xaxis", "def xaxis ( self ) :\n return self.__xaxis", "def xaxis ( self ) :\n return self.__xaxis", "def get_x(self):\n return self.coords[0]", "def x(self):\n return self.co...
[ "0.84565634", "0.84412724", "0.84412724", "0.8429891", "0.8413265", "0.8296162", "0.8247626", "0.8223423", "0.8192884", "0.81440324", "0.7991372", "0.7936949", "0.78938204", "0.7839467", "0.78298676", "0.7807478", "0.7798045", "0.7784345", "0.7698502", "0.76579213", "0.765636...
0.712024
44
Resursively merges two dictionaries by taking inputs from the 'incoming' dictionary and overlaying them upon the 'output' dictionary. By default, no values in the resulting dictionary will be overwritten if present in both. Passing 'overwrite=True' will flip this behavior. Useful for, eg, applying some userinputted con...
def merge(incoming={}, output={}, overwrite=False): _output = output.copy() for _key, _value in incoming.items(): # loop through each key/value pair if (_key in _output) and isinstance(_value, dict): # detect when we need to recurse _output[_key] = merge(_value, _output[_key]) # recurse else: # _key is not in ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def merge_dict(lhs, rhs, override=True):\n if not isinstance(lhs, dict) or not isinstance(rhs, dict):\n if override:\n return rhs\n else:\n return lhs\n\n for key, value in rhs.items():\n if key not in lhs:\n lhs[key] = rhs[key]\n else:\n ...
[ "0.6838846", "0.68018186", "0.67523575", "0.6739596", "0.6718958", "0.67066324", "0.67066324", "0.67066324", "0.67066324", "0.67066324", "0.67066324", "0.67066324", "0.67066324", "0.66906536", "0.66906536", "0.66906536", "0.66740364", "0.66367483", "0.6627979", "0.65935445", ...
0.83975714
0
Forward propagation. Compute the output value based on `inbound_neurons` and store the result in self.value.
def forward(self): raise NotImplemented
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def forward_propagate(self):\n for i in range(0, len(self.output_layer)):\n output = 0\n\n # Loop through each Neuron in the hidden layer\n for neuron in self.hidden_layer:\n output += neuron.weights[i] * neuron.output\n\n # Update summation for out...
[ "0.75127256", "0.70728886", "0.6911653", "0.68954885", "0.67762953", "0.67299455", "0.6717399", "0.67043215", "0.67006093", "0.66540354", "0.66416645", "0.66396266", "0.6627107", "0.6590318", "0.6586918", "0.65661114", "0.65375173", "0.6536286", "0.65348333", "0.65342975", "0...
0.0
-1
Close the connection to the target service
def close(self): pass
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def __close_conn(self, target_host_socket):\n self.__client.close()\n target_host_socket.close()\n logging.info(\"Client <> Target closed\")", "def close(self):\n # PEP 249\n rpc.close_service(self.service)", "def close(self):\n self._fuzz_data_logger.log_info('Closing...
[ "0.7467594", "0.7347478", "0.72398525", "0.7159583", "0.71161234", "0.7093461", "0.70887727", "0.70562834", "0.7048429", "0.7014073", "0.69654804", "0.6948941", "0.69411314", "0.6928845", "0.6926914", "0.6926892", "0.69196796", "0.6909735", "0.6899867", "0.6899867", "0.687879...
0.0
-1
Compute softmax values for each sets of scores in x.
def softmax(x): return np.exp(x) / np.sum(np.exp(x), axis=0)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def softmax(self, scores):\n\n\n # for each sample, for each class ,caclulate\n # np.exp(scores) : still (n_samples, n_classes)\n\n # axis = 1\n # a00, a01, a02 as a sinlge one to perfrom np_sum\n # which is the same sample \n # sum_exp : still (n_samples, 1)\n\n # ...
[ "0.7796294", "0.7760558", "0.7759004", "0.77567077", "0.76577055", "0.76577055", "0.76577055", "0.76577055", "0.7585655", "0.743143", "0.7407772", "0.73941606", "0.7358175", "0.73174125", "0.72689486", "0.72623265", "0.72614294", "0.7256868", "0.723019", "0.7214918", "0.72017...
0.6985568
85
Calls on .inOrderTraverse(), and counts the elements in the given list.
def getSize(self): list = self.getList() return len(list)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def count_items(self):\n count = 0\n for o in self.order_lst:\n count += o.count()\n \n return count", "def count(self):\n return len(self.order_lst)", "def test_in_order_list(self):\n _expected_list = [5, 13, 23, 57, 103]\n _output_list = []\n ...
[ "0.63981616", "0.6043147", "0.5988806", "0.58939326", "0.58630985", "0.58181244", "0.561005", "0.55107284", "0.5505013", "0.55034816", "0.55006945", "0.54479736", "0.5444447", "0.5444447", "0.5435098", "0.5430243", "0.5398429", "0.53700083", "0.53682566", "0.5339376", "0.5322...
0.0
-1
Sets the learning rate to the initial LR decayed by 10 every 30 epochs
def adjust_learning_rate(optimizer, epoch, power): lr = args.lr * (0.1 ** (power*(epoch // 30))) for param_group in optimizer.param_groups: param_group['lr'] = lr
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def adjust_learning_rate(init_lr, optimizer, epoch, n=100):\n init_lr = init_lr * (0.1 ** (epoch // n))\n print('learning rate : ', init_lr)\n for param_group in optimizer.param_groups:\n param_group['lr'] = init_lr", "def adjust_learning_rate(start_lr, optimizer, epoch, total_epoch_num):\n #l...
[ "0.7913536", "0.7906521", "0.7849834", "0.777524", "0.77338326", "0.77306354", "0.7722718", "0.77224237", "0.771982", "0.77092624", "0.7693604", "0.76742035", "0.7665748", "0.7665748", "0.7665748", "0.7655329", "0.76419765", "0.76399755", "0.7637868", "0.7626077", "0.76247585...
0.7597506
27
Computes the precision for the specified values of k
def accuracy(output, target, topk=(1,)): with torch.no_grad(): maxk = max(topk) batch_size = target.size(0) _, pred = output.topk(maxk, 1, True, True) pred = pred.t() correct = pred.eq(target.view(1, -1).expand_as(pred)) res = [] for k in topk: c...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def precision(gt, pred, k):\n k = min(len(pred), k)\n den = min(len(gt), k)\n return sum([int(pred[i] in gt) for i in range(k)]) / den", "def precision_at_k(r, k):\n assert k >= 1\n r = np.asarray(r)[:k] != 0\n if r.size != k:\n raise ValueError('Relevance score length < k')\...
[ "0.76427615", "0.74189496", "0.7418079", "0.72710466", "0.72456723", "0.72446615", "0.7237539", "0.72213703", "0.7210107", "0.7058935", "0.6852219", "0.6786084", "0.67836976", "0.6768417", "0.67273885", "0.67181736", "0.67181736", "0.67181736", "0.67181736", "0.67181736", "0....
0.0
-1
Action for a column name.
def act_on_column_name(self, *, arg, value): assert arg is None assert isinstance(value, str)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def _get_column(self, name):\r\n return self.column(name)", "def getColName(self, col):\n try:\n return chr(ord('a') + col)\n except:\n return col", "def getColName(self, col):\n try:\n return chr(ord('a') + col)\n except:\n return ...
[ "0.6660265", "0.6657282", "0.6657282", "0.6637954", "0.6637954", "0.6595363", "0.65592444", "0.6550772", "0.6550772", "0.65214103", "0.6516591", "0.64352375", "0.6380491", "0.6339202", "0.63276345", "0.6286839", "0.6267195", "0.62003917", "0.6192203", "0.61488175", "0.6143069...
0.7800615
0
Action for a column name.
def act_on_expression(self, *, arg, values: List, op): assert arg is None assert isinstance(values, List) assert isinstance(op, data_algebra.expr_rep.Expression) # work on expression requirements if (len(values) == 0) or (op.op in self._needs_one_constant): self.one_c...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def act_on_column_name(self, *, arg, value):\n assert arg is None\n assert isinstance(value, str)", "def _get_column(self, name):\r\n return self.column(name)", "def getColName(self, col):\n try:\n return chr(ord('a') + col)\n except:\n return col", "d...
[ "0.7800615", "0.6660265", "0.6657282", "0.6657282", "0.6637954", "0.6637954", "0.6595363", "0.65592444", "0.6550772", "0.6550772", "0.65214103", "0.6516591", "0.64352375", "0.6380491", "0.6339202", "0.63276345", "0.6286839", "0.6267195", "0.62003917", "0.6192203", "0.61488175...
0.0
-1
Action for a column name.
def act_on_column_name(self, *, arg, value): assert isinstance(arg, (pl.DataFrame, type(None))) assert isinstance(value, str) return PolarsTerm(polars_term=pl.col(value), is_column=True)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def act_on_column_name(self, *, arg, value):\n assert arg is None\n assert isinstance(value, str)", "def _get_column(self, name):\r\n return self.column(name)", "def getColName(self, col):\n try:\n return chr(ord('a') + col)\n except:\n return col", "d...
[ "0.7800615", "0.6660265", "0.6657282", "0.6657282", "0.6637954", "0.6637954", "0.6595363", "0.65592444", "0.6550772", "0.6550772", "0.65214103", "0.6516591", "0.64352375", "0.6380491", "0.63276345", "0.6286839", "0.6267195", "0.62003917", "0.6192203", "0.61488175", "0.6143069...
0.6339202
14
Action for a column name.
def act_on_expression(self, *, arg, values: List, op): assert isinstance(arg, (pl.DataFrame, type(None))) assert isinstance(values, List) assert isinstance(op, data_algebra.expr_rep.Expression) # process inputs for v in values: assert isinstance(v, (List, PolarsTerm))...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def act_on_column_name(self, *, arg, value):\n assert arg is None\n assert isinstance(value, str)", "def _get_column(self, name):\r\n return self.column(name)", "def getColName(self, col):\n try:\n return chr(ord('a') + col)\n except:\n return col", "d...
[ "0.7800615", "0.6660265", "0.6657282", "0.6657282", "0.6637954", "0.6637954", "0.6595363", "0.65592444", "0.6550772", "0.6550772", "0.65214103", "0.6516591", "0.64352375", "0.6380491", "0.6339202", "0.63276345", "0.6286839", "0.6267195", "0.62003917", "0.6192203", "0.61488175...
0.0
-1
Build a new data frame.
def data_frame(self, arg=None): if arg is None: return pl.DataFrame() if isinstance(arg, pl.DataFrame): return arg if isinstance(arg, pl.LazyFrame): return arg.collect() return pl.DataFrame(arg)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def build_dataframe() -> pd.DataFrame:\n df = pd.DataFrame(\n np.random.randint(0, 1000, size=(1000, 6)), columns=list(\"ABCDEF\")\n )\n\n return df", "def construct_data_frame(self) -> pd.DataFrame:\n data_frame = self.base_data_frame[\n [self.name_col, self.des...
[ "0.8015446", "0.7640847", "0.7398896", "0.72692686", "0.7072867", "0.6965998", "0.6935612", "0.6926623", "0.6905561", "0.6837194", "0.6807953", "0.67884666", "0.67752105", "0.6775169", "0.6754702", "0.6721268", "0.6706466", "0.668841", "0.6675914", "0.667129", "0.66485554", ...
0.0
-1
Return vector indicating which entries are null (vectorized).
def bad_column_positions(self, x): return x.is_null()
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def count_null(self): \n print('Null Counts:', self.X.isnull().sum()[self.X.isnull().sum() > 0])", "def isna(self):\n size = len(self.data)\n isnull_byte_map = np.zeros(size, dtype=bool)\n for i in range(size):\n if self.data[i] is None:\n isnull_byte_map[...
[ "0.6511942", "0.62651116", "0.6131981", "0.61247563", "0.6123693", "0.6123693", "0.598943", "0.5987579", "0.59597796", "0.59439164", "0.5921522", "0.59027404", "0.5801589", "0.5792797", "0.5792382", "0.5754478", "0.5701469", "0.56430984", "0.56420493", "0.56274915", "0.558927...
0.0
-1
Convert ViewRepresentation into SQL string. Not at a useful level of development yet.
def to_sql( self, ops: data_algebra.data_ops.ViewRepresentation, *, sql_format_options: Optional[SQLFormatOptions] = None, ) -> str: assert isinstance(ops, data_algebra.data_ops_types.OperatorPlatform) sql_string = self.sql_model.to_sql(ops, sql_format_options=sql_for...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def dump(self):\n outputs = [\"View : %s\\n\" % self.name]\n cols = list(self.columns.values())\n cols.sort()\n for column in cols:\n outputs.append(\" %-30s %-12s\" % (column['name'], column['type']))\n outputs.append(\"%7s\" % self.__class__.calc_precision(colum...
[ "0.6891758", "0.67753863", "0.602609", "0.58587474", "0.58201617", "0.5788637", "0.5770388", "0.5770272", "0.5713707", "0.5700038", "0.56931585", "0.56305325", "0.55607957", "0.54777735", "0.5465645", "0.54528725", "0.5446647", "0.5409013", "0.53251743", "0.53138494", "0.5302...
0.69150776
0
Return a data frame from table description and data_map.
def _table_step(self, op: data_algebra.data_ops_types.OperatorPlatform, *, data_map: Dict[str, Any]): if op.node_name != "TableDescription": raise TypeError( "op was supposed to be a data_algebra.data_ops.TableDescription" ) res = data_map[op.table_name] i...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def open_data(table):\n engine = create_engine(myDB, encoding='latin1') \n conn = engine.connect()\n select = conn.execute('select * from ' + table)\n\n df = pd.DataFrame(select.fetchall()) \n df.columns = select.keys()\n\n conn.close()\n return df", "def select_from_table(self, table_name):...
[ "0.68788844", "0.6634856", "0.65713817", "0.65247715", "0.64841133", "0.6476287", "0.64580274", "0.64361435", "0.6405467", "0.6376", "0.6332767", "0.6329969", "0.6303567", "0.6299736", "0.6290599", "0.6272693", "0.6264796", "0.6239897", "0.6231144", "0.6214454", "0.6202754", ...
0.6538466
3
Takes the elements of seq1 and seq2 and adds them together. >>> link = Link(4, Link(5, Link(6))) >>> lst = [1, 2, 3] >>> concat(lst, link) [1, 2, 3, 4, 5, 6] >>> concat(link, [7, 8]) Link(4, Link(5, Link(6, Link(7, Link(8))))) >>> concat(lst, [7, 8, 9]) [1, 2, 3, 4, 5, 6, 7, 8, 9]
def concat(seq1, seq2): if type_tag(seq1) == type_tag(seq2): return seq1 + seq2 else: types = (type_tag(seq1), type_tag(seq2)) if types in concat.adders: return concat.adders[types](seq1, seq2)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def concat_lists(list1, list2):\n\n # return list1 + list2\n for item in list2:\n list1.append(item)\n\n return list1", "def concat(self, other: \"Linked[T]\") -> None:\n first_self = self\n last_self = self.backward\n\n first_other = other\n last_other = other.backwar...
[ "0.661181", "0.6569252", "0.6535041", "0.6431737", "0.6342058", "0.63101876", "0.6278979", "0.62731534", "0.6237588", "0.62352467", "0.6139292", "0.610797", "0.610797", "0.60082334", "0.59970856", "0.59749883", "0.5962891", "0.5958108", "0.5901105", "0.5896995", "0.58225906",...
0.77278376
0
Left fold >>> lst = Link(3, Link(2, Link(1))) >>> foldl(lst, sub, 0) (((0 3) 2) 1) 6 >>> foldl(lst, add, 0) (((0 + 3) + 2) + 1) 6 >>> foldl(lst, mul, 1) (((1 3) 2) 1) 6
def foldl(link, fn, z): if link is Link.empty: return z "*** YOUR CODE HERE ***" return foldl(______, ______, ______)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def foldl(func, start, itr):\n return _foldl(func, start, iter(itr))", "def foldl2(link, fn, z):\n def step(x, g):\n \"*** YOUR CODE HERE ***\"\n return foldr(link, step, identity)(z)", "def foldr(link, fn, z):\n \"*** YOUR CODE HERE ***\"", "def test_foldr(self):\n self.assertEqual...
[ "0.6362552", "0.56485826", "0.54937565", "0.53218406", "0.5270003", "0.5260977", "0.5172532", "0.5126097", "0.51028746", "0.5030197", "0.4949356", "0.49424523", "0.4918443", "0.4918243", "0.49155903", "0.49084428", "0.49047178", "0.4864664", "0.48368225", "0.48259902", "0.482...
0.67741036
0
Right fold >>> lst = Link(3, Link(2, Link(1))) >>> foldr(lst, sub, 0) (3 (2 (1 0))) 2 >>> foldr(lst, add, 0) (3 + (2 + (1 + 0))) 6 >>> foldr(lst, mul, 1) (3 (2 (1 1))) 6
def foldr(link, fn, z): "*** YOUR CODE HERE ***"
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def test_foldr(self):\n self.assertEqual(irc._foldr(operator.sub, 0, [1, 2, 3, 4]), -2)\n\n def insertTop(l, x):\n l.insert(0, x)\n return l\n\n self.assertEqual(\n irc._foldr(insertTop, [], [[1], [2], [3], [4]]), [[[[[], 4], 3], 2], 1]\n )", "def redu...
[ "0.6399368", "0.6117648", "0.61108816", "0.5641015", "0.5628811", "0.5271743", "0.5202028", "0.51973826", "0.51790726", "0.5166649", "0.5147436", "0.5132936", "0.50504905", "0.5024689", "0.5005322", "0.50025433", "0.4959837", "0.49526995", "0.4926705", "0.49002996", "0.487551...
0.64675415
0
Write foldl using foldr >>> list = Link(3, Link(2, Link(1))) >>> foldl2(list, sub, 0) (((0 3) 2) 1) 6 >>> foldl2(list, add, 0) (((0 + 3) + 2) + 1) 6 >>> foldl2(list, mul, 1) (((1 3) 2) 1) 6
def foldl2(link, fn, z): def step(x, g): "*** YOUR CODE HERE ***" return foldr(link, step, identity)(z)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def foldr(link, fn, z):\n \"*** YOUR CODE HERE ***\"", "def foldl(link, fn, z):\n if link is Link.empty:\n return z\n \"*** YOUR CODE HERE ***\"\n return foldl(______, ______, ______)", "def foldl(func, start, itr):\n return _foldl(func, start, iter(itr))", "def folded(self, l, r):\n\n ...
[ "0.6699561", "0.66041416", "0.6143682", "0.597372", "0.57464063", "0.56932867", "0.54794854", "0.51066643", "0.5005212", "0.5002105", "0.49199668", "0.48433167", "0.48112175", "0.47960368", "0.47945786", "0.4750529", "0.47053233", "0.46716616", "0.46585363", "0.46564004", "0....
0.7077283
0
Extract tokens from doc. This uses a simple regex to break strings into tokens. For a more principled approach, see CountVectorizer or TfidfVectorizer.
def tokens(doc): return (tok.lower() for tok in re.findall(r"\w+", doc))
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def tokenize(doc):\n\n # Calls NLTK function to tokenize the document. Broken into individual words, cleans out punctuation\n tokens = nltk.word_tokenize(doc)\n\n return tokens", "def tokenize_doc_simple(self, doc):\n\n tokens = [word.strip(string.punctuation) for word in doc.split()]\n # ...
[ "0.7884953", "0.72097397", "0.6993295", "0.69534093", "0.6891448", "0.68899304", "0.68684447", "0.6854043", "0.6850808", "0.68154156", "0.68084216", "0.68077344", "0.680119", "0.6774733", "0.6770334", "0.67675984", "0.6755889", "0.67557013", "0.66786975", "0.6666259", "0.6641...
0.7315267
1
Evaluates a policy. Only returns Euclidean distance b/w start and goal.
def eval_policy(env, policy, obs_key, goal_key, num_rollouts, limit, pos=None, goal=None, filename=None): from tqdm import trange from ml_logger import logger logger.summary_cache.clear() if filename: frames = [] for _ in trange(num_rollouts, desc="evaluate"): obs, done = env.rese...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def _policy_eval(self, policy: np.ndarray) -> np.ndarray:\n V = np.zeros(self.state_dim)\n diff = 1.0\n dr = 0.9\n while (diff >= self.theta):\n diff = 0.0\n for s in self.mdp._state_dict:\n old = V[self.mdp._state_dict[s]]\n temp = 0....
[ "0.6603812", "0.6210595", "0.6085847", "0.60820204", "0.6039399", "0.5997967", "0.597214", "0.59328306", "0.5913134", "0.5895223", "0.5892322", "0.58805835", "0.5806929", "0.57905143", "0.57814866", "0.57814866", "0.57616776", "0.57516366", "0.56451833", "0.56307495", "0.5625...
0.5660916
18
Tests unauthorized to get all users without a token
def test_no_token_get_all(self): response = self.app.get('/api/v3/users') self.assertEqual(response.status_code, 401)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def test_user_get_all(self):\n response = self.app.get('/api/v3/users', headers=self.user_header)\n self.assertEqual(response.status_code, 401)", "def test_cannot_view_all_users_with_blacklisted_token(self):\n resp = self.admin_create_user()\n reply = self.admin_create_user2()\n ...
[ "0.8175105", "0.81118405", "0.80226123", "0.797025", "0.7908445", "0.7634978", "0.75217915", "0.7463794", "0.74588567", "0.7450755", "0.74295574", "0.7358912", "0.7356447", "0.7336839", "0.73309886", "0.73250633", "0.7250596", "0.72459006", "0.72411", "0.7203662", "0.71483594...
0.8682318
0
Test unsuccessful user creation because of existing email
def test_user_existing_email(self): data = json.dumps({ "username" : "john", "email" : "johndoe@gmail.com", "password" : "secret12345", "confirm_password" : "secret12345"}) res = self.app.post( # pylint: disable=W0612 '/api/v3/users', data=data, content_ty...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def test_create_account_failed_existing_email(self):\n data = self.user_data.copy()\n data['email'] = 'test2@test.com'\n response = self.client.post(self.url, data, format='json')\n self.assertEqual(response.status_code, status.HTTP_400_BAD_REQUEST)\n self.assertEqual(response.da...
[ "0.840937", "0.82397425", "0.8227301", "0.82125753", "0.8200642", "0.8197662", "0.8195861", "0.8195861", "0.8195861", "0.8195861", "0.8195861", "0.81949586", "0.8190689", "0.81860346", "0.81820667", "0.8156294", "0.81314534", "0.8084799", "0.80632436", "0.80547917", "0.804584...
0.83236396
1
Test unsuccessful user creation because of empty email
def test_user_empty_email(self): data = json.dumps({ "username" : "empty", "email" : "", "password" : "secret12345", "confirm_password" : "secret12345"}) response = self.app.post( '/api/v3/users', data=data, content_type='application/json', hea...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def test_private_create_user_without_email(self):\n with pytest.raises(ValueError) as exinfo:\n EmailUser.objects._create_user(None, None, False, False)\n self.assertIn('email must be set', str(exinfo.value))", "def test_creating_a_new_user_without_email(self):\n\n with self.asser...
[ "0.8506488", "0.8309602", "0.8296835", "0.8296443", "0.82915026", "0.8290041", "0.8285031", "0.8284248", "0.827993", "0.827993", "0.827993", "0.827993", "0.827993", "0.8275035", "0.8265277", "0.8217592", "0.8217483", "0.8213992", "0.820558", "0.82021546", "0.81791145", "0.8...
0.80437994
28
Test unsuccessful user creation because of invalid email
def test_user_invalid_email(self): data = json.dumps({ "username" : "lenny", "email" : "invalidemail.com", "password" : "secret12345", "confirm_password" : "secret12345"}) response = self.app.post( '/api/v3/users', data=data, content_type='application/json...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def test_new_user_invalid_email(self):\n with self.assertRaises(ValueError):\n get_user_model().objects.create_user(\"\", \"test42837492374923749\")", "def test_new_user_invalid_email(self):\n\n with self.assertRaises(ValueError):\n get_user_model().objects.create_user(None, '...
[ "0.8760232", "0.8706997", "0.86863804", "0.8681865", "0.8679561", "0.8675567", "0.86743945", "0.8670983", "0.86693716", "0.86693716", "0.86693716", "0.86693716", "0.86693716", "0.8667535", "0.864788", "0.8617068", "0.8611943", "0.85104346", "0.85014904", "0.84753716", "0.8397...
0.7962633
30
Return the total domain size of this constraint, over all its variables.
def domain_size(self): all_vars = self.all_variables() if not all_vars: return 0 return np.prod([v.size for v in all_vars])
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def _get_variable_size(self, variable):\n # If domain is empty then variable has size 1\n if variable.domain == []:\n return 1\n else:\n size = 0\n spatial_method = self.spatial_methods[variable.domain[0]]\n repeats = spatial_method._get_auxiliary_do...
[ "0.7663235", "0.7623942", "0.7266195", "0.70368016", "0.69726145", "0.69121027", "0.69095296", "0.67711544", "0.66694957", "0.6537789", "0.65322566", "0.64102095", "0.6404336", "0.63541925", "0.63138777", "0.6261792", "0.62440425", "0.62326443", "0.62287617", "0.62213516", "0...
0.87306446
0
Clone(itkClosingByReconstructionImageFilterIF2IF2SE2 self) > itkClosingByReconstructionImageFilterIF2IF2SE2_Pointer
def Clone(self) -> "itkClosingByReconstructionImageFilterIF2IF2SE2_Pointer": return _itkClosingByReconstructionImageFilterPython.itkClosingByReconstructionImageFilterIF2IF2SE2_Clone(self)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Clone(self) -> \"itkClosingByReconstructionImageFilterISS2ISS2SE2_Pointer\":\n return _itkClosingByReconstructionImageFilterPython.itkClosingByReconstructionImageFilterISS2ISS2SE2_Clone(self)", "def Clone(self) -> \"itkClosingByReconstructionImageFilterIUC2IUC2SE2_Pointer\":\n return _itkClosin...
[ "0.9029755", "0.89521146", "0.86206126", "0.81947654", "0.79992765", "0.79773176", "0.7834303", "0.77962935", "0.77427447", "0.7550783", "0.7542127", "0.753298", "0.7499024", "0.7498878", "0.7497306", "0.74857694", "0.73471", "0.73316604", "0.73250073", "0.72902167", "0.71897...
0.9276521
0
SetKernel(itkClosingByReconstructionImageFilterIF2IF2SE2 self, itkFlatStructuringElement2 _arg)
def SetKernel(self, _arg: 'itkFlatStructuringElement2') -> "void": return _itkClosingByReconstructionImageFilterPython.itkClosingByReconstructionImageFilterIF2IF2SE2_SetKernel(self, _arg)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def SetKernel(self, _arg: 'itkFlatStructuringElement2') -> \"void\":\n return _itkClosingByReconstructionImageFilterPython.itkClosingByReconstructionImageFilterISS2ISS2SE2_SetKernel(self, _arg)", "def SetKernel(self, _arg: 'itkFlatStructuringElement2') -> \"void\":\n return _itkClosingByReconstruct...
[ "0.88518435", "0.8630352", "0.8498058", "0.78943586", "0.7619441", "0.75384593", "0.74912673", "0.74849117", "0.7294707", "0.717286", "0.6976015", "0.645647", "0.6275943", "0.62396455", "0.6133004", "0.60523534", "0.60383433", "0.59881455", "0.59429395", "0.5939744", "0.59321...
0.9123179
0
SetFullyConnected(itkClosingByReconstructionImageFilterIF2IF2SE2 self, bool const _arg)
def SetFullyConnected(self, _arg: 'bool const') -> "void": return _itkClosingByReconstructionImageFilterPython.itkClosingByReconstructionImageFilterIF2IF2SE2_SetFullyConnected(self, _arg)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def SetFullyConnected(self, _arg: 'bool const') -> \"void\":\n return _itkClosingByReconstructionImageFilterPython.itkClosingByReconstructionImageFilterISS2ISS2SE2_SetFullyConnected(self, _arg)", "def SetFullyConnected(self, _arg: 'bool const') -> \"void\":\n return _itkClosingByReconstructionImage...
[ "0.9074056", "0.875432", "0.87372077", "0.8158936", "0.811854", "0.78192705", "0.7736072", "0.7574031", "0.74674445", "0.74599236", "0.7452385", "0.7362367", "0.72959405", "0.72213495", "0.7150748", "0.710469", "0.704084", "0.7017063", "0.6959249", "0.6776114", "0.6770951", ...
0.92185307
0
SetPreserveIntensities(itkClosingByReconstructionImageFilterIF2IF2SE2 self, bool const _arg)
def SetPreserveIntensities(self, _arg: 'bool const') -> "void": return _itkClosingByReconstructionImageFilterPython.itkClosingByReconstructionImageFilterIF2IF2SE2_SetPreserveIntensities(self, _arg)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def SetPreserveIntensities(self, _arg: 'bool const') -> \"void\":\n return _itkClosingByReconstructionImageFilterPython.itkClosingByReconstructionImageFilterISS2ISS2SE2_SetPreserveIntensities(self, _arg)", "def SetPreserveIntensities(self, _arg: 'bool const') -> \"void\":\n return _itkClosingByReco...
[ "0.9128686", "0.8975789", "0.8922193", "0.81025666", "0.80339414", "0.79644597", "0.79290885", "0.7872898", "0.7833701", "0.76598495", "0.7637822", "0.6863692", "0.6761611", "0.6719938", "0.6676146", "0.6621816", "0.6519646", "0.64057106", "0.62261885", "0.594281", "0.5881098...
0.9225572
0
GetPreserveIntensities(itkClosingByReconstructionImageFilterIF2IF2SE2 self) > bool const &
def GetPreserveIntensities(self) -> "bool const &": return _itkClosingByReconstructionImageFilterPython.itkClosingByReconstructionImageFilterIF2IF2SE2_GetPreserveIntensities(self)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def GetPreserveIntensities(self) -> \"bool const &\":\n return _itkClosingByReconstructionImageFilterPython.itkClosingByReconstructionImageFilterISS2ISS2SE2_GetPreserveIntensities(self)", "def GetPreserveIntensities(self) -> \"bool const &\":\n return _itkClosingByReconstructionImageFilterPython.it...
[ "0.91973966", "0.9120115", "0.90456295", "0.8475141", "0.8391916", "0.83613765", "0.8278981", "0.82717943", "0.81598985", "0.799691", "0.79793155", "0.7340929", "0.7224962", "0.71925527", "0.7138475", "0.6659551", "0.6612433", "0.60307676", "0.59869176", "0.59077746", "0.5728...
0.9306891
0
cast(itkLightObject obj) > itkClosingByReconstructionImageFilterIF2IF2SE2
def cast(obj: 'itkLightObject') -> "itkClosingByReconstructionImageFilterIF2IF2SE2 *": return _itkClosingByReconstructionImageFilterPython.itkClosingByReconstructionImageFilterIF2IF2SE2_cast(obj)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def itkClosingByReconstructionImageFilterIF2IF2SE2_cast(obj: 'itkLightObject') -> \"itkClosingByReconstructionImageFilterIF2IF2SE2 *\":\n return _itkClosingByReconstructionImageFilterPython.itkClosingByReconstructionImageFilterIF2IF2SE2_cast(obj)", "def itkClosingByReconstructionImageFilterISS2ISS2SE2_cast(ob...
[ "0.9058919", "0.8817159", "0.8739648", "0.8572746", "0.85306674", "0.839179", "0.83259547", "0.8166861", "0.8013314", "0.79711175", "0.7946746", "0.7903255", "0.78505474", "0.7808066", "0.778995", "0.7507961", "0.75009847", "0.74734193", "0.7391846", "0.7370253", "0.73527", ...
0.8826458
1
New() > itkClosingByReconstructionImageFilterIF2IF2SE2 Create a new object of the class itkClosingByReconstructionImageFilterIF2IF2SE2 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 th...
def New(*args, **kargs): obj = itkClosingByReconstructionImageFilterIF2IF2SE2.__New_orig__() import itkTemplate itkTemplate.New(obj, *args, **kargs) return obj
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def New(*args, **kargs):\n obj = itkClosingByReconstructionImageFilterISS2ISS2SE2.__New_orig__()\n import itkTemplate\n itkTemplate.New(obj, *args, **kargs)\n return obj", "def New(*args, **kargs):\n obj = itkClosingByReconstructionImageFilterIUC2IUC2SE2.__New_orig__()\n ...
[ "0.79326886", "0.77244306", "0.76576626", "0.7538849", "0.73775625", "0.7272357", "0.7269298", "0.71778363", "0.7147529", "0.71405", "0.71397436", "0.7129771", "0.7128055", "0.7125437", "0.7092206", "0.7080211", "0.70799917", "0.70707405", "0.70586485", "0.70445585", "0.69665...
0.8017685
0
itkClosingByReconstructionImageFilterIF2IF2SE2_cast(itkLightObject obj) > itkClosingByReconstructionImageFilterIF2IF2SE2
def itkClosingByReconstructionImageFilterIF2IF2SE2_cast(obj: 'itkLightObject') -> "itkClosingByReconstructionImageFilterIF2IF2SE2 *": return _itkClosingByReconstructionImageFilterPython.itkClosingByReconstructionImageFilterIF2IF2SE2_cast(obj)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def itkClosingByReconstructionImageFilterISS2ISS2SE2_cast(obj: 'itkLightObject') -> \"itkClosingByReconstructionImageFilterISS2ISS2SE2 *\":\n return _itkClosingByReconstructionImageFilterPython.itkClosingByReconstructionImageFilterISS2ISS2SE2_cast(obj)", "def itkClosingByReconstructionImageFilterIUC2IUC2SE2_c...
[ "0.9130431", "0.9126166", "0.89325976", "0.89243156", "0.8602152", "0.84864974", "0.84254205", "0.8307229", "0.8080356", "0.80766493", "0.8014892", "0.794028", "0.78337485", "0.77282983", "0.77181077", "0.72994703", "0.7267519", "0.72524685", "0.72493345", "0.71983284", "0.71...
0.94237
0
Clone(itkClosingByReconstructionImageFilterIF3IF3SE3 self) > itkClosingByReconstructionImageFilterIF3IF3SE3_Pointer
def Clone(self) -> "itkClosingByReconstructionImageFilterIF3IF3SE3_Pointer": return _itkClosingByReconstructionImageFilterPython.itkClosingByReconstructionImageFilterIF3IF3SE3_Clone(self)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Clone(self) -> \"itkClosingByReconstructionImageFilterISS3ISS3SE3_Pointer\":\n return _itkClosingByReconstructionImageFilterPython.itkClosingByReconstructionImageFilterISS3ISS3SE3_Clone(self)", "def Clone(self) -> \"itkClosingByReconstructionImageFilterIUC3IUC3SE3_Pointer\":\n return _itkClosin...
[ "0.90407234", "0.8993746", "0.87341064", "0.8030651", "0.7860389", "0.78440815", "0.77232736", "0.7645697", "0.764513", "0.7612348", "0.7601689", "0.7587553", "0.75833297", "0.7534248", "0.75237966", "0.7483687", "0.7437659", "0.7406252", "0.7341678", "0.73359257", "0.7289053...
0.91725564
0
SetKernel(itkClosingByReconstructionImageFilterIF3IF3SE3 self, itkFlatStructuringElement3 _arg)
def SetKernel(self, _arg: 'itkFlatStructuringElement3') -> "void": return _itkClosingByReconstructionImageFilterPython.itkClosingByReconstructionImageFilterIF3IF3SE3_SetKernel(self, _arg)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def SetKernel(self, _arg: 'itkFlatStructuringElement3') -> \"void\":\n return _itkClosingByReconstructionImageFilterPython.itkClosingByReconstructionImageFilterISS3ISS3SE3_SetKernel(self, _arg)", "def SetKernel(self, _arg: 'itkFlatStructuringElement3') -> \"void\":\n return _itkClosingByReconstruct...
[ "0.89627326", "0.8756505", "0.8655997", "0.77630687", "0.75711346", "0.74627733", "0.7370312", "0.71495867", "0.7099846", "0.7006625", "0.68620324", "0.62237525", "0.6182414", "0.60797983", "0.60601556", "0.6012403", "0.59154147", "0.58902365", "0.584499", "0.5801131", "0.563...
0.90046847
0
SetFullyConnected(itkClosingByReconstructionImageFilterIF3IF3SE3 self, bool const _arg)
def SetFullyConnected(self, _arg: 'bool const') -> "void": return _itkClosingByReconstructionImageFilterPython.itkClosingByReconstructionImageFilterIF3IF3SE3_SetFullyConnected(self, _arg)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def SetFullyConnected(self, _arg: 'bool const') -> \"void\":\n return _itkClosingByReconstructionImageFilterPython.itkClosingByReconstructionImageFilterISS3ISS3SE3_SetFullyConnected(self, _arg)", "def SetFullyConnected(self, _arg: 'bool const') -> \"void\":\n return _itkClosingByReconstructionImage...
[ "0.91210806", "0.89384395", "0.89143425", "0.84208906", "0.837799", "0.8149806", "0.79749095", "0.7788357", "0.7659594", "0.7658082", "0.76095647", "0.75344414", "0.7503286", "0.7482146", "0.7107642", "0.70369893", "0.69993544", "0.6996175", "0.6961421", "0.6916713", "0.68112...
0.9139971
0
SetPreserveIntensities(itkClosingByReconstructionImageFilterIF3IF3SE3 self, bool const _arg)
def SetPreserveIntensities(self, _arg: 'bool const') -> "void": return _itkClosingByReconstructionImageFilterPython.itkClosingByReconstructionImageFilterIF3IF3SE3_SetPreserveIntensities(self, _arg)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def SetPreserveIntensities(self, _arg: 'bool const') -> \"void\":\n return _itkClosingByReconstructionImageFilterPython.itkClosingByReconstructionImageFilterISS3ISS3SE3_SetPreserveIntensities(self, _arg)", "def SetPreserveIntensities(self, _arg: 'bool const') -> \"void\":\n return _itkClosingByReco...
[ "0.91401565", "0.906271", "0.906233", "0.83120525", "0.83027565", "0.8263521", "0.82409835", "0.7809426", "0.77426624", "0.76873296", "0.7633192", "0.70337194", "0.69809717", "0.6956848", "0.6937898", "0.62228256", "0.61681473", "0.6066285", "0.59778696", "0.57301086", "0.572...
0.916921
0
GetPreserveIntensities(itkClosingByReconstructionImageFilterIF3IF3SE3 self) > bool const &
def GetPreserveIntensities(self) -> "bool const &": return _itkClosingByReconstructionImageFilterPython.itkClosingByReconstructionImageFilterIF3IF3SE3_GetPreserveIntensities(self)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def GetPreserveIntensities(self) -> \"bool const &\":\n return _itkClosingByReconstructionImageFilterPython.itkClosingByReconstructionImageFilterISS3ISS3SE3_GetPreserveIntensities(self)", "def GetPreserveIntensities(self) -> \"bool const &\":\n return _itkClosingByReconstructionImageFilterPython.it...
[ "0.9256255", "0.9205852", "0.9176288", "0.8692551", "0.85909706", "0.8576629", "0.85694706", "0.81002814", "0.8084349", "0.80216485", "0.7982726", "0.7465483", "0.7464698", "0.741859", "0.7406873", "0.6428522", "0.63232386", "0.60455954", "0.5882899", "0.58385915", "0.5711042...
0.9244945
1
cast(itkLightObject obj) > itkClosingByReconstructionImageFilterIF3IF3SE3
def cast(obj: 'itkLightObject') -> "itkClosingByReconstructionImageFilterIF3IF3SE3 *": return _itkClosingByReconstructionImageFilterPython.itkClosingByReconstructionImageFilterIF3IF3SE3_cast(obj)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def itkClosingByReconstructionImageFilterIF3IF3SE3_cast(obj: 'itkLightObject') -> \"itkClosingByReconstructionImageFilterIF3IF3SE3 *\":\n return _itkClosingByReconstructionImageFilterPython.itkClosingByReconstructionImageFilterIF3IF3SE3_cast(obj)", "def itkClosingByReconstructionImageFilterISS3ISS3SE3_cast(ob...
[ "0.90998006", "0.8955229", "0.89016455", "0.8738683", "0.86056566", "0.85262585", "0.8447037", "0.81833035", "0.81366783", "0.81309444", "0.81247205", "0.8018298", "0.8016524", "0.7890024", "0.78853726", "0.75272036", "0.7488929", "0.74352974", "0.7422769", "0.7419856", "0.74...
0.88187903
3
New() > itkClosingByReconstructionImageFilterIF3IF3SE3 Create a new object of the class itkClosingByReconstructionImageFilterIF3IF3SE3 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 th...
def New(*args, **kargs): obj = itkClosingByReconstructionImageFilterIF3IF3SE3.__New_orig__() import itkTemplate itkTemplate.New(obj, *args, **kargs) return obj
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def New(*args, **kargs):\n obj = itkClosingByReconstructionImageFilterISS3ISS3SE3.__New_orig__()\n import itkTemplate\n itkTemplate.New(obj, *args, **kargs)\n return obj", "def New(*args, **kargs):\n obj = itkClosingByReconstructionImageFilterIUC3IUC3SE3.__New_orig__()\n ...
[ "0.7874618", "0.7751159", "0.76582307", "0.7545831", "0.74910265", "0.7429198", "0.7361787", "0.7342054", "0.7285166", "0.725757", "0.7242057", "0.7231565", "0.72083247", "0.72080857", "0.7196789", "0.7196025", "0.7191199", "0.7177303", "0.71585256", "0.7154687", "0.7153209",...
0.8045825
0
itkClosingByReconstructionImageFilterIF3IF3SE3_cast(itkLightObject obj) > itkClosingByReconstructionImageFilterIF3IF3SE3
def itkClosingByReconstructionImageFilterIF3IF3SE3_cast(obj: 'itkLightObject') -> "itkClosingByReconstructionImageFilterIF3IF3SE3 *": return _itkClosingByReconstructionImageFilterPython.itkClosingByReconstructionImageFilterIF3IF3SE3_cast(obj)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def itkClosingByReconstructionImageFilterIUC3IUC3SE3_cast(obj: 'itkLightObject') -> \"itkClosingByReconstructionImageFilterIUC3IUC3SE3 *\":\n return _itkClosingByReconstructionImageFilterPython.itkClosingByReconstructionImageFilterIUC3IUC3SE3_cast(obj)", "def itkClosingByReconstructionImageFilterISS3ISS3SE3_c...
[ "0.92266095", "0.9168599", "0.9017221", "0.87923306", "0.8531053", "0.849108", "0.8397179", "0.81060433", "0.80404556", "0.80131704", "0.7984621", "0.7785593", "0.7718531", "0.7643262", "0.7618101", "0.7343908", "0.73031574", "0.7246133", "0.7229613", "0.7215143", "0.7206138"...
0.93932855
0
Clone(itkClosingByReconstructionImageFilterISS2ISS2SE2 self) > itkClosingByReconstructionImageFilterISS2ISS2SE2_Pointer
def Clone(self) -> "itkClosingByReconstructionImageFilterISS2ISS2SE2_Pointer": return _itkClosingByReconstructionImageFilterPython.itkClosingByReconstructionImageFilterISS2ISS2SE2_Clone(self)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Clone(self) -> \"itkClosingByReconstructionImageFilterIF2IF2SE2_Pointer\":\n return _itkClosingByReconstructionImageFilterPython.itkClosingByReconstructionImageFilterIF2IF2SE2_Clone(self)", "def Clone(self) -> \"itkClosingByReconstructionImageFilterIUC2IUC2SE2_Pointer\":\n return _itkClosingByR...
[ "0.9074917", "0.8863432", "0.8600931", "0.84380054", "0.80724883", "0.7965712", "0.79208887", "0.79184645", "0.7918038", "0.77694964", "0.7679927", "0.7634901", "0.7612241", "0.7494718", "0.74870133", "0.74638915", "0.7360923", "0.7348571", "0.7339875", "0.73160386", "0.73111...
0.9217814
0
SetKernel(itkClosingByReconstructionImageFilterISS2ISS2SE2 self, itkFlatStructuringElement2 _arg)
def SetKernel(self, _arg: 'itkFlatStructuringElement2') -> "void": return _itkClosingByReconstructionImageFilterPython.itkClosingByReconstructionImageFilterISS2ISS2SE2_SetKernel(self, _arg)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def SetKernel(self, _arg: 'itkFlatStructuringElement2') -> \"void\":\n return _itkClosingByReconstructionImageFilterPython.itkClosingByReconstructionImageFilterIF2IF2SE2_SetKernel(self, _arg)", "def SetKernel(self, _arg: 'itkFlatStructuringElement2') -> \"void\":\n return _itkClosingByReconstructio...
[ "0.90639096", "0.86145556", "0.84841186", "0.7919898", "0.7465853", "0.7437171", "0.73932517", "0.73807263", "0.73666763", "0.70902455", "0.68992937", "0.6393153", "0.6223342", "0.622095", "0.61960894", "0.6150291", "0.60657376", "0.6030339", "0.5944912", "0.5773154", "0.5733...
0.905447
1
SetFullyConnected(itkClosingByReconstructionImageFilterISS2ISS2SE2 self, bool const _arg)
def SetFullyConnected(self, _arg: 'bool const') -> "void": return _itkClosingByReconstructionImageFilterPython.itkClosingByReconstructionImageFilterISS2ISS2SE2_SetFullyConnected(self, _arg)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def SetFullyConnected(self, _arg: 'bool const') -> \"void\":\n return _itkClosingByReconstructionImageFilterPython.itkClosingByReconstructionImageFilterIF2IF2SE2_SetFullyConnected(self, _arg)", "def SetFullyConnected(self, _arg: 'bool const') -> \"void\":\n return _itkClosingByReconstructionImageFi...
[ "0.9036062", "0.86375594", "0.85946774", "0.84288776", "0.79125255", "0.77168345", "0.76841414", "0.7599593", "0.7248876", "0.7213707", "0.7209381", "0.7177306", "0.716496", "0.71507394", "0.70709324", "0.70465636", "0.7045555", "0.6853437", "0.676921", "0.6562287", "0.645081...
0.9256259
0
SetPreserveIntensities(itkClosingByReconstructionImageFilterISS2ISS2SE2 self, bool const _arg)
def SetPreserveIntensities(self, _arg: 'bool const') -> "void": return _itkClosingByReconstructionImageFilterPython.itkClosingByReconstructionImageFilterISS2ISS2SE2_SetPreserveIntensities(self, _arg)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def SetPreserveIntensities(self, _arg: 'bool const') -> \"void\":\n return _itkClosingByReconstructionImageFilterPython.itkClosingByReconstructionImageFilterIF2IF2SE2_SetPreserveIntensities(self, _arg)", "def SetPreserveIntensities(self, _arg: 'bool const') -> \"void\":\n return _itkClosingByRecons...
[ "0.9135308", "0.8914038", "0.8884976", "0.81246966", "0.7976136", "0.7889561", "0.78835857", "0.78258604", "0.77953285", "0.7571968", "0.7528009", "0.68449247", "0.6716871", "0.66554534", "0.66318786", "0.6551297", "0.63884836", "0.6355624", "0.59639704", "0.58073527", "0.567...
0.9221582
0
GetPreserveIntensities(itkClosingByReconstructionImageFilterISS2ISS2SE2 self) > bool const &
def GetPreserveIntensities(self) -> "bool const &": return _itkClosingByReconstructionImageFilterPython.itkClosingByReconstructionImageFilterISS2ISS2SE2_GetPreserveIntensities(self)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def GetPreserveIntensities(self) -> \"bool const &\":\n return _itkClosingByReconstructionImageFilterPython.itkClosingByReconstructionImageFilterIF2IF2SE2_GetPreserveIntensities(self)", "def GetPreserveIntensities(self) -> \"bool const &\":\n return _itkClosingByReconstructionImageFilterPython.itkC...
[ "0.9230817", "0.91082215", "0.9021546", "0.85929155", "0.84509987", "0.84251297", "0.831271", "0.8238952", "0.820048", "0.79854417", "0.7954754", "0.74572796", "0.72873217", "0.7262397", "0.7178523", "0.66838896", "0.6422146", "0.5912161", "0.5885493", "0.5843023", "0.5619700...
0.9284409
0
cast(itkLightObject obj) > itkClosingByReconstructionImageFilterISS2ISS2SE2
def cast(obj: 'itkLightObject') -> "itkClosingByReconstructionImageFilterISS2ISS2SE2 *": return _itkClosingByReconstructionImageFilterPython.itkClosingByReconstructionImageFilterISS2ISS2SE2_cast(obj)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def itkClosingByReconstructionImageFilterISS2ISS2SE2_cast(obj: 'itkLightObject') -> \"itkClosingByReconstructionImageFilterISS2ISS2SE2 *\":\n return _itkClosingByReconstructionImageFilterPython.itkClosingByReconstructionImageFilterISS2ISS2SE2_cast(obj)", "def itkClosingByReconstructionImageFilterIF2IF2SE2_cas...
[ "0.8909476", "0.88700914", "0.87435365", "0.8672431", "0.8524096", "0.8425024", "0.8368696", "0.8263038", "0.8153841", "0.79514235", "0.79109937", "0.7897003", "0.78935397", "0.7874207", "0.7859753", "0.7554828", "0.7549687", "0.752119", "0.7513677", "0.7496815", "0.7480131",...
0.8676685
3
New() > itkClosingByReconstructionImageFilterISS2ISS2SE2 Create a new object of the class itkClosingByReconstructionImageFilterISS2ISS2SE2 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 object...
def New(*args, **kargs): obj = itkClosingByReconstructionImageFilterISS2ISS2SE2.__New_orig__() import itkTemplate itkTemplate.New(obj, *args, **kargs) return obj
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def New(*args, **kargs):\n obj = itkClosingByReconstructionImageFilterIF2IF2SE2.__New_orig__()\n import itkTemplate\n itkTemplate.New(obj, *args, **kargs)\n return obj", "def New(*args, **kargs):\n obj = itkClosingByReconstructionImageFilterIUC2IUC2SE2.__New_orig__()\n i...
[ "0.78478414", "0.76581436", "0.760675", "0.74094266", "0.7346257", "0.71738166", "0.71481454", "0.7122935", "0.7083728", "0.7059163", "0.70370317", "0.70147", "0.69887215", "0.6982399", "0.6961468", "0.695463", "0.6947554", "0.69352096", "0.693436", "0.6928213", "0.6898127", ...
0.7983774
0
itkClosingByReconstructionImageFilterISS2ISS2SE2_cast(itkLightObject obj) > itkClosingByReconstructionImageFilterISS2ISS2SE2
def itkClosingByReconstructionImageFilterISS2ISS2SE2_cast(obj: 'itkLightObject') -> "itkClosingByReconstructionImageFilterISS2ISS2SE2 *": return _itkClosingByReconstructionImageFilterPython.itkClosingByReconstructionImageFilterISS2ISS2SE2_cast(obj)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def itkClosingByReconstructionImageFilterIF2IF2SE2_cast(obj: 'itkLightObject') -> \"itkClosingByReconstructionImageFilterIF2IF2SE2 *\":\n return _itkClosingByReconstructionImageFilterPython.itkClosingByReconstructionImageFilterIF2IF2SE2_cast(obj)", "def itkClosingByReconstructionImageFilterIUC2IUC2SE2_cast(ob...
[ "0.9299923", "0.9130574", "0.8957222", "0.8899294", "0.88238215", "0.8590301", "0.85655063", "0.85300034", "0.8259371", "0.82297325", "0.81931376", "0.81848437", "0.7993734", "0.7945626", "0.7937434", "0.7363005", "0.7336135", "0.7289231", "0.7282411", "0.7226631", "0.7209001...
0.9315356
0
Clone(itkClosingByReconstructionImageFilterISS3ISS3SE3 self) > itkClosingByReconstructionImageFilterISS3ISS3SE3_Pointer
def Clone(self) -> "itkClosingByReconstructionImageFilterISS3ISS3SE3_Pointer": return _itkClosingByReconstructionImageFilterPython.itkClosingByReconstructionImageFilterISS3ISS3SE3_Clone(self)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Clone(self) -> \"itkClosingByReconstructionImageFilterIF3IF3SE3_Pointer\":\n return _itkClosingByReconstructionImageFilterPython.itkClosingByReconstructionImageFilterIF3IF3SE3_Clone(self)", "def Clone(self) -> \"itkClosingByReconstructionImageFilterIUC3IUC3SE3_Pointer\":\n return _itkClosingByR...
[ "0.90140045", "0.8947575", "0.8760613", "0.8395331", "0.83194906", "0.8170209", "0.80122733", "0.77199787", "0.7679795", "0.7623974", "0.7524855", "0.75039434", "0.74127275", "0.7402969", "0.73548836", "0.73220265", "0.72913605", "0.7281598", "0.7245878", "0.72154874", "0.718...
0.9160152
0
SetKernel(itkClosingByReconstructionImageFilterISS3ISS3SE3 self, itkFlatStructuringElement3 _arg)
def SetKernel(self, _arg: 'itkFlatStructuringElement3') -> "void": return _itkClosingByReconstructionImageFilterPython.itkClosingByReconstructionImageFilterISS3ISS3SE3_SetKernel(self, _arg)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def SetKernel(self, _arg: 'itkFlatStructuringElement3') -> \"void\":\n return _itkClosingByReconstructionImageFilterPython.itkClosingByReconstructionImageFilterIF3IF3SE3_SetKernel(self, _arg)", "def SetKernel(self, _arg: 'itkFlatStructuringElement3') -> \"void\":\n return _itkClosingByReconstructio...
[ "0.8829233", "0.8632745", "0.85525113", "0.7885891", "0.77342516", "0.7689579", "0.750841", "0.7021709", "0.69515306", "0.68572", "0.6728365", "0.6296692", "0.6258062", "0.62148863", "0.5985631", "0.5971517", "0.5927566", "0.58578396", "0.58570015", "0.5621222", "0.56123966",...
0.8937205
0
SetFullyConnected(itkClosingByReconstructionImageFilterISS3ISS3SE3 self, bool const _arg)
def SetFullyConnected(self, _arg: 'bool const') -> "void": return _itkClosingByReconstructionImageFilterPython.itkClosingByReconstructionImageFilterISS3ISS3SE3_SetFullyConnected(self, _arg)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def SetFullyConnected(self, _arg: 'bool const') -> \"void\":\n return _itkClosingByReconstructionImageFilterPython.itkClosingByReconstructionImageFilterIF3IF3SE3_SetFullyConnected(self, _arg)", "def SetFullyConnected(self, _arg: 'bool const') -> \"void\":\n return _itkClosingByReconstructionImageFi...
[ "0.89526", "0.8807356", "0.8792388", "0.8507538", "0.8172166", "0.79894525", "0.7861412", "0.7856468", "0.7800738", "0.77932596", "0.77300406", "0.7640995", "0.75139076", "0.7422282", "0.7400181", "0.7071468", "0.7055608", "0.70149004", "0.6986744", "0.68889564", "0.6795409",...
0.91355425
0
SetPreserveIntensities(itkClosingByReconstructionImageFilterISS3ISS3SE3 self, bool const _arg)
def SetPreserveIntensities(self, _arg: 'bool const') -> "void": return _itkClosingByReconstructionImageFilterPython.itkClosingByReconstructionImageFilterISS3ISS3SE3_SetPreserveIntensities(self, _arg)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def SetPreserveIntensities(self, _arg: 'bool const') -> \"void\":\n return _itkClosingByReconstructionImageFilterPython.itkClosingByReconstructionImageFilterIF3IF3SE3_SetPreserveIntensities(self, _arg)", "def SetPreserveIntensities(self, _arg: 'bool const') -> \"void\":\n return _itkClosingByRecons...
[ "0.9051644", "0.9010927", "0.899802", "0.84829277", "0.8428605", "0.84252137", "0.8385317", "0.77423245", "0.7687763", "0.7617626", "0.7575714", "0.7176362", "0.71274495", "0.70796925", "0.70368415", "0.6188471", "0.5971598", "0.58872074", "0.57056427", "0.564135", "0.5592416...
0.91405433
0
GetPreserveIntensities(itkClosingByReconstructionImageFilterISS3ISS3SE3 self) > bool const &
def GetPreserveIntensities(self) -> "bool const &": return _itkClosingByReconstructionImageFilterPython.itkClosingByReconstructionImageFilterISS3ISS3SE3_GetPreserveIntensities(self)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def GetPreserveIntensities(self) -> \"bool const &\":\n return _itkClosingByReconstructionImageFilterPython.itkClosingByReconstructionImageFilterIUC3IUC3SE3_GetPreserveIntensities(self)", "def GetPreserveIntensities(self) -> \"bool const &\":\n return _itkClosingByReconstructionImageFilterPython.it...
[ "0.9132871", "0.91248286", "0.91177595", "0.8768564", "0.875068", "0.86698055", "0.86525154", "0.80532014", "0.7942813", "0.7925937", "0.7900717", "0.7582609", "0.7538091", "0.7532256", "0.74802524", "0.6383927", "0.6146584", "0.5926048", "0.59175783", "0.5846805", "0.5760432...
0.9236067
0
cast(itkLightObject obj) > itkClosingByReconstructionImageFilterISS3ISS3SE3
def cast(obj: 'itkLightObject') -> "itkClosingByReconstructionImageFilterISS3ISS3SE3 *": return _itkClosingByReconstructionImageFilterPython.itkClosingByReconstructionImageFilterISS3ISS3SE3_cast(obj)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def itkClosingByReconstructionImageFilterISS3ISS3SE3_cast(obj: 'itkLightObject') -> \"itkClosingByReconstructionImageFilterISS3ISS3SE3 *\":\n return _itkClosingByReconstructionImageFilterPython.itkClosingByReconstructionImageFilterISS3ISS3SE3_cast(obj)", "def itkClosingByReconstructionImageFilterIF3IF3SE3_cas...
[ "0.8943282", "0.884657", "0.87599504", "0.8686335", "0.86602885", "0.85131514", "0.8494862", "0.8465369", "0.8440582", "0.83914495", "0.83819795", "0.8371487", "0.8302393", "0.817839", "0.81523675", "0.7347616", "0.7274281", "0.72554594", "0.72487164", "0.7224475", "0.721348"...
0.8666584
4
New() > itkClosingByReconstructionImageFilterISS3ISS3SE3 Create a new object of the class itkClosingByReconstructionImageFilterISS3ISS3SE3 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 object...
def New(*args, **kargs): obj = itkClosingByReconstructionImageFilterISS3ISS3SE3.__New_orig__() import itkTemplate itkTemplate.New(obj, *args, **kargs) return obj
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def New(*args, **kargs):\n obj = itkClosingByReconstructionImageFilterIF3IF3SE3.__New_orig__()\n import itkTemplate\n itkTemplate.New(obj, *args, **kargs)\n return obj", "def New(*args, **kargs):\n obj = itkClosingByReconstructionImageFilterIUC3IUC3SE3.__New_orig__()\n i...
[ "0.79880077", "0.77821577", "0.76923555", "0.7358506", "0.731366", "0.73079157", "0.71936244", "0.7192859", "0.7186577", "0.71801007", "0.71722215", "0.7162122", "0.71475", "0.71035326", "0.71004343", "0.7088851", "0.70780784", "0.70611894", "0.70512915", "0.70463485", "0.704...
0.79805106
1
itkClosingByReconstructionImageFilterISS3ISS3SE3_cast(itkLightObject obj) > itkClosingByReconstructionImageFilterISS3ISS3SE3
def itkClosingByReconstructionImageFilterISS3ISS3SE3_cast(obj: 'itkLightObject') -> "itkClosingByReconstructionImageFilterISS3ISS3SE3 *": return _itkClosingByReconstructionImageFilterPython.itkClosingByReconstructionImageFilterISS3ISS3SE3_cast(obj)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def itkClosingByReconstructionImageFilterIF3IF3SE3_cast(obj: 'itkLightObject') -> \"itkClosingByReconstructionImageFilterIF3IF3SE3 *\":\n return _itkClosingByReconstructionImageFilterPython.itkClosingByReconstructionImageFilterIF3IF3SE3_cast(obj)", "def itkClosingByReconstructionImageFilterIUC3IUC3SE3_cast(ob...
[ "0.92703825", "0.92094576", "0.906125", "0.87858886", "0.8718374", "0.85725677", "0.85307425", "0.84750295", "0.84193903", "0.8338796", "0.8329026", "0.8157746", "0.80981135", "0.8001196", "0.794118", "0.7259275", "0.72180754", "0.7172629", "0.7133536", "0.7115337", "0.707650...
0.9297624
0
Clone(itkClosingByReconstructionImageFilterIUC2IUC2SE2 self) > itkClosingByReconstructionImageFilterIUC2IUC2SE2_Pointer
def Clone(self) -> "itkClosingByReconstructionImageFilterIUC2IUC2SE2_Pointer": return _itkClosingByReconstructionImageFilterPython.itkClosingByReconstructionImageFilterIUC2IUC2SE2_Clone(self)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Clone(self) -> \"itkClosingByReconstructionImageFilterIF2IF2SE2_Pointer\":\n return _itkClosingByReconstructionImageFilterPython.itkClosingByReconstructionImageFilterIF2IF2SE2_Clone(self)", "def Clone(self) -> \"itkClosingByReconstructionImageFilterISS2ISS2SE2_Pointer\":\n return _itkClosingByR...
[ "0.87055355", "0.8581795", "0.84755385", "0.82895255", "0.80180794", "0.79263335", "0.7886103", "0.78597844", "0.779043", "0.7779826", "0.7763062", "0.7736846", "0.7686075", "0.76611274", "0.7487221", "0.74339247", "0.7419503", "0.7380867", "0.7358174", "0.7357728", "0.733863...
0.915013
0
SetKernel(itkClosingByReconstructionImageFilterIUC2IUC2SE2 self, itkFlatStructuringElement2 _arg)
def SetKernel(self, _arg: 'itkFlatStructuringElement2') -> "void": return _itkClosingByReconstructionImageFilterPython.itkClosingByReconstructionImageFilterIUC2IUC2SE2_SetKernel(self, _arg)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def SetKernel(self, _arg: 'itkFlatStructuringElement2') -> \"void\":\n return _itkClosingByReconstructionImageFilterPython.itkClosingByReconstructionImageFilterIF2IF2SE2_SetKernel(self, _arg)", "def SetKernel(self, _arg: 'itkFlatStructuringElement2') -> \"void\":\n return _itkClosingByReconstructio...
[ "0.87886274", "0.860103", "0.85514253", "0.8079932", "0.78430283", "0.76848644", "0.7544737", "0.7459941", "0.7067014", "0.6945528", "0.6864239", "0.6387157", "0.63660693", "0.6242815", "0.62335336", "0.59796274", "0.59739435", "0.5971242", "0.5961526", "0.5867593", "0.586432...
0.91613513
0