Category: Artificial Intelligence

Mastering Search Optimization: An Introduction to Iterative Deepening

Depth-First Search (DFS) In DFS, we start from a node and go down a path until we reach a node that has no children. Whenever we run out of moves, we backtrack and explore the sibling of the node. And if there are no siblings, we go for the sibling of the grandparent and so […]


Mastering AI: Enrolling in Udacity’s Artificial Intelligence Nanodegree

Let me tell you about my experience with creating an AI that plays Connect 4. I took an undergraduate CS course during my Masters and we created the AI using a few algorithms. To be honest, I don’t remember all of them, but I do recall using the min-max algorithm. The AI wasn’t too difficult […]



Unlocking the Power of MapReduce: Using Python and Apache Spark for Enhanced Data Processing

Hey there! So we decided to create a Word Count application – a classic MapReduce example. But what the heck is a Word Count application, you ask? It’s basically a program that reads data and calculates the most common words. Easy peasy. For example: dataDF = sqlContext.createDataFrame([('Jax',), ('Rammus',), ('Zac',), ('Xin', ), ('Hecarim', ), ('Zac', ), […]