Linear Regression in Python In this post I wanted to show how to write from scratch a linear regression class in Python and then how to use it to make predictions. Let’s start! What is
Tag Archives: data science
Naive Bayes Classifier The Naive Bayes classifier is a simple algorithm which allows us, by using the probabilities of each attribute within each class, to make predictions. It makes the strong assumption that the attributes
k-means clustering with Python Today we will be implementing a simple class to perform k-means clustering with Python. Before continuing it is worth stressing that the scikit-learn package already implements such algorithms, but in my