DiversityConfig

Configuration that controls diversity of recommendation results by capping the representation of specified item columns.

Types

Link copied to clipboard
class Builder
Link copied to clipboard
object Companion

Properties

Link copied to clipboard

A list of up to two diversity columns. Each column defines a cap on the number or percentage of recommended items that share the same value for that column.

Functions

Link copied to clipboard
inline fun copy(block: DiversityConfig.Builder.() -> Unit = {}): DiversityConfig
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String