Skip to main content

Posts

Showing posts with the label 2021

Intro to Generative Adversarial Networks | GANs 001

   GANs consist of three terms Generative Adversarial Network. Let's understand these three terms first. Generative : A Generative Model takes input training sample from some distribution and learns to represents that distribution. Adversarial : It basically means Conflicting or Opposing. Networks : These are basically neural networks. So,Generative Adversarial Networks are deep neural network architecture comprising of two neural networks compete with each other to make a generative model. A GAN consist of two class models : Discriminative Model :- It is the one that discriminate between two different classes of data.It tries to identify real data from fakes created by the generator Generative Model :- The Generator turns noise into an imitation of the data to try to trick the discriminator Mathematically, A Generative Model 'G' to be trained on training data 'X' sampled from some true distribution 'D' is the one which, given some standard random distrib...

Intro to Generative Adversarial Networks | GANs 001

   GANs consist of three terms Generative Adversarial Network. Let's understand these three terms first. Generative : A Generative Model takes input training sample from some distribution and learns to represents that distribution. Adversarial : It basically means Conflicting or Opposing. Networks : These are basically neural networks. So,Generative Adversarial Networks are deep neural network architecture comprising of two neural networks compete with each other to make a generative model. A GAN consist of two class models : Discriminative Model :- It is the one that discriminate between two different classes of data.It tries to identify real data from fakes created by the generator Generative Model :- The Generator turns noise into an imitation of the data to try to trick the discriminator Mathematically, A Generative Model 'G' to be trained on training data 'X' sampled from some true distribution 'D' is the one which, given some standard random distrib...

Intro To Machine Learning | Machine Learning 001

 Machine Learning It is basically a Subset of AI (Artificial Intelligence) which enables Machine to Learn from Data.     Hmm... So, What is AI and what does a Subset of AI means? Artificial Intelligence is basically the domain of producing Intelligent Machines. All the machine which performs some smart activity can be called as an Artificially Intelligent Machine like an Air Conditioner changing the Temperature inside the room by sensing the Temperature from the outside. Such machines are not using any Machine Learning or Deep Learning Techniques.So such machine might come in the Artificial Intelligent set but not in the Machine Learning or Deep Learning part.   How does a Machine Learns from Data? A Machine Learns from data using a Machine Learning Algorithm which take's the data as an input and predicts the output by finding patterns in the data.   Machine Learning Algorithms can be broadly divided into 3 types : Supervised Learning Unsupervised Learning Rein...

How to resize an Image using OpenCV

Media files tends to have a lot of information and processing it need a lot of time and computation. Resizing of image and videos is done to prevent computational strain Resizing is basically modifying the width and height. Many image recognition and machine learning applications benefit from scaling. By Resizing, the training time of a neural network can be significantly reduced. We'll use CV2.resize() method :- cv2.resize(src, dsize, interpolation)   src - takes the input image   dsize - take the output dimension as input in Tuple   Interpolation take three method as input  cv2.INTER_AREA : This is used when we need to shrink an image.It is the preferred method  cv2.INTER_CUBIC : A Bicubic method, is slow but more efficient.  cv2.INTER_LINEAR : This is primarily used when zooming is required. This is the default interpolation technique in OpenCV   The Function defined below will always work for Images, Video and Live Camera Feed . CODE FOR RESIZIN...

An Image For Computer Vision,Everything You Need To Know

 Image An Image consists of a set of pixels, which are the buildings blocks for any image. Every Pixels defines the color or the intensity of light.      Suppose an image has a resolution of 1000 x 750,which mean that it is 1000 pixels wide and 750 pixels tall. So the total number of pixels in our image will be 1000 * 750 = 7,50,000 pixels. An Image can be of two type :- Grayscale Color A Grayscale image can have a pixel value between 0 and 255, here 0 means the pixel is 'Black' and 255 means the pixel is ' White'. All the values in between represents various shades of gray. The matrix obtained from a Grayscale Image is 2-Dimensional ie it has width and height. A Color image is represented in RGB color space.The matrix obtained from a color image is a 3D matrix with parameter of Width, Height and Depth. Pixels in the RGB color space are no longer a scalar value like in a grayscale/single channel image – instead, the pixels are represented by a list of three value...

Frequently Asked Python Interview Questions - 2 | 2021

