I hereby claim:
- I am reuben-sutton on github.
- I am reubensutton (https://keybase.io/reubensutton) on keybase.
- I have a public key ASC8hZrVL1rk2vXGfafaiFsRL7fxtVvmGRsCb88JgHkJdwo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
| ######## | |
| # Author: Henry Turner, Reuben Sutton | |
| # Project: to_string | |
| # Description: A speedy algorithm to convert a string to a string | |
| # License: MIT | |
| ######## | |
| def to_string | |
| # process the string | |
| new_string = "" | |
| this_string_converted_to_a_string = "#{self.to_s}" |
| /* | |
| * Object in scala for calculating cosine similarity | |
| * Reuben Sutton - 2012 | |
| * More information: http://en.wikipedia.org/wiki/Cosine_similarity | |
| */ | |
| object CosineSimilarity { | |
| /* | |
| * This method takes 2 equal length arrays of integers |