Exploiting the concepts of linear programming to solve a Sudoku puzzle

SUDOKU+LINEAR PROGRAMMING (Image Compilation by Author. Sudoku Images — wiki)

Sudoku is a game typically involving the pen, paper, and mind in action together. When you want to give some rest to the pen & the mind, it can be solved with the Sudoku solvers. Here we will try to create one such Sudoku solver.

This article aims at exploiting the concepts of linear programming to solve a Sudoku puzzle. We will start off by refreshing some of the basic theories behind Linear Programming and then implementing the same in Python using the PuLP package.

Here we will be trying to solve two types of sudoku puzzles, the regular sudoku…

Application of k-means clustering, hierarchical clustering & DBSCAN clustering

Both, Cricket & Data Science, have always fascinated me. When I bumped into the IPL (Indian Premier League) data, I was all curious to apply some kind of mathematical analysis on this data to derive something interesting out of it. The data had the detail of each ball bowled in the IPL. It was interesting to first convert this data to player-level data and then try to identify patterns in the data that can group together players with similar performances. This perfectly fits into a clustering problem.

Clustering is a type of ‘unsupervised machine learning’ with no defined label based…

Understanding the internals of LIME using COVID-19 data

Squeezing LIME (Source: Unsplash)

Explainable AI (XAI)

As the complexity of a model increases, its accuracy increases but its interpretability reduces. Most of the complex machine learning models that are math-heavy are not easily interpretable and run as black boxes where it is difficult to explain the reason behind certain predictions.

Explainable AI (XAI) refers to the methods and techniques that help in understanding and interpreting the predictions made by a machine learning model.

The applications of Explainable AI frameworks enables businesses to apply more robust and complex solutions in a ‘White-Box’ approach.

Explainable AI provides a justification post-prediction.

What is LIME?

LIME stands for Local Interpretable Model-agnostic Explanations and…

A step-by-step guide using Python (PuLP package)

The Indian Premier League (IPL) is the biggest domestic cricket league on the globe. In the year 2020, the IPL title sponsors were Dream11. Dream11 is a fantasy sports platform based out of India. It allows users to play fantasy cricket, hockey, football, kabaddi, and basketball.

In this article, we will be applying Prescriptive Analytics to sports where we will focus on selecting a fantasy cricket team with one of the matches as an example.

Image from Unsplash: source

Fantasy Cricket in a Nutshell

If you are new to fantasy cricket then this is how it works

  • User needs to create a fantasy cricket team
  • Users can then participate…

Data visualization with COVID-19 world data

Source: pixabay

It has been almost a year since the onset of the pandemic. During this time, I am sure that each one of us would have gone through a multitude of changes, both personally & professionally. As we enter the new year (2021), let us hope that things change for the better.

For data enthusiasts, more time gives more data. Now that we have one year’s covid-19 data, it will be interesting to analyze how the pandemic has been behaving across different countries. …

Lakshmi Ajay

Data Science Enthusiast | Passionate Programmer | https://www.linkedin.com/in/lakshmi-e-2321943/

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store