de-Rodrigo commited on
Commit
003c3e3
·
1 Parent(s): a873688

Recover White Background for PCA Reduction

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -1286,8 +1286,8 @@ def run_model(model_name):
1286
  )
1287
  # Transponer la matriz para alinear correctamente los ejes
1288
  # Transponer y limpiar valores inválidos (NaN, inf, -inf)
1289
- # heatmap_data = heat_stat.T
1290
- heatmap_data = np.nan_to_num(heat_stat.T, nan=0.0, posinf=0.0, neginf=0.0)
1291
 
1292
  # Definir el color mapper
1293
  if selected_feature in model_options:
 
1286
  )
1287
  # Transponer la matriz para alinear correctamente los ejes
1288
  # Transponer y limpiar valores inválidos (NaN, inf, -inf)
1289
+ heatmap_data = heat_stat.T
1290
+ # heatmap_data = np.nan_to_num(heat_stat.T, nan=0.0, posinf=0.0, neginf=0.0)
1291
 
1292
  # Definir el color mapper
1293
  if selected_feature in model_options: