bm: Benchmark function to run a given FUN on a set of synthetic...

View source: R/bm.R

bmR Documentation

Benchmark function to run a given FUN on a set of synthetic datasets generated by ExaGeoStatR

Description

Benchmark function to run a given FUN on a set of synthetic datasets generated by ExaGeoStatR

Usage

bm(
  FUN,
  dmetric = "euclidean",
  n = 400,
  min_seed = 0,
  max_seed = 9,
  ts = 320,
  lts = 0,
  ncores = 4,
  ngpus = 0,
  pgrid = 1,
  qgrid = 1
)

Arguments

FUN:

A predefined function to perform both modeling and prediction operations

dmetric:

A string - distance metric - "euclidean" or "great_circle"

n:

An integer - numer of spatial locations

min_seed:

An integer - initial seed to generate the synthetic datasets

max_seed:

An integer - last seed to generate the synthetic datasets

ncores:

An integer - numer of CPU cores to use

ngpus:

An integer - numer of GPUs to use

Value

a list of prediction errors (MSE_vec, RMSE_vec, MAE_vec, MSLE_vec)


ecrc/exageostatR documentation built on June 9, 2025, 9:06 p.m.