Skip to content

Commit

Permalink
RF: Removed unused 'pval' from modelling
Browse files Browse the repository at this point in the history
  • Loading branch information
itellaetxe committed Sep 17, 2024
1 parent 1646ad3 commit 36c667b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ageml/modelling.py
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,7 @@ def calculate_metrics(self, y_true, y_pred):
MAE = metrics.mean_absolute_error(y_true, y_pred)
rmse = metrics.mean_squared_error(y_true, y_pred, squared=False)
r2 = metrics.r2_score(y_true, y_pred)
p, pval = stats.pearsonr(y_true, y_pred)
p, _ = stats.pearsonr(y_true, y_pred)
return MAE, rmse, r2, p

def summary_metrics(self, array):
Expand Down

0 comments on commit 36c667b

Please sign in to comment.