Skip to content

Conversation

@Michaeltym
Copy link

Change the findMostSimilar method to return the 5 most similar objects

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you don't need a new array variable just change result to an array and check the length. You're overcomplicating things by introducing another variable.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants