In this article, we will try to get a deeper understanding of what each of the parameters does in the Random Forest algorithm. This is not an explanation of how the algorithm works. ( You might want to start with a simple explanation of how the algorithm works, found here in the link — A pictorial guide to understanding Random Forest Algorithm.)
The packages we will be looking at are
( for the Random Forest Classifier algorithm found in the sklearn library )
(for the Random Forest regressor algorithm)
n_estimators( default =
Since the RandomForest…
Torchvision is a library for Computer Vision that goes hand in hand with PyTorch. It has utilities for efficient Image and Video transformations, some commonly used pre-trained models, and some datasets (
torchvision does not come bundled with
PyTorch, you will have to install it separately. )
This series of articles provides you with an understanding of what comprises the
torchvision library — and also will look into how to implement these functionalities.
We will be using version
Part 1 gives you an over view of the features of
In Part 2 we will cover the…
This is Part 1 of the two article series where we look into a brief history of events that give us an understanding about how AI as we know today has evolved. Part 1 takes us through the important events from 1940s till the late 1990s.
This article is NOT JUST about the history of machines that replaced humans for ‘mere’ computation or automation. ( If it were so, we would have called it — A brief history of Computers ). This is about devices or ideas that complemented or surpassed human intelligence in the real sense of ‘thinking’.
This article is part of the supporting material for the story — ‘Understanding NLP — from TF-IDF to transformers’
Most of the times when you want to process a tonne of html files in your corpus, you would have to think about cleaning the HTML as a pre-processing step. Here are 3 ways to do the same.
Regular expressions are the most popular and powerful method for any of the complex string extraction process you want to carry out. …
In this article, we will see what the data processing steps involved in pre-processing are, and some relevant codes in python to perform these actions.
We will also see the need to build an exhaustive check-list of pre-processing steps that you can apply on your data-set. A starter checklist is provided in this article. It can be used as a base to build on for specific projects that you are handling.
Most of the machine learning algorithms need clean datasets to be provided as input to the algorithm.
These are your
test datasets . These datasets are further…
First things first — We have been on kaggle for over 4 years and would like to acknowledge the role Kaggle has played in our Data Science journey, as a very good learning platform for the beginner.
A little background — Recently we got the badge for becoming a competitions ‘Kaggle Expert’ something that only a fraction of the users on the platform end up becoming. But Kaggle was a fleeting novelty. Soon after, we moved to a more realistic platform — the real world !!
“The joy of coding Python should be in seeing short, concise, readable classes that express a lot of action in a small amount of clear code — not in reams of trivial code that bores the reader to death.”
- Guido van Rossum (creator of the Python programming language)
This article will cover 7 instances of code where you can convert your non-pythonic code into more legible and elegant code. Does your code have these usages ? Then, its a good time to revisit your old code and learn to write it in a more elegant manner.
The topics that…
Adobe Photoshop 2021 claims to be the ‘most advanced AI tool available for creatives’ so far. They have successfully adopted the latest research in AI and have added as tools in its latest version — Adobe Photoshop 2021.
Here we will take a look into the top 5 functionalities in the app that are facilitated by the advancements in AI and also have a look at the underlying AI research papers which we saw last year.
With a bunch of filters added in the beta stage…
We will experiment with
transforms are simple image transformation functions that can be carried out in a sequence soon after the
dataset ( images) is loaded . These are the broad steps for performing image transformation using
( This just means , list down the different transformations to be done on your imageset )
2. Load your
datasets and pass…
The jargonized version — “Pickling is the process of serialization and de-serialization of an object.”
The simplified version — Let’s just put it this way — pickling is a way of saving a python object on to your hard disc so that you can ‘unpickle’ it and use the object in another program / or transfer to another machine.
Now lets break down the jargons — in simple words ,