python

build a nlp text classifier in python

Build Your First Text Classifier in Python with Logistic Regression

Text classification is the automatic process of predicting one or more categories given a piece of text. For example, predicting if an email is legit or spammy. Thanks to Gmail’s spam classifier, I don’t see or hear from spammy emails! Other than spam detection, text classifiers can be used to determine sentiment in social media …

Build Your First Text Classifier in Python with Logistic Regression Read More »

python code snippets - cheat sheet

My Python Cheat Sheet

These are some python code snippets that I use very often. Topics include: list manipulation, json manipulation, data frame and etc. Python List Manipulation Concatenate two python lists

Convert a python string to a list of characters

  JSON Manipulation Convert a dictionary to a json string

Convert a json string back …

My Python Cheat Sheet Read More »