X-Git-Url: https://bilbo.iut-bm.univ-fcomte.fr/and/gitweb/predictops.git/blobdiff_plain/f5357178353432c5431fc0fd875b9928a326e4c7..fbeb0a86f1d3efc96263a81981b0a059d93fa4f5:/predictops/engine.py diff --git a/predictops/engine.py b/predictops/engine.py index dedd265..44ab9c4 100644 --- a/predictops/engine.py +++ b/predictops/engine.py @@ -7,6 +7,7 @@ from shutil import rmtree from .source.ephemeris import Ephemeris from .source.meteofrance import MeteoFrance +from .learn.preprocessing import Preprocessing from .target.target import Target fileConfig((Path.cwd() / 'config') / 'logging.cfg') @@ -71,6 +72,14 @@ class Engine: timestep = self._timestep) + def add_preprocessing(self): + process = Preprocessing(config_file = self._config, + dict_features = self.X, + dict_target = self.y) + print(process.dataframe.head(n=2)) + + + @property def X(self): return self._X