myogestic.models.definitions.raulnet_models.predict#

myogestic.models.definitions.raulnet_models.predict(model, input, is_classifier)[source]#

Predict with a RaulNet model.

Parameters:
  • model (L.LightningModule) – The RaulNet model to predict with.

  • input (np.ndarray) – The input data to predict. The shape of the input data will be (1, n_features, n_samples).

  • is_classifier (bool) – If the model is a classifier.

Returns:

The predicted output.

Return type:

list[float]