Skip to content

Neural Prophet

Initialization of the Neural Prophet integration.

NeuralProphetIntegration

Bases: Integration

Definition of NeuralProphet integration for ZenML.

Source code in src/zenml/integrations/neural_prophet/__init__.py
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
class NeuralProphetIntegration(Integration):
    """Definition of NeuralProphet integration for ZenML."""

    NAME = NEURAL_PROPHET
    REQUIREMENTS = [
        "neuralprophet>=0.3.2,<0.5.0",
        "holidays>=0.4.1,<0.25.0",
        "tenacity!=8.4.0",  # https://github.com/jd/tenacity/issues/471
    ]
    REQUIREMENTS_IGNORED_ON_UNINSTALL = ["tenacity"]

    @classmethod
    def activate(cls) -> None:
        """Activates the integration."""
        from zenml.integrations.neural_prophet import materializers  # noqa

activate() classmethod

Activates the integration.

Source code in src/zenml/integrations/neural_prophet/__init__.py
31
32
33
34
@classmethod
def activate(cls) -> None:
    """Activates the integration."""
    from zenml.integrations.neural_prophet import materializers  # noqa