tr_add: Training Matrix filler

Description Usage Arguments Value

Description

Add trials to an initialized tr object.

Usage

1
2
tr_add(inputs, tr, labels = NULL, blocks = 1, ctrl = 2, shuffle = FALSE,
  reset = FALSE)

Arguments

inputs

Matrix of feature values for each item

tr

Initialized trial object

labels

Integer class labels for each input. Default NULL

blocks

Integer number of repetitions. Default 1

ctrl

Integer control parameter, applying to all inputs. Default 2

  • 0 Run model and train

  • 1 Re-initialize model

  • 2 Test model (no training)

shuffle

Boolean, shuffle each block. Default FALSE

reset

Boolean, reset state on first trial (ctrl = 1). Default FALSE

Value

An updated dataframe


ghonk/catlearn.suppls documentation built on May 3, 2019, 5:16 p.m.