Single line of code in Python: does multi-class classification with visualization

Photo by Stefan Nikolovski on Unsplash

I don’t think necessity is the mother of invention. Invention, in my opinion, arises directly from idleness, possibly also from laziness — to save oneself trouble.

— Agatha Christie

Prologue

I couldn’t agree more with the best-selling author of all time.

The open-source Python packages are so very rich that one hardly needs to write lengthy codes, which is a boon to lazy programmers. Or, to put it in another way, it frees up a lot of programmer's time. …


A treatise on Seattle’s car collision data

Hindsight is a wonderful thing but foresight is better, especially when it comes to saving life, or some pain!

— William Blake

Photo by Ricardo Gomez Angel on Unsplash

Prerequisite: Basic knowledge of data processing, machine learning using Python

Introduction

According to the statistics by WHO (7th Feb 2020):

Every year the lives of approximately 1.35 million people are cut short as a result of a road traffic crash. Between 20 and 50 million more people suffer non-fatal injuries, with many incurring a disability as a result of their injury.

According to the National Safety Council, traffic collisions cause more than…

Debdarsan Niyogi (PhD)

Data Scientist, Calcutta University

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