Skip to content

python

Easy way to detect isolated and overlapping geo polygons in Python

Easy way to detect isolated and overlapping geo polygons in Python

There are many scenarios in which you have to detect any type of isolated polygons and overlapping polygons. But you also need to make it faster and 100 percent accurate when you pass the large numbers of polygons for processing. In this article, you’ll see exactly how to detect isolated and overlapping geo polygons in Python. Why do you need… Continue readingEasy way to detect isolated and overlapping geo polygons in Python

How to make circles in python using Shapely library

How to Make a Circle Using the Shapely Library in Python

When working with geospatial data in Python, you might find yourself needing to create a perfectly round circle. The Shapely library is a popular tool for this task, but it’s not always as straightforward as it seems. Here is given code to create circle using Shapely library in python. The Shapely’s Buffer Function Dilemma You might think that Shapely’s buffer… Continue readingHow to Make a Circle Using the Shapely Library in Python

calculate the standard deviation or variance of the tensor in Tensorflow

Easy way to calculate the standard deviation or variance of the tensor in TensorFlow?

Let’s see how you can calculate the standard deviation or variance of the tensor. As you know while building a neural network, you have to perform aggregation on the tensor often. Finding maximum, minimum, and sum is done via the same piece of code with very little change in it. But finding variance or standard deviation will require some tweaks.… Continue readingEasy way to calculate the standard deviation or variance of the tensor in TensorFlow?

Chat GPT-3 web app with streamlit

How to Create A Chat GPT-3 Web app with Streamlit in Python

OpenAI’s ChatGPT-3(Generative Pre-trained Transformer) is one of the most powerful AI chatbots right now. You can ask anything and it gives the precise answers of it. OpenAI also provides API to implement it in the programming. In this article, we will see how to create a Chat GPT-3 web app with Streamlit in python using API. After creating this, your… Continue readingHow to Create A Chat GPT-3 Web app with Streamlit in Python

Recursive Feature Elimination in machine learning

Recursive Feature Elimination(RFE): Effective Feature selection method in machine learning

To reduce features in a dataset, two methods are there in machine learning: Feature selection and Feature extraction. Recursive feature elimination or in short RFE is the feature selection method. Here is given a complete guide on Recursive Feature Elimination for feature selection in machine learning. What is RFE? In Feature extraction, two or more features are combined from existing… Continue readingRecursive Feature Elimination(RFE): Effective Feature selection method in machine learning

Naive Bayes Classifier in machine learning

Naive Bayes Classifier in machine learning- All you need to know

Classification machine learning algorithms use probability to predict the correct class, such as Logistic regression, SVC, decision tree classifier, Lasso regression, etc. Naive Bayes is the supervised machine learning algorithm used for classification problems. Let’s see how it works. Principle of Naive Bayes classifier The Naive Bayes classifier is one of the fastest and simplest algorithms in machine learning. The… Continue readingNaive Bayes Classifier in machine learning- All you need to know

pipeline in machine learning

How to make a useful pipeline in machine learning using sklearn

A machine learning pipeline consists of multiple data extraction, preprocessing, and model-building steps. It helps to automate processes that are required in model building. Pipeline helps to include all steps of preprocessing, feature selection, feature extraction, model selection, and model building In one entity. Here we will see how to make a pipeline in machine learning.

logging in python

What is logging and How to make it from scratch in python

With the help of python, we can build many projects of web scraping, data science, and more. When you are building a project, logging is also an essential part of that. There are many benefits of logging into the program. Here we will talk about what is logging in python and how to do it by the in-built library as well as by building it from scratch.

Deploy Flask app using docker and GitHub actions on Heroku

Deploy Flask app using docker and GitHub actions on Heroku

After creating the machine learning model, we can use the Flask framework to create API for web applications. After creating a web app, we can deploy it on a cloud platform like Heroku. Here I will teach you how to deploy the flask app to Heroku using docker and GitHub actions. With Docker and Github actions, you can create CI/CD… Continue readingDeploy Flask app using docker and GitHub actions on Heroku