text
stringlengths
78
104k
score
float64
0
0.18
def cluster_ensembles(cluster_runs, hdf5_file_name = None, verbose = False, N_clusters_max = None): """Call up to three different functions for heuristic ensemble clustering (namely CSPA, HGPA and MCLA) then select as the definitive consensus clustering the one with the highest average mutual informat...
0.006019
def _association_types(self): """Retrieve Custom Indicator Associations types from the ThreatConnect API.""" # Dynamically create custom indicator class r = self.session.get('/v2/types/associationTypes') # check for bad status code and response that is not JSON if not r.ok or 'a...
0.006364
def filter_all_contents(value: ecore.EPackage, type_): """Returns `eAllContents(type_)`.""" return (c for c in value.eAllContents() if isinstance(c, type_))
0.011628
def error_string(mqtt_errno): """Return the error string associated with an mqtt error number.""" if mqtt_errno == MQTT_ERR_SUCCESS: return "No error." elif mqtt_errno == MQTT_ERR_NOMEM: return "Out of memory." elif mqtt_errno == MQTT_ERR_PROTOCOL: return "A network protocol erro...
0.001392
def create(self,image_path, size=1024, sudo=False): '''create will create a a new image Parameters ========== image_path: full path to image size: image sizein MiB, default is 1024MiB filesystem: supported file systems ext3/ext4 (ext[2/3]: default ext3 ''' f...
0.010495
def bind_objects(self, *objects): """Bind one or more objects""" self.control.bind_keys(objects) self.objects += objects
0.013605
def create(name, launch_config_name, availability_zones, min_size, max_size, desired_capacity=None, load_balancers=None, default_cooldown=None, health_check_type=None, health_check_period=None, placement_group=None, vpc_zone_identifier=None, tags=None, termination_policies=No...
0.000992
def get_form_layout(self, process_id, wit_ref_name): """GetFormLayout. [Preview API] Gets the form layout. :param str process_id: The ID of the process. :param str wit_ref_name: The reference name of the work item type. :rtype: :class:`<FormLayout> <azure.devops.v5_0.work_item_tr...
0.006283
def pick_best_methods(stochastic): """ Picks the StepMethods best suited to handle a stochastic variable. """ # Keep track of most competent methohd max_competence = 0 # Empty set of appropriate StepMethods best_candidates = set([]) # Loop over StepMethodRegistry for method in ...
0.002625
def projects(self): """Get a list of project Resources from the server visible to the current authenticated user. :rtype: List[Project] """ r_json = self._get_json('project') projects = [Project( self._options, self._session, raw_project_json) for raw_project_json i...
0.011331
def _env(self, lines): '''env will parse a list of environment lines and simply remove any blank lines, or those with export. Dockerfiles don't usually have exports. Parameters ========== lines: A list of environment pair lines. ''' envir...
0.009685
def set_composition(self, composition_id): """Sets the composition. arg: composition_id (osid.id.Id): a composition raise: InvalidArgument - ``composition_id`` is invalid raise: NoAccess - ``Metadata.isReadOnly()`` is ``true`` raise: NullArgument - ``composition_id`` is ``...
0.004043
def pre_validate(self, form): '''Calls preprocessors before pre_validation''' for preprocessor in self._preprocessors: preprocessor(form, self) super(FieldHelper, self).pre_validate(form)
0.008969
def _read_buffers(header, buffers, mesh_kwargs): """ Given a list of binary data and a layout, return the kwargs to create a scene object. Parameters ----------- header : dict With GLTF keys buffers : list of bytes Stored data passed : dict Kwargs for mesh constructors...
0.000137
def _get(self, ndef_message, timeout=1.0): """Get an NDEF message from the server. Temporarily connects to the default SNEP server if the client is not yet connected. """ if not self.socket: try: self.connect('urn:nfc:sn:snep') except nfc.llcp.Conn...
0.001714
def host(name, ip4=True, ip6=True, **kwargs): ''' Return a list of addresses for name ip6: Return IPv6 addresses ip4: Return IPv4 addresses the rest is passed on to lookup() ''' res = {} if ip6: ip6 = lookup(name, 'AAAA', **kwargs) if ip6: re...
0.002227
def get_qpimage_raw(self, idx=0): """Return QPImage without background correction""" qpi = qpimage.QPImage(h5file=self.path, h5mode="r", h5dtype=self.as_type, ).copy() # Remove previously performed backgrou...
0.003546
def variable_names(self): """ Returns the names of all environment variables. :return: the names of the variables :rtype: list """ result = [] names = javabridge.call(self.jobject, "getVariableNames", "()Ljava/util/Set;") for name in javabridge.iterate_co...
0.007282
def _init_mythril_dir() -> str: """ Initializes the mythril dir and config.ini file :return: The mythril dir's path """ try: mythril_dir = os.environ["MYTHRIL_DIR"] except KeyError: mythril_dir = os.path.join(os.path.expanduser("~"), ".mythril") ...
0.002212
def conforms(element, etype, namespace: Dict[str, Any]) -> bool: """ Determine whether element conforms to etype :param element: Element to test for conformance :param etype: Type to test against :param namespace: Namespace to use to resolve forward references :return: """ etype = proc_forw...
0.002041
def _clean_bindings(self, bindings): """ Remove all of the expressions from bindings :param bindings: The bindings to clean :type bindings: list :return: The cleaned bindings :rtype: list """ return list(filter(lambda b: not isinstance(b, QueryExpression...
0.009009
def _checksum_paths(): """Returns dict {'dataset_name': 'path/to/checksums/file'}.""" dataset2path = {} for dir_path in _CHECKSUM_DIRS: for fname in _list_dir(dir_path): if not fname.endswith(_CHECKSUM_SUFFIX): continue fpath = os.path.join(dir_path, fname) dataset_name = fname[:-len...
0.022388
def convert_wide_to_long(wide_data, ind_vars, alt_specific_vars, availability_vars, obs_id_col, choice_col, new_alt_id_name=None): """ Will convert a cross-sectio...
0.000081
def init_logger(self): """Init logger.""" if not self.result_logger: if not os.path.exists(self.local_dir): os.makedirs(self.local_dir) if not self.logdir: self.logdir = tempfile.mkdtemp( prefix="{}_{}".format( ...
0.002695
def unprovision_vdp_overlay_networks(self, net_uuid, lvid, vdp_vlan, oui): """Unprovisions a overlay type network configured using VDP. :param net_uuid: the uuid of the network associated with this vlan. :lvid: Local VLAN ID :vdp_vlan: VDP VLAN ID :oui: OUI Parameters ""...
0.002389
def resample_run(res, rstate=None, return_idx=False): """ Probes **sampling uncertainties** on a nested sampling run using bootstrap resampling techniques to generate a *realization* of the (expected) prior volume(s) associated with each sample (dead point). This effectively splits a nested sampling...
0.000252
def shutdown(self, exitcode=0, exitmsg=None): ''' If sub-classed, run any shutdown operations on this method. :param exitcode :param exitmsg ''' self.action_log_info('Shutting down') if hasattr(self, 'minion') and hasattr(self.minion, 'destroy'): self...
0.003953
def build(outname, wcsname, refimage, undistort=False, applycoeffs=False, coeffsfile=None, **wcspars): """ Core functionality to create a WCS instance from a reference image WCS, user supplied parameters or user adjusted reference WCS. The distortion information can either be read in as pa...
0.00454
def recurse_tree(path, excludes, opts): """ Look for every file in the directory tree and create the corresponding ReST files. """ # use absolute path for root, as relative paths like '../../foo' cause # 'if "/." in root ...' to filter out *all* modules otherwise path = os.path.abspath(path)...
0.003478
def get_xblock_settings(self, default=None): """ Gets XBlock-specific settigns for current XBlock Returns default if settings service is not available. Parameters: default - default value to be used in two cases: * No settings service is available ...
0.004886
def dumps(obj, *args, **kwargs): ''' Typeless dump an object to json string ''' return json.dumps(obj, *args, cls=TypelessSONEncoder, ensure_ascii=False, **kwargs)
0.011696
def update(self, version, reason=None): """ Modify the datamodel's manifest :param version: New version of the manifest :param reason: Optional reason of the update (i.g. "Update from x.y.z") """ _check_version_format(version) return self.collection.update({'_id'...
0.003795
def list_nodes_full(mask='mask[id, hostname, primaryIpAddress, \ primaryBackendIpAddress, processorPhysicalCoreAmount, memoryCount]', call=None): ''' Return a list of the VMs that are on the provider ''' if call == 'action': raise SaltCloudSystemExit( 'The list_nodes_...
0.006051
def iter_chunks(self): """ Generate a |_Chunk| subclass instance for each chunk in this parser's PNG stream, in the order encountered in the stream. """ for chunk_type, offset in self._iter_chunk_offsets(): chunk = _ChunkFactory(chunk_type, self._stream_rdr, offset) ...
0.005848
def create(provider, instances, opts=None, **kwargs): ''' Create an instance using Salt Cloud CLI Example: .. code-block:: bash salt-run cloud.create my-ec2-config myinstance \ image=ami-1624987f size='t1.micro' ssh_username=ec2-user \ securitygroup=default delvol_on_d...
0.003745
def listify(obj, ignore=(list, tuple, type(None))): ''' Wraps all non-list or tuple objects in a list; provides a simple way to accept flexible arguments. ''' return obj if isinstance(obj, ignore) else [obj]
0.004566
def get_covariance(datargs, outargs, vargs, datvar, outvar): """ Get covariance matrix. :param datargs: data arguments :param outargs: output arguments :param vargs: variable arguments :param datvar: variance of data arguments :param outvar: variance of output ar...
0.00056
def init_relation(self, models, relation): """ Initialize the relation on a set of models. :type models: list :type relation: str """ for model in models: model.set_relation( relation, Result(self._related.new_collection(), self, model) ...
0.005714
def columnCount(self, qindex=QModelIndex()): """Array column number""" if self.total_cols <= self.cols_loaded: return self.total_cols else: return self.cols_loaded
0.009259
def validate(self): """ Check if all mandatory keys exist in :attr:`metainfo` and are of expected types The necessary values are documented here: | http://bittorrent.org/beps/bep_0003.html | https://wiki.theory.org/index.php/BitTorrentSpecification#Metainfo_File_...
0.006791
def build_url(self, data): """This method occurs after dumping the data into the class. Args: data (dict): dictionary of all the query values Returns: data (dict): ordered dict of all the values """ query_part_one = [] query_part_two = [] ...
0.001606
def _construct_config(self, basedir, port, name=None, isreplset=False): """Construct command line strings for a config server.""" if isreplset: return self._construct_replset(basedir=basedir, portstart=port, name=name, ...
0.002538
def info(cache_dir=CACHE_DIR, product=DEFAULT_PRODUCT): """Show info about the product cache. :param cache_dir: Root of the DEM cache folder. :param product: DEM product choice. """ datasource_root, _ = ensure_setup(cache_dir, product) util.check_call_make(datasource_root, targets=['info'])
0.003165
def _check_args(logZ, f, x, samples, weights): """ Sanity-check the arguments for :func:`fgivenx.drivers.compute_samples`. Parameters ---------- f, x, samples, weights: see arguments for :func:`fgivenx.drivers.compute_samples` """ # convert to arrays if logZ is None: logZ = ...
0.000505
def date(self): """ Getter/setter for the date member. The setter can take a string or a :meth:`datetime.datetime` and will do the appropriate transformation. """ if self._date: return self._date return datetime.datetime.now().strftime('%Y-%m-%d')
0.009464
def parse_message(self, message): """ Parse a given message and run the command using the connection and the json protocals """ service = None try: service = get_service(message) except ValueError: pass conn = self.connec...
0.005003
def prepare(cls, model, device='CPU', **kwargs): """For running end to end model(used for onnx test backend) Parameters ---------- model : onnx ModelProto object loaded onnx graph device : 'CPU' specifying device to run test on kwargs : ...
0.004208
def AgregarVehiculo(self, dominio_vehiculo=None, dominio_acoplado=None, **kwargs): "Agrega la información referente al vehiculo usado en el viaje del remito electrónico cárnico" self.remito['viaje']['vehiculo'] = {'dominioVehiculo': dominio_vehiculo, 'dominioAcoplado': dominio_acoplado} return T...
0.01548
def check_without_your_collusion(text): """Check the textself.""" err = "misc.illogic.collusion" msg = "It's impossible to defraud yourself. Try 'aquiescence'." regex = "without your collusion" return existence_check( text, [regex], err, msg, require_padding=False, offset=-1)
0.003268
def p_ident_parts(self, p): """ ident_parts : ident_part | selector | filter_group """ if not isinstance(p[1], list): p[1] = [p[1]] p[0] = p[1]
0.00722
def get_endpoint(self, endpoint_id): '''use a transfer client to get a specific endpoint based on an endpoint id. Parameters ========== endpoint_id: the endpoint_id to retrieve ''' endpoint = None if not hasattr(self, 'transfer_client'): self._init_transfer_cl...
0.013645
def sudo_run(c, command): """ Run some command under Travis-oriented sudo subshell/virtualenv. :param str command: Command string to run, e.g. ``inv coverage``, ``inv integration``, etc. (Does not necessarily need to be an Invoke task, but...) """ # NOTE: explicit shell wrapper beca...
0.001431
def _ttv_compute(self, v, dims, vidx, remdims): """ Tensor times vector product Parameter --------- """ if not isinstance(v, tuple): raise ValueError('v must be a tuple of vectors') ndim = self.ndim order = list(remdims) + list(dims) i...
0.003067
def find(self, sub, in_current_line=False, include_current_position=False, ignore_case=False, count=1): """ Find `text` after the cursor, return position relative to the cursor position. Return `None` if nothing was found. :param count: Find the n-th occurance. """ ...
0.003527
def interaction( self, frame, tb=None, exception='Wdb', exception_description='Stepping', init=None, shell=False, shell_vars=None, source=None, iframe_mode=False, timeout=None, ...
0.001756
def on_recv_rsp(self, rsp_pb): """receive response callback function""" ret_code, msg, conn_info_map = InitConnect.unpack_rsp(rsp_pb) if self._notify_obj is not None: self._notify_obj.on_async_init_connect(ret_code, msg, conn_info_map) return ret_code, msg
0.009934
def verify(ctx): """Upgrade locked dependency versions""" oks = run_configurations( skipper(verify_environments), read_sections, ) ctx.exit(0 if False not in oks else 1)
0.004405
def commit_history(filename): """Retrieve the commit history for a given filename. Keyword Arguments: :filename: (str) -- full name of the file Returns: list of dicts -- list of commit if the file is not found, returns an empty list """ result = [] repo = Repo()...
0.001555
def to_underscore(s): """Transform camel or pascal case to underscore separated string """ return re.sub( r'(?!^)([A-Z]+)', lambda m: "_{0}".format(m.group(1).lower()), re.sub(r'(?!^)([A-Z]{1}[a-z]{1})', lambda m: "_{0}".format(m.group(1).lower()), s) ).lower()
0.006289
def enable_wx(self, app=None): """Enable event loop integration with wxPython. Parameters ---------- app : WX Application, optional. Running application to use. If not given, we probe WX for an existing application object, and create a new one if none is found. ...
0.00437
async def connect(self): requester = AiohttpRequester() factory = UpnpFactory(requester) device = await factory.async_create_device(self.url) self.service = device.service('urn:schemas-sony-com:service:Group:1') if not self.service: _LOGGER.error("Unable to find grou...
0.007954
def vote_total(self): """ Calculates vote total as total_upvotes - total_downvotes. We are adding a method here instead of relying on django-secretballot's addition since that doesn't work for subclasses. """ modelbase_obj = self.modelbase_obj return modelbase_obj.votes.filter(vo...
0.010526
def _at_warn(self, calculator, rule, scope, block): """ Implements @warn """ value = calculator.calculate(block.argument) log.warn(repr(value))
0.010929
def get_bundle_imported_services(self, bundle): """ Returns this bundle's ServiceReference list for all services it is using or returns None if this bundle is not using any services. A bundle is considered to be using a service if its use count for that service is greater than ze...
0.002703
def configure_client( cls, address: Union[str, Tuple[str, int], Path] = 'localhost', port: int = 6379, db: int = 0, password: str = None, ssl: Union[bool, str, SSLContext] = False, **client_args) -> Dict[str, Any]: """ Configure a Redis client. :param address...
0.004175
def __send_run(self): """Send request thread """ while not self.__end.is_set(): try: with Connection(userid=self.__prefix + self.__epid, password=self.__passwd, virtual_host=self.__vhost, ...
0.004167
def postprocess_authorKeywords(self, entry): """ Parse author keywords. Author keywords are usually semicolon-delimited. """ if type(entry.authorKeywords) not in [str, unicode]: aK = u' '.join([unicode(k) for k in entry.authorKeywords]) else: aK ...
0.004808
def compile(pattern, flags=0, auto_compile=None): # noqa A001 """Compile both the search or search and replace into one object.""" if isinstance(pattern, Bre): if auto_compile is not None: raise ValueError("Cannot compile Bre with a different auto_compile!") elif flags != 0: ...
0.005329
def stopped(name=None, containers=None, shutdown_timeout=None, unpause=False, error_on_absent=True, **kwargs): ''' Ensure that a container (or containers) is stopped name Name or ID of the container containers Run this state o...
0.000206
def resolve_dep(self, depname): """ Locate dep in the search path; if found, return its path. If not found in the search path, and the dep is not a system-provided dep, raise an error """ for d in self._search_path: name = os.path.join(d, depname) if self._mock: ...
0.003896
def natural_neighbor_to_grid(xp, yp, variable, grid_x, grid_y): r"""Generate a natural neighbor interpolation of the given points to a regular grid. This assigns values to the given grid using the Liang and Hale [Liang2010]_. approach. Parameters ---------- xp: (N, ) ndarray x-coordina...
0.002629
def alloca(self, typ, size=None, name=''): """ Stack-allocate a slot for *size* elements of the given type. (default one element) """ if size is None: pass elif isinstance(size, (values.Value, values.Constant)): assert isinstance(size.type, types.I...
0.003322
def svmachine(self, data: ['SASdata', str] = None, autotune: str = None, code: str = None, id: str = None, input: [str, list, dict] = None, kernel: str = None, output: [str, bool, 'SASdata'] = None, ...
0.010062
def repeat(element, count): '''Generate a sequence with one repeated value. Note: This method uses deferred execution. Args: element: The value to be repeated. count: The number of times to repeat the value. Raises: ValueError: If the count is negative. ''' ...
0.002227
def is_valid_mark(comps, mark_trans): """ Check whether the mark given by mark_trans is valid to add to the components """ if mark_trans == "*_": return True components = list(comps) if mark_trans[0] == 'd' and components[0] \ and components[0][-1].lower() in ("d", "đ"): ...
0.004082
def last_versions_with_age(self, col_name='age'): ''' Leaves only the latest version for each object. Adds a new column which represents age. The age is computed by subtracting _start of the oldest version from one of these possibilities:: # psuedo-code i...
0.001069
def deallocate_network_ipv4(self, id_network_ipv4): """ Deallocate all relationships between NetworkIPv4. :param id_network_ipv4: ID for NetworkIPv4 :return: Nothing :raise InvalidParameterError: Invalid ID for NetworkIPv4. :raise NetworkIPv4NotFoundError: NetworkIPv4 ...
0.003619
def set_resolving(self, **kw): """ Certain log fields can be individually resolved. Use this method to set these fields. Valid keyword arguments: :param str timezone: string value to set timezone for audits :param bool time_show_zone: show the time zone in the audit. ...
0.005222
def generate_prediction_data(self): """ Create data that caches intermediate results used for predicting the label of new/unseen points. This data is only useful if you are intending to use functions from ``hdbscan.prediction``. """ if self.metric in FAST_METRICS: ...
0.002667
def _set_stats_data(self, test_id, metrics): """ Get summary stats data from each metric and set it in the _Analysis object specified by test_id to make it available for retrieval :return: currently always returns CONSTANTS.OK. Maybe enhanced in future to return additional status """ for metric ...
0.009238
def ifind_first_object(self, ObjectClass, **kwargs): """ Retrieve the first object of type ``ObjectClass``, matching the specified filters in ``**kwargs`` -- case insensitive. | If USER_IFIND_MODE is 'nocase_collation' this method maps to find_first_object(). | If USER_IFIND_MODE is 'if...
0.008104
def select_features(X, y, test_for_binary_target_binary_feature=defaults.TEST_FOR_BINARY_TARGET_BINARY_FEATURE, test_for_binary_target_real_feature=defaults.TEST_FOR_BINARY_TARGET_REAL_FEATURE, test_for_real_target_binary_feature=defaults.TEST_FOR_REAL_TARGET_BINARY_FEATURE, ...
0.004584
def is_business_day(self, holiday_obj=None): """ :param list holiday_obj : datetime.date list defining business holidays :return: bool method to check if a date falls neither on weekend nor is holiday """ y, m, d = BusinessDate.to_ymd(self) if weekday(y, m, d) > ...
0.005146
def DocFileSuite(*paths, **kw): """A unittest suite for one or more doctest files. The path to each doctest file is given as a string; the interpretation of that string depends on the keyword argument "module_relative". A number of options may be provided as keyword arguments: module_relative...
0.000387
def meta(self, file_list, **kwargs): """获得文件(s)的metainfo :param file_list: 文件路径列表,如 ['/aaa.txt'] :type file_list: list :return: requests.Response .. note :: 示例 * 文件不存在 {"errno":12,"info":[{"errno":-9}],"request_id":3294861771} ...
0.002964
def _evalAndDer(self,x): ''' Returns the level and first derivative of the function at each value in x. Only called internally by HARKinterpolator1D.eval_and_der (etc). ''' if _isscalar(x): pos = np.searchsorted(self.x_list,x) if pos == 0: ...
0.022535
def print(self, *args, **kwargs): ''' Utility function that behaves identically to 'print' except it only prints if verbose ''' if self._last_args and self._last_args.verbose: print(*args, **kwargs)
0.008
def from_dict(data, ctx): """ Instantiate a new OpenTradeFinancing from a dict (generally from loading a JSON response). The data used to instantiate the OpenTradeFinancing is a shallow copy of the dict passed in, with any complex child types instantiated appropriately. "...
0.003623
def on_server_shutdown(self): """Stop the container before shutting down.""" if not self._container: return self._container.stop() self._container.remove(v=True, force=True)
0.009217
def create(self, product_type, attribute_set_id, sku, data): """ Create Product and return ID :param product_type: String type of product :param attribute_set_id: ID of attribute set :param sku: SKU of the product :param data: Dictionary of data :return: INT id o...
0.004024
def agp(args): """ %prog agp <fastafile|sizesfile> Convert the sizes file to a trivial AGP file. """ from jcvi.formats.agp import OO p = OptionParser(agp.__doc__) opts, args = p.parse_args(args) if len(args) != 1: sys.exit(not p.print_help()) sizesfile, = args sizes =...
0.001546
def set_root(self, index): """Set the given index as root index of the combobox :param index: the new root index :type index: QtCore.QModelIndex :returns: None :rtype: None :raises: None """ if not index.isValid(): self.setCurrentIndex(-1) ...
0.003425
def build_agg_vec(agg_vec, **source): """ Builds an combined aggregation vector based on various classifications This function build an aggregation vector based on the order in agg_vec. The naming and actual mapping is given in source, either explicitly or by pointing to a folder with the mapping. ...
0.000219
def _pattern(*names, **kwargs): """Returns globbing pattern for name1/name2/../lastname + '--*' or name1/name2/../lastname + extension if parameter `extension` it set. Parameters ---------- names : strings Which path to join. Example: _pattern('path', 'to', 'experiment') will return...
0.001372
def show(keyword=''): """ Displays a list of all environment key/value pairs for the current role. """ keyword = keyword.strip().lower() max_len = max(len(k) for k in env.iterkeys()) keyword_found = False for k in sorted(env.keys()): if keyword and keyword not in k.lower(): ...
0.003472
def _FetchMostRecentGraphSeriesFromTheLegacyDB( label, report_type, token = None ): """Fetches the latest graph-series for a client label from the legacy DB. Args: label: Client label to fetch data for. report_type: rdf_stats.ClientGraphSeries.ReportType to fetch data for. token: ACL token ...
0.009987
def stats(self): """Basic group statistics. Returned dict has the following keys: 'online' - users online count 'ingame' - users currently in game count 'chatting' - users chatting count :return: dict """ stats_online = CRef.cint() s...
0.002894
def prepare_command(self): """ Determines if the literal ``ansible`` or ``ansible-playbook`` commands are given and if not calls :py:meth:`ansible_runner.runner_config.RunnerConfig.generate_ansible_command` """ try: cmdline_args = self.loader.load_file('args', string_...
0.007394
def zero_cluster(name): ''' Reset performance statistics to zero across the cluster. .. code-block:: yaml zero_ats_cluster: trafficserver.zero_cluster ''' ret = {'name': name, 'changes': {}, 'result': None, 'comment': ''} if __opts__['test']:...
0.00189
def estimate(init_values, estimator, method, loss_tol, gradient_tol, maxiter, print_results, use_hessian=True, just_point=False, **kwargs): """ Estimate the given choice model that is defined by ...
0.000199