Keyword Set Similarity

Determines similarity between sets of weighted keywords

Algorithmia Platform License · Calls Other Algorithms

Run an Example

{
  "zoo3": [
    "zoo2",
    "zoo6"
  ],
  "zoo2": [
    "zoo7"
  ],
  "zoo5": [
    "zoo4",
    "zoo6"
  ],
  "zoo4": [
    "zoo5",
    "zoo6"
  ],
  "zoo7": [
    "zoo2",
    "zoo1"
  ],
  "zoo6": [
    "zoo5",
    "zoo4"
  ],
  "zoo1": [
    "zoo2",
    "zoo7"
  ]
}

Install & Use

Use

curl -X POST -d '[{"zoo3":{"capybara":1.5,"moose":2.4,"dog":1.01},"zoo2":{"capybara":1.5,"cat":2.01,"dog":1.3},"zoo5":{"snake":2.5,"starfish":1.02,"badger":1.5},"zoo4":{"capybara":1.5,"snake":2.5,"starfish":1.02},"zoo7":{"hamster":1.5,"cat":2.2,"dog":1.1},"zoo6":{"snake":2.5,"moose":1.02,"badger":1.5},"zoo1":{"hamster":1.5,"cat":2.2,"dog":1.1}},2]' -H 'Content-Type: application/json' -H 'Authorization: Simple YOUR_API_KEY' https://api.algorithmia.com/v1/algo/nlp/KeywordSetSimilarity/0.1.4