All Projects → luisfredgs → Cnn Hierarchical Network For Document Classification

luisfredgs / Cnn Hierarchical Network For Document Classification

This repository contains the implementation of paper "Hierarchical Attentional Hybrid Neural Networks for Document Classification"

Projects that are alternatives of or similar to Cnn Hierarchical Network For Document Classification

Mlhyperparametertuning
Example of using HyperDrive to tune a regular ML learner.
Stars: ✭ 48 (-2.04%)
Mutual labels:  jupyter-notebook
Machine Learning With Python
Machine Learning Implementations in Python
Stars: ✭ 48 (-2.04%)
Mutual labels:  jupyter-notebook
Rsna Intracranial
Stars: ✭ 49 (+0%)
Mutual labels:  jupyter-notebook
Machine learning from scratch
A place to hold various "from scratch" machine learning algorithms developed in Python as pedagogical tools.
Stars: ✭ 48 (-2.04%)
Mutual labels:  jupyter-notebook
Machine Learning For The Web
Code repository for Machine Learning for the Web, published by Packt
Stars: ✭ 48 (-2.04%)
Mutual labels:  jupyter-notebook
Semanticsegmentation dl
Resources of semantic segmantation based on Deep Learning model
Stars: ✭ 1,045 (+2032.65%)
Mutual labels:  jupyter-notebook
Rsd Engineeringcourse
Materials for Turing's Research Software Engineering course
Stars: ✭ 48 (-2.04%)
Mutual labels:  jupyter-notebook
Deep Homography Estimation Pytorch
Deep homography network with Pytorch
Stars: ✭ 49 (+0%)
Mutual labels:  jupyter-notebook
Data Open Analysis
Stars: ✭ 48 (-2.04%)
Mutual labels:  jupyter-notebook
Data Science Lunch And Learn
Resources for weekly Data Science Lunch & Learns
Stars: ✭ 49 (+0%)
Mutual labels:  jupyter-notebook
Music Synthesis With Python
Music Synthesis with Python talk, originally given at PyGotham 2017.
Stars: ✭ 48 (-2.04%)
Mutual labels:  jupyter-notebook
Mxnet For Cdl
Official MXNet code for 'Collaborative Deep Learning for Recommender Systems' - SIGKDD
Stars: ✭ 48 (-2.04%)
Mutual labels:  jupyter-notebook
Mom6 Examples
Example configurations for MOM6 and SIS2
Stars: ✭ 47 (-4.08%)
Mutual labels:  jupyter-notebook
Cs230 Pointfusion
Stars: ✭ 48 (-2.04%)
Mutual labels:  jupyter-notebook
Missing Data Workshop
Matt Brems' Missing Data Workshop
Stars: ✭ 49 (+0%)
Mutual labels:  jupyter-notebook
Serverless For Data Scientists
Code and notebooks for a talk given at PyBay, 2018-08-19
Stars: ✭ 48 (-2.04%)
Mutual labels:  jupyter-notebook
Learn Pandas
Tutorials on how to use pandas effectively to do data analysis
Stars: ✭ 1,045 (+2032.65%)
Mutual labels:  jupyter-notebook
Reaction Diffusion
Some Python examples to obtain reaction-diffusion results and animations.
Stars: ✭ 47 (-4.08%)
Mutual labels:  jupyter-notebook
Whale Identification 2018
Solution to Whale Identification Challenge 2018
Stars: ✭ 49 (+0%)
Mutual labels:  jupyter-notebook
Cs231n 2020 Spring Assignment Solution
solution for CS231n 2020 spring assignment
Stars: ✭ 48 (-2.04%)
Mutual labels:  jupyter-notebook

Hierarchical Attentional Hybrid Neural Networks for Document Classification

This paper was accepted in ICANN 2019

J. Abreu , L. Fred, D. Macêdo, C. Zanchettin, "Hierarchical Attentional Hybrid Neural Networks for Document Classification".

Performance on Yelp Dataset multi-class

Yelp multi-class|885x789

Datasets:

Dataset Classes Documents download
Yelp Review Polarity 5 1569264 link
IMDb Movie Review 2 50000 link

Do you want use Pre-trained FastText word embeddings? Downloaded in https://www.kaggle.com/luisfredgs/wiki-news-300d-1m-subword. Check the source code for more details. Pay attention to Colab limits of RAM and GPU.

Requirements

  • Python 3
  • tensorflow 1.10
  • Keras 2.x
  • spacy 2.0
  • gensim
  • tqdm
  • matplotlib

A GPU with CUDA support is required to run this code.

Run this code on Google Colab with Free GPU

On Google Colab, Select "Runtime," "Change runtime type" to Python 3. Ensure "Hardware accelerator" is set to GPU (the default is CPU).

Open In Colab

To run this notebook on Google Colab you don't need download dataset files. Type your kaggle username and API key during cell execution and wait. Will done. If do you want to make predictions on new text data using a trained model, check make_predictions.ipynb for more details.

Please cite

@article{abreu2019hierarchical,
  title={Hierarchical Attentional Hybrid Neural Networks for Document Classification},
  author={Abreu, Jader and Fred, Luis and Mac{\^e}do, David and Zanchettin, Cleber},
  journal={arXiv preprint arXiv:1901.06610},
  year={2019}
}
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].