Naveen Pandey has more than 2 years of experience in data science and machine learning. He is an experienced Machine Learning Engineer with a strong background in data analysis, natural language processing, and machine learning. Holding a Bachelor of Science in Information Technology from Sikkim Manipal University, he excels in leveraging cutting-edge technologies such as Large Language Models (LLMs), TensorFlow, PyTorch, and Hugging Face to develop innovative solutions.
Syntax: Assert condition [Error Message] Example 1: assert statement without error message Example 2: assert statement with error message Example 3: assert statement with try & except Example 4: assert statement with function Above, square(10) will return 100, whereas square(-10) will raise an AssertionError because we passed -10. Popular Posts
Iterables Iterators Iterators can be iterable because both iterator and iterable can be iterated using for loop but iterable objects can not be iterator because next() method is not supported by iterable objects. Popular Posts
Python implementation Generators Python generators are functions that are similar to normal functions, but use yield statements instead of return statements. A generator function returns the generator object with a sequence of elements, which we can iterate over. Element in a generator object can be accessed either by using the next() function or using a…
Abstract Class Why Abstraction is Important? In Python, a person usually abstracts data/classes to hide the irrelevant information. This helps to reduce complexity and increase application efficiency. Abstract Base Classes An abstract class is the first part of a development interface that can be used to apply common features and behavior to several related subclasses.…
Object-oriented programming (OOP) is a programming paradigm based on the concept of objects which contains data or attributes and code or methods. Major oops concepts include Class, Object, Inheritance, Polymorphism, Data Abstraction, Encapsulation. Class Class is the user defined data type and it is defined using class keyword. It is a collection of similar type…
What is Edge detection? Edge detection is a computer vision technique that uses the edges of an image to find and extract objects. It is widely used in a variety of fields such as photography, video and computer vision. it is used in many ways in computer vision, including image segmentation, which divides an image…
In this article, I will be discussing about various algorithms of image feature detection, description using OpenCV. Introduction What do humans typically do when they see the image? He will be able to recognize the faces which are there inside the images. So, in a simple form, computer vision is what allows computers to see…
You may be already familiar with the word ‘contour.’ I’ve used this term several times in previous posts. A contour line is a curved line representing values. It is a very simple type of map that outlines the changes in an area, typically separating the different landforms. But then you may ask this. The terms ‘edges’…
Today we’re going to talk about how to manipulate images. These are preprocessing steps. When it comes to detecting edges and contours, noise plays a major role in the accuracy of the detection process. -The model needs to focus on the general details of their images in order to produce higher accuracies. -Blurring, thresholding, and…
Image Processing is used to perform some operations on images in order to animate them, develop videos, or generate graphics. To get started with data analysis, you can use image preprocessing feature engineering. It’s not difficult to extract useful information from images – this is accomplished via image processing methods. Reduction of noise, adjustment of…
Doc2vec is a technique that extracts semantic information from documents and then uses that information to classify the documents. By applying Doc2vec to existing documents, it becomes possible for AI software to rapidly identify similar topics in a large collection of text without having to read the entire corpus. This technique has been used in…
What is Gradient Descent, Batch Gradient Descent, Stochastic Gradient Descent, Mini-Batch Gradient Descent? Gradient Descent This algorithm is a general algorithm that is used for optimization and for providing the optimal solution for various problems. It takes parameters in an iterative way and makes the cost function as simple as possible. 1) Define a cost…