SimpleRSAModelUttKLDivFTFParamB.2: Feature Type Focus: Cost function for one parameter...

Description Usage Arguments Details Value

View source: R/SRSA_UttChoiceOptimization_FeatureTypeFocus.R

Description

Simple RSA

Non-obedience is optimized.

Softness is fixed at 0.2. klValueFactor is fixed at 1.

Usage

1

Arguments

par

One value vector specifying one of the three parameters to be optimized.

  1. non-obedience: This parameter determines the extent to which the instruction of the speaker is obeyed by the listener.

    (0 = full obedience, infinity = full instruction ignorance).

    Example:

    0: Listener always picks red objects following the utterance "red".

    infinity: Listener as likely to pick green, blue or red objects even if the utterance is "red".

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 SimpleRSAModelUttKLDiv_3paramsFTF.

Value

Minimized Kullback-Leibler divergence and the optimal parameters.


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