What is the difference between List and Tuple in Python?   A list can hold ordered sets of all data types in Python (including another list). A list's elements can be modified after creation. The implication of iterations is time-consuming in the list. Operations like insertion and deletion are better performed and consumes more memory. They are mutable The tuple type is very similar to the list type but the elements cannot be modified after creation (similar to strings). Implications of iterations are much faster in tuples. Elements can be accessed better and consumes less memory.They are immutable. What type of language is Python? Python is a dynamically typed interpreted language. These types of languages are typically referred to as “scripting” languages because code is not compiled to a binary form. By dynamically typed I mean that types do not need to be declared when coding, the interpreter figures them out at runtime. Python is neither a true compiled time nor pure...

Linear Regression for Machine Learning | Intro On Linear Regresssion 2021

 What is Linear Regression? This Algorithm is used to find the relationship between 2 continuous variables [ one independent variable and one dependent variable ]. It is a linear model which assumes a linear relationship between input and output variables. If we have single input variables then we call it as simple linear regression, if we have multiple we call it as multiple linear regression. It is both a statistical algorithm and machine language algorithm.  The Equation is 'Y = M * X + C' Y = Independent Value M = Slope/Weight X = Dependent Value C = Bias The Core idea is to obtain a line that best fits the data. 'Y' is the output variable we want to predict, X is the input variable and M & C can be called as coefficients that we need to estimate. To find m and b values we have methods like statistical method or ordinary least squares or gradient descent. How does it Work? Goal is to find the best fit line which minimize the error ( distance between the line and...

Frequenlty Used Machine Learning Terms | 2021

  Machine Learning sub-set of Artificial Intelligence focuses mostly on Machine. In this, computer algorithms are reinforced by training automatically, resulting in increased efficiency and better prediction. It detects similarities in the data, allowing data-driven decisions to be taken by the computer or system rather than being directly designed to do a certain task. Machine Learning Terms You Should Know Data Wrangling Data Wrangling also know as Data Cleaning or "munging", is the process of gathering, selecting, cleaning , structuring and enriching raw data into the desired format for better decision making in less time. Data wrangling help to create an efficient ETL (Extract Transform and Load) or create beautiful data visualizations.It can take a lot of work and time but it is worth the time and effort as it can give vital information from the data. Data Imputation  Data Imputation is the substitution of estimated values for missing or inconsistent data item (fields)....

Best IDE's For Programming in Dart | 2020

Dart is a general-purpose programming language that is open source. Originally, it was developed by Google and later accepted by ECMA as a standard. Dart is a new programming language that is intended both for the server and the browser.The Dart SDK ships with its compiler – the Dart VM .For various devices, it is a client-optimized programming language for applications. It is developed by Google and is used to construct apps for the smartphone, tablet, cloud, and web.  Best IDE's For Programming in Dart IntelliJ IDEA The Dart plugin adds Dart support to JetBrains IDEs such as IntelliJ IDEA with support for many other languages and systems, IntelliJ IDEA is an articulate Java IDE.For the development of computer applications, IntelliJ Concept is an interactive development environment written in Java. It is built by JetBrains, and is available in a proprietary commercial version as an Apache 2 Certified community edition. Android Studio    Android Studio used for Android ...

Must Know Computer Vision Tools | 2021

Computer vision is an interdisciplinary scientific field which deals with how digital images or videos can obtain high-level understanding from computers. It attempts to understand and automate activities that the human visual system can do from the point of view of engineering.Computer vision is also used in convenience stores, Driverless car training, everyday medical diagnostics, and in tracking the health of crops and animals, as an AI system that helps machines to interpret and mark images. We have seen from our study that machines are talented in identifying pictures. 5 Must Know Computer Vision Tools are: YOLO YOLO (You Only Look Once) is an open source object detection approach, which has a number of benefits compared to the other approaches. YOLO nicely learns the context and can learn 'generalized' representation so well that could be used on images with different objects. YOLO is extremely fast. Paper :- https://arxiv.org/pdf/1506.02640v5.pdf Scikit-Image  It is an o...

Frequently Asked Python Interview Questions | 2021

  Python is a high level,general-purpose programming language. It is a popular programming language used for web development, software development, machine learning etc. It is dynamically typed and garbage-collected. Easy to read and understand. WHAT IS DYNAMICALLY TYPED LANGUAGE ? It is one of the behaviors of high-level programming language to check the type of data stored in a variable during the execution. In programming languages such as C, we must declare the type of data before using it. Python does not require any declaration of the data type. The Python interpreter will know the data type when we assign a value to a variable. This is why python is known as dynamically typed language. WHAT IS PEP8 ? Python is know for its readability. In most cases we can understand the python code better than any other programming languages. Writing beautiful and readable code is an art. PEP8 is an official style guide given by the community to improve the readability to the top. PEP8 ena...

Best PyThon IDEs | 2020

 What are IDEs ? The Integrated Development Environment is a software application that offers extensive software development facilities for computer programmers. The IDE usually consists of at least a source code editor, automation software, and a debugger. Here is a list of some the Best Python IDEs available.  1.PyCharm PyCharm is an Integrated Development Environment (IDE) used in computer programming, especially in the Python language. It is developed by the Czech company JetBrains. It offers code analysis, graphical debugger, integrated unit tester, integration with version control systems (VCS) and supports web creation with Django as well as data science with Anaconda. PyCharm is a cross-platform version of Windows, MacOS and Linux. 2.Anaconda Anaconda is a distribution of Python and R programming languages for scientific computing (data science, machine learning applications, large-scale data processing, predictive analytics, etc.) with the goal of simplifying package ...

Most Difficult Programming Languages | 2020

Today we're going to look at the five most difficult programming languages to learn.   1. BrainFuck Brainfuck is an esoteric programming language developed by Urban Mülle in 1993.The language consists of only eight simple commands and an instruction pointer. It is not intended for practical use, but to challenge and amuse programmers. Although completely Turing is complete, it is not intended for practical use, but to challenge and entertain programmers. Brainfuck just needs to split commands into microscopic measures. 2.Cow The programming language was developed by Sean Heber in 2003 and is thus out of date. The idea behind the creation of COW was to play with various concepts that the maker had in mind. Surprisingly, the programming language was always intended to be complicated, and not only that, it wasn't meant to be used for any practical purpose at all. The Cow programming language was designed with the bovine in mind.As a result, all instructions are some variation on ...

Top Programming Language To Learn | 2020

There are hundreds of Programming Languages to choose from, each with its own complexities.So, here is a list of  programming language to learn for a bright future .Although the field of computer programming changes rapidly, By learning one or more of these languages, you’ll be in an excellent position not only for this year, but in the years to come.  PYTHON Python is one of the most commonly used programming languages today and is easy for beginners to learn because of its readability. It is a free, open-source programming language with extensive support modules and community development, easy integration with web services, user-friendly data structures, and GUI-based desktop applications. It is a popular programming language for machine learning and deep learning applications.With wonderful libraries, great community support, simple syntax and easy to learn. Powerful ML and NPL libraries such as: PyTorch, Tensorflow, SpaCy.     JAVA   Java is one ...

Top 5 Python Libraries | Must Learn 2020

A Python library is a reusable piece of code that you may want to use in your programs/projects. Compared to languages such as C++ or C, Python libraries do not have a clear background in Python.Today, more than 137,000 Python libraries are present. Python libraries play a crucial role in creating applications for machine learning, data science, visualization techniques, image and data manipulation, and more.   1. Pandas Pandas is a software library written for the Python programming language for data manipulation and analysis. Pandas is a fast, powerful, flexible and easy to use open source data analysis and manipulation tool, built on top of the Python programming language. In particular, it offers data structures and operations for manipulating numerical tables and time series. Pandas has been one of the most popular and favorite data science tools used in Python programming language for data wrangling and analysis. Data is unavoidably messy in real world. And Pan...

Best Platforms to Improve Machine Learning Skills | 2020

 Machine learning is one of the most exciting techniques one has ever encountered.The field of study that gives computers the ability to learn without being explicitly programmed is machine learning.Their are platforms that can help you improve your Machine Learning skills. Today I've come up with the list of some of my favorite platforms.   Platforms to Improve Machine Learning Skills 1. Kaggle The online community of data scientists and machine learning practitioners is Kaggle, a subsidiary of Google LLC. Kaggle is the largest data science community in the world.Kaggle enables users in a web-based data-science environment to find and publish data sets, explore and build models, work with other data scientists and machine learning engineers, and enter competitions to solve challenges in data science.With it's free GPUs, high paying competitions,massive community , thousands on datasets and notebooks, this platform helps a lot. 2. Seedbank It was launched by  'TensorFlow...

4 Best Freelance Websites to Find Jobs

Being a freelancer is a perfect way to turn your creativity or hobby into money. You have the right to apply for only tasks that you want or are good at. Often you are constantly sharpening your skills by accepting various tasks from different employers. If you're a full-time freelancer, trying to make more money on the side or looking for a freelancer to help you do some work, you possibly know how stressful the task can be. So, here are some of the best freelancer websites you can consider. 4 Best Freelance Websites To Find Jobs 1. Upwork Upwork  may be one of the best freelance websites for finding work no matter what type of freelancer you are. Those in web development, graphic design, and even freelance writing will find that Upwork has much to offer. The seemingly unending feed of job postings is continually updated. From small businesses to huge corporations, many different types of companies are looking to hire freelance designers through Up work. 2. Guru Guru is ...