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 ? Machine Learning
avec Scikit-Learn
Voir le programme détaillé
Classe « UnivariateSpline »

Méthode scipy.interpolate.UnivariateSpline.derivatives

Signature de la méthode derivatives

def derivatives(self, x) 

Description

help(UnivariateSpline.derivatives)

Return all derivatives of the spline at the point x.

Parameters
----------
x : float
    The point to evaluate the derivatives at.

Returns
-------
der : ndarray, shape(k+1,)
    Derivatives of the orders 0 to k.

Examples
--------
>>> import numpy as np
>>> from scipy.interpolate import UnivariateSpline
>>> x = np.linspace(0, 3, 11)
>>> y = x**2
>>> spl = UnivariateSpline(x, y)
>>> spl.derivatives(1.5)
array([2.25, 3.0, 2.0, 0])



Vous êtes un professionnel et vous avez besoin d'une formation ? Deep Learning avec Python
et Keras et Tensorflow
Voir le programme détaillé