SimpleRSAModelUttKLDiv_3params_independent: Main cost function for three parameter optimization for the...

Description Usage Arguments Details Value

View source: R/SRSA_UttChoiceOptimization_iterative.R

Description

Simple RSA

Actual RSA model Kullback-Leibler divergence determination for utterance choice experiments.

Softness, non-obedience and klValueFactor are optimized.

Usage

1

Arguments

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.

par1
softness parameter

Specifies how much actual feature priorities come into play in the object choice (The larger the higher the tendency towards uniform liking).

par2
non-obedience parameter

The extent to which the instruction of the speaker is obeyed by the listener. (0 = full obedience, infinity = full instruction ignorance).

par3
klValueFactor

A parameter that can be negative, 0 or positive:

zero

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

positive

Care about learning about the feature preferences of the listener

negative

Trying to pick non-ambiguous utterances

Details

This function uses getSimpleBestInfGainUttPreferencesIterative.

This function is used in

SimpleRSAModelUttKLDivParamA_independent,

SimpleRSAModelUttKLDivParamB_independent,

SimpleRSAModelUttKLDivParamK_independent,

SimpleRSAModelUttKLDivParamBK_independent,

SimpleRSAModelUttKLDivParamAK_independent,

SimpleRSAModelUttKLDivParamAK.2_independent,

SimpleRSAModelUttKLDivParamA.2_independent,

SimpleRSAModelUttKLDivParamB.2_independent,

SimpleRSAModelUttKLDivParamK.2.2_independent,

SimpleRSAModelUttKLDivParamK.2.0_independent,

SimpleRSAModelUttKLDivParamBK.2_independent,

SimpleRSAModelUttKLDivParamAB_independent,

SimpleRSAModelUttKLDivParamABK_independent.

Value

Minimized Kullback-Leibler divergence and the optimal parameters.


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