Dating Algorithm

A dating algorithm

Algorithmia Platform License · Calls Other Algorithms

This algorithm has permission to call other algorithms.

This allows an algorithm to compose sophisticated functionality using other algorithms as building blocks, however it also carries the potential of incurring additional royalty and usage costs from any algorithm that it calls.

Run an Example

{
  "Bob the Average Guy": "Kate the Teacher",
  "Beowulf the Conquerer": "Maria the Engineer",
  "Steve the Programmer": "Julia the Jukebox",
  "Paul the Extrovert": "Hannah the Model",
  "Vincent the Romantic": "Jules the Hipster",
  "James the Sports Guy": "Natalie the Lawyer",
  "Mike the Gamer": "Hale the Chef",
  "Alan the Writer": "Ana the Artist",
  "Tom the Family Guy": "Chelsea the Bookworm",
  "Kyle the Foodie": "Laea the Space Pirate"
}

Install & Use

Use

curl -X POST -d '{
    "scoring_weights": {
      "interests": 1.5,
      "values": 7.5,
      "age": 0.65,
      "coordinates": 0.015
    },
    "group1": [
    {
        "name": "Beowulf the Conquerer",
        "interests": [
            "reading",
            "running",
            "chilling",
            "coding",
            "seattle",
            "coffee",
            "tea",
            "bilingual",
            "food",
            "arrested development",
            "the office",
            "parc and rec",
            "rick and morty"
        ],
        "values": [
            "humanism"
        ],
        "age": "22",
        "coordinates": {
            "lat": 47.599088077746394,
            "long": -122.3339125374332
        }
    },
    {
        "name": "Paul the Extrovert",
        "interests": [
            "hiking",
            "skiing",
            "coffee",
            "traveling"
        ],
        "values": [
            "adventure"
        ],
        "age": "26",
        "coordinates": {
            "lat": 47.599088077746394,
            "long": -122.3339125374332
        }
    },
    {
        "name": "Tom the Family Guy",
        "interests": [
            "reading",
            "writing",
            "coffee",
            "binge watching",
            "netflix"
        ],
        "values": [
            "family"
        ],
        "age": "32",
        "coordinates": {
            "lat": 47.599088077746394,
            "long": -122.3339125374332
        }
    },
    {
        "name": "Mike the Gamer",
        "interests": [
            "xbox",
            "gaming",
            "beer",
            "cs:go",
            "playstation"
        ],
        "values": [
            "lag kills"
        ],
        "age": "17",
        "coordinates": {
            "lat": 47.599088077746394,
            "long": -122.3339125374332
        }
    },
    {
        "name": "Bob the Average Guy",
        "interests": [
            "reading",
            "beer",
            "gaming",
            "tea"
        ],
        "values": [
            "family",
            "religion"
        ],
        "age": "35",
        "coordinates": {
            "lat": 47.599088077746394,
            "long": -122.3339125374332
        }
    },
    {
        "name": "James the Sports Guy",
        "interests": [
            "cycling",
            "running",
            "walking",
            "basketball",
            "traveling"
        ],
        "values": [
            "individuality"
        ],
        "age": "29",
        "coordinates": {
            "lat": 47.599088077746394,
            "long": -122.3339125374332
        }
    },
    {
        "name": "Alan the Writer",
        "interests": [
            "books",
            "reading",
            "writing",
            "coffee",
            "sleeping",
            "Running"
        ],
        "values": [
            "spirituality"
        ],
        "age": "32",
        "coordinates": {
            "lat": 47.599088077746394,
            "long": -122.3339125374332
        }
    }
    ,{
        "name": "Steve the Programmer",
        "interests": [
            "programming",
            "artificial intelligence",
            "computers",
            "coffee",
            "cycling",
            "poetry"
        ],
        "values": [
            "individuality",
            "freedom of speech"
        ],
        "age": "25",
        "coordinates": {
            "lat": 47.599088077746394,
            "long": -122.3339125374332
        }
    },
    {
        "name": "Kyle the Foodie",
        "interests": [
            "italian food",
            "thai food",
            "chinese food",
            "waffles",
            "coffee",
            "tea"
        ],
        "values": [
            "good food"
        ],
        "age": "37",
        "coordinates": {
            "lat": 47.599088077746394,
            "long": -122.3339125374332
        }
    },
    {
        "name": "Vincent the Romantic",
        "interests": [
            "surfing",
            "poetry",
            "romantic comedies",
            "coffee",
            "long walks",
            "candles"
        ],
        "values": [
            "love",
            "relationships"
        ],
        "age": "26",
        "coordinates": {
            "lat": 47.599088077746394,
            "long": -122.3339125374332
        }
    }
],
    "group2": [
    {
        "name": "Julia the Jukebox",
        "interests": [
            "music",
            "rock",
            "coffee",
            "guitar hero"
        ],
        "values": [
            "individuality"
        ],
        "age": "22",
        "coordinates": {
            "lat": 47.62446091996251,
            "long": -122.32016064226627
        }
    },
    {
        "name": "Chelsea the Bookworm",
        "interests": [
            "reading",
            "writing",
            "classics",
            "coffee",
            "walking"
        ],
        "values": [
            "family",
            "love"
        ],
        "age": "26",
        "coordinates": {
            "lat": 47.62446091996251,
            "long": -122.32016064226627
    }
    },
    {
        "name": "Ana the Artist",
        "interests": [
            "drawing",
            "art",
            "music",
            "classical music",
            "tea",
            "running"
        ],
        "values": [
            "post-modernism",
            "beauty"
        ],
        "age": "32",
        "coordinates": {
            "lat": 47.62446091996251,
            "long": -122.32016064226627
    }
    },
    {
        "name": "Laea the Space Pirate",
        "interests": [
            "coffee",
            "pirating",
            "traveling",
            "netflix"
        ],
        "values": [
            "vegetarianism",
            "individuality"
        ],
        "age": "39",
        "coordinates": {
            "lat": 47.62446091996251,
            "long": -122.32016064226627
    }
    },
    {
        "name": "Jules the Hipster",
        "interests": [
            "Scruffy Beards",
            "coffee",
            "tumblr",
            "postmodern art"
        ],
        "values": [
            "individuality",
            "relationships"
        ],
        "age": "21",
        "coordinates": {
            "lat": 47.62446091996251,
            "long": -122.32016064226627
    }
    },
    {
        "name": "Hale the Chef",
        "interests": [
            "food",
            "cooking",
            "tea",
            "microbrewery",
            "turkish cuisine"
        ],
        "values": [
            "family",
            "love"
        ],
        "age": "29",
        "coordinates": {
            "lat": 47.62446091996251,
            "long": -122.32016064226627
    }
    },
    {
        "name": "Natalie the Lawyer",
        "interests": [
            "law",
            "bird law",
            "coffee",
            "running"
        ],
        "values": [
            "love",
            "individuality"
        ],
        "age": "33",
        "coordinates": {
            "lat": 47.62446091996251,
            "long": -122.32016064226627
    }
    },
    {
        "name": "Kate the Teacher",
        "interests": [
            "education",
            "kids",
            "iced tea",
            "apple pie",
            "science"
        ],
        "values": [
            "individuality",
            "scepticism"
        ],
        "age": "32",
        "coordinates": {
            "lat": 47.62446091996251,
            "long": -122.32016064226627
    }
    },
    {
        "name": "Maria the Engineer",
        "interests": [
            "science",
            "tech",
            "engineering",
            "hackathons",
            "coffee",
            "running"
        ],
        "values": [
            "individuality",
            "free speech",
            "activism"
        ],
        "age": "22",
        "coordinates": {
            "lat": 47.62446091996251,
            "long": -122.32016064226627
    }
    },
    {
        "name": "Hannah the Model",
        "interests": [
            "fashion",
            "paris",
            "france",
            "tea",
            "traveling"
        ],
        "values": [
            "love",
            "art"
        ],
        "age": "24",
        "coordinates": {
            "lat": 47.62446091996251,
            "long": -122.32016064226627
        }
    }
]
}' -H 'Content-Type: application/json' -H 'Authorization: Simple YOUR_API_KEY' https://api.algorithmia.com/v1/algo/matching/DatingAlgorithm/0.1.3