text string | label int64 |
|---|---|
{'name': 'TestObjectsE2E.test_create_alias_a_record@e2e_tests/test_objects.py', 'description': 'Create two A records with different names, but pointing to the same\nipv4addr', 'signature': 'def test_create_alias_a_record(self):'}</s>{'name': 'Updatesdownloadmemberconfig@infoblox_client/objects.py', 'description': 'DOCS... | 0 |
{'name': 'PrettyDir.methods@pdir/api.py', 'description': 'Returns all methods of the inspected object.\n\nNote that "methods" can mean "functions" when inspecting a module.', 'signature': "def methods(self) -> 'PrettyDir':"}</s>{'name': '_format_single_line@pdir/format.py', 'description': 'DOCSTRING', 'code': 'def _for... | 0 |
{'name': 'main@src/freetype/src/tools/docmaker/docbeauty.py', 'description': 'main program loop', 'signature': 'def main(argv):'}</s>{'name': 'beautify_block@src/freetype/src/tools/docmaker/docbeauty.py', 'description': 'DOCSTRING', 'code': 'def beautify_block(block):\n if block.content:\n content_processor.r... | 1 |
{'name': 'DFTimewolfTool.ValidateArguments@dftimewolf/cli/dftimewolf_recipes.py', 'description': 'Validate the arguments.\n\nArgs:\n dry_run: True if the tool is only testing parameters, False otherwise.\n\nRaises:\n errors.CriticalError: If one or more arguments could not be validated.', 'signature': 'def ValidateAr... | 0 |
{'name': 'SpeakerDiarizer.classify_speakers@montreal_forced_aligner/diarization/speaker_diarizer.py', 'description': 'Classify speakers based on ivector or speechbrain model', 'signature': 'def classify_speakers(self):'}</s>{'name': 'run_kaldi_function@montreal_forced_aligner/utils.py', 'description': 'DOCSTRING', 'cod... | 1 |
{'name': 'GefCommand.load_extra_plugins@gef.py', 'description': 'Load the plugins from the gef-extras setting. Returns the number of new plugins added.', 'signature': 'def load_extra_plugins(self, extra_plugins_dir: pathlib.Path | None = None) -> int:'}</s>{'name': 'get_terminal_size@gef.py', 'description': 'Return the... | 0 |
{'name': 'WebSocketApp.run_forever@vertx-web/src/test/sockjs-protocol/websocket/_app.py', 'description': 'run event loop for WebSocket framework.\nThis loop is infinite loop and is alive during websocket is available.\nsockopt: values for socket.setsockopt.\n sockopt must be tuple\n and each element is argument o... | 0 |
{'name': 'MetricList.get_sql_and_with_clause@metrics.py', 'description': "Gets the SQL query and WITH clause.\n\nThe query is constructed by\n1. Get the query for every children metric.\n2. If all children queries are compatible, we just collect all the columns\n from the children and use the WHERE and GROUP BY clause... | 1 |
{'name': 'PanDataSet.setMetadata@src/pangaeapy/pandataset.py', 'description': 'The method initializes the metadata of the PanDataSet object using the information of a PANGAEA metadata XML file.', 'signature': 'def setMetadata(self):'}</s>{'name': 'PanLicence@src/pangaeapy/pandataset.py', 'description': 'PANGAEA Licence... | 1 |
{'name': 'Bottle.route@src/back/kite/bottle.py', 'description': "A decorator to bind a function to a request URL. Example::\n\n @app.route('/hello/:name')\n def hello(name):\n return 'Hello %s' % name\n\nThe ``:name`` part is a wildcard. See :class:`Router` for syntax\ndetails.\n\n:param path: Request path... | 0 |
{'name': 'CalculateCTD@PyBioMed/PyProtein/CTD.py', 'description': '###############################################################################################\nCalculate all CTD descriptors based seven different properties of AADs.\n\nUsage:\n\nresult=CalculateCTD(protein)\n\nInput:protein is a pure protein sequenc... | 0 |
{'name': 'TypeErrorTests.test_keyword_sort_cmpkey@didyoumean/didyoumean_sugg_tests.py', 'description': 'Sort and sorted functions have a cmp/key param dep. on the vers.', 'signature': 'def test_keyword_sort_cmpkey(self):'}</s>UNQUALIFIED_EXEC = (SyntaxError, re.UNQUALIFIED_EXEC_RE) | 0 |
{'name': 'process@project-material/project_1_for_students/misc.py', 'description': 'parse the source text here. you may return the AST specified in ast_tools.py or something else.', 'signature': 'def process(source):'}</s>{'name': 'FunDecl@project-material/project_1_for_students/ast_tools.py', 'description': 'function ... | 0 |
{'name': 'NeuralStyleTransfer.__init__@src/StyleTransfer/Style_Transfer.py', 'description': 'Args:\n con_loss_wt: Weightage of the Content loss\n sty_loss_wt: Weightage of the Style loss\n var_loss_wt: Weightage of the Variational loss', 'signature': 'def __init__(self, con_image: torch.Tensor, sty_image: torc... | 1 |
{'name': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>MQIAMO_HISTORY_PKTS = 798 | 0 |
{'name': 'QueueManager.connect_tcp_client@code/pymqi/__init__.py', 'description': "Connect immediately to the remote Queue Manager 'name', using\na TCP Client connection, with channnel 'channel' and the\nTCP connection string 'conn_name'. All other connection\noptons come from 'cd'.", 'signature': 'def connect_tcp_clie... | 0 |
{'name': 'BaseRequest.POST@src/back/kite/bottle.py', 'description': 'The values of :attr:`forms` and :attr:`files` combined into a single\n:class:`FormsDict`. Values are either strings (form values) or\ninstances of :class:`cgi.FieldStorage` (file uploads).', 'signature': 'def POST(self):'}</s>{'name': 'TemplatePlugin@... | 0 |
{'name': 'MaskedArray.__imul__@venv/Lib/site-packages/numpy/ma/core.py', 'description': 'Multiply self by other in-place.', 'signature': 'def __imul__(self, other):'}</s>log10 = _MaskedUnaryOperation(umath.log10, 1.0,
_DomainGreater(0.0)) | 0 |
{'name': 'BaseQuerySet.paginate@flask_mongoengine/documents.py', 'description': 'Paginate the QuerySet with a certain number of docs per page\nand return docs for a given page.', 'signature': 'def paginate(self, page, per_page):'}</s>{'name': 'Pagination@flask_mongoengine/pagination.py', 'description': 'DOCSTRING', 'ba... | 1 |
{'name': 'View.update_pick_info_long@picasso/gui/render.py', 'description': 'Called when evaluating picks statistics in Info Dialog. ', 'signature': 'def update_pick_info_long(self):'}</s>{'name': '_link_group_weighted_mean@picasso/postprocess.py', 'description': 'DOCSTRING', 'code': 'def _link_group_weighted_mean(\n ... | 0 |
{'name': 'TypeErrorTests.test_keyword_builtin@didyoumean/didyoumean_sugg_tests.py', 'description': 'A few builtins (like int()) have a different error message.', 'signature': 'def test_keyword_builtin(self):'}</s>NOTCALLABLE = (TypeError, re.NOT_CALLABLE_RE) | 0 |
{'name': 'MyInterface.execute@src/python_scripts/scripts/build_afni.py', 'description': 'evaluate what needs to be done, report on it, any apply\n\n- evaluate directories\n - abin_path\n - root_path\n\nreturn 0 on success\n 1 on non-fatal termination error\n -1 on fatal error', 'signature': 'def exe... | 0 |
{'name': 'PrintState@MRT.py', 'description': 'Make a pretty version of the current state ', 'signature': 'def PrintState():'}</s>{'name': 'ResetArduinoUno@MRT.py', 'description': 'Reset the Arduino to clear previous data', 'code': 'def ResetArduinoUno(ser, timeout=10, nbytesExpected=1):\n """Reset the Arduino to cle... | 0 |
{'name': 'fill_filter_mosaics@grizli/pipeline/auto_script.py', 'description': 'Fill field mosaics with the average value taken from other filters so that all images have the same coverage\n\nParameters\n----------\nfield_root : str', 'signature': 'def fill_filter_mosaics(field_root):'}</s>NIRCAM_SW_FILTERS = ['F150W2',... | 0 |
{'name': 'crackline@venv/Lib/site-packages/numpy/f2py/crackfortran.py', 'description': 'reset=-1 --- initialize\nreset=0 --- crack the line\nreset=1 --- final check if mismatch of blocks occurred\n\nCracked data is saved in grouplist[0].', 'signature': 'def crackline(line, reset=0):'}</s>getlincoef_re_1 = re.compi... | 0 |
{'name': 'process_assignments_and_deletions@da/compiler/incgen.py', 'description': 'Generate stub and hook for assignments and deletions.\n\nThis should be called after the query parameters have been accumulated.', 'signature': 'def process_assignments_and_deletions(state):'}</s>{'name': 'EllipsisExpr@da/compiler/dast.... | 0 |
{'name': 'on_set_race_format@src/server/server.py', 'description': 'set current race_format ', 'signature': 'def on_set_race_format(data):'}</s>{'name': 'render_settings@src/server/server.py', 'description': 'Route to settings page.', 'code': "def render_settings():\n '''Route to settings page.'''\n return render... | 0 |
{'name': 'jaccard@utils/utils.py', 'description': 'Compute the jaccard overlap of two sets of boxes. The jaccard overlap\nis simply the intersection over union of two boxes. Here we operate on\nground truth boxes and default boxes. If iscrowd=True, put the crowd in box_b.\nE.g.:\n A ∩ B / A ∪ B = A ∩ B / (area(A) ... | 0 |
{'name': 'GetBestInterface@comtypes/client/_managing.py', 'description': "Try to QueryInterface a COM pointer to the 'most useful'\ninterface.\n\nGet type information for the provided object, either via\nIDispatch.GetTypeInfo(), or via IProvideClassInfo.GetClassInfo().\nGenerate a wrapper module for the typelib, and QI... | 0 |
{'name': 'train@qbert/extraction/run_squad.py', 'description': 'Train the model ', 'signature': 'def train(args, train_dataset, model, tokenizer):'}</s>{'name': 'evaluate@qbert/extraction/run_squad.py', 'description': 'DOCSTRING', 'code': 'def evaluate(args, model, tokenizer, prefix=""):\n dataset, examples, feature... | 1 |
{'name': 'post_comment@shingetsu/mch/post.py', 'description': 'Post article.', 'signature': 'def post_comment(env, thread_key, name, mail, body, passwd, tag=None):'}</s>rss_range = _get_value(_extconf, 'Gateway', 'rss_range', 3*24*60*60, 'int') | 0 |
{'name': 'Scriv.new_fragment@src/scriv/scriv.py', 'description': 'Create a new fragment.', 'signature': 'def new_fragment(self) -> Fragment:'}</s>{'name': 'user_nick@src/scriv/gitinfo.py', 'description': 'Get a short name for the current user.', 'code': 'def user_nick() -> str:\n """\n Get a short name for the cu... | 0 |
{'name': 'ServiceInfo.getAddress@stino/pyarduino/base/zeroconf.py', 'description': 'Address accessor', 'signature': 'def getAddress(self):'}</s>_CLASS_HS = 4 | 0 |
{'name': 'word_normalization@src/ocr/normalization.py', 'description': 'Preprocess a word - resize, binarize, tilt world.', 'signature': 'def word_normalization(image, height, border=True, tilt=True, border_size=15, hyst_norm=False):'}</s>{'name': 'HysterThresh@src/ocr/normalization.py', 'description': 'DOCSTRING', 'ba... | 0 |
{'name': 'round_td@openmaptiles/utils.py', 'description': 'Round timedelta by first digit after the dot', 'signature': 'def round_td(delta: timedelta):'}</s>T = TypeVar('T') | 0 |
{'name': 'AdbDevice.connect@adb_shell/adb_device.py', 'description': "Establish an ADB connection to the device.\n\nSee :meth:`_AdbIOManager.connect`.\n\nParameters\n----------\nrsa_keys : list, None\n A list of signers of type :class:`~adb_shell.auth.sign_cryptography.CryptographySigner`,\n :class:`~adb_shell.au... | 0 |
{'name': 'build_test_project@third-party/draco/src/draco/tools/install_test/test.py', 'description': 'Builds the test application in shared and static configurations.', 'signature': 'def build_test_project():'}</s>TEST_SHARED_BUILD_PATH = os.path.join(TEST_SOURCES_PATH, '_test_build_shared') | 1 |
{'name': 'ProcessLine@runtimes/compiler-rt/lib/sanitizer_common/scripts/cpplint.py', 'description': 'Processes a single line in the file.\n\nArgs:\n filename: Filename of the file that is being processed.\n file_extension: The extension (dot not included) of the file.\n clean_lines: An array of strings, each represe... | 0 |
{'name': 'QueueManager.connect_tcp_client@code/pymqi/__init__.py', 'description': "Connect immediately to the remote Queue Manager 'name', using\na TCP Client connection, with channnel 'channel' and the\nTCP connection string 'conn_name'. All other connection\noptons come from 'cd'.", 'signature': 'def connect_tcp_clie... | 0 |
{'name': 'func@python/taichi/lang/kernel_impl.py', 'description': 'Marks a function as callable in Taichi-scope.\n\nThis decorator transforms a Python function into a Taichi one. Taichi\nwill JIT compile it into native instructions.\n\nArgs:\n fn (Callable): The Python function to be decorated\n is_real_function ... | 0 |
{'name': 'TestObjectsE2E.test_host_record_ea_inheritance@e2e_tests/test_objects.py', 'description': 'Checks if EA inheritance for record:host object\nworks as expected', 'signature': 'def test_host_record_ea_inheritance(self):'}</s>{'name': 'Mastergrid@infoblox_client/objects.py', 'description': "Mastergrid: Master Gri... | 0 |
{'name': 'MainFrame.update_textlist_from_xmat@src/python_scripts/afnipy/gui_xmat.py', 'description': 'given the X matrix and columns, fill screen data list', 'signature': 'def update_textlist_from_xmat(self):'}</s>{'name': 'num_cols_1D@src/python_scripts/afnipy/afni_util.py', 'description': 'return the number of column... | 0 |
{'name': 'get_next_backlog_item@tools/cloud_functions/gcs_event_based_ingest/gcs_ocn_bq_ingest/common/utils.py', 'description': 'Get next blob in the backlog if the backlog is not empty.\n\nArgs:\n gcs_client: storage.Client\n bkt: storage.Bucket that this cloud functions is ingesting data for.\n table_prefix:... | 0 |
{'name': 'install@pyderman/__init__.py', 'description': "Downloads the given browser driver, and returns the path it was saved to.\n\n:param browser: The Driver to download. Pass as `pyderman.chrome/firefox/etc.`. Default Chrome.\n:param file_directory: The directory to save the driver.\n:param verbose: If printouts ar... | 0 |
{'name': 'QueueManager.put1@code/pymqi/__init__.py', 'description': "Put the single message in string buffer 'msg' on the queue\nusing the MQI PUT1 call. This encapsulates calls to MQOPEN,\nMQPUT and MQCLOSE. put1 is the optimal way to put a single\nmessage on a queue.\n\nqDesc identifies the Queue either by name (if i... | 0 |
{'name': 'CheckBraces@scripts/cpplint.py', 'description': 'Looks for misplaced braces (e.g. at the end of line).\n\nArgs:\n filename: The name of the current file.\n clean_lines: A CleansedLines instance containing the file.\n linenum: The number of the line to check.\n error: The function to call with any errors f... | 0 |
{'name': 'TestingParser.set_parser@tests/run_all_tests.py', 'description': 'Sets a new argument parser.\n\nThis method sets a new instance of the argument parser.\n\nParameters:\n- newParser (argparse.ArgumentParser): The new argument parser to set.', 'signature': 'def set_parser(self, newParser: argparse.ArgumentParse... | 0 |
{'name': 'Simplifier.using_params@src/api/python/z3/z3.py', 'description': 'Return a simplifier that uses the given configuration options', 'signature': 'def using_params(self, *args, **keys):'}</s>{'name': 'FPRMRef@src/api/python/z3/z3.py', 'description': 'Floating-point rounding mode expressions', 'base_classes': ['E... | 0 |
{'name': 'thrust@proptools/nozzle.py', 'description': 'Nozzle thrust force.\n\nArguments:\n A_t (scalar): Nozzle throat area [units: meter**2].\n p_c (scalar): Nozzle stagnation chamber pressure [units: pascal].\n p_e (scalar): Nozzle exit static pressure [units: pascal].\n gamma (scalar): Exhaust gas ratio... | 0 |
{'name': 'VectraClientV2_1._generate_rule_params@modules/vectra.py', 'description': 'Generate query parameters for detect usage query based on provided args\n:param args: dict of keys to generate query params\n:rtype: dict', 'signature': 'def _generate_rule_params(args):'}</s>{'name': 'validate_api_v3@modules/vectra.py... | 0 |
{'name': 'Kconfig.__repr__@tools/kconfig_new/kconfiglib.py', 'description': 'Returns a string with information about the Kconfig object when it is\nevaluated on e.g. the interactive Python prompt.', 'signature': 'def __repr__(self):'}</s>_sym_ref_re_search = re.compile(r"\$([A-Za-z0-9_]+)").search | 0 |
{'name': 'MainFrame.update_textlist_from_xmat@src/python_scripts/afnipy/gui_xmat.py', 'description': 'given the X matrix and columns, fill screen data list', 'signature': 'def update_textlist_from_xmat(self):'}</s>{'name': 'read_text_dictionary@src/python_scripts/afnipy/afni_util.py', 'description': 'this is the same a... | 0 |
{'name': 'User.christmas_mode@src/astrobotany/models.py', 'description': 'Return if the user is in "christmas" mode.\n\nCache the results because this is a relatively expensive query that\nwill be checked multiple times per request.', 'signature': 'def christmas_mode(self) -> bool:'}</s>badge_291 = Badge("factory", ser... | 0 |
{'name': 'pytest_pycollect_makeitem_convert_async_functions_to_subclass@pytest_asyncio/plugin.py', 'description': 'Converts coroutines and async generators collected as pytest.Functions\nto AsyncFunction items.', 'signature': 'def pytest_pycollect_makeitem_convert_async_functions_to_subclass('}</s>{'name': 'pytest_coll... | 0 |
{'name': 'authenticate@src/server/server.py', 'description': 'Sends a 401 response that enables basic auth.', 'signature': 'def authenticate():'}</s>{'name': 'render_vrxstatus@src/server/server.py', 'description': 'Route to VRx status debug page.', 'code': "def render_vrxstatus():\n '''Route to VRx status debug page... | 0 |
{'name': 'CaliperReportTest.test_report_attribute_aliases_in_cali@test/ci_app_tests/test_report.py', 'description': 'Test json object layout ', 'signature': 'def test_report_attribute_aliases_in_cali(self):'}</s>{'name': 'CaliperReportTest@test/ci_app_tests/test_report.py', 'description': 'Caliper Report / Reader CSV e... | 1 |
{'name': 'load_pix2face_data@python/pix2face_estimation/coefficient_estimation.py', 'description': 'Load PCA components and ranges.\nReturns a structure containing the following matrices loaded as instances of vxl.vnl_matrix', 'signature': 'def load_pix2face_data(pvr_data_dir=None, num_subject_coeffs=None, num_express... | 0 |
{'name': 'Display.grab_server@Monika After Story/game/python-packages/Xlib/display.py', 'description': 'Disable processing of requests on all other client connections\nuntil the server is ungrabbed. Server grabbing should be avoided\nas much as possible.', 'signature': 'def grab_server(self, onerror = None):'}</s>CWBit... | 0 |
{'name': 'RigidTransform.apply@autolab_core/rigid_transformations.py', 'description': "Applies the rigid transformation to a set of 3D objects.\n\nParameters\n----------\npoints : :obj:`BagOfPoints`\n A set of objects to transform. Could be any subclass\n of BagOfPoints.\n\nReturns\n-------\n:obj:`BagOfPoints`\n ... | 1 |
{'name': 'RangeTransfer._parse_headers@wfdb/io/_url.py', 'description': 'Parse the headers of the response object.\n\nParameters\n----------\nmethod : str\n The HTTP method used for the request.\nresponse : requests.Response\n The resulting response object.\n\nReturns\n-------\nN/A\n\nNotes\n-----\n- response_url... | 1 |
{'name': 'scale_matrix@utils/transformations.py', 'description': 'Return matrix to scale by factor around origin in direction.\n\nUse factor -1 for point symmetry.\n\n>>> v = (numpy.random.rand(4, 5) - 0.5) * 20\n>>> v[3] = 1\n>>> S = scale_matrix(-1.234)\n>>> numpy.allclose(numpy.dot(S, v)[:3], -1.234*v[:3])\nTrue\n>>... | 0 |
{'name': 'extract_from_coords@grizli/aws/sky_wfss.py', 'description': ' ', 'signature': "def extract_from_coords(ra=189.0706488, dec=62.2089502, grisms=['F356W-GRISMR','F410M-GRISMR','F444W-GRISMR'], size=48, grp=None, clean=False, get_cutout=True, cutout_filter='F444W-CLEAR', prefix='gdn-grism', verbose=True, mb_kw... | 0 |
{'name': 'Topic.close@code/pymqi/__init__.py', 'description': 'Close the topic, using options.\n ', 'signature': 'def close(self, options=CMQC.MQCO_NONE):'}</s>MQIAMO64_GET_BYTES = 747 | 0 |
{'name': 'PFGid._str_to_num@pf/rule.py', 'description': 'Convert a string to a numeric group ID.', 'signature': 'def _str_to_num(self, s):'}</s>{'name': 'pf_rule_gid@pf/_struct.py', 'description': 'DOCSTRING', 'base_classes': ['Structure'], 'methods': []} | 0 |
{'name': 'rel_err@oggm/utils/_funcs.py', 'description': 'Relative error. Ref should be non-zero', 'signature': 'def rel_err(ref, data):'}</s>{'name': 'get_demo_file@oggm/utils/_downloads.py', 'description': 'Returns the path to the desired OGGM-sample-file.\n\nIf Sample data is not cached it will be downloaded from\nht... | 0 |
{'name': 'validateURL@src/feedvalidator/__init__.py', 'description': 'validate RSS from URL, returns events list, or (events, rawdata) tuple', 'signature': 'def validateURL(url, firstOccurrenceOnly=1, wantRawData=0):'}</s>{'name': 'SchemeNotIANARegistered@src/feedvalidator/logging.py', 'description': 'DOCSTRING', 'base... | 0 |
{'name': 'PouiInternal.log_result@tir/technologies/poui_internal.py', 'description': '[Internal]\n\nLogs the result of comparison between user value and captured value.\n\n:param field: The field whose values would be compared\n:type field: str\n:param user_value: The value the user expects\n:type user_value: str\n:par... | 0 |
{'name': 'Annotation.has_track@src/pyannote/core/annotation.py', 'description': 'Check whether a given track exists\n\nParameters\n----------\nsegment : Segment\n Query segment\ntrack :\n Query track\n\nReturns\n-------\nexists : bool\n True if track exists for segment', 'signature': 'def has_track(self, segme... | 0 |
{'name': 'MarkerManager.mark_compiler_output@parseoutput.py', 'description': 'Parse text into a list of OutputMessage objects.\n ', 'signature': 'def mark_compiler_output(self, view, banner, base_dir, text, exit_code):'}</s>{'name': 'SublimeHaskellTextCommand@cmdwin_types.py', 'description': 'Enable text command... | 0 |
{'name': 'Howdy.before@examples/overrides.py', 'description': 'Called before the request is routed ', 'signature': 'def before(self):'}</s>{'name': 'app@examples/overrides.py', 'description': 'DOCSTRING', 'base_classes': ['WSGI'], 'methods': []} | 0 |
{'name': 'Topic.__init__@code/pymqi/__init__.py', 'description': "Associate a Topic instance with the QueueManager object 'queue_manager'\nand optionally open the Topic.\n\nIf topic_desc is passed ignore topic_string and topic_name.\n\nIf open_opts is passed, it specifies topic open options, and\nthe topic is opened im... | 0 |
{'name': 'main@streaming/language_support/python/distribute_setup.py', 'description': 'Install or upgrade setuptools and EasyInstall', 'signature': 'def main(version=DEFAULT_VERSION):'}</s>{'name': '_same_content@streaming/language_support/python/distribute_setup.py', 'description': 'DOCSTRING', 'code': 'def _same_cont... | 0 |
{'name': 'create_dashboard_file@.github/workflows/create_workflows.py', 'description': 'Create a build dashboard file.', 'signature': 'def create_dashboard_file():'}</s>template_folder = Path(__file__).parents[2].joinpath("neurodocker", "templates") | 0 |
{'name': 'LazyClassifier.fit@lazypredict/Supervised.py', 'description': 'Fit Classification algorithms to X_train and y_train, predict and score on X_test, y_test.\nParameters\n----------\nX_train : array-like,\n Training vectors, where rows is the number of samples\n and columns is the number of features.\nX_tes... | 1 |
{'name': 'create_nested_folder@lib/opentypesvg/utils.py', 'description': 'Creates a nested folder and returns its path.\nThis additional folder is created when file names conflict.', 'signature': 'def create_nested_folder(nested_folder_path, main_folder_path):'}</s>{'name': 'create_folder@lib/opentypesvg/utils.py', 'de... | 1 |
{'name': 'port_unbind@kuryr/lib/binding/__init__.py', 'description': 'Unbinds the Neutron port from the network interface on the host.\n\n:param endpoint_id: the ID of the Docker container as string\n:param neutron_port: a port dictionary returned from python-neutronclient\n:param driver: the binding driver name\... | 0 |
{'name': 'Queue.get@code/pymqi/__init__.py', 'description': "Return a message from the queue. If the queue is not already\nopen, it is opened now with the option 'MQOO_INPUT_AS_Q_DEF'.\n\nmaxLength, if present, specifies the maximum length for the\nmessage. If the message received exceeds maxLength, then the\nbehavior ... | 0 |
{'name': 'AbstractConnectionPool._putconn@psycopg2/pool.py', 'description': 'Put away a connection.', 'signature': 'def _putconn(self, conn, key=None, close=False):'}</s>ISOLATION_LEVEL_READ_UNCOMMITTED = 4 | 0 |
{'name': 'MessageLayer.__init__@roost/roost/model.py', 'description': ' ', 'signature': 'def __init__(self, elem_fea_len, elem_heads, elem_gate, elem_msg):'}</s>{'name': 'Roost@roost/roost/model.py', 'description': 'The Roost model is comprised of a fully connected network\nand message passing graph layers.\n\nT... | 0 |
{'name': 'invert_spectrogram@utils/audio_utils.py', 'description': 'spectrogram: [f, t]', 'signature': 'def invert_spectrogram(spectrogram):'}</s>{'name': 'spectrogram2wav@utils/audio_utils.py', 'description': 'Griffin-Lim Algorithm\nspectrogram: [t, f], i.e. [t, nfft // 2 + 1]', 'code': "def spectrogram2wav(spectrogra... | 0 |
{'name': 'map_async_run_loop@tools/lldb/packages/Python/lldbsuite/test/dosep.py', 'description': 'Blocks until the Pool.map_async completes and the channel completes.\n\n@param future an AsyncResult instance from a Pool.map_async() call.\n\n@param channel_map the asyncore dispatch channel map that should be pumped.\nOp... | 0 |
{'name': 'Iface.removeSupervisors@jstorm-on-yarn/src/main/gen-py/JstormAM/JstormAM.py', 'description': 'Parameters:\n - number', 'signature': 'def removeSupervisors(self, number):'}</s>{'name': 'stopAppMaster_result@jstorm-on-yarn/src/main/gen-py/JstormAM/JstormAM.py', 'description': 'DOCSTRING', 'base_classes': [], 'm... | 0 |
{'name': 'griffinlim_cqt@librosa/core/constantq.py', 'description': 'Approximate constant-Q magnitude spectrogram inversion using the "fast" Griffin-Lim\nalgorithm.\n\nGiven the magnitude of a constant-Q spectrogram (``C``), the algorithm randomly initializes\nphase estimates, and then alternates forward- and inverse-C... | 1 |
{'name': 'cd._tab_fuzzy_match@.config/ranger/commands_full.py', 'description': 'Find directories matching tokens recursively ', 'signature': 'def _tab_fuzzy_match(self, basepath, tokens):'}</s>{'name': 'paste_ext@.config/ranger/commands_full.py', 'description': ':paste_ext\n\nLike paste but tries to rename conflicting ... | 0 |
{'name': 'TPUEstimator._call_model_fn_for_inference@baselines/models/xlnet/tpu_estimator.py', 'description': 'Wraps `_call_model_fn` for `export_savedmodel`.', 'signature': 'def _call_model_fn_for_inference(self, features, labels, mode, config):'}</s>_INITIAL_LOSS = 10000000.0 | 0 |
{'name': 'Diagram.from_pyzx@discopy/quantum/zx.py', 'description': 'Takes a :class:`pyzx.Graph` returns a :class:`zx.Diagram`.\n\nExamples\n--------\n\n>>> bialgebra = Z(1, 2, .25) @ Z(1, 2, .75)\\\n... >> Id(1) @ SWAP @ Id(1) >> X(2, 1, .5) @ X(2, 1, .5)\n>>> graph = bialgebra.to_pyzx()\n>>> assert Diagram.from_py... | 1 |
{'name': 'pyin@librosa/core/pitch.py', 'description': 'Fundamental frequency (F0) estimation using probabilistic YIN (pYIN).\n\npYIN [#]_ is a modificatin of the YIN algorithm [#]_ for fundamental frequency (F0) estimation.\nIn the first step of pYIN, F0 candidates and their probabilities are computed using the YIN alg... | 0 |
{'name': 'update_sample_attr@ui/views/Samples.py', 'description': "Update sample's attribute\n\nParameters\n----------\nrequest :\n\nReturns\n-------", 'signature': 'def update_sample_attr(request):'}</s>{'name': 'GenericDeleteForm@ui/forms.py', 'description': 'DOCSTRING', 'base_classes': ['forms.Form'], 'methods': []} | 0 |
{'name': 'SemisupervisedTranslationTask.load_dataset@fairseq/tasks/semisupervised_translation.py', 'description': 'Load a dataset split.', 'signature': 'def load_dataset(self, split, epoch=1, **kwargs):'}</s>{'name': 'dataset_exists@fairseq/data/indexed_dataset.py', 'description': 'DOCSTRING', 'code': 'def dataset_exis... | 1 |
{'name': 'MatchListener.exitObservationExpressionStartStop@stix2matcher/matcher.py', 'description': 'Consumes (1) a time interval as a pair of datetime.datetime objects,\n and (2) a generator of bindings.\nProduces a generator of bindings which are temporally filtered according\n to the given time interval. A bindin... | 0 |
{'name': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>MQAT_NSK = 13 | 0 |
{'name': 'edit_text@src/apyanki/utilities.py', 'description': 'Use EDITOR to edit text (from a temporary file)', 'signature': 'def edit_text(input_text: str, prefix: str = "") -> str:'}</s>{'name': 'suppress_stdout@src/apyanki/utilities.py', 'description': 'A context manager that redirects stdout to devnull', 'code': '... | 0 |
{'name': 'process_direct_grism_visit@grizli/prep.py', 'description': 'Full processing of a direct (+grism) image visit.\n\nParameters\n----------\ndirect : dict\n Dictionary with keys \'files\' and \'product\' for the direct images.\n\ngrism : dict\n Dictionary with keys \'files\' and \'product\' for the grism im... | 0 |
{'name': 'set_comments@kam1n0-clients/ida-plugin/Kam1n0/IDAUtils.py', 'description': '[summary] \nArgs:\n cmts ([type]): [description]', 'signature': 'def set_comments(cmts, ignore_offset_error=False):'}</s>{'name': 'set_cmt@kam1n0-clients/ida-plugin/Kam1n0/IDAUtils.py', 'description': 'DOCSTRING', 'code': 'def set_... | 1 |
{'name': 'showBox@source/pi-timolo.py', 'description': 'Show stream image detection area on image to align camera\nThis is a quick fix for restricting motion detection\nto a portion of the final image. Change the stream image size\non line 206 and 207 above\nAdjust track config.py file MOTION_TRACK_TRIG_LEN as required... | 0 |
{'name': 'IUSequence.as_dict@custom_components/irrigation_unlimited/irrigation_unlimited.py', 'description': 'Return this sequence as a dict', 'signature': 'def as_dict(self, extended=False, sqr: IUSequenceRun = None) -> OrderedDict:'}</s>ICON_DISABLED = "mdi:circle-off-outline" | 0 |
{'name': 'PosixSerial.getRI@stino/pyarduino/base/pyserial/serialposix.py', 'description': 'Read terminal status line: Ring Indicator', 'signature': 'def getRI(self):'}</s>{'name': 'SerialTimeoutException@stino/pyarduino/base/pyserial/serialutil.py', 'description': 'Write timeouts give an exception', 'base_classes': ['S... | 0 |
{'name': 'unyt_array.in_units@unyt/array.py', 'description': "Creates a copy of this array with the data converted to the\nsupplied units, and returns it.\n\nOptionally, an equivalence can be specified to convert to an\nequivalent quantity which is not in the same dimensions.\n\nParameters\n----------\nunits : Unit obj... | 0 |
{'name': 'Queue.get@code/pymqi/__init__.py', 'description': "Return a message from the queue. If the queue is not already\nopen, it is opened now with the option 'MQOO_INPUT_AS_Q_DEF'.\n\nmaxLength, if present, specifies the maximum length for the\nmessage. If the message received exceeds maxLength, then the\nbehavior ... | 0 |
{'name': 'QueueManager.backout@code/pymqi/__init__.py', 'description': 'Backout any outstanding gets/puts in the current unit of work.\n ', 'signature': 'def backout(self):'}</s>MQIAMO_NET_TIME_MAX = 730 | 0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.