Algorithmic Matrix Multiplication Comparison

Algorithmic Matrix Multiplication Comparison

Introduction This report compares Strassen’s method and the naive approach for matrix multiplication. The main goal is to empirically look into the causes of the naive method’s O(N^3) complexity. The focus is on proving how Strassen’s methods deliver a faster performance and lower time complexity. Real-world tests will be conducted with different matrix sizes. This will determine their time complexities. The Python code implementation across different matrix sizes will estimate the constants based on the implementation logic....

EDA, Preprocessing, Feature Engineering, Model Building with Python

Sales Data Analysis with Python

Introduction ABC Private Limited, a retail company, aims to gain valuable insights into their customers’ purchasing habits. By analyzing the provided summary of high-volume product purchase history, which includes customer demographics and product details, ABC can uncover patterns and trends in customer spending across different product categories. We will explore the analysis step-by-step using the test.csv and train.csv files. Through a combination of theoretical explanations and practical demonstrations, we will delve into data preprocessing, exploratory data analysis, feature engineering, and model building....

Launching my digital product series on Gumroad!

Digital Product Series Launch!

Boost Your Interview Success with our Exclusive Digital Product Series We are thrilled to announce the launch of our brand new series of digital products on Gumroad, designed to help you excel in your interviews and land your dream job! Our products are carefully crafted to provide you with the necessary tools and resources to master key concepts, enhance your problem-solving skills, and confidently tackle coding interviews. Introducing the First Set of Resources We are excited to release the first few resources that are now available for purchase at an incredibly affordable rate:...

Part 3 - Wrap-Up and Testing

Django Crypto App Part 3

Introduction Welcome to the final part of the 3-part technical tutorial series, where have been building a Django project that enables users to manage their cryptocurrency portfolios. To implement the functionalities and additional features, we’ll be utilizing API calls to coingecko or any other cryptocurrency API. Want to start from the beginning? Read Part 1 In the first part, we set up the project and created the models. In the second part continued off from that point and added all the templates, views and urls and code up the entire crypto project....

Part 2 - Templates, Views and URLs

Django Crypto App Part 2

Introduction Welcome to the second part of the 3-part technical tutorial series, where we’ll be building a Django project that enables users to manage their cryptocurrency portfolios. To implement the functionalities and additional features, we’ll be utilizing API calls to coingecko or any other cryptocurrency API. Missed the first part of the project? Check it out HERE In the previous part, we set up the project and created the models. Now, we will continue off from that point and add the templates, views and urls and code up the entire project....

Part 1 - Functional Requirements and Setup

Django Crypto App Part 1

Introduction Welcome to this 3-part technical tutorial series, where we’ll be building a Django project that enables users to manage their cryptocurrency portfolios. To implement the functionalities and additional features, we’ll be utilizing API calls to coingecko or any other cryptocurrency API. In Part 1, we will be defining the functional requirements and give you the overview of what we are building, the approach, the high-level design and the project setup using Django....

Django ORM Cheatsheet + Exercises

Ultimate Django ORM Cheatsheet + Exercises

Querying Django Models with Examples In Django, querying the database is an essential task when working with models. Django’s QuerySet API provides an extensive range of methods to query the database efficiently. In this article, we’ll go over several examples of how to query Django models using the QuerySet API, along with code snippets that demonstrate the functionality of each method. Terminology Let us first go over some of the terminology that is used in conjunction with the QuerySet API....

Developer experience at CRIF Hackathon 2023. Innovating the future, one hackathon at a time.

Celebrating victory at CRIF Hackathon 2023

Like Machine Learning with Python? Try Sales Data Analysis Walkthrough Winning a hackathon is an incredible feeling, and it’s even more special when it’s your very first one. The adrenaline rush of competing against some of the brightest minds in the industry, the satisfaction of solving complex problems, and the thrill of being recognized for your hard work are all emotions that are hard to put into words. In this article, I’ll walk you through the journey of our team who recently won their first ever hackathon, the CRIF Hackathon 2023....

Dynamic Programming

DSA in Python - Dynamic Programming

Free Preview - 5 Dynamic Programming Problems Coin ChangeProblem """ Given an unlimited supply of coins of given denominations, find the total number of distinct ways to get the desired change. For example, Input: S = { 1, 3, 5, 7 }, target = 8 The total number of ways is 6 { 1, 7 } { 3, 5 } { 1, 1, 3, 3 } { 1, 1, 1, 5 } { 1, 1, 1, 1, 1, 3 } { 1, 1, 1, 1, 1, 1, 1, 1 } Input: S = { 1, 2, 3 }, target = 4 The total number of ways is 4 { 1, 3 } { 2, 2 } { 1, 1, 2 } { 1, 1, 1, 1 } """ def count(S, n, target): if target == 0: return 1 # return 0 (solution does not exist) if total becomes negative, no elements are left if target < 0 or n < 0: return 0 # Case 1....

elementary

DSA in Python - Elementry Algos

Free Preview - 5 Elementary Problems Check Leap Year year = 2000 # divided by 100 means century year (ending with 00) century year divided by 400 is leap year if (year % 400 == 0) and (year % 100 == 0): print("{0} is a leap year".format(year)) # not divided by 100 means not a century year year divided by 4 is a leap year elif (year % 4 ==0) and (year % 100 !...

Graph

DSA in Python - Graph

Free Preview - 5 Graph Problems Implement Graph class Graph: def __init__(self, edges, n): self.adjList = [[] for _ in range(n)] for (src, dest) in edges: self.adjList[src].append(dest) def printGraph(graph): for src in range(len(graph.adjList)): for dest in graph.adjList[src]: print(f'({src} —> {dest}) ', end='') print() edges = [(0, 1), (1, 2), (2, 0), (2, 1), (3, 2), (4, 5), (5, 4)] n = 6 graph = Graph(edges, n) printGraph(graph) Implement Weighted Graph class Graph: def __init__(self, edges, n): self....