The algorithms a recommender can use to make recommendations.
SDKs
- macOS 10.14+
- Xcode 11.0+
Framework
- Create ML
Declaration
enum MLRecommender.ModelAlgorithmType
The algorithms a recommender can use to make recommendations.
SDKs
Framework
enum MLRecommender.ModelAlgorithmType
case item Similarity(MLRecommender .Similarity Type)
An algorithm that compares the similarity from item to item.
enum MLRecommender .Similarity Type
The metric by which the recommender computes item similarity.
var description: String
A text representation of the recommender algorithm.
var debug Description: String
A text representation of the recommender algorithm that’s suitable for output during debugging.
var playground Description: Any
A description of the recommender algorithm shown in a playground.
init(algorithm: MLRecommender .Model Algorithm Type, threshold: Double, max Count: Int, nearest Items: MLData Table?, max Similarity Iterations: Int)
Creates a new set of recommender configuration parameters.