This article is going to explain to you the Decision tree and Random Forest using a simple project!

Let's start with an easy example: Suppose you have to buy a new pen and now you have to decide or have to choose a single pen among various brands and you decide to use a “ Decision Tree Algorithm” to help you and you said that you want a pen and it will probably choose the most sold pen and will give you the result and you are happy with your decision.

Whereas On the other hand, your friend chooses “Random…


What Makes Sets Faster Than Lists?

As Wikipedia says “ Membership testing with sets and dictionaries is much faster, O(1), than searching sequences, O(n). When testing “a in b”, b should be a set or dictionary instead of a list or tuple.

You must have been using sets in place of lists whenever speed is important in your code, but have you ever wondered why sets are so much faster than lists. So let’s see what exactly is going on behind the scenes in python to make sets faster?

Sets are implemented using hash tables , So whenever you add…


Support Vector Machines Using Python

We are going to understand the SVM using a project by analyzing the famous iris dataset !

Iris flower data set

The Iris flower data set or Fisher’s Iris data set is a multivariate data set introduced by Sir Ronald Fisher in the 1936 as an example of discriminant analysis.

The data set consists of 50 samples from each of three species of Iris (Iris setosa, Iris virginica and Iris versicolor), so 150 total samples. Four features were measured from each sample: the length and the width of the sepals and petals, in centimeters.

Here’s a picture of the…


Photo by Wes Hicks on Unsplash

­­­­­The Jupyter Notebook is an open-source web application that allows you to create and share documents that contain live code, equations, visualizations, and narrative text. It can be used for various applications like data cleaning and transformation, numerical simulation, statistical modeling, data visualization, machine learning, and much more. It is maintained by the people at Project Jupyter.

The name, Jupyter comes from the core programming languages that it supports which are: JULIA, PYTHON, and R.

Getting Started with Jupyter Notebook

It is not included in python so if you want to use it, you have to install Jupyter. …


Getting Started

Anaconda Navigator is a graphical interface for launching common Python programs without having to use command lines, to install packages and manage your environments. It also allows you to launch applications and easily manage conda packages, environments, and channels without using command-line commands. Navigator can search for packages on Anaconda Cloud or in a local Anaconda Repository. It is available for Windows, macOS, and Linux.

Why use Navigator?

Navigator is an easy, point-and-click way to work with packages and environments without needing to type conda commands in a terminal window. …

Prajeet Singh Kalchuri

Arranging 0’s and 1’s in the exact right order !!

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