_id stringlengths 5 9 | text stringlengths 5 385k | title stringclasses 1
value |
|---|---|---|
doc_17300 |
Set the zorder for the artist. Artists with lower zorder values are drawn first. Parameters
levelfloat | |
doc_17301 | Enables debugging support for a given application: from werkzeug.debug import DebuggedApplication
from myapp import app
app = DebuggedApplication(app, evalex=True)
The evalex keyword argument allows evaluating expressions in a traceback’s frame context. Parameters
app (WSGIApplication) – the WSGI application to ru... | |
doc_17302 | Returns the final WSGI response as tuple. The first item in the tuple is the application iterator, the second the status and the third the list of headers. The response returned is created specially for the given environment. For example if the request method in the WSGI environment is 'HEAD' the response will be empty... | |
doc_17303 |
Return the list of major Ticks. | |
doc_17304 | Add all the headers from the iterable to the set. Parameters
iterable – updates the set with the items from the iterable. | |
doc_17305 | turtle.ht()
Make the turtle invisible. It’s a good idea to do this while you’re in the middle of doing some complex drawing, because hiding the turtle speeds up the drawing observably. >>> turtle.hideturtle() | |
doc_17306 | This method sets tb as the new traceback for the exception and returns the exception object. It is usually used in exception handling code like this: try:
...
except SomeException:
tb = sys.exc_info()[2]
raise OtherException(...).with_traceback(tb) | |
doc_17307 | Return an independent clone of this Generator instance with the exact same options, and fp as the new outfp. | |
doc_17308 | The route of the matching URL pattern. For example, if path('users/<id>/', ...) is the matching pattern, route will contain 'users/<id>/'. | |
doc_17309 | Works like a regular Werkzeug test client but has some knowledge about how Flask works to defer the cleanup of the request context stack to the end of a with body when used in a with statement. For general information about how to use this class refer to werkzeug.test.Client. Changelog Changed in version 0.12: app.tes... | |
doc_17310 | Another Modular Crypt Format method with 8 character salt and 22 character hash based on the MD5 hash function. | |
doc_17311 |
Set multiple properties at once. Supported properties are
Property Description
agg_filter a filter function, which takes a (m, n, 3) float array and a dpi value, and returns a (m, n, 3) array
alpha scalar or None
animated bool
antialiased or aa bool or None
capstyle CapStyle or {'butt', 'projecting', 'r... | |
doc_17312 | Decorator to mark generator-based coroutines. This decorator enables legacy generator-based coroutines to be compatible with async/await code: @asyncio.coroutine
def old_style_coroutine():
yield from asyncio.sleep(1)
async def main():
await old_style_coroutine()
This decorator should not be used for async def... | |
doc_17313 |
Bases: object valid is a list of legal strings. | |
doc_17314 |
Flush all buffers and free all resources. | |
doc_17315 | See Migration guide for more details. tf.compat.v1.raw_ops.ApplyFtrl
tf.raw_ops.ApplyFtrl(
var, accum, linear, grad, lr, l1, l2, lr_power, use_locking=False,
multiply_linear_by_lr=False, name=None
)
accum_new = accum + grad * grad linear += grad - (accum_new^(-lr_power) - accum^(-lr_power)) / lr * var quadra... | |
doc_17316 | os.MFD_ALLOW_SEALING
os.MFD_HUGETLB
os.MFD_HUGE_SHIFT
os.MFD_HUGE_MASK
os.MFD_HUGE_64KB
os.MFD_HUGE_512KB
os.MFD_HUGE_1MB
os.MFD_HUGE_2MB
os.MFD_HUGE_8MB
os.MFD_HUGE_16MB
os.MFD_HUGE_32MB
os.MFD_HUGE_256MB
os.MFD_HUGE_512MB
os.MFD_HUGE_1GB
os.MFD_HUGE_2GB
os.MFD_HUGE_16GB
These flags can... | |
doc_17317 |
Alias for get_linestyle. | |
doc_17318 | class sklearn.naive_bayes.BernoulliNB(*, alpha=1.0, binarize=0.0, fit_prior=True, class_prior=None) [source]
Naive Bayes classifier for multivariate Bernoulli models. Like MultinomialNB, this classifier is suitable for discrete data. The difference is that while MultinomialNB works with occurrence counts, BernoulliNB... | |
doc_17319 |
Return the window extent of the spines in display space, including padding for ticks (but not their labels) See also matplotlib.axes.Axes.get_tightbbox
matplotlib.axes.Axes.get_window_extent | |
doc_17320 |
Returns whether the kernel is stationary. | |
doc_17321 |
Return whether face is colored. | |
doc_17322 |
Return the dtype object of the underlying data. | |
doc_17323 |
Set the aspect of the SubplotDivider. | |
doc_17324 |
Determine all maxima of the image with height >= h. The local maxima are defined as connected sets of pixels with equal grey level strictly greater than the grey level of all pixels in direct neighborhood of the set. A local maximum M of height h is a local maximum for which there is at least one path joining M with ... | |
doc_17325 | torch.autograd.backward(tensors, grad_tensors=None, retain_graph=None, create_graph=False, grad_variables=None, inputs=None) [source]
Computes the sum of gradients of given tensors w.r.t. graph leaves. The graph is differentiated using the chain rule. If any of tensors are non-scalar (i.e. their data has more than on... | |
doc_17326 | class sklearn.cluster.SpectralBiclustering(n_clusters=3, *, method='bistochastic', n_components=6, n_best=3, svd_method='randomized', n_svd_vecs=None, mini_batch=False, init='k-means++', n_init=10, n_jobs='deprecated', random_state=None) [source]
Spectral biclustering (Kluger, 2003). Partitions rows and columns under... | |
doc_17327 |
Returns a Python float containing the scale growth factor. | |
doc_17328 | Return True if the object is an asynchronous generator iterator created by an asynchronous generator function. New in version 3.6. | |
doc_17329 | Returns the event category for the record. Override this if you want to specify your own categories. This version returns 0. | |
doc_17330 | See torch.square() | |
doc_17331 | bytearray.isalnum()
Return True if all bytes in the sequence are alphabetical ASCII characters or ASCII decimal digits and the sequence is not empty, False otherwise. Alphabetic ASCII characters are those byte values in the sequence b'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ'. ASCII decimal digits are tho... | |
doc_17332 | A generic version of collections.abc.Sequence. Deprecated since version 3.9: collections.abc.Sequence now supports []. See PEP 585 and Generic Alias Type. | |
doc_17333 | A dict of view arguments that matched the request. If an exception happened when matching, this will be None. | |
doc_17334 | See Migration guide for more details. tf.compat.v1.raw_ops.RetrieveTPUEmbeddingStochasticGradientDescentParameters
tf.raw_ops.RetrieveTPUEmbeddingStochasticGradientDescentParameters(
num_shards, shard_id, table_id=-1, table_name='', config='',
name=None
)
An op that retrieves optimization parameters from emb... | |
doc_17335 | A bool that, if True, causes cuDNN to benchmark multiple convolution algorithms and select the fastest. | |
doc_17336 | See Migration guide for more details. tf.compat.v1.raw_ops.QuantizeDownAndShrinkRange
tf.raw_ops.QuantizeDownAndShrinkRange(
input, input_min, input_max, out_type, name=None
)
actual distribution of the values to maximize the usage of the lower bit depth and adjusting the output min and max ranges accordingly. [... | |
doc_17337 | The str value of the object is the address quoted according to RFC 5322 rules, but with no Content Transfer Encoding of any non-ASCII characters. | |
doc_17338 | Return a set of not yet finished Task objects run by the loop. If loop is None, get_running_loop() is used for getting current loop. New in version 3.7. | |
doc_17339 | Returns the strftime() format to use when parsing the day. Returns day_format by default. | |
doc_17340 |
Computes the bounds of a window. Parameters
num_values:int, default 0
number of values that will be aggregated over
window_size:int, default 0
the number of rows in a window
min_periods:int, default None
min_periods passed from the top level rolling API
center:bool, default None
center passed from t... | |
doc_17341 |
IEEE 754 floating point representation of negative infinity. Returns yfloat
A floating point representation of negative infinity. See Also isinf : Shows which elements are positive or negative infinity isposinf : Shows which elements are positive infinity isneginf : Shows which elements are negative infinity isn... | |
doc_17342 |
Bases: matplotlib.offsetbox.AnchoredOffsetbox Parameters
locstr
The box location. Valid locations are 'upper left', 'upper center', 'upper right', 'center left', 'center', 'center right', 'lower left', 'lower center, 'lower right'. For backward compatibility, numeric values are accepted as well. See the paramet... | |
doc_17343 | mmap.MADV_RANDOM
mmap.MADV_SEQUENTIAL
mmap.MADV_WILLNEED
mmap.MADV_DONTNEED
mmap.MADV_REMOVE
mmap.MADV_DONTFORK
mmap.MADV_DOFORK
mmap.MADV_HWPOISON
mmap.MADV_MERGEABLE
mmap.MADV_UNMERGEABLE
mmap.MADV_SOFT_OFFLINE
mmap.MADV_HUGEPAGE
mmap.MADV_NOHUGEPAGE
mmap.MADV_DONTDUMP
mmap.MADV_DODUMP
m... | |
doc_17344 | Parameters
llx – a number, x-coordinate of lower left corner of canvas
lly – a number, y-coordinate of lower left corner of canvas
urx – a number, x-coordinate of upper right corner of canvas
ury – a number, y-coordinate of upper right corner of canvas Set up user-defined coordinate system and switch to mode ... | |
doc_17345 | tf.compat.v1.estimator.regressor_parse_example_spec(
feature_columns, label_key, label_dtype=tf.dtypes.float32, label_default=None,
label_dimension=1, weight_column=None
)
If users keep data in tf.Example format, they need to call tf.parse_example with a proper feature spec. There are two main things that this... | |
doc_17346 | See Migration guide for more details. tf.compat.v1.tpu.experimental.embedding.Adagrad
tf.tpu.experimental.embedding.Adagrad(
learning_rate: float = 0.001,
initial_accumulator_value: float = 0.1,
use_gradient_accumulation: bool = True,
clip_weight_min: Optional[float] = None,
clip_weight_max: Optio... | |
doc_17347 | '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_17348 | socket.SIO_KEEPALIVE_VALS
socket.SIO_LOOPBACK_FAST_PATH
RCVALL_*
Constants for Windows’ WSAIoctl(). The constants are used as arguments to the ioctl() method of socket objects. Changed in version 3.6: SIO_LOOPBACK_FAST_PATH was added. | |
doc_17349 | In range(60). | |
doc_17350 | tf.io.serialize_sparse(
sp_input, out_type=tf.dtypes.string, name=None
)
Args
sp_input The input SparseTensor.
out_type The dtype to use for serialization.
name A name prefix for the returned tensors (optional).
Returns A 3-vector (1-D Tensor), with each column representing the seria... | |
doc_17351 | Set the default timeout in seconds (float) for new socket objects. When the socket module is first imported, the default is None. See settimeout() for possible values and their respective meanings. | |
doc_17352 |
Convert TimeStamp to a Julian Date. 0 Julian date is noon January 1, 4713 BC. Examples
>>> ts = pd.Timestamp('2020-03-14T15:32:52')
>>> ts.to_julian_date()
2458923.147824074 | |
doc_17353 | Remove and return an item from the queue. If optional args block is true and timeout is None (the default), block if necessary until an item is available. If timeout is a positive number, it blocks at most timeout seconds and raises the Empty exception if no item was available within that time. Otherwise (block is fals... | |
doc_17354 | Adds a Cache-Control: max-age=0, no-cache, no-store, must-revalidate,
private header to a response to indicate that a page should never be cached. | |
doc_17355 | File generation number. | |
doc_17356 | Create a shared threading.BoundedSemaphore object and return a proxy for it. | |
doc_17357 |
Python buffer object pointing to the start of the array’s data. | |
doc_17358 |
Predict class probabilities for X. The predicted class probabilities of an input sample is computed as the mean predicted class probabilities of the base estimators in the ensemble. If base estimators do not implement a predict_proba method, then it resorts to voting and the predicted class probabilities of an input ... | |
doc_17359 | Returns a list of all hyperparameter specifications. | |
doc_17360 | tf.experimental.numpy.greater(
x1, x2
)
Unsupported arguments: out, where, casting, order, dtype, subok, signature, extobj. See the NumPy documentation for numpy.greater. | |
doc_17361 |
Return the clipbox. | |
doc_17362 |
Set the parameters of this estimator. The method works on simple estimators as well as on nested objects (such as Pipeline). The latter have parameters of the form <component>__<parameter> so that it’s possible to update each component of a nested object. Parameters
**paramsdict
Estimator parameters. Returns... | |
doc_17363 | Add a directory to sys.path and process its .pth files. Typically used in sitecustomize or usercustomize (see above). | |
doc_17364 | Return a new view of the underlying mapping’s items ((key, value) pairs). | |
doc_17365 | Set list_per_page to control how many items appear on each paginated admin change list page. By default, this is set to 100. | |
doc_17366 | 'DEFAULT_AUTHENTICATION_CLASSES': [
'rest_framework.authentication.BasicAuthentication',
'rest_framework.authentication.SessionAuthentication',
]
}
You can also set the authentication scheme on a per-view or per-viewset basis, using the APIView class-based views. from rest_framework.authenticat... | |
doc_17367 | Add a header that will not be added to a redirected request. | |
doc_17368 |
Applies a 1D convolution over an input signal composed of several input planes. In the simplest case, the output value of the layer with input size (N,Cin,L)(N, C_{\text{in}}, L) and output (N,Cout,Lout)(N, C_{\text{out}}, L_{\text{out}}) can be precisely described as: out(Ni,Coutj)=bias(Coutj)+∑k=0Cin−1weight(Cou... | |
doc_17369 | Installs the pg_trgm extension. | |
doc_17370 | Returns a tensor filled with the scalar value 1, with the shape defined by the variable argument size. Parameters
size (int...) – a sequence of integers defining the shape of the output tensor. Can be a variable number of arguments or a collection like a list or tuple. Keyword Arguments
out (Tensor, optional) – t... | |
doc_17371 |
Set the y-axis scale. Parameters
value{"linear", "log", "symlog", "logit", ...} or ScaleBase
The axis scale type to apply. **kwargs
Different keyword arguments are accepted, depending on the scale. See the respective class keyword arguments: matplotlib.scale.LinearScale matplotlib.scale.LogScale matplotlib.s... | |
doc_17372 | Hangup detected on controlling terminal or death of controlling process. Availability: Unix. | |
doc_17373 |
List of Axes in the SubFigure. You can access and modify the Axes in the SubFigure through this list. Do not modify the list itself. Instead, use add_axes, add_subplot or delaxes to add or remove an Axes. Note: The SubFigure.axes property and get_axes method are equivalent. | |
doc_17374 | Make an iterator that aggregates elements from each of the iterables. If the iterables are of uneven length, missing values are filled-in with fillvalue. Iteration continues until the longest iterable is exhausted. Roughly equivalent to: def zip_longest(*args, fillvalue=None):
# zip_longest('ABCD', 'xy', fillvalue=... | |
doc_17375 |
Set the dash style for the gc. Parameters
dash_offsetfloat
The offset (usually 0).
dash_listarray-like or None
The on-off sequence as points. None specifies a solid line. Notes See p. 107 of to PostScript blue book for more info. | |
doc_17376 | tail
These attributes can be used to hold additional data associated with the element. Their values are usually strings but may be any application-specific object. If the element is created from an XML file, the text attribute holds either the text between the element’s start tag and its first child or end tag, or No... | |
doc_17377 |
Return the width of the rectangle. | |
doc_17378 |
Convert x using the unit type of the xaxis. If the artist is not in contained in an Axes or if the xaxis does not have units, x itself is returned. | |
doc_17379 | Mark the test as an expected failure or error. If the test fails or errors it will be considered a success. If the test passes, it will be considered a failure. | |
doc_17380 |
Fail unless the given callable throws the specified warning. A warning of class warning_class should be thrown by the callable when invoked with arguments args and keyword arguments kwargs. If a different type of warning is thrown, it will not be caught. If called with all arguments other than the warning class omitt... | |
doc_17381 |
Returns a copy of the calling offset object with n=1 and all other attributes equal. | |
doc_17382 | Set the sequence of allowed domains, or None. | |
doc_17383 | Set the time of the specified clock clk_id. Currently, CLOCK_REALTIME is the only accepted value for clk_id. Availability: Unix. New in version 3.3. | |
doc_17384 | tf.compat.v1.distributions.StudentT(
df, loc, scale, validate_args=False, allow_nan_stats=True,
name='StudentT'
)
This distribution has parameters: degree of freedom df, location loc, and scale. Mathematical details The probability density function (pdf) is, pdf(x; df, mu, sigma) = (1 + y**2 / df)**(-0.5 (df +... | |
doc_17385 |
Set the artist transform. Parameters
tTransform | |
doc_17386 | A data structure of functions to call to modify the keyword arguments when generating URLs, in the format {scope: [functions]}. The scope key is the name of a blueprint the functions are active for, or None for all requests. To register a function, use the url_defaults() decorator. This data structure is internal. It s... | |
doc_17387 |
Generate indices to split data into training and test set. Parameters
Xarray-like of shape (n_samples, n_features)
Training data, where n_samples is the number of samples and n_features is the number of features. Note that providing y is sufficient to generate the splits and hence np.zeros(n_samples) may be use... | |
doc_17388 |
Return the midpoint of each Interval in the IntervalArray as an Index. | |
doc_17389 |
Quantize the input float model with post training static quantization. First it will prepare the model for calibration, then it calls run_fn which will run the calibration step, after that we will convert the model to a quantized model. Parameters
model – input float model
run_fn – a calibration function for cal... | |
doc_17390 | Add elements on each item (i.e. item/entry) element. | |
doc_17391 |
Set whether the artist is intended to be used in an animation. If True, the artist is excluded from regular drawing of the figure. You have to call Figure.draw_artist / Axes.draw_artist explicitly on the artist. This appoach is used to speed up animations using blitting. See also matplotlib.animation and Faster rende... | |
doc_17392 |
Remove the artist from the figure if possible. The effect will not be visible until the figure is redrawn, e.g., with FigureCanvasBase.draw_idle. Call relim to update the axes limits if desired. Note: relim will not see collections even if the collection was added to the axes with autolim = True. Note: there is no su... | |
doc_17393 | An if statement. test holds a single node, such as a Compare node. body and orelse each hold a list of nodes. elif clauses don’t have a special representation in the AST, but rather appear as extra If nodes within the orelse section of the previous one. >>> print(ast.dump(ast.parse("""
... if x:
... ...
... elif y:
... | |
doc_17394 | Base class for creating enumerated constants. See section Functional API for an alternate construction syntax. | |
doc_17395 | tf.compat.v1.train.string_input_producer(
string_tensor, num_epochs=None, shuffle=True, seed=None, capacity=32,
shared_name=None, name=None, cancel_op=None
)
Warning: THIS FUNCTION IS DEPRECATED. It will be removed in a future version. Instructions for updating: Queue-based input pipelines have been replaced b... | |
doc_17396 |
Return the scaled companion matrix of c. The basis polynomials are scaled so that the companion matrix is symmetric when c is an Legendre basis polynomial. This provides better eigenvalue estimates than the unscaled case and for basis polynomials the eigenvalues are guaranteed to be real if numpy.linalg.eigvalsh is u... | |
doc_17397 | See Migration guide for more details. tf.compat.v1.raw_ops.BoostedTreesSerializeEnsemble
tf.raw_ops.BoostedTreesSerializeEnsemble(
tree_ensemble_handle, name=None
)
Args
tree_ensemble_handle A Tensor of type resource. Handle to the tree ensemble.
name A name for the operation (optional).
R... | |
doc_17398 | The ExFileSelectBox widget is usually embedded in a tixExFileSelectDialog widget. It provides a convenient method for the user to select files. The style of the ExFileSelectBox widget is very similar to the standard file dialog on MS Windows 3.1. | |
doc_17399 | tf.experimental.numpy.result_type(
*arrays_and_dtypes
)
See the NumPy documentation for numpy.result_type. |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.