Skip to content

Commit

Permalink
rectifying misplaced variable during verbose printing of metrics
Browse files Browse the repository at this point in the history
  • Loading branch information
jeffersonfparil committed Jul 26, 2024
1 parent 8f5c45c commit 42c14aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/metrics.R
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ fn_prediction_performance_metrics = function(y_true, y_pred, verbose=FALSE) {
print(paste0("Mean absolute error (mae) = ", mae))
print(paste0("Root mean square error (rmse) = ", rmse))
print(paste0("Coefficient of determination (r2) = ", r2))
print(paste0("Power to identify top 10 (power_t10) = ", mbe))
print(paste0("Power to identify top 10 (power_t10) = ", power_t10))
print(paste0("Power to identify bottom 10 (power_b10) = ", power_b10))
print(paste0("Pearson's correlation (corr) = ", corr))
print(paste0("Variance of predicted phenotypes (var_pred) = ", var_pred, " (estimator of additive genetic variance)"))
Expand Down

0 comments on commit 42c14aa

Please sign in to comment.