TODO: Write a gem description
Add this line to your application's Gemfile:
gem 'statly'
And then execute:
$ bundle
Or install it yourself as:
$ gem install statly
There are (will be) an array of different similarity classes you can use:
ids_a = [1, 2, 3, 4]
ids_b = [1, 2, 4]
Statly::Similarity::Jaccard.coefficient(ids_a, ids_b) # => 0.75- Fork it
- Create your feature branch (
git checkout -b my-new-feature) - Commit your changes (
git commit -am 'Add some feature') - Push to the branch (
git push origin my-new-feature) - Create new Pull Request