_id stringlengths 5 9 | text stringlengths 5 385k | title stringclasses 1
value |
|---|---|---|
doc_9600 |
Set the pick radius used for containment tests. Parameters
prfloat
Pick radius, in points. | |
doc_9601 |
Compute the median along the specified axis. Returns the median of the array elements. Parameters
aarray_like
Input array or object that can be converted to an array.
axisint, optional
Axis along which the medians are computed. The default (None) is to compute the median along a flattened version of the arr... | |
doc_9602 | Artist class classmatplotlib.artist.Artist[source]
Abstract base class for objects that render into a FigureCanvas. Typically, all visible elements in a figure are subclasses of Artist.
Interactive
Artist.add_callback Add a callback function that will be called whenever one of the Artist's properties changes. ... | |
doc_9603 | tf.experimental.numpy.logspace(
start, stop, num=50, endpoint=True, base=10.0, dtype=None, axis=0
)
See the NumPy documentation for numpy.logspace. | |
doc_9604 |
Changes elements of an array based on conditional and input values. Sets a.flat[n] = values[n] for each n where mask.flat[n]==True. If values is not the same size as a and mask then it will repeat. This gives behavior different from a[mask] = values. Parameters
andarray
Target array.
maskarray_like
Boolean ... | |
doc_9605 |
Evaluate the kernel. | |
doc_9606 |
Set the artist's visibility. Parameters
bbool | |
doc_9607 | The first argument to the constructor is required – the path to redirect to. This can be a fully qualified URL (e.g. 'https://www.yahoo.com/search/'), an absolute path with no domain (e.g. '/search/'), or even a relative path (e.g. 'search/'). In that last case, the client browser will reconstruct the full URL itself a... | |
doc_9608 |
A Bagging classifier. A Bagging classifier is an ensemble meta-estimator that fits base classifiers each on random subsets of the original dataset and then aggregate their individual predictions (either by voting or by averaging) to form a final prediction. Such a meta-estimator can typically be used as a way to redu... | |
doc_9609 |
Applies element-wise, ELU(x)=max(0,x)+min(0,α∗(exp(x)−1))\text{ELU}(x) = \max(0,x) + \min(0, \alpha * (\exp(x) - 1)) . See ELU for more details. | |
doc_9610 |
Return a Path instance of the unit rectangle from (0, 0) to (1, 1). | |
doc_9611 | Removes a tensor dimension. Returns a tuple of all slices along a given dimension, already without it. Parameters
input (Tensor) – the tensor to unbind
dim (int) – dimension to remove Example: >>> torch.unbind(torch.tensor([[1, 2, 3],
>>> [4, 5, 6],
>>> [7, ... | |
doc_9612 |
This is the quantized version of hardswish(). Parameters
input – quantized input
scale – quantization scale of the output tensor
zero_point – quantization zero point of the output tensor | |
doc_9613 | Return the message’s content type, coerced to lower case of the form maintype/subtype. If there is no Content-Type header in the message return the value returned by get_default_type(). If the Content-Type header is invalid, return text/plain. (According to RFC 2045, messages always have a default type, get_content_typ... | |
doc_9614 | Retrieves the type and data for a specified value name associated with an open registry key. key is an already open key, or one of the predefined HKEY_* constants. value_name is a string indicating the value to query. The result is a tuple of 2 items:
Index Meaning
0 The value of the registry item.
1 An integer... | |
doc_9615 |
Class Variables
AREA 3
BICUBIC 2
BILINEAR 0
NEAREST_NEIGHBOR 1 | |
doc_9616 |
No window function; simply return x. See also window_hanning
Another window algorithm. | |
doc_9617 |
Compute the standard deviation along the specified axis, while ignoring NaNs. Returns the standard deviation, a measure of the spread of a distribution, of the non-NaN array elements. The standard deviation is computed for the flattened array by default, otherwise over the specified axis. For all-NaN slices or slices... | |
doc_9618 | New in Django 4.0. The name of the template used when calling __str__ or render(). This template renders the formset’s management form and then each form in the formset as per the template defined by the form’s template_name. This is a proxy of as_table by default. | |
doc_9619 | Feature wraps an OGR feature. You never create a Feature object directly. Instead, you retrieve them from a Layer object. Each feature consists of a geometry and a set of fields containing additional properties. The geometry of a field is accessible via its geom property, which returns an OGRGeometry object. A Feature ... | |
doc_9620 | Return the portion of the file’s mode that can be set by os.chmod()—that is, the file’s permission bits, plus the sticky bit, set-group-id, and set-user-id bits (on systems that support them). | |
doc_9621 |
Compute the variance along the specified axis. Returns the variance of the array elements, a measure of the spread of a distribution. The variance is computed for the flattened array by default, otherwise over the specified axis. Parameters
aarray_like
Array containing numbers whose variance is desired. If a is... | |
doc_9622 | See torch.logical_or() | |
doc_9623 | tf.sparse.segment_mean(
data, indices, segment_ids, num_segments=None, name=None
)
Read the section on segmentation for an explanation of segments. Like tf.math.segment_mean, but segment_ids can have rank less than data's first dimension, selecting a subset of dimension 0, specified by indices. segment_ids is allo... | |
doc_9624 | Discard queued data on file descriptor fd. The queue selector specifies which queue: TCIFLUSH for the input queue, TCOFLUSH for the output queue, or TCIOFLUSH for both queues. | |
doc_9625 | Removes the pruning reparameterization from a module. The pruned parameter named name remains permanently pruned, and the parameter named name+'_orig' is removed from the parameter list. Similarly, the buffer named name+'_mask' is removed from the buffers. Note Pruning itself is NOT undone or reversed! | |
doc_9626 | Return the current stream position. | |
doc_9627 | Like Accept but with normalization for charsets. | |
doc_9628 | Return the user’s current line kill character as a one-byte bytes object. Under Unix operating systems this is a property of the controlling tty of the curses program, and is not set by the curses library itself. | |
doc_9629 | Write s to the write method of the outfp passed to the Generator’s constructor. This provides just enough file-like API for Generator instances to be used in the print() function. | |
doc_9630 |
Check whether all characters in each string are titlecase. This is equivalent to running the Python string method str.istitle() for each element of the Series/Index. If a string has zero characters, False is returned for that check. Returns
Series or Index of bool
Series or Index of boolean values with the same l... | |
doc_9631 |
Parameters
urlslist of str or None
Notes URLs are currently only implemented by the SVG backend. They are ignored by all other backends. | |
doc_9632 | uninitialize the mixer quit() -> None This will uninitialize pygame.mixer. All playback will stop and any loaded Sound objects may not be compatible with the mixer if it is reinitialized later. | |
doc_9633 | The list of objects on this page. | |
doc_9634 | See Migration guide for more details. tf.compat.v1.raw_ops.AddManySparseToTensorsMap
tf.raw_ops.AddManySparseToTensorsMap(
sparse_indices, sparse_values, sparse_shape, container='',
shared_name='', name=None
)
A SparseTensor of rank R is represented by three tensors: sparse_indices, sparse_values, and sparse... | |
doc_9635 | sklearn.datasets.make_sparse_spd_matrix(dim=1, *, alpha=0.95, norm_diag=False, smallest_coef=0.1, largest_coef=0.9, random_state=None) [source]
Generate a sparse symmetric definite positive matrix. Read more in the User Guide. Parameters
dimint, default=1
The size of the random matrix to generate.
alphafloat,... | |
doc_9636 |
Autoscale the scalar limits on the norm instance using the current array, changing only limits that are None | |
doc_9637 | Open url in a new window of the default browser, if possible, otherwise, open url in the only browser window. | |
doc_9638 |
Returns the standard deviation of the array elements along given axis. Masked entries are ignored. Refer to numpy.std for full documentation. See also numpy.ndarray.std
corresponding function for ndarrays numpy.std
Equivalent function | |
doc_9639 | Base class for warnings related to resource usage. Ignored by the default warning filters. Enabling the Python Development Mode shows this warning. New in version 3.2. | |
doc_9640 |
Set the linestyle(s) for the collection.
linestyle description
'-' or 'solid' solid line
'--' or 'dashed' dashed line
'-.' or 'dashdot' dash-dotted line
':' or 'dotted' dotted line Alternatively a dash tuple of the following form can be provided: (offset, onoffseq),
where onoffseq is an even length tup... | |
doc_9641 |
Remove a callback based on its observer id. See also add_callback | |
doc_9642 |
Compute clustering and transform X to cluster-distance space. Equivalent to fit(X).transform(X), but more efficiently implemented. Parameters
X{array-like, sparse matrix} of shape (n_samples, n_features)
New data to transform.
yIgnored
Not used, present here for API consistency by convention.
sample_weigh... | |
doc_9643 |
Returns True if cast between data types can occur according to the casting rule. If from is a scalar or array scalar, also returns True if the scalar value can be cast without overflow or truncation to an integer. Parameters
from_dtype, dtype specifier, scalar, or array
Data type, scalar, or array to cast from.... | |
doc_9644 | A tuple of integers the length of ndim giving the shape of the memory as an N-dimensional array. Changed in version 3.3: An empty tuple instead of None when ndim = 0. | |
doc_9645 | Raised when a mailbox is expected but is not found, such as when instantiating a Mailbox subclass with a path that does not exist (and with the create parameter set to False), or when opening a folder that does not exist. | |
doc_9646 | See Migration guide for more details. tf.compat.v1.raw_ops.Eig
tf.raw_ops.Eig(
input, Tout, compute_v=True, name=None
)
Computes the eigenvalues and (optionally) right eigenvectors of each inner matrix in input such that input[..., :, :] = v[..., :, :] * diag(e[..., :]). The eigenvalues are sorted in non-decreas... | |
doc_9647 |
Returns an array containing the same data with a new shape. Refer to numpy.reshape for full documentation. See also numpy.reshape
equivalent function Notes Unlike the free function numpy.reshape, this method on ndarray allows the elements of the shape parameter to be passed in as separate arguments. For example... | |
doc_9648 | An exception raised for invalid gzip files. It inherits OSError. EOFError and zlib.error can also be raised for invalid gzip files. New in version 3.8. | |
doc_9649 |
Set the aspect ratio of the bbox mutation. Parameters
aspectfloat | |
doc_9650 | Decode bytes-like object or ASCII string s using the URL- and filesystem-safe alphabet, which substitutes - instead of + and _ instead of / in the standard Base64 alphabet, and return the decoded bytes. | |
doc_9651 |
Get minute of the hour component of the Period. Returns
int
The minute as an integer, between 0 and 59. See also Period.hour
Get the hour component of the Period. Period.second
Get the second component of the Period. Examples
>>> p = pd.Period("2018-03-11 13:03:12.050000")
>>> p.minute
3 | |
doc_9652 | Return the value (in fractional seconds) of a performance counter, i.e. a clock with the highest available resolution to measure a short duration. It does include time elapsed during sleep and is system-wide. The reference point of the returned value is undefined, so that only the difference between the results of two ... | |
doc_9653 | 'blogs.blog': lambda o: "/blogs/%s/" % o.slug,
'news.story': lambda o: "/stories/%s/%s/" % (o.pub_year, o.slug),
}
The model name used in this setting should be all lowercase, regardless of the case of the actual model class name. ADMINS Default: [] (Empty list) A list of all the people who get code error noti... | |
doc_9654 | See Migration guide for more details. tf.compat.v1.raw_ops.QueueDequeue
tf.raw_ops.QueueDequeue(
handle, component_types, timeout_ms=-1, name=None
)
This operation has k outputs, where k is the number of components in the tuples stored in the given queue, and output i is the ith component of the dequeued tuple. ... | |
doc_9655 |
Force the mask to hard. Whether the mask of a masked array is hard or soft is determined by its hardmask property. harden_mask sets hardmask to True. See also ma.MaskedArray.hardmask | |
doc_9656 |
Return index locations of values at particular time of day (e.g. 9:30AM). Parameters
time:datetime.time or str
Time passed in either as object (datetime.time) or as string in appropriate format (“%H:%M”, “%H%M”, “%I:%M%p”, “%I%M%p”, “%H:%M:%S”, “%H%M%S”, “%I:%M:%S%p”, “%I%M%S%p”). Returns
np.ndarray[np.int... | |
doc_9657 | The example’s actual output. | |
doc_9658 |
Set the label for the y-axis. Parameters
ylabelstr
The label text.
labelpadfloat, default: rcParams["axes.labelpad"] (default: 4.0)
Spacing in points from the Axes bounding box including ticks and tick labels. If None, the previous value is left as is.
loc{'bottom', 'center', 'top'}, default: rcParams["ya... | |
doc_9659 |
Return the clip path. | |
doc_9660 | An f-string, comprising a series of FormattedValue and Constant nodes. >>> print(ast.dump(ast.parse('f"sin({a}) is {sin(a):.3}"', mode='eval'), indent=4))
Expression(
body=JoinedStr(
values=[
Constant(value='sin('),
FormattedValue(
value=Name(id='a', ctx=Load()),
... | |
doc_9661 | tf.experimental.numpy.size(
x, axis=None
)
Unsupported arguments: a. See the NumPy documentation for numpy.size. | |
doc_9662 |
Return a parametrized wrapper around the dtype type. New in version 1.22. Returns
aliastypes.GenericAlias
A parametrized dtype type. See also PEP 585
Type hinting generics in standard collections. Notes This method is only available for python 3.9 and later. Examples >>> import numpy as np
>>> np.d... | |
doc_9663 | types.BuiltinMethodType
The type of built-in functions like len() or sys.exit(), and methods of built-in classes. (Here, the term “built-in” means “written in C”.) | |
doc_9664 | The subset of drawn samples for each base estimator. Returns a dynamically generated list of indices identifying the samples used for fitting each member of the ensemble, i.e., the in-bag samples. Note: the list is re-created at each call to the property in order to reduce the object memory footprint by not storing the... | |
doc_9665 |
Get parameters for this estimator. Parameters
deepbool, default=True
If True, will return the parameters for this estimator and contained subobjects that are estimators. Returns
paramsdict
Parameter names mapped to their values. | |
doc_9666 |
Call score_samples on the estimator with the best found parameters. Only available if refit=True and the underlying estimator supports score_samples. New in version 0.24. Parameters
Xiterable
Data to predict on. Must fulfill input requirements of the underlying estimator. Returns
y_scorendarray of shape... | |
doc_9667 | Moves all model parameters and buffers to the CPU. Returns
self Return type
Module | |
doc_9668 | Loads templates from Django apps on the filesystem. For each app in INSTALLED_APPS, the loader looks for a templates subdirectory. If the directory exists, Django looks for templates in there. This means you can store templates with your individual apps. This also helps to distribute Django apps with default templates.... | |
doc_9669 | See Migration guide for more details. tf.compat.v1.app.flags.declare_key_flag
tf.compat.v1.flags.declare_key_flag(
flag_name, flag_values=_flagvalues.FLAGS
)
Key flags are flags that are deemed really important for a module. They are important when listing help messages; e.g., if the --helpshort command-line fla... | |
doc_9670 | See Migration guide for more details. tf.compat.v1.raw_ops.RegisterDataset
tf.raw_ops.RegisterDataset(
dataset, address, protocol, external_state_policy, name=None
)
Args
dataset A Tensor of type variant.
address A Tensor of type string.
protocol A Tensor of type string.
external_state_p... | |
doc_9671 | URL name: password_reset_done The page shown after a user has been emailed a link to reset their password. This view is called by default if the PasswordResetView doesn’t have an explicit success_url URL set. Note If the email address provided does not exist in the system, the user is inactive, or has an unusable pass... | |
doc_9672 | class sklearn.multioutput.MultiOutputClassifier(estimator, *, n_jobs=None) [source]
Multi target classification This strategy consists of fitting one classifier per target. This is a simple strategy for extending classifiers that do not natively support multi-target classification Parameters
estimatorestimator ob... | |
doc_9673 | See Migration guide for more details. tf.compat.v1.raw_ops.StatelessRandomGammaV2
tf.raw_ops.StatelessRandomGammaV2(
shape, seed, alpha, name=None
)
Outputs random values from a gamma distribution. The outputs are a deterministic function of shape, seed, and alpha.
Args
shape A Tensor. Must be one of th... | |
doc_9674 |
Build a boosted regressor from the training set (X, y). Parameters
X{array-like, sparse matrix} of shape (n_samples, n_features)
The training input samples. Sparse matrix can be CSC, CSR, COO, DOK, or LIL. COO, DOK, and LIL are converted to CSR.
yarray-like of shape (n_samples,)
The target values (real numb... | |
doc_9675 |
Mask an array where invalid values occur (NaNs or infs). This function is a shortcut to masked_where, with condition = ~(np.isfinite(a)). Any pre-existing mask is conserved. Only applies to arrays with a dtype where NaNs or infs make sense (i.e. floating point types), but accepts any array_like object. See also mas... | |
doc_9676 |
Return int position of the largest value in the Series. If the maximum is achieved in multiple locations, the first row position is returned. Parameters
axis:{None}
Dummy argument for consistency with Series.
skipna:bool, default True
Exclude NA/null values when showing the result. *args, **kwargs
Additio... | |
doc_9677 |
Return the decision path in the forest. New in version 0.18. Parameters
X{array-like, sparse matrix} of shape (n_samples, n_features)
The input samples. Internally, its dtype will be converted to dtype=np.float32. If a sparse matrix is provided, it will be converted into a sparse csr_matrix. Returns
ind... | |
doc_9678 | Compute log probabilities of possible outcomes for samples in X. The model need to have probability information computed at training time: fit with attribute probability set to True. Parameters
Xarray-like of shape (n_samples, n_features) or (n_samples_test, n_samples_train)
For kernel=”precomputed”, the expected... | |
doc_9679 | See Migration guide for more details. tf.compat.v1.raw_ops.SparseMatrixNNZ
tf.raw_ops.SparseMatrixNNZ(
sparse_matrix, name=None
)
Args
sparse_matrix A Tensor of type variant. A CSRSparseMatrix.
name A name for the operation (optional).
Returns A Tensor of type int32. | |
doc_9680 |
Disconnect the callbacks. | |
doc_9681 |
func
The view function that would be used to serve the URL
args
The arguments that would be passed to the view function, as parsed from the URL.
kwargs
The keyword arguments that would be passed to the view function, as parsed from the URL.
url_name
The name of the URL pattern that matches the URL... | |
doc_9682 |
Fit estimator. Parameters
X{array-like, sparse matrix} of shape (n_samples, n_features)
The input samples. Use dtype=np.float32 for maximum efficiency. Sparse matrices are also supported, use sparse csc_matrix for maximum efficiency.
yIgnored
Not used, present for API consistency by convention.
sample_wei... | |
doc_9683 |
Add a new text note to the page to be saved next. The optional positionRect specifies the position of the new note on the page. It is outside the page per default to make sure it is invisible on printouts. | |
doc_9684 | If set to a non-zero integer, the parser will report only those attributes which were specified in the document instance and not those which were derived from attribute declarations. Applications which set this need to be especially careful to use what additional information is available from the declarations as needed... | |
doc_9685 | sklearn.cluster.kmeans_plusplus(X, n_clusters, *, x_squared_norms=None, random_state=None, n_local_trials=None) [source]
Init n_clusters seeds according to k-means++ New in version 0.24. Parameters
X{array-like, sparse matrix} of shape (n_samples, n_features)
The data to pick seeds from.
n_clustersint
The... | |
doc_9686 | The impurity-based feature importances. The higher, the more important the feature. The importance of a feature is computed as the (normalized) total reduction of the criterion brought by that feature. It is also known as the Gini importance. Warning: impurity-based feature importances can be misleading for high cardin... | |
doc_9687 |
alias of matplotlib.backends.backend_tkcairo.FigureCanvasTkCairo | |
doc_9688 | Initialize a window or screen for display set_mode(size=(0, 0), flags=0, depth=0, display=0, vsync=0) -> Surface This function will create a display Surface. The arguments passed in are requests for a display type. The actual created display will be the best possible match supported by the system. The size argument i... | |
doc_9689 | The UUID as a 16-byte string (with time_low, time_mid, and time_hi_version in little-endian byte order). | |
doc_9690 |
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_9691 |
Call self as a function. | |
doc_9692 | __delitem__(key)
discard(key)
Delete the message corresponding to key from the mailbox. If no such message exists, a KeyError exception is raised if the method was called as remove() or __delitem__() but no exception is raised if the method was called as discard(). The behavior of discard() may be preferred if the ... | |
doc_9693 |
Set the colormap to 'bone'. This changes the default colormap as well as the colormap of the current image if there is one. See help(colormaps) for more information. | |
doc_9694 | In-place version of t() | |
doc_9695 | tf.compat.v1.nn.static_state_saving_rnn(
cell, inputs, state_saver, state_name, sequence_length=None, scope=None
)
Warning: THIS FUNCTION IS DEPRECATED. It will be removed in a future version. Instructions for updating: Please use keras.layers.RNN(cell, stateful=True), which is equivalent to this API
Args
c... | |
doc_9696 | See torch.exp() | |
doc_9697 | See Migration guide for more details. tf.compat.v1.keras.callbacks.LearningRateScheduler
tf.keras.callbacks.LearningRateScheduler(
schedule, verbose=0
)
At the beginning of every epoch, this callback gets the updated learning rate value from schedule function provided at __init__, with the current epoch and curr... | |
doc_9698 |
Attributes
run_metadata bytes run_metadata
tag string tag | |
doc_9699 | Convert the headers into a list suitable for WSGI. Returns
list |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.