Machine Learning Interview questions Part -3

1 – Explain the difference between Variance and R squared error? Variance is a statistical measure of the dispersion of a distribution. It is often used in statistics to measure how much variation or “dispersion” there is from the mean. Variance can be calculated as the average squared deviation from the mean, which for a…

Read More

How to Convert text into features?

In this chapter, we’re going to cover introductory to advanced feature engineering (text to features) styles. By the end of this chapter, you’ll be comfortable with the following recipes One Hot encoding Count vectorizer N- grams Hash vectorizer Term Frequency- Inverse Document Frequency (TF- IDF) Implementing word embedding Implementing fastText Now that all the text…

Read More

Image processing using Machine Learning

We begin this chapter by examining a number of of the foremost image process algorithmic rule, then march on to machine learning implementation in image processing. The chapter at a look is as follows: Feature Mapping using the SIFT algorithmic rule Suppose we’ve 2 pictures. One image is of a bench in an exceedingly park.…

Read More

Advance image processing using OpenCV

Blending two images Suppose you have two images and you want to blend them so that features of both images are visible. We use image registration techniques to blend one image over the second one and determine whether there are any changes. Let’s look at the code. Let’s look at some of the functions used…

Read More

Image processing with Scikit-image

Scikit image is a module that is used to do introductory image processing. Before we start let’s look at the description of a module. A module is a collection of a Python lines, classes, or functions. We can save complex and lengthy code inside different lines. To do this, we need to import files and use them…

Read More

How to use if else, while and for loops in python?

The if and else clause are used to structure our code with checks for conditions. The if statement is followed by an expression that we use to express a condition, and delimiters the so-called if block. The block is executed if and only if the expression evaluates to True. Example 1: By the way, even…

Read More

Operations in Python

There are many type of different operations using operators in the language: Identity As we manipulate values (using variable), two values can have the same identity. This can be tested using special built-in function: id(). We use is as the identity comparison operator, and the result here shows that var and the var3 have the…

Read More

Data types in Python

Now let’s discover data types that we can use to manipulate more data and do more things, such as lists, sets, and dictionaries. Lists A list is a sequence of arbitrary objects. You remember we said that strings are a sequence of (text) characters, so some of the things we already seen about strings apply…

Read More

Python Basics

Let’s quickly explore the first tools and basic syntax rules for a beginner to start using Python. But before that, know that when needed, you can find documentation on the Python.org site and many online resources, including sites like StackOverflow. Printing things We use the print() function to print stuff in Python. This is essential…

Read More

Computer Vision interview Question Part-2

1 – What programming languages does computer vision support? Computer vision is a field of computer science and engineering that deals with how computers can be made to gain high-level understanding from digital images or videos. The following are the programming languages that support computer vision: – C++ – Java – Python – Prolog 2…

Read More