waleko commited on
Commit
f62acd5
1 Parent(s): d0d2b4b

debug hf space probs

Browse files
Files changed (2) hide show
  1. .gitattributes +2 -0
  2. app.py +1 -0
.gitattributes CHANGED
@@ -33,3 +33,5 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
 
 
 
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
36
+ *.csv filter=lfs diff=lfs merge=lfs -text
37
+ *.cbm filter=lfs diff=lfs merge=lfs -text
app.py CHANGED
@@ -139,6 +139,7 @@ weather_file = 'hourly_data.csv'
139
  shap_importance_file = 'shap_importance.csv'
140
  weather = pd.read_csv(weather_file)
141
  shap_importance_df = pd.read_csv(shap_importance_file)
 
142
  top_features = shap_importance_df['Feature'].head(25).values
143
  catboost = CatBoostClassifier().load_model('catboost_model.cbm')
144
  scaler = pickle.load(open('scaler.pkl', 'rb'))
 
139
  shap_importance_file = 'shap_importance.csv'
140
  weather = pd.read_csv(weather_file)
141
  shap_importance_df = pd.read_csv(shap_importance_file)
142
+ print(shap_importance_df.head())
143
  top_features = shap_importance_df['Feature'].head(25).values
144
  catboost = CatBoostClassifier().load_model('catboost_model.cbm')
145
  scaler = pickle.load(open('scaler.pkl', 'rb'))