Binary Representation of Negative Numbers
Many of you already know that to in computer systems, to represent the negative numbers we use what is known as 2’s complement. In this article I will try to explain where it came from.
Many of you already know that to in computer systems, to represent the negative numbers we use what is known as 2’s complement. In this article I will try to explain where it came from.
The Luhn formula is a simple checksum formula used for validating identification numbers. It is designed to protect against accidental errors in data entry but not malicious attacks. For example, on a website a user may enter a credit card number or ISBN and sometimes these numbers may be mistyped. One can then use the Luhn formula to determine if the entered number is a valid one.
K-means is a clustering algorithm that is relatively old yet it still in use today because of its simplicity and power.
These are my notes for the lecture How To Speak by Patrick Winston. I suggest you check it out if you have the time.
In this post we will try to implement the game 2048 as a console app in python!
Life is only days, so if your day passes, your life becomes shorter. ~Hassan of Basra
PageRank is an algorithm used to rank web pages in search engines results. It was named after, one of the founders of Google, Larry Page.
I was reading a book called The Passionate Programmer by Chad Fowler. The books talks about what it takes to create a remarkable career in software development. It is a very good read and if you haven’t read it yet I suggest you check it out. In this post I will try to one particular story that resonated with me.
The Naïve Bayes classifier is a popular machine learning algorithm. In this post we will discuss why it still works in practice even when the (naïve) conditional independence assumption is violated.
The perceptron is a learning algorithm. A rather simple one yet surprising, it can acheive very good results as we will explore in this post.