GithubHelp home page GithubHelp logo

invenio-matcher-benchmark's Introduction

Invenio-matcher benchmark

This repository contains test data and scripts in order to evaluate the accuracy of https://github.com/inveniosoftware-contrib/invenio-matcher with INSPIRE data.

How to run the benchmark

First, make sure your system has installed docker and docker-compose.

Clone this repository:

$ git clone https://github.com/inspirehep/invenio-matcher-benchmark.git
$ cd invenio-matcher-benchmark

Get the latest version of the Docker images:

$ docker-compose pull

Export variable to store Docker persistent data:

$ export DOCKER_DATA=~/inspirehep_docker_data/

Install all dependencies from INSPIRE (this can take ~10 minutes):

$ docker-compose -f docker-compose.deps.yml run --rm pip

Start all the Docker containers:

$ docker-compose up -d

Run the benchmark (specify folder(s) to run after match.py):

$ docker-compose run --rm web python match.py publisher_updates --output

After running all the files present in the folder publisher_updates, a final output will be produced:

#### STATS ####

Total analyzed: 2258

True positives: 1928

False positives: 7

True negatives: 0

False negatives: 323

Duplicate exact match: 0

Precision: 0.996382428941

Recall: 0.85650821857

F1 Score: 0.921165790731

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.