Building Convolutional Neural Networks with Tensorflow

Posted on 1 CommentPosted in convolutional neural networks, deep learning, tensorflow

1. Introduction In the past I have mostly written about ‘classical’ Machine Learning, like Naive Bayes classification, Logistic Regression, and the Perceptron algorithm. In the past year I have also worked with Deep Learning techniques, and I would like to share with you how to make and train a Convolutional Neural Network from scratch, using tensorflow. […]

Classification with Scikit-Learn

Posted on Leave a commentPosted in Classification, scikit-learn

update: The code presented in this blog-post is also available in my GitHub repository. 1. Introduction For python programmers, scikit-learn is one of the best libraries to build Machine Learning applications with. It is ideal for beginners because it has a really simple interface, it is well documented with many examples and tutorials. Besides supervised […]

Regression, Logistic Regression and Maximum Entropy part 2 (code + examples)

Posted on 8 CommentsPosted in Classification, Sentiment Analytics

update: The Python code for Logistic Regression can be forked/cloned from my Git repository. It is also available on PyPi. The relevant information in the blog-posts about Linear and Logistic Regression are also available as a Jupyter Notebook on my Git repository.   Introduction In the previous blog we have seen the theory and mathematics behind the […]

Regression, Logistic Regression and Maximum Entropy

Posted on 4 CommentsPosted in Classification, Machine Learning, Sentiment Analytics

update: The Python code for Logistic Regression can be forked/cloned from my Git repository. It is also available on PyPi. The relevant information in the blog-posts about Linear and Logistic Regression are also available as a Jupyter Notebook on my Git repository. 1. Introduction One of the most important tasks in Machine Learning are the Classification tasks […]

Sentiment Analysis with the Naive Bayes Classifier

Posted on 12 CommentsPosted in Machine Learning, Sentiment Analytics

From the introductionary blog we know that the Naive Bayes Classifier is based on the bag-of-words model. With the bag-of-words model we check which word of the text-document appears in a positive-words-list or a negative-words-list. If the word appears in a positive-words-list the total score of the text is updated with +1 and vice versa. […]

Sentiment Analysis with bag-of-words

Posted on 7 CommentsPosted in Machine Learning, Sentiment Analytics

update: the dataset containing the book-reviews of Amazon.com has been added to the UCI Machine Learning repository. Introduction: In my previous post I have explained the Theory behind three of the most popular Text Classification methods (Naive Bayes, Maximum Entropy and Support Vector Machines) and told you that I will use these Classifiers for the automatic […]

Visualizing Data

Posted on Leave a commentPosted in Visualizations

We all know that visualizing data is an important part of Data Science. If it is done wrong, it can be boring not grabbing the attention of the readers, or even worse; convey the wrong message. If it done correctly, it can intrigue even the most indifferent reader (some people can even turn Data Visualizations into […]

Text Classification and Sentiment Analysis

Posted on 10 CommentsPosted in Machine Learning, Sentiment Analytics

Introduction: Natural Language Processing (NLP) is a vast area of Computer Science that is concerned with the interaction between Computers and Human Language[1]. Within NLP many tasks are – or can be reformulated as – classification tasks. In classification tasks we are trying to produce a classification function which can give the correlation between a […]