The algorithms a recommender can use to make recommendations.


enum MLRecommender.ModelAlgorithmType


Recommender Algorithms

case itemSimilarity(MLRecommender.SimilarityType)

An algorithm that compares the similarity from item to item.

enum MLRecommender.SimilarityType

The metric by which the recommender computes item similarity.

Algorithm Descriptions

var description: String

A text representation of the recommender algorithm.

var debugDescription: String

A text representation of the recommender algorithm that’s suitable for output during debugging.

var playgroundDescription: Any

A description of the recommender algorithm shown in a playground.