Skip to content

Instantly share code, notes, and snippets.

@GabsGear
Created April 15, 2019 15:45
Show Gist options
  • Save GabsGear/293c7f5f556b06585a7703b946b422db to your computer and use it in GitHub Desktop.
Save GabsGear/293c7f5f556b06585a7703b946b422db to your computer and use it in GitHub Desktop.
knn = KNNBasic(sim_options={
'name': 'cosine',
'user_based': False })
knn.train(trainingSet)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment