MLIdentifier
A type the Create ML framework can use as a machine learning identifier.
Declaration
protocol MLIdentifierOverview
You can use any type that conforms to the MLIdentifier protocol, typically Int or String, to uniquely identify users and items in these MLRecommender methods:
recommendations(fromUsers:maxCount:restrictingToItems:excluding:excludingObserved:)