Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -9,7 +9,7 @@ import ta
|
|
| 9 |
from sklearn.decomposition import PCA
|
| 10 |
from sklearn.impute import SimpleImputer
|
| 11 |
|
| 12 |
-
# Function to normalize the time series
|
| 13 |
def normalize(ts):
|
| 14 |
return (ts - ts.min()) / (ts.max() - ts.min())
|
| 15 |
|
|
|
|
| 9 |
from sklearn.decomposition import PCA
|
| 10 |
from sklearn.impute import SimpleImputer
|
| 11 |
|
| 12 |
+
# Function to normalize the time series
|
| 13 |
def normalize(ts):
|
| 14 |
return (ts - ts.min()) / (ts.max() - ts.min())
|
| 15 |
|