python

Classify news articles with logistic regression and 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 »

My Python Cheat Sheet

These are some python code snippets that I use very often. 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 to a python dictionary

  Load a json …

My Python Cheat Sheet Read More »