All Projects → codingforentrepreneurs → Python-for-Text-Classification

codingforentrepreneurs / Python-for-Text-Classification

Licence: MIT License
Python for Text Classification with Machine Learning in Python 3.6.

Programming Languages

Jupyter Notebook
11667 projects
python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Python-for-Text-Classification

Naive-Bayes-Text-Classifier-in-Java
Naive Bayes Classification used to classify movie reviews as positive or negative
Stars: ✭ 18 (-43.75%)
Mutual labels:  text-classification
Product-Categorization-NLP
Multi-Class Text Classification for products based on their description with Machine Learning algorithms and Neural Networks (MLP, CNN, Distilbert).
Stars: ✭ 30 (-6.25%)
Mutual labels:  text-classification
Caver
Caver: a toolkit for multilabel text classification.
Stars: ✭ 38 (+18.75%)
Mutual labels:  text-classification
monkeylearn-php
Official PHP client for the MonkeyLearn API. Build and consume machine learning models for language processing from your PHP apps.
Stars: ✭ 47 (+46.88%)
Mutual labels:  text-classification
MetaCat
Minimally Supervised Categorization of Text with Metadata (SIGIR'20)
Stars: ✭ 52 (+62.5%)
Mutual labels:  text-classification
MetaLifelongLanguage
Repository containing code for the paper "Meta-Learning with Sparse Experience Replay for Lifelong Language Learning".
Stars: ✭ 21 (-34.37%)
Mutual labels:  text-classification
nsmc-zeppelin-notebook
Movie review dataset Word2Vec & sentiment classification Zeppelin notebook
Stars: ✭ 26 (-18.75%)
Mutual labels:  text-classification
HiGitClass
HiGitClass: Keyword-Driven Hierarchical Classification of GitHub Repositories (ICDM'19)
Stars: ✭ 58 (+81.25%)
Mutual labels:  text-classification
WSDM-Cup-2019
[ACM-WSDM] 3rd place solution at WSDM Cup 2019, Fake News Classification on Kaggle.
Stars: ✭ 62 (+93.75%)
Mutual labels:  text-classification
textgo
Text preprocessing, representation, similarity calculation, text search and classification. Let's go and play with text!
Stars: ✭ 33 (+3.13%)
Mutual labels:  text-classification
nlp classification
Implementing nlp papers relevant to classification with PyTorch, gluonnlp
Stars: ✭ 224 (+600%)
Mutual labels:  text-classification
small-text
Active Learning for Text Classification in Python
Stars: ✭ 241 (+653.13%)
Mutual labels:  text-classification
Naive-Resume-Matching
Text Similarity Applied to resume, to compare Resumes with Job Descriptions and create a score to rank them. Similar to an ATS.
Stars: ✭ 27 (-15.62%)
Mutual labels:  text-classification
10kGNAD
Ten Thousand German News Articles Dataset for Topic Classification
Stars: ✭ 63 (+96.88%)
Mutual labels:  text-classification
NewsMTSC
Target-dependent sentiment classification in news articles reporting on political events. Includes a high-quality data set of over 11k sentences and a state-of-the-art classification model.
Stars: ✭ 54 (+68.75%)
Mutual labels:  text-classification
automatic-personality-prediction
[AAAI 2020] Modeling Personality with Attentive Networks and Contextual Embeddings
Stars: ✭ 43 (+34.38%)
Mutual labels:  text-classification
classification
Vietnamese Text Classification
Stars: ✭ 39 (+21.88%)
Mutual labels:  text-classification
NSP-BERT
The code for our paper "NSP-BERT: A Prompt-based Zero-Shot Learner Through an Original Pre-training Task —— Next Sentence Prediction"
Stars: ✭ 166 (+418.75%)
Mutual labels:  text-classification
TorchBlocks
A PyTorch-based toolkit for natural language processing
Stars: ✭ 85 (+165.63%)
Mutual labels:  text-classification
extremeText
Library for fast text representation and extreme classification.
Stars: ✭ 141 (+340.63%)
Mutual labels:  text-classification

Python for Text Classification

Python for Text Classification with Machine Learning in Python 3.6.

Installation Guide

Start your environment by picking either pipenv (recommended) or virtualenv. Simple guides are below.

Using pipenv

  1. Initialize pipenv (setup guide):
cd path/to/your/dev/folder
mkdir text-classify
cd text-classify
pipenv install --three

After installation of pipenv works, just activate it (same on all systems):

pipenv shell
  1. Project requirements
pip install numpy scipy scikit-learn jupyter

Using virtualenv

  1. Initialize virtualenv
cd path/to/your/dev/folder
mkdir text-classify
cd text-classify
virtualenv --python3 .

After installation of pipenv works, just activate it:

Mac / Linux

source bin/activate

Windows

.\Scripts\activate
  1. Project requirements
pip install numpy scipy scikit-learn jupyter

Lessons

1 - Introduction no code

2 - Initialize Virtual Environment with Pipenv

3 - Sublime Text & Jupyter Notebooks no code

4 - Bag of Words

5 - One Hot Array

6 - Bag of Words Function

7 - One Hot Array Function

8 - One Hot Array Back to Text

9 - Bag of Words with External Data

10 - One Hot Array with External Data

11 - Training Data and Labels as Numpy Arrays

12 - Train and Predict with Sklearn SVM

13 - Text Prediction Recap

14 - Reusable Sklearn Classifier

15 - Missing Bow

16 - Pickles no code

17 - Good Data In, Good Data Out no code

18 - Dataset Resources no code Blog Post

19 Grab and Parse Dataset

20 - Prepare Training Module for Spam + Not Spam

21 - Train Spam Classifier with SVC

22 - Clean and Predict

23 - Scoring Classifier Accuracy

24 - One Hot Encoding Classification Recap

25 - Preprocessing with a Keras Tokenizer

26 - Pad Sequences

27 - Convert Our Text Data into Sequences

28 - Labels and LabelEncoder

29 - Reusable Text-Label Utility

30 - Split Training and Validation Data

31 - Tokenized Text Classifier

32 - Cross Validation

33 - Sensitivity vs Specificity

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].