test: Test

Description Usage Arguments Details Value Functions

Description

Effects of Testing on un-encoded features and thresholds

Usage

1
2
3
4
5
test(...)

test_beta(mem, nFeatures, thresh, acc, LR, TR, FR = NULL)

test_binomial(mem, nFeatures, thresh, acc, LR, TR, FR = NULL)

Arguments

...

Arugments passed to approriate functions based on type-checking. See details.

mem

Matrix of memory strengths.

nFeatures

Number of features the memory for each item has

thresh

Matrix of memory thresholds. Threshold is the number of active features needed to support pattern completetion

acc

Logical matrix of performance for previous test

LR

Learning Rate. Gives the probability of learning a new features through practice

TR

Threshold Reduction rate. Describes the probability of removing the need for a remembering a particular feature following successfull recall

FR

Forgetting Rate. Gives the probability of forgetting a feature

thresh

Matrix of memory thresholds. Threshold is the number of active features needed to support pattern completetion. Must hold integer values.

acc

Logical matrix of performance for previous test

TR

Threshold Reduction rate. Describes the probability of removing the need for a remembering a particular feature following successfull recall

Details

test is a conveince function, and will attempt to type-check the codemem matrix to call the appropriate function (test_beta for doubles, test_binomial for integers).

test_beta and test_binomial can (and should) be called directly though, especially when fitting models and computational time matters. See Functions section for more details.

Value

List of two matrices. mem is a matrix of memory strengths following succcesful recall. thresh is a matrix of feature thresholds following succesful recall.

Functions


wjhopper/PCR documentation built on May 4, 2019, 7:33 a.m.