RSAModelUttKLDivParamCD4: Cost function for two parameter optimization for the...

Description Usage Arguments Details Value

View source: R/RSA_UttChoiceOptimization.R

Description

Full-RSA

Alpha and klValueFactor are optimized.

Softness and non-obedience are fixed at 0.

Usage

1

Arguments

params

Two value vector specifying two of the four parameters to be optimized:

  1. alpha: A parameter value between 0 and 1.

    Exponential scaling of the speaker choosing the utterance that maximizes the chance of the listener getting the target object right.

  2. klValueFactor: can be negative, zero or positive:

    zero

    Don't care about learning about feature preferences of the listener

    positive

    Care about learning about feature preferences of the listener

    negative

    Trying to pick non-ambiguous utterances

data

A matrix with data rows.

column structure: [1:OC1,OC2,OC3,4:numUttOptions,7-X:TurkerSliderValues]

1:OC1 Object 1. A value between 1 and 27.

2:OC2 Object 2. A value between 1 and 27.

3:OC3 Object 3. A value between 1 and 27.

4:numUttOptions The number of valid utterances in the scene.

7-X:TurkerSliderValues These columns contain the participants' slider values.

Details

This function uses RSAModelUttKLDiv_4params.

Value

Minimized Kullback-Leibler divergence and the optimal parameters.


haniaelkersh/rsa-publish-test documentation built on Jan. 31, 2021, 2:02 a.m.