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

Private GIT Repository
Integrating historical features
[predictops.git] / predictops / engine.py
index dedd2652cdd9efc97eaf24d26c1d3bd66a1398ec..44ab9c4c08bc089fd53038f5cd84fe0b4d557ef1 100644 (file)
@@ -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