Datasets:
La-matrice
commited on
Commit
•
72391ca
1
Parent(s):
33b7338
Delete normalization.py
Browse files- normalization.py +0 -13
normalization.py
DELETED
@@ -1,13 +0,0 @@
|
|
1 |
-
norm_params = {
|
2 |
-
'LAT': {'min_val': -66.817333, 'max_val': 51.055833},
|
3 |
-
'LON': {'min_val': -178.116667, 'max_val': 171.358333},
|
4 |
-
'ALTI': {'min_val': 0.0, 'max_val': 3845.0},
|
5 |
-
'AAAAMMJJHH': {'min_val': 1777010107, 'max_val': 2024030803},
|
6 |
-
'ANNEE': {'min_val': 1777, 'max_val': 2024},
|
7 |
-
'MOIS': {'min_val': 1, 'max_val': 12},
|
8 |
-
'JOUR': {'min_val': 1, 'max_val': 31},
|
9 |
-
'HEURE': {'min_val': 0, 'max_val': 23},
|
10 |
-
}
|
11 |
-
|
12 |
-
def normalize_column(column, min_val, max_val):
|
13 |
-
return (column.astype('float64') - min_val) / (max_val - min_val)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|