Giter Club home page Giter Club logo

normalized-searchengine-index-distance's Introduction

Normalized Searchengine Index Distance

Normalized Searchengine Index Distance (NSID), also called Normalized Web Distance (NWD), is a simple generalization of Normalized Google Distance based on the paper Automatic meaning discovery using Google [pdf]. Normalized Google Distance is derived from Normalized Compression Distance, which is derived from Normalized Information Distance, which in turn is derived from the principles of Kolmogorov Complexity.

Machine learning techniques like random forests and SVM's are used to classify, cluster, auto-translate and more.

Searchengine Indexes supported at the moment are Hackernews search and Wikipedia search, but any sufficiently large searchengine index would suffice, provided it returns the number of results found for terms.

The collection of files here is to research NSID globally, and specifically how specialized searchengine indexes influence distances.

##randomforestclassifier.py## ###Description### Predicts semantic relationships between a term and a trainingset, storing them in first-order logic. Currently trained to predict semantic relation to "colors", fed with data from the Hackernews Search API (HN Search). ###Dependancies### urllib2, json, math, numpy, sklearn. ###Sample output### semantic_relation(crimson,colors)[0.23] semantic_relation(rose,colors)[0.21] semantic_relation(tangerine,colors)[0.41] semantic_relation(grey,colors)[0.78] semantic_relation(pastel,colors)[0.48] semantic_relation(design,colors)[0.08] semantic_relation(colors,colors)[0.83] semantic_relation(white,colors)[0.8] semantic_relation(contrast,colors)[0.5] semantic_relation(beige,colors)[0.32] semantic_relation(lilac,colors)[0.21]

normalized-searchengine-index-distance's People

Watchers

James Cloos avatar Amon avatar

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.