GithubHelp home page GithubHelp logo

isabella232 / corpus-to-graph-ml Goto Github PK

View Code? Open in Web Editor NEW

This project forked from catalystcode/corpus-to-graph-ml

0.0 0.0 0.0 3.51 MB

This repository contains machine learning related work for the corpus to graph project, including Jupyter research notebooks and a Flask webservice to host the model

License: MIT License

corpus-to-graph-ml's Introduction

corpus-to-graph-ml

This repository contains machine learning related work for the corpus to graph project, including Jupyter research notebooks and a Flask webservice to host the model.

The packages folder contains python code with the main logic for the data transformation and the feature generation tools.

 The webservice contains an example for a flask based scoring service that can be used in order to expose the trained model.

The data_preparation notebook contains an example of running the data transformation pipeline, and the features_classification notebook contains code examples for generating different features and training and evaluating different classifiers.

The only missing piece that shold be provided is an entity recognition endpoint (specifically here we used GNAT). You can also alternatively provide a text file with the results of the entity recognition process.

#Dependencies:

We highly recommend using the Anaconda distribution (or any similiar distribution), to make your life easier, as it comes with most of the packages we use in this notebook.

In our notebooks, we use the following libraries:

  • SKlearn (comes pre-installed with Anaconda)
  • NLTK (make sure to install the NLTK stopwords, lemmatization, and stemming packages by calling nltk.download() manually)
  • gensim (Make sure that you have cython installed beforehand in order run it the optimized version of the code)
  • spacy.io - For spacy - make sure you the english model installed
  • requests

corpus-to-graph-ml's People

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.