Spaces:
Runtime error
Runtime error
Commit
·
ae78421
1
Parent(s):
65e31ff
pricefix
Browse files
app.py
CHANGED
@@ -182,9 +182,6 @@ def normalize(x, minVal, maxVal, feature):
|
|
182 |
return min(max(res, 0), 1)
|
183 |
|
184 |
def normalizeData(df):
|
185 |
-
# We do this manually because we want the UI to be able to transform the input data the same way
|
186 |
-
|
187 |
-
|
188 |
# Normalize select numerical values to a value between 0 and 1
|
189 |
print('Normalizing data...')
|
190 |
for feature, minMax in tqdm(featureToMinMax.items()):
|
|
|
182 |
return min(max(res, 0), 1)
|
183 |
|
184 |
def normalizeData(df):
|
|
|
|
|
|
|
185 |
# Normalize select numerical values to a value between 0 and 1
|
186 |
print('Normalizing data...')
|
187 |
for feature, minMax in tqdm(featureToMinMax.items()):
|