_id
stringlengths
5
9
text
stringlengths
5
385k
title
stringclasses
1 value
doc_8700
Mixin class for all bicluster estimators in scikit-learn. Attributes biclusters_ Convenient way to get row and column indicators together. Methods get_indices(i) Row and column indices of the i’th bicluster. get_shape(i) Shape of the i’th bicluster. get_submatrix(i, data) Return the submatrix correspo...
doc_8701
Approximate significant figure estimate. This property is intended to give a convenient way to estimate the precision of a measurement. It only uses the interquartile region to estimate statistics to try to mitigate skew from the tails, and uses a static z value of 1.645 since it is not expected to be used for small va...
doc_8702
Return the directory that contains the NumPy *.h header files. Extension modules that need to compile against NumPy should use this function to locate the appropriate include directory. Notes When using distutils, for example in setup.py. import numpy as np ... Extension('extension_name', ... include_dirs=[np...
doc_8703
Query or modify horizontal position of the treeview.
doc_8704
tf.as_dtype Compat aliases for migration See Migration guide for more details. tf.compat.v1.as_dtype, tf.compat.v1.dtypes.as_dtype tf.dtypes.as_dtype( type_value ) Note: DType values are interned. When passed a new DType object, as_dtype always returns the interned value. Args type_value A value that ...
doc_8705
See torch.addr()
doc_8706
Return this Axis' grid lines as a list of Line2Ds.
doc_8707
See Migration guide for more details. tf.compat.v1.raw_ops.ParallelMapDataset tf.raw_ops.ParallelMapDataset( input_dataset, other_arguments, num_parallel_calls, f, output_types, output_shapes, use_inter_op_parallelism=True, sloppy=False, preserve_cardinality=False, name=None ) Unlike a "MapDataset", whic...
doc_8708
Combines the STANDARD_RIGHTS_READ, KEY_QUERY_VALUE, KEY_ENUMERATE_SUB_KEYS, and KEY_NOTIFY values.
doc_8709
A dictionary containing all available HTTP headers. Available headers depend on the client and server, but here are some examples: CONTENT_LENGTH – The length of the request body (as a string). CONTENT_TYPE – The MIME type of the request body. HTTP_ACCEPT – Acceptable content types for the response. HTTP_ACCEPT_EN...
doc_8710
tf.compat.v1.distributions.Exponential( rate, validate_args=False, allow_nan_stats=True, name='Exponential' ) The Exponential distribution is parameterized by an event rate parameter. Mathematical Details The probability density function (pdf) is, pdf(x; lambda, x > 0) = exp(-lambda x) / Z Z = 1 / lambda where ra...
doc_8711
Generate a Chebyshev series with given roots. The function returns the coefficients of the polynomial \[p(x) = (x - r_0) * (x - r_1) * ... * (x - r_n),\] in Chebyshev form, where the r_n are the roots specified in roots. If a zero has multiplicity n, then it must appear in roots n times. For instance, if 2 is a root...
doc_8712
tf.keras.mixed_precision.experimental.get_layer_policy( layer ) Warning: This function is deprecated. Use tf.keras.layers.Layer.dtype_policy instead. Args layer A tf.keras.layers.Layer. Returns The tf.keras.mixed_precision.Policy of the layer.
doc_8713
Estimate sample weights by class for unbalanced datasets. Parameters class_weightdict, list of dicts, “balanced”, or None Weights associated with classes in the form {class_label: weight}. If not given, all classes are supposed to have weight one. For multi-output problems, a list of dicts can be provided in th...
doc_8714
Returns a Server object which represents the actual server under the control of the Manager. The Server object supports the serve_forever() method: >>> from multiprocessing.managers import BaseManager >>> manager = BaseManager(address=('', 50000), authkey=b'abc') >>> server = manager.get_server() >>> server.serve_forev...
doc_8715
The DeleteView page displayed to a GET request uses a template_name_suffix of '_confirm_delete'. For example, changing this attribute to '_check_delete' for a view deleting objects for the example Author model would cause the default template_name to be 'myapp/author_check_delete.html'.
doc_8716
Description of the Tool. str: Tooltip used if the Tool is included in a Toolbar.
doc_8717
Calculate the n-th discrete difference along the given axis. The first difference is given by out[i] = a[i+1] - a[i] along the given axis, higher differences are calculated by using diff recursively. Parameters aarray_like Input array nint, optional The number of times values are differenced. If zero, the i...
doc_8718
tf.experimental.numpy.sin( x ) Unsupported arguments: out, where, casting, order, dtype, subok, signature, extobj. See the NumPy documentation for numpy.sin.
doc_8719
Set the grid for the pixel centers, and the pixel values. Parameters x, y1D array-like Monotonic arrays of shapes (N,) and (M,), respectively, specifying pixel centers. Aarray-like (M, N) ndarray or masked array of values to be colormapped, or (M, N, 3) RGB array, or (M, N, 4) RGBA array.
doc_8720
Close the socket. All future operations on the socket object will fail. The remote end-point will receive no more data (after queued data is flushed). Sockets are automatically closed when they are garbage-collected.
doc_8721
Combines an array of sliding local blocks into a large containing tensor. Consider a batched input tensor containing sliding local blocks, e.g., patches of images, of shape (N,C×∏(kernel_size),L)(N, C \times \prod(\text{kernel\_size}), L) , where NN is batch dimension, C×∏(kernel_size)C \times \prod(\text{kernel\_si...
doc_8722
Construct DataFrame from group with provided name. Parameters name:object The name of the group to get as a DataFrame. obj:DataFrame, default None The DataFrame to take the DataFrame out of. If it is None, the object groupby was called on will be used. Returns group:same type as obj
doc_8723
Return self<<=value.
doc_8724
The parent of the current node, or None for the document node. The value is always a Node object or None. For Element nodes, this will be the parent element, except for the root element, in which case it will be the Document object. For Attr nodes, this is always None. This is a read-only attribute.
doc_8725
ABC for awaitable objects, which can be used in await expressions. Custom implementations must provide the __await__() method. Coroutine objects and instances of the Coroutine ABC are all instances of this ABC. Note In CPython, generator-based coroutines (generators decorated with types.coroutine() or asyncio.coroutin...
doc_8726
Set the current process’s real, effective, and saved group ids. Availability: Unix. New in version 3.2.
doc_8727
Plot the autocorrelation of x. Parameters xarray-like detrendcallable, default: mlab.detrend_none (no detrending) A detrending function applied to x. It must have the signature detrend(x: np.ndarray) -> np.ndarray normedbool, default: True If True, input vectors are normalised to unit length. usevlines...
doc_8728
Returns a Point object representing the geometric center of the geometry. The point is not guaranteed to be on the interior of the geometry.
doc_8729
Convert an XML-RPC request or response into Python objects, a (params, methodname). params is a tuple of argument; methodname is a string, or None if no method name is present in the packet. If the XML-RPC packet represents a fault condition, this function will raise a Fault exception. The use_builtin_types flag can be...
doc_8730
window.instr(y, x[, n]) Return a bytes object of characters, extracted from the window starting at the current cursor position, or at y, x if specified. Attributes are stripped from the characters. If n is specified, instr() returns a string at most n characters long (exclusive of the trailing NUL).
doc_8731
Determine whether code is in tableC.6 (Inappropriate for plain text).
doc_8732
Return the table’s identifier.
doc_8733
Create and return a processing instruction node containing the target and data passed as parameters. As with the other creation methods, this one does not insert the node into the tree.
doc_8734
A float indicating the timeout to use for all RPCs. If an RPC does not complete in this timeframe, it will complete with an exception indicating that it has timed out.
doc_8735
Return the default savefig file format as specified in rcParams["savefig.format"] (default: 'png'). The returned string does not include a period. This method is overridden in backends that only support a single file type.
doc_8736
Execute a readline initialization file. The default filename is the last filename used. This calls rl_read_init_file() in the underlying library.
doc_8737
The type of the return values from the ParserCreate() function.
doc_8738
tf.data.experimental.load( path, element_spec, compression=None, reader_func=None ) Example usage: import tempfile path = os.path.join(tempfile.gettempdir(), "saved_data") # Save a dataset dataset = tf.data.Dataset.range(2) tf.data.experimental.save(dataset, path) new_dataset = tf.data.experimental.load(path, ...
doc_8739
tf.compat.v1.train.get_or_create_global_step( graph=None ) Args graph The graph in which to create the global step tensor. If missing, use default graph. Returns The global step tensor.
doc_8740
Debug the doctests in a string. This is like function debug() above, except that a string containing doctest examples is specified directly, via the src argument. Optional argument pm has the same meaning as in function debug() above. Optional argument globs gives a dictionary to use as both local and global execution ...
doc_8741
Helper for pickle.
doc_8742
Computes the inverse of rfftn(). input is interpreted as a one-sided Hermitian signal in the Fourier domain, as produced by rfftn(). By the Hermitian property, the output will be real-valued. Note Some input frequencies must be real-valued to satisfy the Hermitian property. In these cases the imaginary component will ...
doc_8743
Similar to broadcast_tensors() but for shapes. This is equivalent to torch.broadcast_tensors(*map(torch.empty, shapes))[0].shape but avoids the need create to intermediate tensors. This is useful for broadcasting tensors of common batch shape but different rightmost shape, e.g. to broadcast mean vectors with covarian...
doc_8744
Return whether domain is on the blacklist for setting or receiving cookies.
doc_8745
Set the hatching pattern hatch can be one of: / - diagonal hatching \ - back diagonal | - vertical - - horizontal + - crossed x - crossed diagonal o - small circle O - large circle . - dots * - stars Letters can be combined, in which case all the specified hatchings are done. If same letter repea...
doc_8746
See Migration guide for more details. tf.compat.v1.raw_ops.SigmoidGrad tf.raw_ops.SigmoidGrad( y, dy, name=None ) Specifically, grad = dy * y * (1 - y), where y = sigmoid(x), and dy is the corresponding input gradient. Args y A Tensor. Must be one of the following types: bfloat16, half, float32, float64...
doc_8747
See Migration guide for more details. tf.compat.v1.math.ndtri tf.math.ndtri( x, name=None ) Args x Tensor with type float or double. name A name for the operation (optional). Returns Inverse error function of x.
doc_8748
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_8749
Call self as a function.
doc_8750
Warning This function’s name is a misnomer. It actually rounds the quotient towards zero instead of taking its floor. This behavior will be deprecated in a future PyTorch release. Computes input divided by other, elementwise, and rounds each quotient towards zero. Equivalently, it truncates the quotient(s): outi=tru...
doc_8751
See Migration guide for more details. tf.compat.v1.raw_ops.TruncateDiv tf.raw_ops.TruncateDiv( x, y, name=None ) Truncation designates that negative numbers will round fractional quantities toward zero. I.e. -7 / 5 = -1. This matches C semantics but it is different than Python semantics. See FloorDiv for a divis...
doc_8752
Segmentation of images using a pretrained classifier. Parameters featuresndarray Array of features, with the last dimension corresponding to the number of features, and the other dimensions are compatible with the shape of the image to segment, or a flattened image. clfclassifier object trained classifier o...
doc_8753
Receives a tensor asynchronously. Parameters tensor (Tensor) – Tensor to fill with received data. src (int, optional) – Source rank. Will receive from any process if unspecified. group (ProcessGroup, optional) – The process group to work on. If None, the default process group will be used. tag (int, optional) ...
doc_8754
Filename of the image. str: Filename of the image to use in a Toolbar. If None, the name is used as a label in the toolbar button.
doc_8755
Local threshold of an image. The resulting binary mask is True if the greyvalue of the center pixel is greater than the local mean. Only greyvalues between percentiles [p0, p1] are considered in the filter. Parameters image2-D array (uint8, uint16) Input image. selem2-D array The neighborhood expressed as a...
doc_8756
Return whether the artist is pickable. See also set_picker, get_picker, pick
doc_8757
Assemble an nd-array from nested lists of blocks. Blocks in the innermost lists are concatenated (see concatenate) along the last dimension (-1), then these are concatenated along the second-last dimension (-2), and so on until the outermost list is reached. Blocks can be of any dimension, but will not be broadcasted...
doc_8758
Weibull distribution. alpha is the scale parameter and beta is the shape parameter.
doc_8759
See Migration guide for more details. tf.compat.v1.raw_ops.OutfeedDequeue tf.raw_ops.OutfeedDequeue( dtype, shape, device_ordinal=-1, name=None ) This operation will block indefinitely until data is available. Args dtype A tf.DType. The type of elements in the tensor. shape A tf.TensorShape or lis...
doc_8760
Similar to callback() but expects a coroutine function.
doc_8761
sklearn.utils.multiclass.type_of_target(y) [source] Determine the type of data indicated by the target. Note that this type is the most specific type that can be inferred. For example: binary is more specific but compatible with multiclass. multiclass of integers is more specific but compatible with continuous. m...
doc_8762
class range(start, stop[, step]) The arguments to the range constructor must be integers (either built-in int or any object that implements the __index__ special method). If the step argument is omitted, it defaults to 1. If the start argument is omitted, it defaults to 0. If step is zero, ValueError is raised. For a...
doc_8763
This works exactly like the method of the same name on a regular click.Group but it wraps callbacks in with_appcontext() unless it’s disabled by passing with_appcontext=False.
doc_8764
Alias for torch.movedim(). This function is equivalent to NumPy’s moveaxis function. Examples: >>> t = torch.randn(3,2,1) >>> t tensor([[[-0.3362], [-0.8437]], [[-0.9627], [ 0.1727]], [[ 0.5173], [-0.1398]]]) >>> torch.moveaxis(t, 1, 0).shape torch.Size([2, 3, 1]) >>> torch.mov...
doc_8765
New in version 1.16. Note In NumPy 1.17, the protocol is enabled by default, but can be disabled with NUMPY_EXPERIMENTAL_ARRAY_FUNCTION=0. In NumPy 1.16, you need to set the environment variable NUMPY_EXPERIMENTAL_ARRAY_FUNCTION=1 before importing NumPy to use NumPy function overrides. Eventually, expect to __arr...
doc_8766
Attributes do_common_subexpression_elimination bool do_common_subexpression_elimination do_constant_folding bool do_constant_folding do_function_inlining bool do_function_inlining global_jit_level GlobalJitLevel global_jit_level max_folded_constant_in_bytes int64 max_folded_constant_in_...
doc_8767
Get the value of the tick label pad in points.
doc_8768
See Migration guide for more details. tf.compat.v1.raw_ops.NonMaxSuppressionV4 tf.raw_ops.NonMaxSuppressionV4( boxes, scores, max_output_size, iou_threshold, score_threshold, pad_to_max_output_size=False, name=None ) pruning away boxes that have high intersection-over-union (IOU) overlap with previously sele...
doc_8769
When using UpdateView you have access to self.object, which is the object being updated.
doc_8770
This method is a convenient way of asserting that the last call has been made in a particular way: >>> mock = Mock() >>> mock.method(1, 2, 3, test='wow') <Mock name='mock.method()' id='...'> >>> mock.method.assert_called_with(1, 2, 3, test='wow')
doc_8771
Returns the log-transformed bounds on the theta. Returns boundsndarray of shape (n_dims, 2) The log-transformed bounds on the kernel’s hyperparameters theta
doc_8772
Get Modulo of dataframe and other, element-wise (binary operator rmod). Equivalent to other % dataframe, but with support to substitute a fill_value for missing data in one of the inputs. With reverse version, mod. Among flexible wrappers (add, sub, mul, div, mod, pow) to arithmetic operators: +, -, *, /, //, %, **. ...
doc_8773
Crop array ar by crop_width along each dimension. Parameters ararray-like of rank N Input array. crop_width{sequence, int} Number of values to remove from the edges of each axis. ((before_1, after_1), … (before_N, after_N)) specifies unique crop widths at the start and end of each axis. ((before, after),) o...
doc_8774
For each element in a, return a list of the words in the string, using sep as the delimiter string. Calls str.split element-wise. Parameters aarray_like of str or unicode sepstr or unicode, optional If sep is not specified or None, any whitespace string is a separator. maxsplitint, optional If maxsplit is...
doc_8775
keyword.iskeyword(s) Return True if s is a Python keyword. keyword.kwlist Sequence containing all the keywords defined for the interpreter. If any keywords are defined to only be active when particular __future__ statements are in effect, these will be included as well. keyword.issoftkeyword(s) Return Tru...
doc_8776
tf.compat.v1.layers.max_pooling2d( inputs, pool_size, strides, padding='valid', data_format='channels_last', name=None ) Arguments inputs The tensor over which to pool. Must have rank 4. pool_size An integer or tuple/list of 2 integers: (pool_height, pool_width) specifying the size of the poolin...
doc_8777
Call self as a function.
doc_8778
This limit is used to control the size of object types for which no specific formatting method is available on the Repr object. It is applied in a similar manner as maxstring. The default is 20.
doc_8779
Compute Moravec corner measure response image. This is one of the simplest corner detectors and is comparatively fast but has several limitations (e.g. not rotation invariant). Parameters imagendarray Input image. window_sizeint, optional Window size. Returns responsendarray Moravec response image. ...
doc_8780
See Migration guide for more details. tf.compat.v1.raw_ops.ExperimentalSetStatsAggregatorDataset tf.raw_ops.ExperimentalSetStatsAggregatorDataset( input_dataset, stats_aggregator, tag, counter_prefix, output_types, output_shapes, name=None ) Args input_dataset A Tensor of type variant. stats_agg...
doc_8781
See Migration guide for more details. tf.compat.v1.image.rgb_to_hsv tf.image.rgb_to_hsv( images, name=None ) Outputs a tensor of the same shape as the images tensor, containing the HSV value of the pixels. The output is only well defined if the value in images are in [0,1]. output[..., 0] contains hue, output[.....
doc_8782
Alias for get_edgecolor.
doc_8783
Generate a sparse random projection matrix. Parameters X{ndarray, sparse matrix} of shape (n_samples, n_features) Training set: only the shape is used to find optimal random matrix dimensions based on the theory referenced in the afore mentioned papers. y Ignored Returns self
doc_8784
Draw the Artist (and its children) using the given renderer. This has no effect if the artist is not visible (Artist.get_visible returns False). Parameters rendererRendererBase subclass. Notes This method is overridden in the Artist subclasses.
doc_8785
Remove the specified categories. removals must be included in the old categories. Values which were in the removed categories will be set to NaN Parameters removals:category or list of categories The categories which should be removed. inplace:bool, default False Whether or not to remove the categories inpl...
doc_8786
Create a helper proxy to easily launch an rpc_async using the owner of the RRef as the destination to run functions on the object referenced by this RRef. More specifically, rref.rpc_async().func_name(*args, **kwargs) is the same as the following: >>> def run(rref, func_name, args, kwargs): >>> return getattr(rref.lo...
doc_8787
Set parameters within this locator.
doc_8788
Return the size of the window or screen get_window_size() -> tuple Returns the size of the window initialized with pygame.display.set_mode(). This may differ from the size of the display surface if SCALED is used. New in pygame 2.0.0.
doc_8789
Unix V7 synonym for S_IXUSR.
doc_8790
See Migration guide for more details. tf.compat.v1.raw_ops.SparseSegmentSum tf.raw_ops.SparseSegmentSum( data, indices, segment_ids, name=None ) Read the section on segmentation for an explanation of segments. Like SegmentSum, but segment_ids can have rank less than data's first dimension, selecting a subset of ...
doc_8791
Keymap to associate with this tool. list[str]: List of keys that will trigger this tool when a keypress event is emitted on self.figure.canvas.
doc_8792
Return an iterator for the month month (1–12) in the year year. This iterator will return all days (as datetime.date objects) for the month and all days before the start of the month or after the end of the month that are required to get a complete week.
doc_8793
Similar to close() but properly handles awaitables.
doc_8794
Set the CapStyle for the collection (for all its elements). Parameters csCapStyle or {'butt', 'projecting', 'round'}
doc_8795
runeval(expression, globals=None, locals=None) runcall(function, *args, **kwds) set_trace() See the documentation for the functions explained above.
doc_8796
Set the offsets for the barb polygons. This saves the offsets passed in and masks them as appropriate for the existing U/V data. Parameters xysequence of pairs of floats
doc_8797
Set the artist's clip path. Parameters pathPatch or Path or TransformedPath or None The clip path. If given a Path, transform must be provided as well. If None, a previously set clip path is removed. transformTransform, optional Only used if path is a Path, in which case the given Path is converted to a Tra...
doc_8798
Return current file pointer position.
doc_8799
Reconfigure this text stream using new settings for encoding, errors, newline, line_buffering and write_through. Parameters not specified keep current settings, except errors='strict' is used when encoding is specified but errors is not specified. It is not possible to change the encoding or newline if some data has al...