Giter Club home page Giter Club logo

alike's People

Contributors

constantx avatar flockonus avatar mck- avatar mhahmadi avatar pierrebeugnot avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

alike's Issues

Improve README.md example

Saw your library on HN. Looks useful. Quick very minor suggestion: you say:

Where movies is an array of objects that have at least those 5 attributes. Returns the top
10 movies from the array. 

You should fill out this example with that sample data in movies so we could see it actually work. It wouldn't add much bloat to the README file and would lead to a much fuller understanding of the behavior of the library.

Thanks for making this available,
t

Subject should be taken into account for calculation of stdv

consider this example:

subject = {proximity: 1, updated_time: 0};
objects = [
  {proximity: 0.9, updated_time: 1413345215},
  {proximity: 0.7, updated_time: 1413345115}
];

if subject is not used in calculation of the stdv the distances of objects from the subject will be skewed by dimensions that have consistently larger values with respect to those of the subject.
according to here when calculating the distances in a sample, all members of the sample are used to calculate the stdv

Returning array index of matched neighbours

Hi,

Thank you for your work and interesting library! My question is:
Is it possoble to get index of matched neighbours instead of array of matched attributes?

Based on README example I would like to get index (id) of a movie(s) insetad of listed attributes.

Many thanks,
Tomek

Update NPM package

I was trying to use the debug option but it doesn't exist. Looks like the NPM package is out of date and doesn't include the commit. Would be great if it was updated.

Accuracy returned in response

Great stuff in addition to the look-alike module. I was wondering would it be possible to return the accuracy/match for results?

thanks

Alike could accept a debug option

@mck-
I've found it on many occasions very useful to have a "debug" option that if set to true would return distances along with the results. it helps with understanding why an object is ranked the way it's ranked when debugging. also in some cases user may need the actual distances as well as the ranking.

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.