]> AND Private Git Repository - predictops.git/blobdiff - main.py
Logo AND Algorithmique Numérique Distribuée

Private GIT Repository
Integrating historical features
[predictops.git] / main.py
diff --git a/main.py b/main.py
index d1d7f9c24721819d8e9d0a39eb50a1eb52546e47..cf8fe81d13940c996d9abb1344c9a296d6f199f1 100644 (file)
--- a/main.py
+++ b/main.py
@@ -1,5 +1,4 @@
 from predictops.engine import Engine
-from predictops.learn.preprocessing import Preprocessing
 
 from logging import getLogger
 from logging.config import fileConfig
@@ -17,10 +16,8 @@ if __name__ == '__main__':
     engine.add_features()
     engine.add_target()
 
-    process = Preprocessing(config_file = config, dict_features = engine.X)
+    engine.add_preprocessing()
 
-    print(process.dataframe.head(n=20))
-    print(process.dataframe.tail(n=20))
 
     '''target = toarea(stream_file = Path.cwd() / 'data' / 'targets' / 'sdis25' / 'interventions.csv')