SimpleRSAModelUttKLDivParamA_iterative: Cost function for one parameter optimization for the...

Description Usage Arguments Details Value

View source: R/SRSA_UttChoiceOptimization_iterative.R

Description

Simple RSA

Softness is optimized.

Non-obedience is fixed at 0. klValueFactor is fixed at 1.

Usage

1

Arguments

par

One value vector, which specifies one of three parameters to be optimized:

  1. softPrefValue: A parameter value between [0,infinity) (The larger the value the higher the tendency towards uniform liking).

    Value reflects how categorical the listener's preferences are:

    0: The listener always picks her preferred object.

    If the listener prefers red objects, she will always pick the red object in the scene.

    infinity: It is as likely for the listener to pick green, blue or red objects.

data

A matrix with data rows.

column structure: [1:OC1,OC2,OC3,4:numUttOptions,6: picked utterance]

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.

6: picked utterance The utterance picked by the participant.

Details

This is the iterative version of SimpleRSAModelUttKLDivParamA.

This function uses SimpleRSAModelUttKLDiv_3params_iterative.

Value

Minimized Kullback-Leibler divergence and the optimal parameters.


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