I understand it is vague but I am still in the learning process. I am trying to create a MLRecommender. I am inputting the datable, user column and item column but when I run the application to create a .ml file I get this error:
let recommender = try MLRecommender(trainingData: dataTable, userColumn: "id", itemColumn: "priority")
▿ Item IDs in the recommender model must be numbered 0, 1, ..., num_items - 1. ▿ generic : 1 element - reason : "Item IDs in the recommender model must be numbered 0, 1, ..., num_items - 1."
I have been changing the bolded values and I even added an id section to my datable and have not yet found anything to fix it. Thank you for your time. here is my datable |MoviesTitles-(String)|Genre-(String)|FeaturedIn-(String)|id(Int)|