Spaces:
Sleeping
Sleeping
Added lag_y
Browse files
main.py
CHANGED
|
@@ -105,6 +105,7 @@ async def modelfit_file(
|
|
| 105 |
time_col: str = Form(...),
|
| 106 |
y: str = Form(...),
|
| 107 |
# optional knobs
|
|
|
|
| 108 |
lagged_features: str = Form(""), # JSON string or empty
|
| 109 |
current_features: str = Form(""), # "all" | JSON string | ""
|
| 110 |
filter_by_significance: str = Form("false"),
|
|
@@ -121,6 +122,7 @@ async def modelfit_file(
|
|
| 121 |
"id_col": id_col,
|
| 122 |
"time_col": time_col,
|
| 123 |
"y": y,
|
|
|
|
| 124 |
"lagged_features": lagged_features,
|
| 125 |
"current_features": current_features,
|
| 126 |
"filter_by_significance": filter_by_significance,
|
|
|
|
| 105 |
time_col: str = Form(...),
|
| 106 |
y: str = Form(...),
|
| 107 |
# optional knobs
|
| 108 |
+
lag_y: str = Form(""),
|
| 109 |
lagged_features: str = Form(""), # JSON string or empty
|
| 110 |
current_features: str = Form(""), # "all" | JSON string | ""
|
| 111 |
filter_by_significance: str = Form("false"),
|
|
|
|
| 122 |
"id_col": id_col,
|
| 123 |
"time_col": time_col,
|
| 124 |
"y": y,
|
| 125 |
+
"lag_y": lag_y,
|
| 126 |
"lagged_features": lagged_features,
|
| 127 |
"current_features": current_features,
|
| 128 |
"filter_by_significance": filter_by_significance,
|