+1
-7
lines changedFilter options
+1
-7
lines changed Original file line number Diff line number Diff line change
@@ -6,12 +6,6 @@
6
6
import yaml
7
7
from pydantic.v1 import BaseModel, BaseSettings, Field, PrivateAttr
8
8
9
-
try:
10
-
# typing only available in python 3.8+
11
-
from typing import Literal
12
-
AutoLagType = Literal["AIC", "BIC", "t-stat"]
13
-
except:
14
-
AutoLagType = str
15
9
16
10
def _merge_dictionaries(dict1: dict, dict2: dict) -> dict:
17
11
"""
@@ -118,7 +112,7 @@ class TimeseriesVars(BaseModel):
118
112
lags: List[int] = [1, 7, 12, 24, 30]
119
113
significance: float = 0.05
120
114
pacf_acf_lag: int = 100
121
-
autolag: Optional[AutoLagType] = "AIC"
115
+
autolag: Optional[str] = "AIC"
122
116
maxlag: Optional[int] = None
123
117
124
118
You can’t perform that action at this time.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4