Skip to main content

Posts

Showing posts with the label learn

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 Reinforcement Learning S

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 RESIZING. import cv2 frame= cv2.imre

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).

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 enables

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 managemen

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 of the most common, in-d

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 Pandas

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

5 Games to Learn Coding 2021 | Learn Coding

Programming is enjoyable as soon as you know what you're doing but studying in conventional can be dull at times, these games can kill your boredom and teach you programming at the same time.  1.CODEMONKEY CodeMonkey teaches coding using CoffeeScript, a real programming language, to teach you to build your own games in HTML. It's aimed at coding for kids, but it's definitely fun for adults, too.  2.CODINGAME CodinGame is a challenge-based training platform for programmers where you can improve your coding skills with fun games. It offers up fun free games to help learn more than 25 programming languages, including JavaScript, Ruby, and PHP. 3.CODECOMBAT CodeCombat provides coding games for beginners and advanced programmers where you can improve your coding skills by solving engaging challenges and fun tasks. It is aimed at teachers and students, but anyone can play Learn Python, JavaScript, CoffeeScript, or the Lua game Scripting Language. 4.CODE WARS A Gameified way to pr

5 Most Popular Framework and Libraries 2020 | Best Frameworks and Libraries to Work on

Hello everyone, look at the 5 most popular frameworks and libraries. The list is based on the survey on StackOverflow. What is a Framework? A Framework is software that is developed and used by developers to create applications. As they are also designed, tested, and optimized by a variety of professional software engineers and programmers, the software frameworks are flexible, scalable, and effective.  Using the program platform to build apps, you will concentrate on the high-level features of the application. This is because the system itself takes care of any low-level features. 1.jQuery jQuery is a JavaScript library.  It has been designed to ease HTML DOM tree traversal and manipulation, as well as event planning, CSS animation, and Ajax.  Site research reveals that it is the most commonly used JavaScript library with at least 3 to 4 times more use than any other JavaScript library.  It is free, open-source software that uses a permissive MIT License.   2.React.js React also known

Best Coding Challenge Websites | 5 Best Coding Websites 2020

Think you are the Best Coder and want to flaunt your Programming Skills or You want to learn more and improve yourself so coding challenges and competitive programming are for you. Solving various types of problems and puzzles will encourage you to become a professional problem solver. Learn the complexity of programming code, train for career interviews, learn new algorithms, and more. The Coding Contest or Tournament will give you the ability to analyse your abilities and expertise  and to compare yourself to other programmers across the world. Below is a list of 5 Best Coding challenge websites with a brief summary of what each one provides. 1. CODERBYTE Coderbyte offers 200 + coding problems that can be answered directly online in one of the 10 programming languages. The challenges vary from quick to difficult. It also provides official solutions for some of the challenges along with 800,00+ user solutions. Coderbyte is recommended by the best boot camps for their series of interv

Learn Python For Free | 3 Best Websites to Learn Python For Free

Python is an interpreted, high-level, and general-purpose language. It currently the world's #1 Programming Language and the popularity is growing, thanks to its easy to learn syntax emphasizes readability, Open Source, Portability. Python supports modules and libraries like Pandas, Numpy and Tensorflow, etc, encouraging program modularity and code reuse. Python is great for Back End Development, Data Analysis, Machine Learning, and Artificial Intelligence, Game Development, IoT, etc. you name it and python might do it. There are a lot of good resources to learn python on the internet, but here i present you 3 Best website to learn python for free. Why spend the bucks when you can do it for free. 3 Best Websites to Learn Python I've compiled these 3 websites but there are many more resources to learn from. what are your favorite website feel free to share.  #1 Python.org  The official home of Python Programming language. It has all the resources from getting started to learning