nlp

nlp / LDA / 1.0.0

LDA

Royalty Free
LDA is a generative topic model extractor.
Language
Java
Metrics
API Calls - 2,027,402 Avg call duration - 1.67sec
Permissions
The Algorithm Platform License is the set of terms that are stated in the Software License section of the Algorithmia Application Developer and API License Agreement. It is intended to allow users to reserve as many rights as possible without limiting Algorithmia's ability to run it as a service. Learn More
This is necessary for algorithms that rely on external services, however it also implies that this algorithm is able to send your input data outside of the Algorithmia platform.

Run an Example

Input
Output
[
  {
    "science": 1,
    "machine": 1
  },
  {
    "future": 1
  },
  {
    "taking": 1,
    "demand": 1,
    "human": 1,
    "students": 1,
    "takeover": 1,
    "names": 1,
    "computer": 1,
    "superintelligent": 1
  },
  {
    "rise": 1,
    "machines": 1,
    "overlords": 1
  }
]

Install and Use

Install

Install the Algorithmia CLI client by running:

curl -sSLf https://algorithmia.com/install.sh | sh

Then authenticate by running:

$ algo auth
# When prompted for api endpoint, hit enter
# When prompted for API key, enter your key: YOUR_API_KEY
CLI Install Docs

Use



    algo run nlp/LDA/1.0.0 -d '{
  "docsList": [
    "machine intelligence is the future",
    "computer science students are in demand and they know it",
    "I for one welcome our new machine overlords",
    "the machines are taking over, and they’ve even got human names",
    "superintelligent AI will takeover and rise"
  ],
  "mode": "quality"
}' --timeout 300
  
CLI Docs