Skip to content

Commit

Permalink
Changing imports from fbprophet to prophet
Browse files Browse the repository at this point in the history
  • Loading branch information
proof-by-accident committed Feb 2, 2024
1 parent 40f6e09 commit 5f69625
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions kats/detectors/prophet_detector.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@

import numpy as np
import pandas as pd
from fbprophet import Prophet
from fbprophet.serialize import model_from_json, model_to_json
from prophet import Prophet
from prophet.serialize import model_from_json, model_to_json
from kats.consts import (
DataError,
DataInsufficientError,
Expand Down
4 changes: 2 additions & 2 deletions kats/detectors/threshold_detector.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@

import numpy as np
import pandas as pd
from fbprophet import Prophet
from fbprophet.serialize import model_from_json, model_to_json
from prophet import Prophet
from prophet.serialize import model_from_json, model_to_json
from kats.consts import DEFAULT_VALUE_NAME, TimeSeriesData
from kats.detectors.detector import DetectorModel
from kats.detectors.detector_consts import AnomalyResponse
Expand Down
2 changes: 1 addition & 1 deletion kats/models/prophet.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
import pandas as pd

try:
from fbprophet import Prophet
from prophet import Prophet

_no_prophet = False
except ImportError:
Expand Down

0 comments on commit 5f69625

Please sign in to comment.