Day58: New feature

Posted by csiu on April 23, 2017 | with: 100daysofcode

As user specified arguments to the parameters of the script, it doesn’t make sense for users to specify an index to an arbitrary ordering for document0 (ie. the seed document to which the most similar documents are returned).

It’s like me asking you to pick a number and then responding with a colour. It makes no sense, especially when you don’t know the number-to-colour mappings.

New feature

In today’s post, I amend my script so that users specify the Kickstarter project ID (instead of using an arbitrary index) for getting document0.

The updated script is found here.