---
title: "Kaushal Maurya (@KaushalM) | Hashnode"
description: "Building the future, one line of code at a time. Read the latest articles by Kaushal Maurya on Hashnode."
url: "https://hashnode.com/@KaushalM"
---

@KaushalM

# Kaushal Maurya

@KaushalM · Joined May 2025

Building the future, one line of code at a time.

### [Logistic Regression: When the Output Must Be a Probability](https://kaushalml.hashnode.dev/logistic-regression-when-the-output-must-be-a-probability?utm_source=hashnode&utm_medium=feed)

Binary classification

4 min read · [kaushalml.hashnode.dev](https://kaushalml.hashnode.dev/logistic-regression-when-the-output-must-be-a-probability?utm_source=hashnode&utm_medium=feed)

[Apr 12](https://hashnode.com/posts/logistic-regression-when-the-output-must-be-a-probability/69db710faadf1107e2c212f0)

### [Multivariate Linear Regression — From Intuition to Assumptions](https://kaushalml.hashnode.dev/multivariate-linear-regression-from-intuition-to-assumptions?utm_source=hashnode&utm_medium=feed)

In the previous article, we explored Simple Linear Regression, where a model used one feature to predict an output. But real-world problems rarely depend on a single variable. For example, the price o

5 min read · [kaushalml.hashnode.dev](https://kaushalml.hashnode.dev/multivariate-linear-regression-from-intuition-to-assumptions?utm_source=hashnode&utm_medium=feed)

[Mar 11](https://hashnode.com/posts/multivariate-linear-regression-from-intuition-to-assumptions/69b14ff4054d52d14a9896e2)

### [From Zero to Gradient Descent: A Deep Dive into Simple Linear Regression](https://kaushalml.hashnode.dev/from-zero-to-gradient-descent-a-deep-dive-into-simple-linear-regression?utm_source=hashnode&utm_medium=feed)

From Zero to Gradient Descent

5 min read · [kaushalml.hashnode.dev](https://kaushalml.hashnode.dev/from-zero-to-gradient-descent-a-deep-dive-into-simple-linear-regression?utm_source=hashnode&utm_medium=feed)

[Feb 26](https://hashnode.com/posts/from-zero-to-gradient-descent-a-deep-dive-into-simple-linear-regression/69a0a3430a5a8a54302ab69b)

### [Top K Frequent Elements — When HashMaps Start Earning Their Salary](https://kaushalm.hashnode.dev/top-k-frequent-elements-when-hashmaps-start-earning-their-salary?utm_source=hashnode&utm_medium=feed)

Given an integer array nums and an integer k, return the k most frequent elements within the array. The test cases are generated such that the answer is always unique. Example 1: Input: nums = \[1,2,2,

2 min read · [kaushalm.hashnode.dev](https://kaushalm.hashnode.dev/top-k-frequent-elements-when-hashmaps-start-earning-their-salary?utm_source=hashnode&utm_medium=feed)

[Feb 26](https://hashnode.com/posts/top-k-frequent-elements-when-hashmaps-start-earning-their-salary/69a08beb7c75fd531024c35c)

### [Scoring a String: Or How I Accidentally Did ASCII Math Again](https://kaushalm.hashnode.dev/scoring-a-string-or-how-i-accidentally-did-ascii-math-again?utm_source=hashnode&utm_medium=feed)

Ever looked at a string and thought: “Yes, today I will subtract characters from each other.” No?Well, LeetCode did. Today’s problem is deceptively simple, which makes it dangerous — because you either: overthink it, or feel suspicious about how ...

2 min read · [kaushalm.hashnode.dev](https://kaushalm.hashnode.dev/scoring-a-string-or-how-i-accidentally-did-ascii-math-again?utm_source=hashnode&utm_medium=feed)

[Jan 21](https://hashnode.com/posts/scoring-a-string-or-how-i-accidentally-did-ascii-math-again/69712bf67fdcc9a3fb2e5f49)
