diff --git a/Time Series of Price Anomaly Detection Expedia.ipynb b/Time Series of Price Anomaly Detection Expedia.ipynb index bb762f6..d30d4d6 100644 --- a/Time Series of Price Anomaly Detection Expedia.ipynb +++ b/Time Series of Price Anomaly Detection Expedia.ipynb @@ -1886,7 +1886,7 @@ " real_threshold = threshold**windows_size\n", " df_anomaly = []\n", " for j in range(0, len(df)):\n", - " if (j < windows_size\n", + " if (j < windows_size):\n", " df_anomaly.append(0)\n", " else:\n", " sequence = df[j-windows_size:j]\n",