RecandChat / CodeCompass

A Repository chatbot and Recommendation system for Github users.
MIT License
51 stars 13 forks source link

Modify model #86

Closed mirandadrummond closed 7 months ago

mirandadrummond commented 7 months ago

Adding ipynb of our KNN and cosine similarity model.

KTsula commented 7 months ago

I agree with Felix, it's better to use the cosine_similarity_model.py and just tweak the function so that it takes as an argument (by default set to false) if it should return similarity or dissimilarity. (basically that would only change how you sort the recommendations, ascending or descending).

felixggj commented 7 months ago

Thanks! Also saw there is an error in the file ´knn.ipynb´, seems to be an issue with retrieving the data from Google Drive. ideally we should have all cells executed for the professor to see the outputs.