Giter Site home page Giter Site logo

erayon / pubmed Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 2.0 6.55 MB

This project involves building a robust classifier that classifies whether a document (from abstract content) belongs to cancer class or not.

License: GNU General Public License v3.0

HTML 62.97% Jupyter Notebook 36.08% Python 0.94%
xml html sklearn xgboost svm-classifier beautifulsoup html2text nltk

pubmed's Introduction

Classification-of-PubMed-documents-using-machine-learning

This project involves building a robust classifier that classifies whether a document (from abstract content) belongs to cancer class or not.

Dataset Description The training as well as test data contains research papers abstract in .nxml format. Training data contains two folders

  1. Cancer :- Contains document related to cancer
  2. Non Cancer: - Contains document not related to cancer. It contains document related to any category apart from cancer, spanning from music, videos to HIV and stroke. Test data contains 100 files with names ranging 1 to 100.nxml. Output should contain labels in below format.

Prerequisition

pip install bs4
pip install html2text
pip install tqdm
pip install xml
pip install nltk
pip install numpy
pip install sklearn

Install xgboost

git clone --recursive https://github.com/dmlc/xgboost
cd xgboost
make -j4
cd python-package
python setup.py install

Error(import xgboost OSError:version `GOMP_4.0' not found)

conda install libgcc

Links

dmlc/xgboost#1786

pubmed's People

Stargazers

 avatar

Watchers

 avatar

Forkers

jimiliu ersaswati

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.