Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kk7nc/hdltex
HDLTex: Hierarchical Deep Learning for Text Classification
https://github.com/kk7nc/hdltex
convolutional-neural-networks dataset deep-learning deep-neural-networks document-classification gpu hierarchical-deep-learning information-retrieval recurrent-neural-networks science-dataset tensorflow text-classification text-mining
Last synced: 3 days ago
JSON representation
HDLTex: Hierarchical Deep Learning for Text Classification
- Host: GitHub
- URL: https://github.com/kk7nc/hdltex
- Owner: kk7nc
- License: mit
- Created: 2017-09-19T17:25:33.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2024-10-10T07:05:34.000Z (3 months ago)
- Last Synced: 2025-01-11T18:05:18.869Z (10 days ago)
- Topics: convolutional-neural-networks, dataset, deep-learning, deep-neural-networks, document-classification, gpu, hierarchical-deep-learning, information-retrieval, recurrent-neural-networks, science-dataset, tensorflow, text-classification, text-mining
- Language: Python
- Homepage: https://hdltex.readthedocs.io/
- Size: 32 MB
- Stars: 266
- Watchers: 18
- Forks: 67
- Open Issues: 7
-
Metadata Files:
- Readme: README.rst
- License: LICENSE
Awesome Lists containing this project
README
|DOI| |appveyor| |Join the chat at
https://gitter.im/HDLTex| |arXiv| |RG| |Binder| |Download| |license| |twitter|HDLTex: Hierarchical Deep Learning for Text Classification
==========================================================Refrenced paper : `HDLTex: Hierarchical Deep Learning for Text
Classification `__|Pic|
Documentation:
===============Increasingly large document collections require improved information processing methods for searching, retrieving, and organizing text. Central to these information processing methods is document classification, which has become an important application for supervised learning. Recently the performance of traditional supervised classifiers has degraded as the number of documents has increased. This is because along with growth in the number of documents has come an increase in the number of categories. This paper approaches this problem differently from current document classification methods that view the problem as multi-class classification. Instead we perform hierarchical classification using an approach we call Hierarchical Deep Learning for Text classification (HDLTex). HDLTex employs stacks of deep learning architectures to provide specialized understanding at each level of the document hierarchy.
Installation
=============Using pip
----------
.. code:: bash
pip install HDLTex
Using git
----------
.. code:: bashgit clone --recursive https://github.com/kk7nc/HDLTex.git
The primary requirements for this package are Python 3 with Tensorflow.
The requirements.txt file contains a listing of the required Python
packages; to install all requirements, run the following:.. code:: bash
pip -r install requirements.txt
Or
.. code:: bash
pip3 install -r requirements.txt
Or:
.. code:: bash
conda install --file requirements.txt
If the above command does not work, use the following:
.. code:: bash
sudo -H pip install -r requirements.txt
Datasets for HDLTex:
=====================Link of dataset: |Data|
Web of Science Dataset
`WOS-11967 `__::
This dataset contains 11,967 documents with 35 categories which include 7 parents categories.
Web of Science Dataset
`WOS-46985 `__::
This dataset contains 46,985 documents with 134 categories which include 7 parents categories.
Web of Science Dataset
`WOS-5736 `__::
This dataset contains 5,736 documents with 11 categories which include 3 parents categories.
Requirements :
----------------
General:- Python 3.5 or later see `Instruction Documents `__
- TensorFlow see `Instruction Documents `__.
- scikit-learn see `Instruction Documents `__
- Keras see `Instruction Documents `__
- scipy see `Instruction Documents `__
- GPU
- CUDA® Toolkit 8.0. For details, see `NVIDIA’s documentation `__.
- The `NVIDIA drivers associated with CUDA Toolkit 8.0 `__.
- cuDNN v6. For details, see `NVIDIA’s documentation `__.
- GPU card with CUDA Compute Capability 3.0 or higher.
- The libcupti-dev library,
- To install this library, issue the following command:::
$ sudo apt-get install libcupti-dev
Feature Extraction:
===================Global Vectors for Word Representation
(`GLOVE `__)::
For CNN and RNN you need to download and linked the folder location to GLOVE
Error and Comments:
===================Send an email to [email protected]
Citation:
=========.. code:: bash
@inproceedings{Kowsari2018HDLTex,
author={Kowsari, Kamran and Brown, Donald E and Heidarysafa, Mojtaba and Meimandi, Kiana Jafari and Gerber, Matthew S and Barnes, Laura E},
booktitle={2017 16th IEEE International Conference on Machine Learning and Applications (ICMLA)},
title={HDLTex: Hierarchical Deep Learning for Text Classification},
year={2017},
pages={364-371},
doi={10.1109/ICMLA.2017.0-134},
month={Dec}
}.. |DOI| image:: https://img.shields.io/badge/DOI-10.1109%2FICMLA.2017.0--134-blue
:target: https://doi.org/10.1109/ICMLA.2017.0-134
.. |travis| image:: https://travis-ci.org/kk7nc/HDLTex.svg?branch=master
:target: https://travis-ci.org/kk7nc/HDLTex
.. |wercker status| image:: https://app.wercker.com/status/24a123448ba8764b257a1df242146b8e/s/master
:target: https://app.wercker.com/project/byKey/24a123448ba8764b257a1df242146b8e
.. |Join the chat at https://gitter.im/HDLTex| image:: https://badges.gitter.im/Join%20Chat.svg
:target: https://gitter.im/HDLTex/Lobby?source=orgpage
.. |appveyor| image:: https://ci.appveyor.com/api/projects/status/github/kk7nc/HDLTex?branch=master&svg=true
:target: https://ci.appveyor.com/project/kk7nc/hdltex
.. |arXiv| image:: https://img.shields.io/badge/arXiv-1709.08267-red.svg?style=flat
:target: https://arxiv.org/abs/1709.08267
.. |RG| image:: https://img.shields.io/badge/ResearchGate-HDLTex-blue.svg?style=flat
:target: https://www.researchgate.net/publication/319968747_HDLTex_Hierarchical_Deep_Learning_for_Text_Classification
.. |Binder| image:: https://mybinder.org/badge.svg
:target: https://mybinder.org/v2/gh/kk7nc/HDLTex/master
.. |license| image:: https://img.shields.io/github/license/mashape/apistatus.svg?maxAge=2592104
:target: https://github.com/kk7nc/HDLTex/blob/master/LICENSE
.. |Data| image:: https://img.shields.io/badge/DOI-10.17632/9rw3vkcfy4.6-blue.svg?style=flat
:target: http://dx.doi.org/10.17632/9rw3vkcfy4.6
.. |Pic| image:: docs/HDLTex.png
:alt: HDLTex as both Hierarchy lavel are DNN
.. |twitter| image:: https://img.shields.io/twitter/url/http/shields.io.svg?style=social
:target: https://twitter.com/intent/tweet?text=HDLTex:%20Hierarchical%20Deep%20Learning%20for%20Text%20Classification%0aGitHub:&url=https://github.com/kk7nc/HDLTex&hashtags=DeepLearning,Text_Classification,classification,MachineLearning,deep_neural_networks
.. |Download| image:: https://pepy.tech/badge/hdltex
:target: https://pepy.tech/project/hdltex