Coder Social home page Coder Social logo

princebari / document-classification-with-cnn Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 33.87 MB

This Github repository contains code and resources for a document classification project using Convolutional Neural Networks (CNNs)

Jupyter Notebook 100.00%

document-classification-with-cnn's Introduction

Document-Classification-with-CNN

image

In this project, we have implemented two models for document classification using Convolutional Neural Networks (CNNs). The first model is a 1D CNN with word embedding, and the second model is a 1D CNN with character embedding. Both models were trained on the preprocessed dataset containing a total of 18,828 text documents categorized into 20 classes. The objective of using two models is to compare their performance and identify the optimal approach for document classification.

The 1D CNN with word embedding model involves training the CNN on the preprocessed text data, where each word is represented by a dense vector. The word embedding layer helps to capture the semantic meaning of words, which can improve the accuracy of the classification model. On the other hand, the 1D CNN with character embedding model involves representing each character in the text with a dense vector, which is then fed into the CNN model. This approach is useful when dealing with out-of-vocabulary words or misspelled words that are not recognized by a word embedding layer.

Dataset link : https://drive.google.com/file/d/1rxD15nyeIPIAZ-J2VYPrDRZI66-TBWvM/view

document-classification-with-cnn's People

Contributors

princebari avatar

Watchers

Kostas Georgiou avatar  avatar

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.