RandomBestLeastRecentlyViewedSalienceStrategy

Class in Yarn.Saliency

Inherits from System.Object

Summary

A content saliency strategy that returns a random choice of the best, least-recently seen choices from the provided options.

public class RandomBestLeastRecentlyViewedSalienceStrategy : IContentSaliencyStrategy

Remarks

This strategy stores information about the number of times each piece of content has been seen in the provided Yarn.Saliency.RandomBestLeastRecentlyViewedSalienceStrategy.VariableStorage .

Constructors

Methods

Name
Description

Called by Yarn Spinner to indicate that a piece of salient content has been selected, and this system should update any state related to how it selects content.

Chooses an item from content that is the most appropriate (or salient ) for the user's current context.

Last updated

Yarn Spinnerยฎ and Secret Labยฎ are trade marks of Secret Lab Pty. Ltd., and are used by Yarn Spinner Pty. Ltd. under license.