_id stringlengths 5 9 | text stringlengths 5 385k | title stringclasses 1
value |
|---|---|---|
doc_19600 |
Return the corresponding inverse transformation. It holds x == self.inverted().transform(self.transform(x)). The return value of this method should be treated as temporary. An update to self does not cause a corresponding update to its inverted copy. | |
doc_19601 |
Convert tz-aware Datetime Array/Index from one time zone to another. Parameters
tz:str, pytz.timezone, dateutil.tz.tzfile or None
Time zone for time. Corresponding timestamps would be converted to this time zone of the Datetime Array/Index. A tz of None will convert to UTC and remove the timezone information. ... | |
doc_19602 | exception bdb.BdbQuit
Exception raised by the Bdb class for quitting the debugger.
The bdb module also defines two classes:
class bdb.Breakpoint(self, file, line, temporary=0, cond=None, funcname=None)
This class implements temporary breakpoints, ignore counts, disabling and (re-)enabling, and conditionals. Bre... | |
doc_19603 |
Learn vocabulary and idf, return document-term matrix. This is equivalent to fit followed by transform, but more efficiently implemented. Parameters
raw_documentsiterable
An iterable which yields either str, unicode or file objects.
yNone
This parameter is ignored. Returns
Xsparse matrix of (n_samples... | |
doc_19604 | The largest area of mapped memory which the process may occupy. | |
doc_19605 | binascii.hexlify(data[, sep[, bytes_per_sep=1]])
Return the hexadecimal representation of the binary data. Every byte of data is converted into the corresponding 2-digit hex representation. The returned bytes object is therefore twice as long as the length of data. Similar functionality (but returning a text string) ... | |
doc_19606 | Get the object wrapped by func. It follows the chain of __wrapped__ attributes returning the last object in the chain. stop is an optional callback accepting an object in the wrapper chain as its sole argument that allows the unwrapping to be terminated early if the callback returns a true value. If the callback never ... | |
doc_19607 | Format the exception part of the traceback. The return value is a generator of strings, each ending in a newline. Normally, the generator emits a single string; however, for SyntaxError exceptions, it emits several lines that (when printed) display detailed information about where the syntax error occurred. The message... | |
doc_19608 |
Return a copy of the colormap. | |
doc_19609 |
Bases: object Abstract base class for GUI neutral widgets. propertyactive
Is the widget active?
drawon=True
eventson=True
get_active()[source]
Get whether the widget is active.
ignore(event)[source]
Return whether event should be ignored. This method should be called at the beginning of any ev... | |
doc_19610 | Parameters
fullcircle – a number Set angle measurement units, i.e. set number of “degrees” for a full circle. Default value is 360 degrees. >>> turtle.home()
>>> turtle.left(90)
>>> turtle.heading()
90.0
Change angle measurement unit to grad (also known as gon,
grade, or gradian and equals 1/100-th of the right an... | |
doc_19611 | Return the Process object corresponding to the current process. An analogue of threading.current_thread(). | |
doc_19612 |
Information about the memory layout of the array. Notes The flags object can be accessed dictionary-like (as in a.flags['WRITEABLE']), or by using lowercased attribute names (as in a.flags.writeable). Short flag names are only supported in dictionary access. Only the WRITEBACKIFCOPY, UPDATEIFCOPY, WRITEABLE, and ALIG... | |
doc_19613 | The PanedWindow widget allows the user to interactively manipulate the sizes of several panes. The panes can be arranged either vertically or horizontally. The user changes the sizes of the panes by dragging the resize handle between two panes. | |
doc_19614 | The socket type. | |
doc_19615 |
Add a tool to this container. Parameters
tooltool_like
The tool to add, see ToolManager.get_tool.
groupstr
The name of the group to add this tool to.
positionint, default: -1
The position within the group to place this tool. | |
doc_19616 | Return a new DocumentType object that encapsulates the given qualifiedName, publicId, and systemId strings, representing the information contained in an XML document type declaration. | |
doc_19617 | Append items from the list. This is equivalent to for x in list:
a.append(x) except that if there is a type error, the array is unchanged. | |
doc_19618 |
Convert y using the unit type of the yaxis. If the artist is not in contained in an Axes or if the yaxis does not have units, y itself is returned. | |
doc_19619 | class sklearn.neighbors.KDTree(X, leaf_size=40, metric='minkowski', **kwargs)
KDTree for fast generalized N-point problems Read more in the User Guide. Parameters
Xarray-like of shape (n_samples, n_features)
n_samples is the number of points in the data set, and n_features is the dimension of the parameter spac... | |
doc_19620 | Return a string representing the current working directory. | |
doc_19621 |
Return the figure manager of the current figure. The figure manager is a container for the actual backend-depended window that displays the figure on screen. If no current figure exists, a new one is created, and its figure manager is returned. Returns
FigureManagerBase or backend-dependent subclass thereof | |
doc_19622 | Holds the current state of the channel. This will be either COMMAND initially and then DATA after the client sends a “DATA” line. | |
doc_19623 | See Migration guide for more details. tf.compat.v1.data.Options
tf.data.Options()
A tf.data.Options object can be, for instance, used to control which static optimizations to apply to the input pipeline graph or whether to use performance modeling to dynamically tune the parallelism of operations such as tf.data.Dat... | |
doc_19624 | See Migration guide for more details. tf.compat.v1.raw_ops.ScaleAndTranslate
tf.raw_ops.ScaleAndTranslate(
images, size, scale, translation, kernel_type='lanczos3',
antialias=True, name=None
)
Args
images A Tensor. Must be one of the following types: int8, uint8, int16, uint16, int32, int64, bfloat1... | |
doc_19625 |
Set the colormap to 'spring'. 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_19626 | tf.compat.v1.py_func(
func, inp, Tout, stateful=True, name=None
)
Given a python function func, which takes numpy arrays as its arguments and returns numpy arrays as its outputs, wrap this function as an operation in a TensorFlow graph. The following snippet constructs a simple TensorFlow graph that invokes the np... | |
doc_19627 |
Fit the model to data matrix X and targets Y. Parameters
X{array-like, sparse matrix} of shape (n_samples, n_features)
The input data.
Yarray-like of shape (n_samples, n_classes)
The target values.
**fit_paramsdict of string -> object
Parameters passed to the fit method at each step of the regressor cha... | |
doc_19628 |
Alias for set_edgecolor. | |
doc_19629 | Closes a previously opened registry key. The hkey argument specifies a previously opened key. Note If hkey is not closed using this method (or via hkey.Close()), it is closed when the hkey object is destroyed by Python. | |
doc_19630 | Set a profile function for all threads started from the threading module. The func will be passed to sys.setprofile() for each thread, before its run() method is called. | |
doc_19631 |
Checks if the NCCL backend is available. | |
doc_19632 |
Call self as a function. | |
doc_19633 |
Return log probability estimates for the test vectors X. Parameters
X{array-like, object with finite length or shape}
Training data, requires length = n_samples Returns
Pndarray of shape (n_samples, n_classes) or list of such arrays
Returns the log probability of the sample for each class in the model, ... | |
doc_19634 |
Compute luminance of an RGB image. Parameters
rgb(…, 3) array_like
The image in RGB format. Final dimension denotes channels. Returns
outndarray
The luminance image - an array which is the same size as the input array, but with the channel dimension removed. Raises
ValueError
If rgb is not at leas... | |
doc_19635 | In-place version of abs() | |
doc_19636 | Returns the given session dictionary serialized and encoded as a string. Encoding is performed by the session store class tied to a model class. | |
doc_19637 | sklearn.utils.sparsefuncs.inplace_csr_column_scale(X, scale) [source]
Inplace column scaling of a CSR matrix. Scale each feature of the data matrix by multiplying with specific scale provided by the caller assuming a (n_samples, n_features) shape. Parameters
Xsparse matrix of shape (n_samples, n_features)
Matri... | |
doc_19638 |
Return the Figure instance the artist belongs to. | |
doc_19639 |
Return the Transform instance mapping patch coordinates to data coordinates. For example, one may define a patch of a circle which represents a radius of 5 by providing coordinates for a unit circle, and a transform which scales the coordinates (the patch coordinate) by 5. | |
doc_19640 | Exception raised when an error code signifying a permanent error (response codes in the range 500–599) is received. | |
doc_19641 | See torch.bitwise_xor() | |
doc_19642 | Invalidate the internal caches of finders stored at sys.meta_path. If a finder implements invalidate_caches() then it will be called to perform the invalidation. This function should be called if any modules are created/installed while your program is running to guarantee all finders will notice the new module’s existe... | |
doc_19643 |
Load arrays or pickled objects from .npy, .npz or pickled files. Warning Loading files that contain object arrays uses the pickle module, which is not secure against erroneous or maliciously constructed data. Consider passing allow_pickle=False to load data that is known not to contain object arrays for the safer ha... | |
doc_19644 |
Generate a distance matrix chunk by chunk with optional reduction. In cases where not all of a pairwise distance matrix needs to be stored at once, this is used to calculate pairwise distances in working_memory-sized chunks. If reduce_func is given, it is run on each chunk and its return values are concatenated into ... | |
doc_19645 | Prevents an SSLv2 connection. This option is only applicable in conjunction with PROTOCOL_TLS. It prevents the peers from choosing SSLv2 as the protocol version. New in version 3.2. Deprecated since version 3.6: SSLv2 is deprecated | |
doc_19646 |
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_19647 | The keyword arguments that would be passed to the gis_widget. Defaults to an empty dictionary. | |
doc_19648 | class logging.Logger
propagate
If this attribute evaluates to true, events logged to this logger will be passed to the handlers of higher level (ancestor) loggers, in addition to any handlers attached to this logger. Messages are passed directly to the ancestor loggers’ handlers - neither the level nor filters of... | |
doc_19649 |
Check whether the provided array or dtype is of a complex dtype. Parameters
arr_or_dtype:array-like or dtype
The array or dtype to check. Returns
boolean
Whether or not the array or dtype is of a complex dtype. Examples
>>> is_complex_dtype(str)
False
>>> is_complex_dtype(int)
False
>>> is_complex_dt... | |
doc_19650 |
Return the cursor data for a given event. Note This method is intended to be overridden by artist subclasses. As an end-user of Matplotlib you will most likely not call this method yourself. Cursor data can be used by Artists to provide additional context information for a given event. The default implementation ju... | |
doc_19651 |
Returns true for each element if there are only whitespace characters in the string and there is at least one character, false otherwise. Calls str.isspace element-wise. For 8-bit strings, this method is locale-dependent. Parameters
aarray_like of str or unicode
Returns
outndarray
Output array of bools ... | |
doc_19652 | See torch.cholesky() | |
doc_19653 | This is a list of all the calls made to the mock object in sequence (so the length of the list is the number of times it has been called). Before any calls have been made it is an empty list. The call object can be used for conveniently constructing lists of calls to compare with call_args_list. >>> mock = Mock(return_... | |
doc_19654 | See Migration guide for more details. tf.compat.v1.raw_ops.SobolSample
tf.raw_ops.SobolSample(
dim, num_results, skip, dtype=tf.dtypes.float32, name=None
)
Creates a Sobol sequence with num_results samples. Each sample has dimension dim. Skips the first skip samples.
Args
dim A Tensor of type int32. Pos... | |
doc_19655 |
Parse specified sheet(s) into a DataFrame. Equivalent to read_excel(ExcelFile, …) See the read_excel docstring for more info on accepted parameters. Returns
DataFrame or dict of DataFrames
DataFrame from the passed in Excel file. | |
doc_19656 | Prevents any more tasks from being submitted to the pool. Once all the tasks have been completed the worker processes will exit. | |
doc_19657 |
Insert a call_method Node into the Graph. A call_method node represents a call to a given method on the 0th element of args. Parameters
method_name (str) – The name of the method to apply to the self argument. For example, if args[0] is a Node representing a Tensor, then to call relu() on that Tensor, pass relu t... | |
doc_19658 |
Get the matrix for the affine part of this transform. | |
doc_19659 | A subclass of HTTPException. | |
doc_19660 |
Join two or more pathname components + - convert a /-separated pathname to one using the OS’s path separator. - resolve and from path. Either passing n arguments as in njoin(‘a’,’b’), or a sequence of n names as in njoin([‘a’,’b’]) is handled, or a mixture of such arguments. | |
doc_19661 | Conditionally emits the specified logging record, depending on filters which may have been added to the handler. Wraps the actual emission of the record with acquisition/release of the I/O thread lock. | |
doc_19662 | The character which separates the base filename from the extension; for example, the '.' in os.py. Also available via os.path. | |
doc_19663 | Decode the bytes-like object s, which must contain one or more lines of base64 encoded data, and return the decoded bytes. New in version 3.1. | |
doc_19664 |
Alias for get_antialiased. | |
doc_19665 |
Adjust a range as needed to avoid singularities. This method gets called during autoscaling, with (v0, v1) set to the data limits on the axes if the axes contains any data, or (-inf, +inf) if not. If v0 == v1 (possibly up to some floating point slop), this method returns an expanded interval around this value. If (v... | |
doc_19666 | (default: 70) The maximum length of wrapped lines. As long as there are no individual words in the input text longer than width, TextWrapper guarantees that no output line will be longer than width characters. | |
doc_19667 | Create a new option flag with a given name, and return the new flag’s integer value. register_optionflag() can be used when subclassing OutputChecker or DocTestRunner to create new options that are supported by your subclasses. register_optionflag() should always be called using the following idiom: MY_FLAG = register_... | |
doc_19668 | The string used to separate (or, rather, terminate) lines on the current platform. This may be a single character, such as '\n' for POSIX, or multiple characters, for example, '\r\n' for Windows. Do not use os.linesep as a line terminator when writing files opened in text mode (the default); use a single '\n' instead, ... | |
doc_19669 | tf.compat.v1.train.sdca_optimizer(
sparse_example_indices, sparse_feature_indices, sparse_feature_values,
dense_features, example_weights, example_labels, sparse_indices, sparse_weights,
dense_weights, example_state_data, loss_type, l1, l2, num_loss_partitions,
num_inner_iterations, adaptative=True, nam... | |
doc_19670 |
For each element in self, return True if there are only decimal characters in the element. See also char.isdecimal | |
doc_19671 | Many-to-many relationship to Group | |
doc_19672 |
Get the rotation angle in degrees. | |
doc_19673 |
Return whether units are set on any axis. | |
doc_19674 |
Updates the scale factor. If any optimizer steps were skipped the scale is multiplied by backoff_factor to reduce it. If growth_interval unskipped iterations occurred consecutively, the scale is multiplied by growth_factor to increase it. Passing new_scale sets the scale directly. Parameters
new_scale (float or tor... | |
doc_19675 | Make an iterator that drops elements from the iterable as long as the predicate is true; afterwards, returns every element. Note, the iterator does not produce any output until the predicate first becomes false, so it may have a lengthy start-up time. Roughly equivalent to: def dropwhile(predicate, iterable):
# dro... | |
doc_19676 | Check if an etag is part of the set ignoring weak tags. It is also possible to use the in operator. | |
doc_19677 | See Migration guide for more details. tf.compat.v1.clip_by_norm
tf.clip_by_norm(
t, clip_norm, axes=None, name=None
)
Given a tensor t, and a maximum clip value clip_norm, this operation normalizes t so that its L2-norm is less than or equal to clip_norm, along the dimensions given in axes. Specifically, in the ... | |
doc_19678 |
Return the axes-aligned bounding box that bounds the result of rotating this Bbox by an angle of radians. | |
doc_19679 | See Migration guide for more details. tf.compat.v1.raw_ops.ThreadPoolDataset
tf.raw_ops.ThreadPoolDataset(
input_dataset, thread_pool, output_types, output_shapes, name=None
)
Args
input_dataset A Tensor of type variant.
thread_pool A Tensor of type resource. A resource produced by the ThreadPoolH... | |
doc_19680 | In-place version of less_equal(). | |
doc_19681 | Decompress data, a bytes-like object. If data is the concatenation of multiple compressed streams, decompress all of the streams. For incremental decompression, use a BZ2Decompressor instead. Changed in version 3.3: Support for multi-stream inputs was added. | |
doc_19682 | Return the size of an object in bytes. The object can be any type of object. All built-in objects will return correct results, but this does not have to hold true for third-party extensions as it is implementation specific. Only the memory consumption directly attributed to the object is accounted for, not the memory c... | |
doc_19683 |
Alias for set_linestyle. | |
doc_19684 | See Migration guide for more details. tf.compat.v1.raw_ops.StackClose
tf.raw_ops.StackClose(
handle, name=None
)
Args
handle A Tensor of type mutable string.
name A name for the operation (optional).
Returns The created Operation. | |
doc_19685 | Return a breakpoint specified by the given number. If arg is a string, it will be converted to a number. If arg is a non-numeric string, if the given breakpoint never existed or has been deleted, a ValueError is raised. New in version 3.2. | |
doc_19686 |
Bases: matplotlib.ticker.LogFormatter Format values for log axis using exponent = log_base(value). | |
doc_19687 | A list of formats used to attempt to convert a string to a valid datetime.date object. | |
doc_19688 | See Migration guide for more details. tf.compat.v1.keras.layers.experimental.preprocessing.CategoryCrossing
tf.keras.layers.experimental.preprocessing.CategoryCrossing(
depth=None, name=None, separator=None, **kwargs
)
This layer concatenates multiple categorical inputs into a single categorical output (similar ... | |
doc_19689 |
Make a copy of this object. Name and dtype sets those attributes on the new object. Parameters
name:Label, optional
Set name for new object.
deep:bool, default False
dtype:numpy dtype or pandas type, optional
Set dtype for new object. Deprecated since version 1.2.0: use astype method instead.
names:li... | |
doc_19690 |
Helper function to convert DataFrame and Series to matplotlib.table. Parameters
ax:Matplotlib axes object
data:DataFrame or Series
Data for table contents. **kwargs
Keyword arguments to be passed to matplotlib.table.table. If rowLabels or colLabels is not specified, data index or column name will be used. ... | |
doc_19691 |
Return the product of the array elements over the given axis. Masked elements are set to 1 internally for computation. Refer to numpy.prod for full documentation. See also numpy.ndarray.prod
corresponding function for ndarrays numpy.prod
equivalent function Notes Arithmetic is modular when using integer types... | |
doc_19692 | Returns True if the user has the specified permission, where perm is in the format "<app label>.<permission codename>" (see permissions). If User.is_active and is_superuser are both True, this method always returns True. If obj is passed in, this method won’t check for a permission for the model, but for this specific ... | |
doc_19693 | In-place version of addbmm() | |
doc_19694 | The unformatted error message. | |
doc_19695 | The requested operation was made on a parser which was finished parsing input, but isn’t allowed. This includes attempts to provide additional input or to stop the parser. | |
doc_19696 | Register a function to run after each request to this object. The function is called with the response object, and must return a response object. This allows the functions to modify or replace the response before it is sent. If a function raises an exception, any remaining after_request functions will not be called. Th... | |
doc_19697 | Return True if the Task is done. A Task is done when the wrapped coroutine either returned a value, raised an exception, or the Task was cancelled. | |
doc_19698 |
Bases: object Viewer for displaying images. This viewer is a simple container object that holds a Matplotlib axes for showing images. ImageViewer doesn’t subclass the Matplotlib axes (or figure) because of the high probability of name collisions. Subclasses and plugins will likely extend the update_image method to ad... | |
doc_19699 | tf.compat.v1.gfile.MakeDirs(
dirname
)
It succeeds if dirname already exists and is writable.
Args
dirname string, name of the directory to be created
Raises
errors.OpError If the operation fails. |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.