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.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software