determineSpeakerPostListPrefsSimpleRSA: Determine speaker's inference of the posterior listener...

Description Usage Arguments Value

View source: R/SRSA_StratUttOptimization.R

Description

Simple RSA

This function calculates the speaker's posterior guess of the feature value preferences of the listener. That means how the speaker infers the preferences of the listener based on the object choice.

Usage

1
2
3
4
5
6
determineSpeakerPostListPrefsSimpleRSA(
  currentObjects,
  featureUtt,
  softPrefValue,
  notObeyInst
)

Arguments

currentObjects

A vector of three values in {1,...,27} specifying the target and the other two objects in the scene.

The target is the first object in the vector (index = 1).

featureUtt

One of the values {1,2,3} specifying which feature is uttered (i.e. shape = 1 / texture = 2 / or color = 3).

softPrefValue

A parameter value between [0,infinity) (The larger 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.

notObeyInst

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

Value

A vector of length 9. It contains the speaker's inference of the feature value preferences of the listener.


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