_id stringlengths 5 9 | text stringlengths 5 385k | title stringclasses 1
value |
|---|---|---|
doc_5900 |
Parameters:
geo_input – Geometry input value (string or buffer)
srid (int) – spatial reference identifier | |
doc_5901 | sklearn.utils.all_estimators(type_filter=None) [source]
Get a list of all estimators from sklearn. This function crawls the module and gets all classes that inherit from BaseEstimator. Classes that are defined in test-modules are not included. Parameters
type_filter{“classifier”, “regressor”, “cluster”, “transfor... | |
doc_5902 | tf.compat.v1.estimator.experimental.dnn_logit_fn_builder(
units, hidden_units, feature_columns, activation_fn, dropout,
input_layer_partitioner, batch_norm
)
Args
units An int indicating the dimension of the logit layer. In the MultiHead case, this should be the sum of all component Heads' logit dimen... | |
doc_5903 | Return a list of archive members by name. | |
doc_5904 | See Migration guide for more details. tf.compat.v1.gfile.GFile, tf.compat.v1.gfile.Open, tf.compat.v1.io.gfile.GFile
tf.io.gfile.GFile(
name, mode='r'
)
The main roles of the tf.io.gfile module are: To provide an API that is close to Python's file I/O objects, and To provide an implementation based on TensorFlo... | |
doc_5905 | Determine whether code is in tableC.8 (Change display properties or are deprecated). | |
doc_5906 | Subclasses of GenericInlineModelAdmin with stacked and tabular layouts, respectively. | |
doc_5907 | A context manager to temporarily add directories to sys.path. This makes a copy of sys.path, appends any directories given as positional arguments, then reverts sys.path to the copied settings when the context ends. Note that all sys.path modifications in the body of the context manager, including replacement of the ob... | |
doc_5908 | See Migration guide for more details. tf.compat.v1.raw_ops.ExpandDims
tf.raw_ops.ExpandDims(
input, axis, name=None
)
Given a tensor input, this operation inserts a dimension of 1 at the dimension index axis of input's shape. The dimension index axis starts at zero; if you specify a negative number for axis it i... | |
doc_5909 | See Migration guide for more details. tf.compat.v1.raw_ops.RaggedGather
tf.raw_ops.RaggedGather(
params_nested_splits, params_dense_values, indices, OUTPUT_RAGGED_RANK,
name=None
)
Outputs a RaggedTensor output composed from output_dense_values and output_nested_splits, such that: output.shape = indices.shap... | |
doc_5910 |
Remove the observer with connection id cid. Parameters
cidint
Connection id of the observer to be removed. | |
doc_5911 |
Return a list of new Bbox objects formed by splitting the original one with vertical lines at fractional positions given by args. | |
doc_5912 |
Composite a number of RGBA images into one. The images are composited in the order in which they appear in the images list. Parameters
imageslist of Images
Each must have a make_image method. For each image, can_composite should return True, though this is not enforced by this function. Each image must have a p... | |
doc_5913 |
Roll provided date backward to next offset only if not on offset. Returns
TimeStamp
Rolled timestamp if not on offset, otherwise unchanged timestamp. | |
doc_5914 | Path to a custom template that will be used by the admin site main index view. | |
doc_5915 | The list of individual namespace components in the full application namespace for the URL pattern that matches the URL. For example, if the app_name is 'foo:bar', then app_names will be ['foo', 'bar']. | |
doc_5916 | turtle.pu()
turtle.up()
Pull the pen up – no drawing when moving. | |
doc_5917 |
Alias for set_linestyle. | |
doc_5918 |
Take elements from an array along an axis. When axis is not None, this function does the same thing as “fancy” indexing (indexing arrays using arrays); however, it can be easier to use if you need elements along a given axis. A call such as np.take(arr, indices, axis=3) is equivalent to arr[:,:,:,indices,...]. Explai... | |
doc_5919 |
Returns a clone of self with given hyperparameters theta. Parameters
thetandarray of shape (n_dims,)
The hyperparameters | |
doc_5920 |
Return the minimum value that can be represented by the dtype of an object. This function is useful for calculating a fill value suitable for taking the maximum of an array with a given dtype. Parameters
objndarray, dtype or scalar
An object that can be queried for it’s numeric type. Returns
valscalar
T... | |
doc_5921 |
Edge filter an image using the Canny algorithm. Parameters
image2D array
Grayscale input image to detect edges on; can be of any dtype.
sigmafloat, optional
Standard deviation of the Gaussian filter.
low_thresholdfloat, optional
Lower bound for hysteresis thresholding (linking edges). If None, low_thres... | |
doc_5922 | tf.experimental.numpy.less(
x1, x2
)
Unsupported arguments: out, where, casting, order, dtype, subok, signature, extobj. See the NumPy documentation for numpy.less. | |
doc_5923 |
bernoulli_(p=0.5, *, generator=None) → Tensor
Fills each location of self with an independent sample from Bernoulli(p)\text{Bernoulli}(\texttt{p}) . self can have integral dtype.
bernoulli_(p_tensor, *, generator=None) → Tensor
p_tensor should be a tensor containing probabilities to be used for drawing the bi... | |
doc_5924 | alias of flask.ctx._AppCtxGlobals | |
doc_5925 |
Return the array of values, that are mapped to colors. The base class ScalarMappable does not make any assumptions on the dimensionality and shape of the array. | |
doc_5926 |
Update this artist's properties from the dict props. Parameters
propsdict | |
doc_5927 |
Return the vertical alignment as a string. Will be one of 'top', 'center', 'bottom', 'baseline' or 'center_baseline'. | |
doc_5928 | Base class for all exceptions that include an SMTP error code. These exceptions are generated in some instances when the SMTP server returns an error code. The error code is stored in the smtp_code attribute of the error, and the smtp_error attribute is set to the error message. | |
doc_5929 | A decorator for importlib.abc.Loader.load_module() to set the __loader__ attribute on the returned module. If the attribute is already set the decorator does nothing. It is assumed that the first positional argument to the wrapped method (i.e. self) is what __loader__ should be set to. Changed in version 3.4: Set __lo... | |
doc_5930 |
Roll provided date forward to next offset only if not on offset. Returns
TimeStamp
Rolled timestamp if not on offset, otherwise unchanged timestamp. | |
doc_5931 | Character kerning mode kerning -> bool Gets or sets the font's kerning mode. This defaults to False on all fonts, which will be rendered without kerning. Set to True to add kerning between character pairs, if supported by the font, when positioning glyphs. | |
doc_5932 | DEBUG: Low level system information for debugging purposes
INFO: General system information
WARNING: Information describing a minor problem that has occurred.
ERROR: Information describing a major problem that has occurred.
CRITICAL: Information describing a critical problem that has occurred. Each message that is... | |
doc_5933 |
Agglomerative Clustering Recursively merges the pair of clusters that minimally increases a given linkage distance. Read more in the User Guide. Parameters
n_clustersint or None, default=2
The number of clusters to find. It must be None if distance_threshold is not None.
affinitystr or callable, default=’eucl... | |
doc_5934 |
Start a blocking event loop. Such an event loop is used by interactive functions, such as ginput and waitforbuttonpress, to wait for events. The event loop blocks until a callback function triggers stop_event_loop, or timeout is reached. If timeout is 0 or negative, never timeout. Only interactive backends need to re... | |
doc_5935 |
CFFI interface Returns
interfacenamedtuple
Named tuple containing CFFI wrapper state_address - Memory address of the state struct state - pointer to the state struct next_uint64 - function pointer to produce 64 bit integers next_uint32 - function pointer to produce 32 bit integers next_double - function pointe... | |
doc_5936 | draw an arc arc(surface, x, y, r, start_angle, stop_angle, color) -> None Draws an arc on the given surface. For an arc with its endpoints connected to its center use pie(). The two angle arguments are given in degrees and indicate the start and stop positions of the arc. The arc is drawn in a clockwise direction fro... | |
doc_5937 |
Returns the indices that would sort this array. Refer to numpy.argsort for full documentation. See also numpy.argsort
equivalent function | |
doc_5938 |
Return unbiased skew over requested axis. Normalized by N-1. Parameters
axis:{index (0)}
Axis for the function to be applied on.
skipna:bool, default True
Exclude NA/null values when computing the result.
level:int or level name, default None
If the axis is a MultiIndex (hierarchical), count along a par... | |
doc_5939 |
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_5940 |
Return the snap setting. See set_snap for details. | |
doc_5941 | sklearn.utils.extmath.fast_logdet(A) [source]
Compute log(det(A)) for A symmetric. Equivalent to : np.log(nl.det(A)) but more robust. It returns -Inf if det(A) is non positive or is not defined. Parameters
Aarray-like
The matrix. | |
doc_5942 |
Set / unset 3D grid. Note Currently, this function does not behave the same as matplotlib.axes.Axes.grid(), but it is intended to eventually support that behavior. | |
doc_5943 |
Set the alpha value used for blending - not supported on all backends. Parameters
alphaarray-like or scalar or None
All values must be within the 0-1 range, inclusive. Masked values and nans are not supported. | |
doc_5944 | Creates a copy of this request context with the same request object. This can be used to move a request context to a different greenlet. Because the actual request object is the same this cannot be used to move a request context to a different thread unless access to the request object is locked. Changelog Changed in ... | |
doc_5945 |
Bases: object The location of a subplot in a GridSpec. Note Likely, you'll never instantiate a SubplotSpec yourself. Instead you will typically obtain one from a GridSpec using item-access. Parameters
gridspecGridSpec
The GridSpec, which the subplot is referencing.
num1, num2int
The subplot will occupy th... | |
doc_5946 | Registers the XML-RPC introspection functions system.listMethods, system.methodHelp and system.methodSignature. | |
doc_5947 |
Whether the artist is 'stale' and needs to be re-drawn for the output to match the internal state of the artist. | |
doc_5948 |
Alias for get_facecolor. | |
doc_5949 | Remove a file descriptor being tracked by a polling object. Just like the register() method, fd can be an integer or an object with a fileno() method that returns an integer. Attempting to remove a file descriptor that was never registered is safely ignored. | |
doc_5950 |
Converts a Uniform Resource Identifier into an Internationalized Resource Identifier. This is an algorithm from section 3.2 of RFC 3987#section-3.2. Takes a URI in ASCII bytes and returns a string containing the encoded result. | |
doc_5951 |
Call inverse_transform on the estimator with the best found params. Only available if the underlying estimator implements inverse_transform and refit=True. Parameters
Xtindexable, length n_samples
Must fulfill the input assumptions of the underlying estimator. | |
doc_5952 |
Given a hatch specifier, hatchpattern, generates a Path that can be used in a repeated hatching pattern. density is the number of lines per unit square. | |
doc_5953 | tf.profiler.experimental.client.trace(
service_addr, logdir, duration_ms, worker_list='',
num_tracing_attempts=3, options=None
)
This method will block the calling thread until it receives responses from all servers or until deadline expiration. Both single host and multiple host profiling are supported on CPU... | |
doc_5954 |
Set the artist offset transform. Parameters
transOffsetTransform | |
doc_5955 | tf.compat.v1.logging.get_verbosity() | |
doc_5956 |
Map values of Series according to an input mapping or function. Used for substituting each value in a Series with another value, that may be derived from a function, a dict or a Series. Parameters
arg:function, collections.abc.Mapping subclass or Series
Mapping correspondence.
na_action:{None, ‘ignore’}, defa... | |
doc_5957 | Computes the regularized upper incomplete gamma function: outi=1Γ(inputi)∫otheri∞tinputi−1e−tdt\text{out}_{i} = \frac{1}{\Gamma(\text{input}_i)} \int_{\text{other}_i}^{\infty} t^{\text{input}_i-1} e^{-t} dt
where both inputi\text{input}_i and otheri\text{other}_i are weakly positive and at least one is strictly po... | |
doc_5958 |
Return the mean accuracy on the given test data and labels. In multi-label classification, this is the subset accuracy which is a harsh metric since you require for each sample that each label set be correctly predicted. Parameters
Xarray-like of shape (n_samples, n_features)
Test samples.
yarray-like of shap... | |
doc_5959 |
Integrate along the given axis using the composite trapezoidal rule. If x is provided, the integration happens in sequence along its elements - they are not sorted. Integrate y (x) along each 1d slice on the given axis, compute \(\int y(x) dx\). When x is specified, this integrates along the parametric curve, computi... | |
doc_5960 | enum.IntEnum collection of SSL_ERROR_* constants. New in version 3.6. | |
doc_5961 |
Moves all model parameters and buffers to the GPU. This also makes associated parameters and buffers different objects. So it should be called before constructing optimizer if the module will live on GPU while being optimized. Parameters
device (int, optional) – if specified, all parameters will be copied to that d... | |
doc_5962 |
Bases: matplotlib.widgets.AxesWidget A GUI neutral button. For the button to remain responsive you must keep a reference to it. Call on_clicked to connect to the button. Attributes
ax
The matplotlib.axes.Axes the button renders into. label
A matplotlib.text.Text instance. color
The color of the button when no... | |
doc_5963 | See Migration guide for more details. tf.compat.v1.raw_ops.BatchSelfAdjointEigV2
tf.raw_ops.BatchSelfAdjointEigV2(
input, compute_v=True, name=None
)
Args
input A Tensor. Must be one of the following types: float64, float32.
compute_v An optional bool. Defaults to True.
name A name for the o... | |
doc_5964 | See Migration guide for more details. tf.compat.v1.linalg.LinearOperatorAdjoint
tf.linalg.LinearOperatorAdjoint(
operator, is_non_singular=None, is_self_adjoint=None, is_positive_definite=None,
is_square=None, name=None
)
This operator represents the adjoint of another operator. # Create a 2 x 2 linear opera... | |
doc_5965 |
Checks whether the estimator’s fit method supports the given parameter. Parameters
estimatorobject
An estimator to inspect.
parameterstr
The searched parameter. Returns
is_parameter: bool
Whether the parameter was found to be a named parameter of the estimator’s fit method. Examples >>> from sklea... | |
doc_5966 |
Get a mask, or integer index, of the features selected Parameters
indicesbool, default=False
If True, the return value will be an array of integers, rather than a boolean mask. Returns
supportarray
An index that selects the retained features from a feature vector. If indices is False, this is a boolean ... | |
doc_5967 |
Set the normalization instance. Parameters
normNormalize or None
Notes If there are any colorbars using the mappable for this norm, setting the norm of the mappable will reset the norm, locator, and formatters on the colorbar to default. | |
doc_5968 |
Add image data to summary. Note that this requires the pillow package. Parameters
tag (string) – Data identifier
img_tensor (torch.Tensor, numpy.array, or string/blobname) – Image data
global_step (int) – Global step value to record
walltime (float) – Optional override default walltime (time.time()) seconds af... | |
doc_5969 | Alias for field number 1 | |
doc_5970 | This provides a quick-and-dirty way to override some of the Field options for use in the admin. formfield_overrides is a dictionary mapping a field class to a dict of arguments to pass to the field at construction time. Since that’s a bit abstract, let’s look at a concrete example. The most common use of formfield_over... | |
doc_5971 | Returns a string naming this field for backend specific purposes. By default, it returns the class name. See Emulating built-in field types for usage in custom fields. | |
doc_5972 | System which created ZIP archive. | |
doc_5973 | This read-only attribute provides the rowid of the last modified row. It is only set if you issued an INSERT or a REPLACE statement using the execute() method. For operations other than INSERT or REPLACE or when executemany() is called, lastrowid is set to None. If the INSERT or REPLACE statement failed to insert the p... | |
doc_5974 |
Bases: matplotlib.blocking_input.BlockingMouseInput Callable for retrieving mouse clicks and key presses in a blocking way. Used to place contour labels. add_click(event)[source]
Add the coordinates of an event to the list of clicks. Parameters
eventMouseEvent
button1(event)[source]
Process an butto... | |
doc_5975 | Returns a started SyncManager object which can be used for sharing objects between processes. The returned manager object corresponds to a spawned child process and has methods which will create shared objects and return corresponding proxies. | |
doc_5976 | Returns the cumulative product of elements of input in the dimension dim. For example, if input is a vector of size N, the result will also be a vector of size N, with elements. yi=x1×x2×x3×⋯×xiy_i = x_1 \times x_2\times x_3\times \dots \times x_i
Parameters
input (Tensor) – the input tensor.
dim (int) – the di... | |
doc_5977 |
Return the clip path with the non-affine part of its transformation applied, and the remaining affine part of its transformation. | |
doc_5978 | Some implementations can detect changes to the session and set this when that happens. The mixin default is hard coded to True. | |
doc_5979 | Generates a string representation of an XML element, including all subelements. element is an Element instance. encoding 1 is the output encoding (default is US-ASCII). Use encoding="unicode" to generate a Unicode string (otherwise, a bytestring is generated). method is either "xml", "html" or "text" (default is "xml")... | |
doc_5980 | Event handler for double-click event on file. | |
doc_5981 | What should happen if a disconnect is detected? The return value of this function is returned from read functions in case the client went away. By default a ClientDisconnected exception is raised. Return type
bytes | |
doc_5982 | tf.image.extract_glimpse(
input, size, offsets, centered=True, normalized=True, noise='uniform',
name=None
)
Returns a set of windows called glimpses extracted at location offsets from the input tensor. If the windows only partially overlaps the inputs, the non-overlapping areas will be filled with random nois... | |
doc_5983 | Concrete class for urlsplit() results containing str data. The encode() method returns a SplitResultBytes instance. | |
doc_5984 |
Generate a pie plot. A pie plot is a proportional representation of the numerical data in a column. This function wraps matplotlib.pyplot.pie() for the specified column. If no column reference is passed and subplots=True a pie plot is drawn for each numerical column independently. Parameters
y:int or label, optio... | |
doc_5985 |
Bases: matplotlib.widgets.AxesWidget A crosshair cursor that spans the axes and moves with mouse cursor. For the cursor to remain responsive you must keep a reference to it. Parameters
axmatplotlib.axes.Axes
The Axes to attach the cursor to.
horizOnbool, default: True
Whether to draw the horizontal line.
... | |
doc_5986 |
Return this Axis' major tick lines as a list of Line2Ds. | |
doc_5987 |
Mean Gamma deviance regression loss. Gamma deviance is equivalent to the Tweedie deviance with the power parameter power=2. It is invariant to scaling of the target variable, and measures relative errors. Read more in the User Guide. Parameters
y_truearray-like of shape (n_samples,)
Ground truth (correct) targe... | |
doc_5988 | mean() Arithmetic mean (“average”) of data.
fmean() Fast, floating point arithmetic mean.
geometric_mean() Geometric mean of data.
harmonic_mean() Harmonic mean of data.
median() Median (middle value) of data.
median_low() Low median of data.
median_high() High median of data.
median_grouped() Median, or ... | |
doc_5989 | A dispatcher subclass which adds simple buffered output capability, useful for simple clients. For more sophisticated usage use asynchat.async_chat. | |
doc_5990 | test if one rectangle in a list intersects collidelist(list) -> index Test whether the rectangle collides with any in a sequence of rectangles. The index of the first collision found is returned. If no collisions are found an index of -1 is returned. | |
doc_5991 |
Create an Axes suitable for a colorbar. The axes is placed in the figure of the parents axes, by resizing and repositioning parents. Parameters
parentsAxes or list of Axes
The Axes to use as parents for placing the colorbar.
locationNone or {'left', 'right', 'top', 'bottom'}
The location, relative to the pa... | |
doc_5992 |
Returns the square identity matrix of given size. Parameters
nint
Size of the returned identity matrix.
dtypedata-type, optional
Data-type of the output. Defaults to float. Returns
outmatrix
n x n matrix with its main diagonal set to one, and all other elements zero. See also numpy.identity
E... | |
doc_5993 | True if a port or set of ports was explicitly specified by the server (in the Set-Cookie / Set-Cookie2 header). | |
doc_5994 |
step() carries out the following two operations: Internally invokes unscale_(optimizer) (unless unscale_() was explicitly called for optimizer earlier in the iteration). As part of the unscale_(), gradients are checked for infs/NaNs. If no inf/NaN gradients are found, invokes optimizer.step() using the unscaled grad... | |
doc_5995 | Display debug information about compiled expression. No corresponding inline flag. | |
doc_5996 | A dictionary mapping any symbolic group names defined by (?P<id>) to group numbers. The dictionary is empty if no symbolic groups were used in the pattern. | |
doc_5997 | assertWarns(warning, *, msg=None)
Test that a warning is triggered when callable is called with any positional or keyword arguments that are also passed to assertWarns(). The test passes if warning is triggered and fails if it isn’t. Any exception is an error. To catch any of a group of warnings, a tuple containing t... | |
doc_5998 |
Add an arrow to the Axes. This draws an arrow from (x, y) to (x+dx, y+dy). Parameters
x, yfloat
The x and y coordinates of the arrow base.
dx, dyfloat
The length of the arrow along x and y direction.
widthfloat, default: 0.001
Width of full arrow tail.
length_includes_headbool, default: False
True i... | |
doc_5999 |
Random permutation cross-validator Yields indices to split data into training and test sets. Note: contrary to other cross-validation strategies, random splits do not guarantee that all folds will be different, although this is still very likely for sizeable datasets. Read more in the User Guide. Parameters
n_spl... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.