Skip to content

Geeky Codes

Programming, AI, Machine Learning & Software Development Tutorials

  • Home
  • Python
  • Machine Learning
  • Data Science
  • Interview Questions
  • Data Structures and Algorithms
  • Interview
  • Machine Learning From Scratch

Category: Python

PandasPython

Accessing Data in Structured Flat-File Form

February 22, 2024July 1, 2025

In many cases, the data you need to work with won’t appear within a library, such as the toy datasets…

Data ScienceMachine LearningPython

Uploading, Streaming, and Sampling Data Using Python

Geeky CodesFebruary 22, 2024July 1, 2025

Introduction Storing data in local computer memory represents the fastest and most reliable means to access it. The data could…

Data Structures and AlgorithmsHacker Rank SolutionsPython

Utopian Tree | Hackerrank Solution

Geeky CodesFebruary 22, 2024July 1, 2025

The Utopian Tree goes through 2 cycles of growth every year. Each spring, it doubles in height. Each summer, its height increases by 1 meter. A…

AlgorithmsData Structures and AlgorithmsHacker Rank SolutionsPython

Designer PDF Viewer | Hackerrank

February 21, 2024July 1, 2025

When a contiguous block of text is selected in a PDF viewer, the selection is highlighted with a blue rectangle.…

AlgorithmsGFG Problem of the DayPython

Game with String | Problem of the day

February 19, 2024July 1, 2025

Given a string s of lowercase alphabets and a number k, the task is to print the minimum value of the string after…

Data ScienceMachine LearningPandasPython

Linear Regression from Scratch: A Step-by-Step Guide

February 10, 2024July 1, 2025

Introduction: Linear regression is one of the fundamental techniques in machine learning and statistics used for modeling the relationship between…

Polynomial Kernel | Machine Learning from Scratch
Data ScienceMachine LearningPythonSupport Vector Machine

Polynomial Kernel | Machine Learning from Scratch

Geeky CodesFebruary 8, 2024April 25, 2025

In Previous blog we talked about Non Linear SVM Classifications. In this blog we will talk about Polynomial Kernel. Introduction…

How can A linear model learn non-linear/discrete patterns?
Data ScienceMachine LearningPython

How can A linear model learn non-linear/discrete patterns?

February 8, 2024April 25, 2025

Introduction During model development, one of the techniques that many don’t experiment with is feature discretization. The core idea is…

What is early stopping? | Machine Learning from Scratch
Data ScienceMachine LearningPython

What is early stopping? | Machine Learning from Scratch

January 23, 2024April 25, 2025

Machine learning models, particularly those trained iteratively using algorithms like Gradient Descent, face the risk of overfitting the training data.…

Pyspark Tutorial for beginners
AWS TutorialsData EngineeringPython

Pyspark Tutorial for beginners

January 20, 2024July 1, 2025

PySpark, it is a Python library for Apache Spark, an open-source distributed computing system. PySpark allows you to write Spark…

Extracting Financial Year from Date in Pandas and PySpark DataFrames
AWS TutorialsData EngineeringData ScienceMachine LearningPandasPython

Extracting Financial Year from Date in Pandas and PySpark DataFrames

January 19, 2024July 1, 2025

Introduction Working with date data often involves extracting relevant information, such as the financial year. In this blog post, we’ll…

What is Lasso Regression? | Machine Learning from Scratch
Data ScienceMachine LearningPython

What is Lasso Regression? | Machine Learning from Scratch

January 19, 2024July 1, 2025

Least Absolute Shrinkage and Selection Operator Regression (simply called Lasso Regression) is another regularized version of Linear Regression: just like…

Hackerrank | Longest Subarray with Absolute Difference Constraint
AlgorithmsData Structures and AlgorithmsHacker Rank SolutionsPython

Hackerrank | Longest Subarray with Absolute Difference Constraint

January 18, 2024July 1, 2025

Problem Overview Given an array of integers, our task is to find the longest subarray such that the absolute difference…

Hackerrank | Magic Square
CData Structures and AlgorithmsHacker Rank SolutionsPython

Hackerrank | Magic Square

January 16, 2024April 25, 2025

We define a magic square to be an n*n matrix of distinct positive integers from 1 to n^2 where the sum of any row, column, or diagonal of…

A Python Script to Check IP Address Reachability
Cyber SecurityPython

A Python Script to Check IP Address Reachability

January 15, 2024April 25, 2025

Introduction In the world of networking, ensuring that devices are reachable is a fundamental aspect of troubleshooting and monitoring. One…

Hackerrank | Cats and a Mouse
CData Structures and AlgorithmsHacker Rank SolutionsPython

Hackerrank | Cats and a Mouse

January 15, 2024April 25, 2025

Two cats and a mouse are at various positions on a line. You will be given their starting positions. Your…

Hackerrank | Birthday Candles Problem
AlgorithmsData Structures and AlgorithmsHacker Rank SolutionsInterviewInterview QuestionsPython

Hackerrank | Birthday Candles Problem

Geeky CodesDecember 30, 2023April 25, 2025

You are in charge of the cake for a child’s birthday. You have decided the cake will have one candle…

Hackerrank | Min Max Sum of N-1 Elements
Data Structures and AlgorithmsHacker Rank SolutionsInterviewInterview QuestionsPython

Hackerrank | Min Max Sum of N-1 Elements

Geeky CodesDecember 29, 2023April 23, 2025

Given five positive integers, find the minimum and maximum values that can be calculated by summing exactly four of the…

HackerRank Problem | Staircase detail
AlgorithmsData Structures and AlgorithmsInterviewInterview QuestionsPython

HackerRank Problem | Staircase detail

Geeky CodesDecember 29, 2023April 25, 2025

Staircase detail This is a staircase of size n=4: Its base and height are both equal to 4 . It is drawn…

Hackerrank Problems | Compare the triplets
Data Structures and AlgorithmsHacker Rank SolutionsPython

Hackerrank Problems | Compare the triplets

Geeky CodesDecember 27, 2023April 25, 2025

Alice and Bob each created one problem for HackerRank. A reviewer rates the two challenges, awarding points on a scale…

Posts navigation

Older posts
Newer posts

Total Visitors

  • 49,586 hits
  • Longest Consecutive Sequence in Python: O(n) Hash Set Solution Explained
  • PyTorch CNN Shape Mismatch Error: Fixing “mat1 and mat2 shapes cannot be multiplied
  • Counting Common Members Across Months in SQL
  • How to Join a Parameterized View in SAP HANA (And Fix the “Parameterized View with Unused Parameter” Error)
  • Inverting a Character Frequency Map in Python

Top Posts & Pages

  • Longest Consecutive Sequence in Python: O(n) Hash Set Solution Explained
  • PyTorch CNN Shape Mismatch Error: Fixing "mat1 and mat2 shapes cannot be multiplied
  • Counting Common Members Across Months in SQL
  • How to Join a Parameterized View in SAP HANA (And Fix the "Parameterized View with Unused Parameter" Error)
  • Terms and Conditions
  • Inverting a Character Frequency Map in Python
  • Ace Your Databricks Data Engineer Exam: 10 Essential Practice Questions Explained Part 6
  • Ace Your Databricks Data Engineer Exam: 10 Essential Practice Questions Explained Part 5
  • Ace Your Databricks Data Engineer Exam: 10 Essential Practice Questions Explained Part 4
  • Ace Your Databricks Data Engineer Exam: 10 Essential Practice Questions Explained Part 3
Read more: Hackerrank Problems | Compare the triplets

| Extensive News by Ascendoor | Powered by
Geeky Codes
Proudly powered by WordPress Theme: Extensive News.

Loading Comments...