GithubHelp home page GithubHelp logo

bvallelunga / example-app-companion-words Goto Github PK

View Code? Open in Web Editor NEW
2.0 2.0 0.0 58 KB

A Doppler machine learning app that will tell you which words are most similar to each other.

Home Page: https://doppler.market/apps/similar-words

License: Apache License 2.0

OpenEdge ABL 1.50% Python 98.50%

example-app-companion-words's People

Contributors

bvallelunga avatar jay-karimi avatar

Stargazers

 avatar

Watchers

 avatar  avatar

example-app-companion-words's Issues

Add Limit Input

It would be cool if you could pass in a limit. Like by default we will give you the top ten results. We could also cap the limit to 100.

limit = 10

if "limit" in input:
  try:
      input_limit = int(input["limit"])
      limit = max(1, min(input_limit, 100))
  
  except ValueError:
      throw Error("Invalid limit provided. Please have a range from 1-100")

Add Score to Output

Would it be possible to add the score of how strong the relationship is?

{
  "similar_words": {
    "blue": [
      { "label": "red",  "score": 0.9 },
      { "label": "green",  "score": 0.75 }
    ],
  }
}

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.