_id stringlengths 5 9 | text stringlengths 5 385k | title stringclasses 1
value |
|---|---|---|
doc_10100 |
Attach the plugin to an ImageViewer. Note that the ImageViewer will automatically call this method when the plugin is added to the ImageViewer. For example: viewer += Plugin(...)
Also note that attach automatically calls the filter function so that the image matches the filtered value specified by attached widgets. | |
doc_10101 | A tuple of the six integer fields of the UUID, which are also available as six individual attributes and two derived attributes:
Field Meaning
time_low the first 32 bits of the UUID
time_mid the next 16 bits of the UUID
time_hi_version the next 16 bits of the UUID
clock_seq_hi_variant the next 8 bits of the... | |
doc_10102 | True if a transaction is active (there are uncommitted changes), False otherwise. Read-only attribute. New in version 3.2. | |
doc_10103 | Send a STAT command, where message_spec is either a message id (enclosed in '<' and '>') or an article number in the current group. If message_spec is omitted or None, the current article in the current group is considered. Return a triple (response, number, id) where number is the article number and id is the message ... | |
doc_10104 | Rename this file or directory to the given target, and return a new Path instance pointing to target. If target points to an existing file or directory, it will be unconditionally replaced. The target path may be absolute or relative. Relative paths are interpreted relative to the current working directory, not the dir... | |
doc_10105 | The file extension of the final component, if any: >>> PurePosixPath('my/library/setup.py').suffix
'.py'
>>> PurePosixPath('my/library.tar.gz').suffix
'.gz'
>>> PurePosixPath('my/library').suffix
'' | |
doc_10106 |
[Deprecated] Return the memory consumed by the process. Notes Deprecated since version 3.5. | |
doc_10107 |
Finalize this object, running LaTeX in a temporary directory and moving the final pdf file to filename. | |
doc_10108 | gets current values of user controls get_controls() -> (hflip = bool, vflip = bool, brightness) If the camera supports it, get_controls will return the current settings for horizontal and vertical image flip as bools and brightness as an int. If unsupported, it will return the default values of (0, 0, 0). Note that t... | |
doc_10109 | See Migration guide for more details. tf.compat.v1.raw_ops.CombinedNonMaxSuppression
tf.raw_ops.CombinedNonMaxSuppression(
boxes, scores, max_output_size_per_class, max_total_size, iou_threshold,
score_threshold, pad_per_class=False, clip_boxes=True, name=None
)
This operation performs non_max_suppression on... | |
doc_10110 |
Return the snap setting, which can be: True: snap vertices to the nearest pixel center False: leave vertices as-is None: (auto) If the path contains only rectilinear line segments, round to the nearest pixel center | |
doc_10111 |
Shuffle-Group(s)-Out cross-validation iterator Provides randomized train/test indices to split data according to a third-party provided group. This group information can be used to encode arbitrary domain specific stratifications of the samples as integers. For instance the groups could be the year of collection of t... | |
doc_10112 |
The identity value. Data attribute containing the identity element for the ufunc, if it has one. If it does not, the attribute value is None. Examples >>> np.add.identity
0
>>> np.multiply.identity
1
>>> np.power.identity
1
>>> print(np.exp.identity)
None | |
doc_10113 | Applies a 3D max pooling over an input signal composed of several input planes. See MaxPool3d for details. | |
doc_10114 |
Get the second component of the Period. Returns
int
The second of the Period (ranges from 0 to 59). See also Period.hour
Get the hour component of the Period. Period.minute
Get the minute component of the Period. Examples
>>> p = pd.Period("2018-03-11 13:03:12.050000")
>>> p.second
12 | |
doc_10115 |
Bases: matplotlib.colors.Colormap Colormap object generated from a list of colors. This may be most useful when indexing directly into a colormap, but it can also be used to generate special colormaps for ordinary mapping. Parameters
colorslist, array
List of Matplotlib color specifications, or an equivalent Nx... | |
doc_10116 | A buffered binary stream providing higher-level access to two non seekable RawIOBase raw binary streams—one readable, the other writeable. It inherits BufferedIOBase. reader and writer are RawIOBase objects that are readable and writeable respectively. If the buffer_size is omitted it defaults to DEFAULT_BUFFER_SIZE. B... | |
doc_10117 |
Compute cosine similarity between samples in X and Y. Cosine similarity, or the cosine kernel, computes similarity as the normalized dot product of X and Y: K(X, Y) = <X, Y> / (||X||*||Y||) On L2-normalized data, this function is equivalent to linear_kernel. Read more in the User Guide. Parameters
X{ndarray, spar... | |
doc_10118 |
Return the figure width in inches. | |
doc_10119 | Returns context data for displaying the list of objects. | |
doc_10120 | See Migration guide for more details. tf.compat.v1.sparse.reduce_max
tf.compat.v1.sparse_reduce_max(
sp_input, axis=None, keepdims=None, reduction_axes=None, keep_dims=None
)
Warning: SOME ARGUMENTS ARE DEPRECATED: (keep_dims). They will be removed in a future version. Instructions for updating: keep_dims is dep... | |
doc_10121 | Renders the formset with the template_name_p template. | |
doc_10122 | operator.__irshift__(a, b)
a = irshift(a, b) is equivalent to a >>= b. | |
doc_10123 |
Fit the model with X, using minibatches of size batch_size. Parameters
X{array-like, sparse matrix} of shape (n_samples, n_features)
Training data, where n_samples is the number of samples and n_features is the number of features.
yIgnored
Returns
selfobject
Returns the instance itself. | |
doc_10124 | The source code text involved in the error. | |
doc_10125 | turtle.done()
Starts event loop - calling Tkinter’s mainloop function. Must be the last statement in a turtle graphics program. Must not be used if a script is run from within IDLE in -n mode (No subprocess) - for interactive use of turtle graphics. >>> screen.mainloop() | |
doc_10126 |
Return whether the xaxis is oriented in the "inverse" direction. The "normal" direction is increasing to the right for the x-axis and to the top for the y-axis; the "inverse" direction is increasing to the left for the x-axis and to the bottom for the y-axis. | |
doc_10127 | DataFrame([data, index, columns, dtype, copy]) Two-dimensional, size-mutable, potentially heterogeneous tabular data. Attributes and underlying data Axes
DataFrame.index The index (row labels) of the DataFrame.
DataFrame.columns The column labels of the DataFrame.
DataFrame.dtypes Return the dty... | |
doc_10128 | This is the way to invoke a script with all the bells and whistles as a command line application. This will always terminate the application after a call. If this is not wanted, SystemExit needs to be caught. This method is also available by directly calling the instance of a Command. Parameters
args – the argument... | |
doc_10129 | Sends the response header only, used for the purposes when 100
Continue response is sent by the server to the client. The headers not buffered and sent directly the output stream.If the message is not specified, the HTTP message corresponding the response code is sent. New in version 3.2. | |
doc_10130 | Logs a message with level CRITICAL on this logger. The arguments are interpreted as for debug(). | |
doc_10131 |
Test whether input is an instance of MaskedArray. This function returns True if x is an instance of MaskedArray and returns False otherwise. Any object is accepted as input. Parameters
xobject
Object to test. Returns
resultbool
True if x is a MaskedArray. See also isMA
Alias to isMaskedArray. is... | |
doc_10132 | See Migration guide for more details. tf.compat.v1.raw_ops.TensorListGather
tf.raw_ops.TensorListGather(
input_handle, indices, element_shape, element_dtype, name=None
)
Each row in the produced Tensor corresponds to the element in the TensorList specified by the given index (see tf.gather). input_handle: The in... | |
doc_10133 | The flag is used to transform generators into generator-based coroutines. Generator objects with this flag can be used in await expression, and can yield from coroutine objects. See PEP 492 for more details. New in version 3.5. | |
doc_10134 | Return the value of attribute name. | |
doc_10135 |
Scalar method identical to the corresponding array attribute. Please see ndarray.std. | |
doc_10136 |
Roll provided date backward to next offset only if not on offset. Returns
TimeStamp
Rolled timestamp if not on offset, otherwise unchanged timestamp. | |
doc_10137 |
Make arrays indexable for cross-validation. Checks consistent length, passes through None, and ensures that everything can be indexed by converting sparse matrices to csr and converting non-interable objects to arrays. Parameters
*iterables{lists, dataframes, ndarrays, sparse matrices}
List of objects to ensure... | |
doc_10138 | Whether K is a member of the set of keys of a Morsel. | |
doc_10139 | In-place version of log2() | |
doc_10140 |
Bases: object On import, the FontManager singleton instance creates a list of ttf and afm fonts and caches their FontProperties. The FontManager.findfont method does a nearest neighbor search to find the font that most closely matches the specification. If no good enough match is found, the default font is returned. ... | |
doc_10141 |
Return a new Index with elements of index not in other. This is the set difference of two Index objects. Parameters
other:Index or array-like
sort:False or None, default None
Whether to sort the resulting index. By default, the values are attempted to be sorted, but any TypeError from incomparable elements is... | |
doc_10142 | Polar coordinates give an alternative way to represent a complex number. In polar coordinates, a complex number z is defined by the modulus r and the phase angle phi. The modulus r is the distance from z to the origin, while the phase phi is the counterclockwise angle, measured in radians, from the positive x-axis to ... | |
doc_10143 | Token value for "->". | |
doc_10144 | See Migration guide for more details. tf.compat.v1.raw_ops.BarrierClose
tf.raw_ops.BarrierClose(
handle, cancel_pending_enqueues=False, name=None
)
This operation signals that no more new elements will be inserted in the given barrier. Subsequent InsertMany that try to introduce a new key will fail. Subsequent I... | |
doc_10145 |
Signed integer type, compatible with C unsigned long long. Character code
'Q' | |
doc_10146 |
Fit the hierarchical clustering on the data Parameters
Xarray-like of shape (n_samples, n_features)
The data
yIgnored
Returns
self | |
doc_10147 | Access optional transport information; see BaseTransport.get_extra_info() for details. | |
doc_10148 | select
Low-level I/O multiplexing module. Classes Classes hierarchy: BaseSelector
+-- SelectSelector
+-- PollSelector
+-- EpollSelector
+-- DevpollSelector
+-- KqueueSelector
In the following, events is a bitwise mask indicating which I/O events should be waited for on a given file object. It can be a combination... | |
doc_10149 | See Migration guide for more details. tf.compat.v1.raw_ops.UncompressElement
tf.raw_ops.UncompressElement(
compressed, output_types, output_shapes, name=None
)
Args
compressed A Tensor of type variant.
output_types A list of tf.DTypes that has length >= 1.
output_shapes A list of shapes (eac... | |
doc_10150 | Adds a buffer to the module. This is typically used to register a buffer that should not to be considered a model parameter. For example, BatchNorm’s running_mean is not a parameter, but is part of the module’s state. Buffers, by default, are persistent and will be saved alongside parameters. This behavior can be chang... | |
doc_10151 |
Return the alpha value used for blending - not supported on all backends. | |
doc_10152 | When specified, differences are computed by difflib.Differ, using the same algorithm as the popular ndiff.py utility. This is the only method that marks differences within lines as well as across lines. For example, if a line of expected output contains digit 1 where actual output contains letter l, a line is inserted ... | |
doc_10153 | Indicates the effective level for this logger. If a value other than NOTSET has been set using setLevel(), it is returned. Otherwise, the hierarchy is traversed towards the root until a value other than NOTSET is found, and that value is returned. The value returned is an integer, typically one of logging.DEBUG, loggin... | |
doc_10154 | With one argument, returns a dictionary of column/value pairs for the specified item. With two arguments, returns the current value of the specified column. With three arguments, sets the value of given column in given item to the specified value. | |
doc_10155 | See Migration guide for more details. tf.compat.v1.raw_ops.OrderedMapStage
tf.raw_ops.OrderedMapStage(
key, indices, values, dtypes, capacity=0, memory_limit=0,
container='', shared_name='', name=None
)
associative container. Elements are ordered by key.
Args
key A Tensor of type int64. int64
in... | |
doc_10156 | Computes the pseudo-inverse (also known as the Moore-Penrose inverse) of a matrix input, or of each matrix in a batched input. The singular values (or the absolute values of the eigenvalues when hermitian is True) that are below the specified rcond threshold are treated as zero and discarded in the computation. Support... | |
doc_10157 | class sklearn.svm.NuSVC(*, nu=0.5, kernel='rbf', degree=3, gamma='scale', coef0=0.0, shrinking=True, probability=False, tol=0.001, cache_size=200, class_weight=None, verbose=False, max_iter=- 1, decision_function_shape='ovr', break_ties=False, random_state=None) [source]
Nu-Support Vector Classification. Similar to S... | |
doc_10158 | The Content-Length entity-header field indicates the size of the entity-body, in decimal number of OCTETs, sent to the recipient or, in the case of the HEAD method, the size of the entity-body that would have been sent had the request been a GET. | |
doc_10159 | Create a shared threading.Event object and return a proxy for it. | |
doc_10160 | Raised when the input() function hits an end-of-file condition (EOF) without reading any data. (N.B.: the io.IOBase.read() and io.IOBase.readline() methods return an empty string when they hit EOF.) | |
doc_10161 | Return a value for the context variable for the current context. If there is no value for the variable in the current context, the method will: return the value of the default argument of the method, if provided; or return the default value for the context variable, if it was created with one; or raise a LookupError. | |
doc_10162 | Iterate over all values. | |
doc_10163 |
Series basis polynomial of degree deg. Returns the series representing the basis polynomial of degree deg. New in version 1.7.0. Parameters
degint
Degree of the basis polynomial for the series. Must be >= 0.
domain{None, array_like}, optional
If given, the array must be of the form [beg, end], where beg a... | |
doc_10164 |
Add arguments element-wise. Parameters
x1, x2array_like
The arrays to be added. 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 provided, it ... | |
doc_10165 | A string describing the software name and version of the NNTP server, or None if not advertised by the server. New in version 3.2. | |
doc_10166 | Kill the child process. On POSIX systems this method sends SIGKILL to the child process. On Windows this method is an alias for terminate(). | |
doc_10167 |
Return the indices of unmasked elements that are not zero. Returns a tuple of arrays, one for each dimension, containing the indices of the non-zero elements in that dimension. The corresponding non-zero values can be obtained with: a[a.nonzero()]
To group the indices by element, rather than dimension, use instead: ... | |
doc_10168 |
Set the pick radius used for containment tests. Parameters
prfloat
Pick radius, in points. | |
doc_10169 | tf.debugging.assert_rank_at_least(
x, rank, message=None, name=None
)
This Op checks that the rank of x is greater or equal to rank. If x has a rank lower than rank, message, as well as the shape of x are printed, and InvalidArgumentError is raised.
Args
x Tensor.
rank Scalar integer Tensor.
mes... | |
doc_10170 | Returns the number of keys set in the store. Note that this number will typically be one greater than the number of keys added by set() and add() since one key is used to coordinate all the workers using the store. Warning When used with the TCPStore, num_keys returns the number of keys written to the underlying file.... | |
doc_10171 | tf.compat.v1.train.ProximalGradientDescentOptimizer(
learning_rate, l1_regularization_strength=0.0, l2_regularization_strength=0.0,
use_locking=False, name='ProximalGradientDescent'
)
References: Efficient Learning using Forward-Backward Splitting: Duchi et al., 2009 (pdf)
Args
learning_rate A Tensor ... | |
doc_10172 | See Migration guide for more details. tf.compat.v1.raw_ops.QuantizeAndDequantizeV2
tf.raw_ops.QuantizeAndDequantizeV2(
input, input_min, input_max, signed_input=True, num_bits=8, range_given=False,
round_mode='HALF_TO_EVEN', narrow_range=False, axis=-1, name=None
)
This op simulates the precision loss from t... | |
doc_10173 |
Get array data-descriptor. | |
doc_10174 |
Return the label used for this artist in the legend. | |
doc_10175 | Returns a namedtuple (values, indices) where values is the mode value of each row of the input tensor in the given dimension dim, i.e. a value which appears most often in that row, and indices is the index location of each mode value found. By default, dim is the last dimension of the input tensor. If keepdim is True, ... | |
doc_10176 | If flag is True, the next call to refresh() will clear the window completely. | |
doc_10177 |
Set the formatter of the minor ticker. In addition to a Formatter instance, this also accepts a str or function. See Axis.set_major_formatter for more information. Parameters
formatterFormatter, str, or function
Examples using matplotlib.axis.Axis.set_minor_formatter
Anatomy of a figure
Scales ... | |
doc_10178 |
Process a key press event, mapping keys to appropriate mouse clicks. | |
doc_10179 | See Migration guide for more details. tf.compat.v1.raw_ops.WriteAudioSummary
tf.raw_ops.WriteAudioSummary(
writer, step, tag, tensor, sample_rate, max_outputs=3, name=None
)
Writes encoded audio summary tensor at step with tag using summary writer. sample_rate is the audio sample rate is Hz.
Args
writer ... | |
doc_10180 |
Return a list of URLs, one for each element of the collection. The list contains None for elements without a URL. See Hyperlinks for an example. | |
doc_10181 |
alias of matplotlib.backends.backend_pdf.FigureCanvasPdf
classmatplotlib.backends.backend_pdf.FigureCanvasPdf(figure=None)[source]
Bases: matplotlib.backend_bases.FigureCanvasBase draw()[source]
Render the Figure. It is important that this method actually walk the artist tree even if not output is produced ... | |
doc_10182 | tf.experimental.numpy.logical_and(
x1, x2
)
Unsupported arguments: out, where, casting, order, dtype, subok, signature, extobj. See the NumPy documentation for numpy.logical_and. | |
doc_10183 | Return True if obj is a coroutine object. This method is different from inspect.iscoroutine() because it returns True for generator-based coroutines. | |
doc_10184 | Divides two numbers and returns the integer part of the result. | |
doc_10185 |
DateOffset increments between Quarter start dates. startingMonth = 1 corresponds to dates like 1/01/2007, 4/01/2007, … startingMonth = 2 corresponds to dates like 2/01/2007, 5/01/2007, … startingMonth = 3 corresponds to dates like 3/01/2007, 6/01/2007, … Attributes
base Returns a copy of the calling offset obj... | |
doc_10186 | Return a message object structure tree from an open file object. This is equivalent to Parser().parse(fp). _class and policy are interpreted as with the Parser class constructor. Changed in version 3.3: Removed the strict argument. Added the policy keyword. Changed in version 3.6: _class defaults to the policy messa... | |
doc_10187 |
Return four lists of filenames containing C, C++, Fortran, and Fortran 90 module sources, respectively. | |
doc_10188 | See Migration guide for more details. tf.compat.v1.raw_ops.Conv3DBackpropFilterV2
tf.raw_ops.Conv3DBackpropFilterV2(
input, filter_sizes, out_backprop, strides, padding,
data_format='NDHWC', dilations=[1, 1, 1, 1, 1], name=None
)
Args
input A Tensor. Must be one of the following types: half, bfloat1... | |
doc_10189 |
alias of matplotlib.backends.backend_nbagg.FigureManagerNbAgg | |
doc_10190 | See Migration guide for more details. tf.compat.v1.bitwise.bitwise_or
tf.bitwise.bitwise_or(
x, y, name=None
)
The result will have those bits set, that are set in x, y or both. The computation is performed on the underlying representations of x and y. For example: import tensorflow as tf
from tensorflow.python.... | |
doc_10191 | Geometry information that gets passed to callback functions. | |
doc_10192 | See Migration guide for more details. tf.compat.v1.shape_n
tf.shape_n(
input, out_type=tf.dtypes.int32, name=None
)
Args
input A list of at least 1 Tensor object with the same type.
out_type The specified output type of the operation (int32 or int64). Defaults to tf.int32(optional).
name A n... | |
doc_10193 | Character offset into the line where the error occurred. The first column is numbered 0. | |
doc_10194 | Exception raised by strict parsers if a single option appears twice during reading from a single file, string or dictionary. This catches misspellings and case sensitivity-related errors, e.g. a dictionary may have two keys representing the same case-insensitive configuration key. | |
doc_10195 | Prevents a document from loading any cross-origin resources that do not explicitly grant the document permission. Values must be a member of the werkzeug.http.COEP enum. | |
doc_10196 |
Attributes
key string key
value SignatureDef value | |
doc_10197 |
pygame object to export a surface buffer through an array protocol BufferProxy(<parent>) -> BufferProxy BufferProxy is a pygame support type, designed as the return value of the Surface.get_buffer() and Surface.get_view() methods. For all Python versions a BufferProxy object exports a C struct and Python level arr... | |
doc_10198 |
Returns an array with the number of non-overlapping occurrences of substring sub in the range [start, end]. Calls str.count element-wise. Parameters
aarray_like of str or unicode
substr or unicode
The substring to search for.
start, endint, optional
Optional arguments start and end are interpreted as slic... | |
doc_10199 | See Migration guide for more details. tf.compat.v1.raw_ops.StringLower
tf.raw_ops.StringLower(
input, encoding='', name=None
)
Example:
tf.strings.lower("CamelCase string and ALL CAPS")
<tf.Tensor: shape=(), dtype=string, numpy=b'camelcase string and all caps'>
Args
input A Tensor of type string.
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.