package core_bench

  1. Overview
  2. Docs
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

Module Core_bench_internals.Linear_algebra_wrapperSource

A module internal to Core_bench. Please look at Bench.

Convert measurement and analysis specifications to Linear_algebra calls.

Sourceval ols : Measurement.t -> resp:Variable.t -> preds:Variable.t array -> float array Core.Or_error.t

Returns an error if the set of measurements is empty or if the regression fails.

Sourceval r_square : Measurement.t -> resp:Variable.t -> preds:Variable.t array -> coeffs:float array -> float
Sourceval bootstrap : trials:int -> Measurement.t -> resp:Variable.t -> preds:Variable.t array -> Analysis_result.Ci95.t array Core.Or_error.t