X-Git-Url: https://bilbo.iut-bm.univ-fcomte.fr/and/gitweb/predictops.git/blobdiff_plain/1eeee0f8e0d074a2b4453ef5e9f880189d89a64f..2c5695839a5064f584ffeaba557020ab3270b7b9:/main.py?ds=sidebyside diff --git a/main.py b/main.py index 426d3b5..9e35b2d 100644 --- a/main.py +++ b/main.py @@ -1,5 +1,6 @@ from predictops.engine import Engine from predictops.learn.preprocessing import Preprocessing +from predictops.target.all import All from predictops.target.toarea import ToArea from logging import getLogger @@ -24,6 +25,11 @@ if __name__ == '__main__': #print(engine.X[datetime.strptime('06/30/2010 21:00:00', '%m/%d/%Y %H:%M:%S')]) print(process.dataframe.head(n=20)) print(process.dataframe.tail(n=20)) + + + target = All(stream_file = Path.cwd() / 'data' / 'targets' / 'sdis25' / 'interventions.csv') + + exit() depts = gpd.read_file( Path.cwd() / 'data' / 'targets' / 'departments' / "departements-20180101.shp")