Machine Learning Part 11: Unsupervised Learning and Clustering
So far, we’ve focused on Supervised Learning. Now, we enter the world of Unsupervised Learning, where the machine is given data without any labels and must find patterns on its own…
Machine Learning Part 10: Naive Bayes Classification
Naive Bayes is a simple yet powerful classification algorithm based on Bayes’ Theorem. It’s particularly popular for text classification and spam filtering.
Bayes’ Theorem …
Machine Learning Part 9: An Introduction to Neural Networks
Neural Networks are the backbone of modern Artificial Intelligence, powering everything from face recognition to self-driving cars. In this post, we’ll explore the basic building block of a neural …
Machine Learning Part 8: Support Vector Machines (SVM)
Support Vector Machines (SVM) are powerful supervised learning models used for classification and regression. In this post, we’ll break down the geometry and logic behind them.
The Goal: Fi…
This problem was asked by Stripe.
Given an array of integers, find the first missing positive integer in linear time and constant space. In other words, find the lowest positive integer that…
This problem was asked by Jane Street.
cons(a, b) constructs a pair, and car(pair) and cdr(pair) returns the first and last element of that pair. For example, car(cons(3, 4)) returns 3, and …
This problem was asked by Google.
Given the root to a binary tree, implement serialize(root), which serializes the tree into a string, and deserialize(s), which deserializes the string back …
Daily Coding Problem #2: Product of Array Except Self
This problem was asked by Uber and is a popular variation of array manipulation questions.
The Problem
Given an array of integers, return a new array such that each element at index…
Daily Coding Problem #1: Two Sum Solution in Python
This problem was recently asked by Google and is a classic interview question often referred to as “Two Sum”.
The Problem
Given a list of numbers and a number k, return…
Here’s how to solve the file not found for training chatterbot on Google collab:
# Install
!pip install chatterbot
!pip install chatterbot-corpus
# move engl…
Learning Flask To Help With Dog Care: Interview With Chris Hopkinson
Chris has been learning Flask to help with Dog Care. He felt Flask would help him in his business activities! Let’s have a chat with him!
Welcome Chris Hopkinson,
Can you present you…