README.md in ngt-0.2.4 vs README.md in ngt-0.3.0
- old
+ new
@@ -10,10 +10,16 @@
```ruby
gem 'ngt'
```
+On Mac, also install OpenMP:
+
+```sh
+brew install libomp
+```
+
NGT is not available for Windows
## Getting Started
Prep your data
@@ -116,10 +122,10 @@
```ruby
Ngt::Index.new(dimensions,
edge_size_for_creation: 10,
edge_size_for_search: 40,
object_type: :float, # :float, :integer
- distance_type: :l2, # :l1, :l2, :hamming, :angle, :cosine, or :jaccard
+ distance_type: :l2, # :l1, :l2, :hamming, :angle, :cosine, :normalized_angle, :normalized_cosine, :jaccard
path: nil
)
```
## Optimizer Options