X-Git-Url: https://bilbo.iut-bm.univ-fcomte.fr/and/gitweb/predictops.git/blobdiff_plain/f5357178353432c5431fc0fd875b9928a326e4c7..661ece8c54b20d4c559e5f73616cc213f8c4f6b7:/main.py?ds=inline diff --git a/main.py b/main.py index d1d7f9c..27f502a 100644 --- 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,9 @@ 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)) + engine.learn() '''target = toarea(stream_file = Path.cwd() / 'data' / 'targets' / 'sdis25' / 'interventions.csv')