ag update

This commit is contained in:
2024-04-09 16:00:50 +02:00
parent 08c5f672be
commit eee15d3714
5 changed files with 20 additions and 3 deletions

View File

@@ -2,7 +2,7 @@ processing:
skiarea_test: 'Klausberg' ##you can put it to None
season_test_skiarea : 'Kronplatz' ##you can put it to None
season_test_year: 2023 ##you can put it to None
weight_type: 'sqrt'
weight_type: 'sum'
use_small: True ## condensate underrepresented classes (no destination!)
reload_data: False
use_smote: False ##I don't like to use it, leave to False

View File

@@ -96,6 +96,7 @@ def retrive_data(reload_data:bool,threshold_under_represented:float,path:str)->(
#import pdb
#pdb.set_trace()
df = df[df.year>2011]
df = df[df.year>2015] ##maby better?
## these columns can lead to overfit!
df.drop(columns=['dateandtime','skiarea_id','day_of_year','minute_of_day','year'], inplace=True)