Skip to content

Dmax

Dmax()

Dmax model for lactate threshold estimation.

Atributes:

model (object):
    Model object.
plot (object):
    Plot object.

Methods:

Name Description
fit

Fit the model to the training data.

predict

Predicts intensity for the Dmax method.

fit

fit(X: ArrayLike, y: ArrayLike, method='3th_poly')

Fit the model to the training data.

Parameters:

Name Type Description Default

X

array - like

Intensity data.

required

y

array - like

lactate values.

required

method

str

Method to use for fitting the model. Options are:

  • "3th_poly": 3rd degree polynomial
  • "4th_poly": 4th degree polynomial
  • "spline": Spline
'3th_poly'

Returns:

Name Type Description
self object

Fitted model.

predict

predict() -> float

Predicts intensity for the Dmax method.

Returns:

Name Type Description
float float

Predicted intensity.