Participer au site avec un Tip
Rechercher
 

Améliorations / Corrections

Vous avez des améliorations (ou des corrections) à proposer pour ce document : je vous remerçie par avance de m'en faire part, cela m'aide à améliorer le site.

Emplacement :

Description des améliorations :

Vous êtes un professionnel et vous avez besoin d'une formation ? RAG (Retrieval-Augmented Generation)
et Fine Tuning d'un LLM
Voir le programme détaillé
Module « scipy.interpolate »

Classe « LSQBivariateSpline »

Informations générales

Héritage

builtins.object
    _BivariateSplineBase
        BivariateSpline
            LSQBivariateSpline

Définition

class LSQBivariateSpline(BivariateSpline):

help(LSQBivariateSpline)

Weighted least-squares bivariate spline approximation.

Parameters
----------
x, y, z : array_like
    1-D sequences of data points (order is not important).
tx, ty : array_like
    Strictly ordered 1-D sequences of knots coordinates.
w : array_like, optional
    Positive 1-D array of weights, of the same length as `x`, `y` and `z`.
bbox : (4,) array_like, optional
    Sequence of length 4 specifying the boundary of the rectangular
    approximation domain.  By default,
    ``bbox=[min(x,tx),max(x,tx), min(y,ty),max(y,ty)]``.
kx, ky : ints, optional
    Degrees of the bivariate spline. Default is 3.
eps : float, optional
    A threshold for determining the effective rank of an over-determined
    linear system of equations. `eps` should have a value within the open
    interval ``(0, 1)``, the default is 1e-16.

See Also
--------
BivariateSpline :
    a base class for bivariate splines.
UnivariateSpline :
    a smooth univariate spline to fit a given set of data points.
SmoothBivariateSpline :
    a smoothing bivariate spline through the given points
RectSphereBivariateSpline :
    a bivariate spline over a rectangular mesh on a sphere
SmoothSphereBivariateSpline :
    a smoothing bivariate spline in spherical coordinates
LSQSphereBivariateSpline :
    a bivariate spline in spherical coordinates using weighted
    least-squares fitting
RectBivariateSpline :
    a bivariate spline over a rectangular mesh.
bisplrep :
    a function to find a bivariate B-spline representation of a surface
bisplev :
    a function to evaluate a bivariate B-spline and its derivatives

Notes
-----
The length of `x`, `y` and `z` should be at least ``(kx+1) * (ky+1)``.

If the input data is such that input dimensions have incommensurate
units and differ by many orders of magnitude, the interpolant may have
numerical artifacts. Consider rescaling the data before interpolating.

Constructeur(s)

Signature du constructeur Description
__init__(self, x, y, z, tx, ty, w=None, bbox=[None, None, None, None], kx=3, ky=3, eps=None)

Liste des opérateurs

Opérateurs hérités de la classe object

__eq__, __ge__, __gt__, __le__, __lt__, __ne__

Liste des méthodes

Toutes les méthodes Méthodes d'instance Méthodes statiques Méthodes dépréciées
Signature de la méthodeDescription

Méthodes héritées de la classe BivariateSpline

__init_subclass__, __subclasshook__, ev, integral

Méthodes héritées de la classe _BivariateSplineBase

__call__, get_coeffs, get_knots, get_residual, partial_derivative

Méthodes héritées de la classe object

__delattr__, __dir__, __format__, __getattribute__, __getstate__, __hash__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__

Vous êtes un professionnel et vous avez besoin d'une formation ? Machine Learning
avec Scikit-Learn
Voir le programme détaillé