_id
stringlengths
5
9
text
stringlengths
5
385k
title
stringclasses
1 value
doc_18700
The uppercase letters 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'. This value is not locale-dependent and will not change.
doc_18701
Signals the start of an element in namespace mode. The name parameter contains the name of the element type as a (uri, localname) tuple, the qname parameter contains the raw XML 1.0 name used in the source document, and the attrs parameter holds an instance of the AttributesNS interface (see The AttributesNS Interface)...
doc_18702
Fit the local outlier factor detector from the training dataset. Parameters X{array-like, sparse matrix} of shape (n_samples, n_features) or (n_samples, n_samples) if metric=’precomputed’ Training data. yIgnored Not used, present for API consistency by convention. Returns selfLocalOutlierFactor The ...
doc_18703
Dictionary of global attributes of this dataset. Warning attrs is experimental and may change without warning. See also DataFrame.flags Global flags applying to this object.
doc_18704
Alias for set_antialiased.
doc_18705
Create a shared threading.Semaphore object and return a proxy for it.
doc_18706
The paginator class to be used for pagination. By default, django.core.paginator.Paginator is used. If the custom paginator class doesn’t have the same constructor interface as django.core.paginator.Paginator, you will also need to provide an implementation for get_paginator().
doc_18707
Make a violin plot. Make a violin plot for each column of dataset or each vector in sequence dataset. Each filled area extends to represent the entire data range, with optional lines at the mean, the median, the minimum, the maximum, and user-specified quantiles. Parameters datasetArray or a sequence of vectors. ...
doc_18708
Return whether units are set on any axis.
doc_18709
Alias for set_linestyle.
doc_18710
types.LambdaType The type of user-defined functions and functions created by lambda expressions. Raises an auditing event function.__new__ with argument code. The audit event only occurs for direct instantiation of function objects, and is not raised for normal compilation.
doc_18711
Draw an RGBA image. Parameters gcGraphicsContextBase A graphics context with clipping information. xscalar The distance in physical units (i.e., dots or pixels) from the left hand side of the canvas. yscalar The distance in physical units (i.e., dots or pixels) from the bottom side of the canvas. im(N...
doc_18712
See Migration guide for more details. tf.compat.v1.raw_ops.MapUnstage tf.raw_ops.MapUnstage( key, indices, dtypes, capacity=0, memory_limit=0, container='', shared_name='', name=None ) from the underlying container. If the underlying container does not contain this key, the op will block until it does. ...
doc_18713
The HTTP status code for the response. Unless reason_phrase is explicitly set, modifying the value of status_code outside the constructor will also modify the value of reason_phrase.
doc_18714
Signals the end of an element in namespace mode. The name parameter contains the name of the element type, just as with the startElementNS() method, likewise the qname parameter.
doc_18715
Bases: matplotlib.backend_bases.LocationEvent A mouse event ('button_press_event', 'button_release_event', 'scroll_event', 'motion_notify_event'). A MouseEvent has a number of special attributes in addition to those defined by the parent Event and LocationEvent classes. Examples def on_press(event): print('you pr...
doc_18716
Add a centered supxlabel to the figure. Parameters tstr The supxlabel text. xfloat, default: 0.5 The x location of the text in figure coordinates. yfloat, default: 0.01 The y location of the text in figure coordinates. horizontalalignment, ha{'center', 'left', 'right'}, default: center The horizonta...
doc_18717
The URI or URL that triggered the error.
doc_18718
Bases: matplotlib.patches.Rectangle A cell is a Rectangle with some associated Text. As a user, you'll most likely not creates cells yourself. Instead, you should use either the table factory function or Table.add_cell. Parameters xy2-tuple The position of the bottom left corner of the cell. widthfloat The ...
doc_18719
See Migration guide for more details. tf.compat.v1.data.experimental.to_variant tf.data.experimental.to_variant( dataset ) Args dataset A tf.data.Dataset. Returns A scalar tf.variant tensor representing the given dataset.
doc_18720
Set the artist offset transform. Parameters transOffsetTransform
doc_18721
Returns a copy of the calling offset object with n=1 and all other attributes equal.
doc_18722
Find artist objects. Recursively find all Artist instances contained in the artist. Parameters match A filter criterion for the matches. This can be None: Return all objects contained in artist. A function with signature def match(artist: Artist) -> bool. The result will only contain artists for which the funct...
doc_18723
Renders a template from the given template source string with the given context. Template variables will be autoescaped. Parameters source (str) – the source code of the template to be rendered context (Any) – the variables that should be available in the context of the template. Return type str
doc_18724
dist_autograd_ctx_id (int, optional) – The distributed autograd context id for which we should retrieve the gradients (default: -1). retain_graph (bool, optional) – If False, the graph used to compute the grad will be freed. Note that in nearly all cases setting this option to True is not needed and often can be wor...
doc_18725
Sent with a preflight request to indicate which method will be used for the cross origin request. Set access_control_allow_methods on the response to indicate which methods are allowed.
doc_18726
Set the artist transform. Parameters tTransform
doc_18727
Compute indexer and mask for new index given the current index. The indexer should be then used as an input to ndarray.take to align the current data to the new index. Parameters target:Index Returns indexer:np.ndarray[np.intp] Integers from 0 to n - 1 indicating that the index at these positions matches ...
doc_18728
Initialize self. See help(type(self)) for accurate signature.
doc_18729
Return the decision path in the tree. New in version 0.18. Parameters X{array-like, sparse matrix} of shape (n_samples, n_features) The input samples. Internally, it will be converted to dtype=np.float32 and if a sparse matrix is provided to a sparse csr_matrix. check_inputbool, default=True Allow to bypa...
doc_18730
Return a default list of artists that are used for the bounding box calculation. Artists are excluded either by not being visible or artist.set_in_layout(False).
doc_18731
Get additional version information from the Windows Registry and return a tuple (release, version, csd, ptype) referring to OS release, version number, CSD level (service pack) and OS type (multi/single processor). As a hint: ptype is 'Uniprocessor Free' on single processor NT machines and 'Multiprocessor Free' on mult...
doc_18732
Casts this storage to char type
doc_18733
Return self>value.
doc_18734
Number of array dimensions. Examples >>> x = np.array([1, 2, 3]) >>> x.ndim 1 >>> y = np.zeros((2, 3, 4)) >>> y.ndim 3
doc_18735
tf.distribute.experimental.partitioners.MaxSizePartitioner( max_shard_bytes, max_shards=None, bytes_per_string=16 ) This partitioner ensures each shard has at most max_shard_bytes, and tries to allocate as few shards as possible, i.e., keeping shard size as large as possible. If the partitioner hits the max_shards...
doc_18736
Return True if any value in the group is truthful, else False. Parameters skipna:bool, default True Flag to ignore nan values during truth testing. Returns Series or DataFrame DataFrame or Series of boolean values, where a value is True if any element is True within its respective group, False otherwise. ...
doc_18737
The imaginary part of the scalar.
doc_18738
Fill the main diagonal of a tensor that has at least 2-dimensions. When dims>2, all dimensions of input must be of equal length. This function modifies the input tensor in-place, and returns the input tensor. Parameters fill_value (Scalar) – the fill value wrap (bool) – the diagonal ‘wrapped’ after N columns for t...
doc_18739
Return the object that should be used as the wsgi.errors stream. The default implementation just returns sys.stderr.
doc_18740
Mixin class for all classifiers in scikit-learn. Methods score(X, y[, sample_weight]) Return the mean accuracy on the given test data and labels. score(X, y, sample_weight=None) [source] Return the mean accuracy on the given test data and labels. In multi-label classification, this is the subset accuracy whic...
doc_18741
The string passed to match() or search().
doc_18742
A message with MH-specific behaviors. Parameter message has the same meaning as with the Message constructor. MH messages do not support marks or flags in the traditional sense, but they do support sequences, which are logical groupings of arbitrary messages. Some mail reading programs (although not the standard mh and...
doc_18743
Return the url.
doc_18744
A comparison of two or more values. left is the first value in the comparison, ops the list of operators, and comparators the list of values after the first element in the comparison. >>> print(ast.dump(ast.parse('1 <= a < 10', mode='eval'), indent=4)) Expression( body=Compare( left=Constant(value=1), ...
doc_18745
Convert the path component path from a percent-encoded URL to the local syntax for a path. This does not accept a complete URL. This function uses unquote() to decode path.
doc_18746
Return the values (min, max) that are mapped to the colormap limits.
doc_18747
Return a legend handler from legend_handler_map that corresponds to orig_handler. legend_handler_map should be a dictionary object (that is returned by the get_legend_handler_map method). It first checks if the orig_handle itself is a key in the legend_handler_map and return the associated value. Otherwise, it checks...
doc_18748
Create and return an attribute node. This method does not associate the attribute node with any particular element. You must use setAttributeNode() on the appropriate Element object to use the newly created attribute instance.
doc_18749
Read until a given byte string, expected, is encountered or until timeout seconds have passed. When no match is found, return whatever is available instead, possibly empty bytes. Raise EOFError if the connection is closed and no cooked data is available.
doc_18750
See Migration guide for more details. tf.compat.v1.raw_ops.AssertCardinalityDataset tf.raw_ops.AssertCardinalityDataset( input_dataset, cardinality, output_types, output_shapes, name=None ) Args input_dataset A Tensor of type variant. cardinality A Tensor of type int64. output_types A list o...
doc_18751
This is identical to m.group(g). This allows easier access to an individual group from a match: >>> m = re.match(r"(\w+) (\w+)", "Isaac Newton, physicist") >>> m[0] # The entire match 'Isaac Newton' >>> m[1] # The first parenthesized subgroup. 'Isaac' >>> m[2] # The second parenthesized subgroup. 'New...
doc_18752
An asynchronous context manager, similar to ExitStack, that supports combining both synchronous and asynchronous context managers, as well as having coroutines for cleanup logic. The close() method is not implemented, aclose() must be used instead. enter_async_context(cm) Similar to enter_context() but expects an a...
doc_18753
Represents entries in the Binary table; inserting such an object using add_data() reads the file named filename into the table.
doc_18754
Return the mean accuracy on the given test data and labels. In multi-label classification, this is the subset accuracy which is a harsh metric since you require for each sample that each label set be correctly predicted. Parameters Xarray-like of shape (n_samples, n_features) Test samples. yarray-like of shap...
doc_18755
Create a quantized embedding_bag module from a float module Parameters mod (Module) – a float module, either produced by torch.quantization utilities or provided by user
doc_18756
Returns None as extension modules lack a code object.
doc_18757
alias of flask.json.JSONDecoder
doc_18758
See Migration guide for more details. tf.compat.v1.raw_ops.ResourceSparseApplyAdagradV2 tf.raw_ops.ResourceSparseApplyAdagradV2( var, accum, lr, epsilon, grad, indices, use_locking=False, update_slots=True, name=None ) That is for rows we have grad for, we update var and accum as follows: accum += grad * gra...
doc_18759
Return the font full name, e.g., 'Times-Roman'.
doc_18760
This is a nonstandard shortcut that creates a cursor object by calling the cursor() method, calls the cursor’s executescript() method with the given sql_script, and returns the cursor.
doc_18761
Remove attribute attr from the “background” set applied to all writes to the current window.
doc_18762
Set whether the artist uses clipping. When False artists will be visible outside of the axes which can lead to unexpected results. Parameters bbool
doc_18763
Return the process group associated with the terminal given by fd (an open file descriptor as returned by os.open()). Availability: Unix.
doc_18764
Something other than whitespace occurred after the document element.
doc_18765
Alias for get_linestyle.
doc_18766
Remove a callback based on its observer id. See also add_callback
doc_18767
Copy message_set messages onto end of new_mailbox.
doc_18768
Return a Path for the alternate part of the marker. For unfilled markers, this is None; for filled markers, this is the area to be drawn with markerfacecoloralt.
doc_18769
Default NA value to use for this type. This is used in e.g. ExtensionArray.take. This should be the user-facing “boxed” version of the NA value, not the physical NA value for storage. e.g. for JSONArray, this is an empty dictionary.
doc_18770
Apply transforms, and predict_log_proba of the final estimator Parameters Xiterable Data to predict on. Must fulfill input requirements of first step of the pipeline. Returns y_scorearray-like of shape (n_samples, n_classes)
doc_18771
Display an array as a matrix in a new figure window. The origin is set at the upper left hand corner and rows (first dimension of the array) are displayed horizontally. The aspect ratio of the figure window is that of the array, unless this would make an excessively short or narrow figure. Tick labels for the xaxis a...
doc_18772
Roll provided date backward to next offset only if not on offset. Returns TimeStamp Rolled timestamp if not on offset, otherwise unchanged timestamp.
doc_18773
Set the window’s background. A window’s background consists of a character and any combination of attributes. The attribute part of the background is combined (OR’ed) with all non-blank characters that are written into the window. Both the character and attribute parts of the background are combined with the blank char...
doc_18774
Get the name of the character, i.e., ';' is 'semicolon'.
doc_18775
Warn if cookie headers are larger than this many bytes. Defaults to 4093. Larger cookies may be silently ignored by browsers. Set to 0 to disable the warning.
doc_18776
Create a new DataFrame from a scipy sparse matrix. New in version 0.25.0. Parameters data:scipy.sparse.spmatrix Must be convertible to csc format. index, columns:Index, optional Row and column labels to use for the resulting DataFrame. Defaults to a RangeIndex. Returns DataFrame Each column of the D...
doc_18777
Returns a list of all hyperparameter specifications.
doc_18778
Set the Figure instance the artist belongs to. Parameters figFigure
doc_18779
See Migration guide for more details. tf.compat.v1.raw_ops.OptionalFromValue tf.raw_ops.OptionalFromValue( components, name=None ) Args components A list of Tensor objects. name A name for the operation (optional). Returns A Tensor of type variant.
doc_18780
Return the socket’s own address. This is useful to find out the port number of an IPv4/v6 socket, for instance. (The format of the address returned depends on the address family — see above.)
doc_18781
Specify which protocols the socket should advertise during the SSL/TLS handshake. It should be a list of ASCII strings, like ['http/1.1', 'spdy/2'], ordered by preference. The selection of a protocol will happen during the handshake, and will play out according to RFC 7301. After a successful handshake, the SSLSocket.s...
doc_18782
Returns a new GEOSGeometry, simplified to the specified tolerance using the Douglas-Peucker algorithm. A higher tolerance value implies fewer points in the output. If no tolerance is provided, it defaults to 0. By default, this function does not preserve topology. For example, Polygon objects can be split, be collapsed...
doc_18783
Multiply arguments element-wise. Parameters x1, x2array_like Input arrays to be multiplied. If x1.shape != x2.shape, they must be broadcastable to a common shape (which becomes the shape of the output). outndarray, None, or tuple of ndarray and None, optional A location into which the result is stored. If p...
doc_18784
This exception is derived from RuntimeError. It is raised when the interpreter detects that the maximum recursion depth (see sys.getrecursionlimit()) is exceeded. New in version 3.5: Previously, a plain RuntimeError was raised.
doc_18785
Fit the model from data in X. Parameters X{array-like, sparse matrix} of shape (n_samples, n_features) Training vector, where n_samples is the number of samples and n_features is the number of features. If affinity is “precomputed” X : {array-like, sparse matrix}, shape (n_samples, n_samples), Interpret X as pr...
doc_18786
Bases: matplotlib.path.Path Create a path from the text. Create a path from the text. Note that it simply is a path, not an artist. You need to use the PathPatch (or other artists) to draw this path onto the canvas. Parameters xytuple or array of two float values Position of the text. For no offset, use xy=(0, ...
doc_18787
Represents the C long double datatype. The constructor accepts an optional float initializer. On platforms where sizeof(long double) == sizeof(double) it is an alias to c_double.
doc_18788
See Migration guide for more details. tf.compat.v1.raw_ops.SparseFillEmptyRowsGrad tf.raw_ops.SparseFillEmptyRowsGrad( reverse_index_map, grad_values, name=None ) Takes vectors reverse_index_map, shaped [N], and grad_values, shaped [N_full], where N_full >= N and copies data into either d_values or d_default_val...
doc_18789
Handle an unparsed entity declaration event.
doc_18790
Combine an rgb image with an intensity map using "overlay" blending. Parameters rgbndarray An MxNx3 RGB array of floats ranging from 0 to 1 (color image). intensityndarray An MxNx1 array of floats ranging from 0 to 1 (grayscale image). Returns ndarray An MxNx3 RGB array representing the combined image...
doc_18791
Compute the qth percentile of the data along the specified axis, while ignoring nan values. Returns the qth percentile(s) of the array elements. New in version 1.9.0. Parameters aarray_like Input array or object that can be converted to an array, containing nan values to be ignored. qarray_like of float P...
doc_18792
Call self as a function.
doc_18793
Return the difference between x and y.
doc_18794
Return this Axis' tick locations in data coordinates. Examples using matplotlib.axis.Axis.get_ticklocs Artist tutorial
doc_18795
Get the artist's bounding box in display space. The bounding box' width and height are nonnegative. Subclasses should override for inclusion in the bounding box "tight" calculation. Default is to return an empty bounding box at 0, 0. Be careful when using this function, the results will not update if the artist windo...
doc_18796
Function that returns True when in compilation and False otherwise. This is useful especially with the @unused decorator to leave code in your model that is not yet TorchScript compatible. .. testcode: import torch @torch.jit.unused def unsupported_linear_op(x): return x def linear(x): if not torch.jit.is_sc...
doc_18797
Push the value item onto the heap, maintaining the heap invariant.
doc_18798
stat.FILE_ATTRIBUTE_COMPRESSED stat.FILE_ATTRIBUTE_DEVICE stat.FILE_ATTRIBUTE_DIRECTORY stat.FILE_ATTRIBUTE_ENCRYPTED stat.FILE_ATTRIBUTE_HIDDEN stat.FILE_ATTRIBUTE_INTEGRITY_STREAM stat.FILE_ATTRIBUTE_NORMAL stat.FILE_ATTRIBUTE_NOT_CONTENT_INDEXED stat.FILE_ATTRIBUTE_NO_SCRUB_DATA stat.FILE_ATTRIBUTE...
doc_18799
Set the patch edge color. Parameters colorcolor or None