Skip to main content

INSPIRE module aimed at automatically classifying the new papers that are added to INSPIRE, such as if they are core or not, or the arXiv category corresponding to each of them.

Project description

..
This file is part of INSPIRE.
Copyright (C) 2014-2018 CERN.

INSPIRE is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

INSPIRE is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with INSPIRE. If not, see <http://www.gnu.org/licenses/>.

In applying this license, CERN does not waive the privileges and immunities
granted to it by virtue of its status as an Intergovernmental Organization
or submit itself to any jurisdiction.


====================
inspire-classifier
====================

.. image:: https://travis-ci.org/inspirehep/inspire-classifier.svg?branch=master
:target: https://travis-ci.org/inspirehep/inspire-classifier

.. image:: https://coveralls.io/repos/github/inspirehep/inspire-classifier/badge.svg?branch=master
:target: https://coveralls.io/github/inspirehep/inspire-classifier?branch=master


About
=====

INSPIRE module aimed at automatically classifying the new papers that are added to INSPIRE, such as if they are core or not, or the arXiv category corresponding to each of them.

Run the development server with:

.. highlight:: bash
$ FLASK_DEBUG=true FLASK_APP=inspire_classifier/app.py flask run

Example:

.. highlight:: bash
$ curl -i http://127.0.0.1:5000/api/predict/coreness --data "{\"title\": \"Alice In Wonderland\", \"abstract\": \"The reader is conveyed to Wonderland, a world that has no apparent connection with reality...\"}"
HTTP/1.0 200 OK
Content-Type: application/json
Content-Length: 52
Server: Werkzeug/0.14.1 Python/3.6.4
Date: Wed, 22 Aug 2018 13:00:16 GMT

{
"score1": 0.1,
"score2": 0.2,
"score3": 0.7
}

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

inspire-classifier-0.1.10.tar.gz (14.0 kB view details)

Uploaded Source

File details

Details for the file inspire-classifier-0.1.10.tar.gz.

File metadata

  • Download URL: inspire-classifier-0.1.10.tar.gz
  • Upload date:
  • Size: 14.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.21.0 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.3

File hashes

Hashes for inspire-classifier-0.1.10.tar.gz
Algorithm Hash digest
SHA256 948d60eff13e768a3161a8f284bea861f71245407f0e37027fc095b0b9e2fc51
MD5 43ccab37da4d7da7115da4390b01be83
BLAKE2b-256 d3ecf26d1619a566f6a282e083f70a72cdeaf5c5a453d9688bab98cf4e967467

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page