Skip to contents

Linear model f(x) = wx + b (Burkov Eq 1.1)

Usage

morie_burkov_linear_function(x, w, b)

Arguments

x

Feature values.

w

Weight.

b

Bias.

Value

List with predictions.

Examples

if (morie_crypto_liboqs_available()) {
  morie_burkov_linear_function(x = c(1, 2, 3, 4, 5, 6, 7, 8), w = c(1, 2, 3, 4, 5, 6, 7, 8), b = 5L)
}