{ } Raw JSON

bundles / scipy 1.17.1 / scipy / odr / _models / _ExponentialModel

class

scipy.odr._models:_ExponentialModel

source: /scipy/odr/_models.py :188

Signature

class   _ExponentialModel ( )

Members

Summary

Exponential model

Extended Summary

This model is defined by

Examples

We can calculate orthogonal distance regression with an exponential model:
from scipy import odr
import numpy as np
x = np.linspace(0.0, 5.0)
y = -10.0 + np.exp(0.5*x)
data = odr.Data(x, y)
odr_obj = odr.ODR(data, odr.exponential)
output = odr_obj.run()
print(output.beta)

Aliases

  • scipy.odr._models._ExponentialModel