How to Break Into AI? Harvard CS50AI: Introduction to Artificial Intelligence Course Review
By: Damir Temir
Tags: Machine Learning, Neural Networks, Artificial Intelligence, Deep Learning, Data Science

Why is this particular course useful to your career as a beginner? Because it starts with the basics of Artificial Intelligence. You can’t run before you walk, so that’s why Week 0 of CS50AI is dedicated to basics algorithms like Breadth-First Search, Greedy Best-First Search, and Minimax.

You probably want to jump right to Machine Learning, which is on Week 4, but there are some necessary foundational topics before that, such as Propositional Logic (Week 1), Probability (Week 2), and Optimization (Week 3). You can rest assured that your journey will be smoother if you learn those topics before doing Machine Learning.

Now, let’s talk about the pros and cons.

CS50AI is comprehensive

As I have already mentioned, CS50AI starts with the necessary essential topics that will make you a more well-versed person in AI. For four weeks, before introducing the concepts of Machine Learning and Deep Learning, Brian Yu teaches the fundamental algorithms and concepts that serve as the foundation for later lectures. By making things clear in the beginning, the course lays a solid foundation for your future.

During those four weeks, you will accomplish the following projects:

Applying the Breadth-First Search algorithm on the IMDb database to find the shortest connection between two actors. Using the Minimax decision rule to build an AI that never loses at Tic-Tac-Toe.

Demo Gif from my GitHub repo

3. Representing knowledge in propositional logic to build an AI that plays Minesweeper optimally.

Demo Gif from my GitHub repo

4. Simulating the basic version of Google Search Algorithm, PageRank.

5. And many other projects.

CS50AI is challenging

In the last three weeks of the course, Brian will introduce you to the cutting-edge technology dominating the field. Those are:

Machine Learning, with the concepts of Supervised Learning, Unsupervised Learning, and Reinforcement Learning. You will actually get to build a reinforcement learning model based on Q-learning that will train AI to play the game of Nim. It was a brave step to include an assignment on reinforcement learning as it is not beginner-friendly, but believe me, it will be the first time you might think, “Is AI alive?” Deep Learning, with the concepts of Neural Networks, Computer Vision, and Convolutional Neural Networks. CS50AI will introduce you to the holy grail, TensorFlow. By the end of Week 5, you will build a Road Sign Recognition Project, using the provided data set, TensorFlow, and Open-CV. You will get hands-on experience with these awesome frameworks, such a treat. Natural Language Processing, with the concepts of Context-Free Grammar, Markov Models, and Naive Bayes. Ever thought about how Amazon Alexa understands your commands and responds to your questions like “How old is Bernie Sanders?” You will learn just that. One of the projects for Week 6 is building a system that responds to your questions using a popular library, NLTK.

CS50AI is everywhere

Just like its older brother, CS50, the course has communities everywhere. Discord, Quora, Twitter, Facebook, you name it. If you ever get stuck, any of those communities are there for you. If you have a problem installing a Python library, understanding the assignment, or debugging, there is always someone to ask.

This leads to the cons of taking the course.

CS50AI is long

You might have a natural question if there are so many challenging projects, how do they check my work? Unfortunately, due to the complexity of things, the projects are evaluated manually. Once you finish your project, you must record its functionality, upload it to YouTube, fill out another Google Form, and wait. How long does it take to receive a grade?

…we have your form and it will be graded within three weeks. — CS50AI

Yes, another human being has to check your code and see if it functions correctly, which is quite unusual for a MOOC. On the bright side, the person who checks your work provides some useful feedback if your submission did not pass.

Waiting three weeks for the grades to roll in is not an easy process. Especially if you cannot start the next week until you learn the grades for the current week, but it is worth waiting.

CS50AI is not as fun

If you have seen CS50 2019 with David Malan, you know how much fun it is. Watching Harvard students engaging in activities would bring the sense that you are a part of the classroom.

This is not the case with CS50AI. The pandemic had probably started by the time they recorded the videos, so it is only Brian you will see through the series. He does not make jokes (it is still interesting to watch, though).

Do it!

Now that I have mentioned the good and bad sides of the course, I can only say, “start taking it.” I do not think I have ever seen a course that would take you across all of the topics in AI and let you get hands-on experience in each. CS50AI will bring you to the basics of Machine Learning, Deep Learning, Natural Language Processing within the realms of trending Python and libraries like TensorFlow, Open-CV, scikit-learn, and NLTK.

Quick tip: You don’t have to pay for the edX Verified Certificate at all. CS50AI will provide you with one upon the completion of all their assignments. Their certificate looks like the one in the beginning, and you can share it on LinkedIn.

What to do after the course?

Take Andrew Ng’s Machine Learning course on Coursera if you are interested in Machine Learning.

Otherwise, take IBM’s Data Science on Coursera if you are interested in the more business-oriented use of data.