gazepoint_regression_metrics: Regression metrics

View source: R/performance-metrics.R

gazepoint_regression_metricsR Documentation

Regression metrics

Description

Regression metrics

Usage

gazepoint_regression_metrics(truth, prediction)

Arguments

truth

Observed numeric outcome values.

prediction

Predicted numeric outcome values.

Value

A one-row data frame containing the sample size, RMSE, MAE, R-squared value, and prediction correlation.

Examples

truth <- c(1.0, 2.0, 3.0, 4.0, 5.0)
prediction <- c(1.1, 1.8, 3.2, 3.9, 4.8)
gazepoint_regression_metrics(truth, prediction)

gp3ml documentation built on Aug. 23, 2026, 5:11 p.m.