AI
AI
A subset of artificial intelligence known as machine learning focuses primarily on the creation of algorithms that enable a computer
to independently learn from data and previous experiences.
Arthur Samuel first used the term "machine learning" in 1959.
Machine learning algorithms create a mathematical model that, without being explicitly programmed, aids in making predictions or
decisions with the assistance of sample historical data, or training data. A machine can learn if it can gain more data to improve its
performance.
How does Machine Learning work?
A machine learning system builds prediction models, learns from previous data, and predicts the output of new data whenever it
receives it.
Input pass data - Machine Learning Algorithm - Building Logical Model - Output
3 Types of Classification of Machine Learning:
1. Supervised Learning - sample labeled data are provided to the machine learning system for training, and the system then
predicts the output based on the training data. Supervised learning can be grouped further in two categories of algorithms:
Classification and Regression
2. Unsupervised Learning - a learning method in which a machine learns without any supervision. The training is provided to the
machine with the set of data that has not been labeled, classified, or categorized, and the algorithm needs to act on that data without
any supervision. It can be further classifieds into two categories of algorithms: Clustering and Association
3. Reinforcement Learning - is a feedback-based learning method, in which a learning agent gets a reward for each right action
and gets a penalty for each wrong action.
HISTORY:
1834: Charles Babbage, the father of the computer, conceived a device that could be programmed with punch cards.
1936: Alan Turing gave a theory that how a machine can determine and execute a set of instructions.
1940: the first manually operated computer, "ENIAC" was invented, which was the first electronic general-purpose computer.
1950: Alan Turing published a seminal paper, "Computer Machinery and Intelligence," on the topic of artificial intelligence. In his
paper, he asked, "Can machines think?"
1959: the term "Machine Learning" was first coined by Arthur Samuel.
APPS: Alexa, Google assistant, Siri and Cortana
Application of Machine Learning
1. Image recognition - one of the most common applications of machine learning. It is used to identify objects, persons, places,
digital images, etc.
2. Speech Recognition - a process of converting voice instructions into text, and it is also known as "Speech to text", or "Computer
speech recognition."
3. Traffic prediction - It predicts the traffic conditions such as whether traffic is cleared, slow-moving, or heavily congested.
4. Product recommendations - whenever we search for some product on Amazon, then we started getting an advertisement for
the same product while internet surfing on the same browser and this is because of machine learning.
5. Self-driving cars - Tesla is the most popular car manufacturing company is working on self-driving car. It is using unsupervised
learning method to train the car models to detect people and objects while driving.
6. Email Spam and Malware Filtering - whenever we receive a new email, it is filtered automatically as important, normal, and
spam. We always receive an important mail in our inbox with the important symbol and spam emails in our spam box, and the
technology behind this is Machine learning.
7. Virtual Personal Assistant - These assistant record our voice instructions, send it over the server on a cloud, and decode it using
ML algorithms and act accordingly.
8. Online Fraud Detection - Machine learning is making our online transaction safe and secure by detecting fraud transaction.
Whenever we perform some online transaction, there may be various ways that a fraudulent transaction can take place such as fake
accounts, fake ids, and steal money in the middle of a transaction.
9. Stock Market trading - In the stock market, there is always a risk of up and downs in shares, so for this machine learning's long
short term memory neural network is used for the prediction of stock market trends.
10. Medical Diagnosis - With this, medical technology is growing very fast and able to build 3D models that can predict the exact
position of lesions in the brain.
It helps in finding brain tumors and other brain-related diseases easily.
11. Automatic Language Translation - Learning that translates the text into our familiar language, and it called as automatic
translation. The technology behind the automatic translation is a sequence to sequence learning algorithm, which is used with
image recognition and translates the text from one language to another language.
Machine learning life cycle involves seven major steps:
1. Gathering Data: The goal of this step is to identify and obtain all data-related problems.
2. Data preparation: A step where we put our data into a suitable place and prepare it to use in our machine learning training.
3. Data Wrangling: The process of cleaning and converting raw data into a useable format.
4. Data Analysis: To build a machine learning model to analyze the data using various analytical techniques and review the
outcome.
5. Train Model - We train our model to improve its performance for better outcome of the problem.
We use datasets to train the model using various machine learning algorithms.
6. Test Model - Once our machine learning model has been trained on a given dataset, then we test the model. In this step, we
check for the accuracy of our model by providing a test dataset to it.
7. Deployment - The last step of machine learning life cycle is deployment, where we deploy the model in the real-world system. If
the above-prepared model is producing an accurate result as per our requirement with acceptable speed, then we deploy the model
in the real system.
Lesson 4: Robotics
Robotics is a branch of Artificial Intelligence (AI), it is mainly composed of electrical engineering, mechanical engineering and
computer science engineering for construction, designing and application of robots.
Robots are multifunctional, re-programmable, automatic industrial machine designed for replacing human in hazardous work.
The word "Robotics", was coined accidentally by the Russian-born, American scientist, Issac Asimov in 1940s .
Laws of Robotics:
- Zeroth Law - is not allowed to injured humanity, or, through inaction it allows humanity to come to harm.
- First Law - can not injure a human being, or, through inaction it allows a human being to come to harm.
- Second Law - should follow the orders given it by human
- Third Law - allowed to protect its own existence
Components of Robots
1. Power Supply - the working power to the robot is provided by batteries.
2. Actuators - the energy conversion device used inside a robot.
3. Electric motors (DC/AC)- are electromechanical component used for converting electrical energy into its equivalent mechanical
energy.
4. Sensors - provide real time information on the task environment.
5. Controller - a part of robot that coordinates all motion of the mechanical system
Robot Locomotion is the mechanism that makes a robot capable of moving in its environment.
Type of Robot Locomotion:
1. Wheeled Locomotion - It requires less number of motors for accomplishing a movement. It is little easy to implement as there
are lesser stability issues in case of more number of wheels.
2. Legged Locomotion - It requires more number of motors for accomplish a movement. It is suited for rough as well as smooth
terrain where irregular or too smooth surface makes it consume more operational power.
3. Slip/Skid Locomotion - The vehicles use tracks as available in a tank. The robot is steered by moving tracks with different
speeds in the same or opposite direction.
Types of Robots
1. Mobile robots - are able to move from one location to another location using locomotion. It is an automatic machine that is
capable of navigating an uncontrolled environment. Mobile Robots are of two types:
(a) Rolling robots - require wheels to move around. They can easily and quickly search. But they are only useful in flat areas.
(b) Walking robots - Robots with legs are usually used in condition where the terrain is rocky.
2. Industrial robots - perform same tasks repeatedly without ever moving.
3. Autonomous robots - are self-supported.
4. Remote controlled robots - used for performing complicated and undetermined tasks.
Types of Robot Sensors:
1. Light sensor - is a transducer used for detecting light and creates a voltage.
2. Proximity sensor - can detect the presence of nearby object without any physical contact.
3. Sound sensors - a microphone used to detect sound and return a voltage equivalent to the sound level.
4. Temperature sensors - used for sensing the change in temperature of the surrounding.
5. Acceleration sensor - used for measuring acceleration and tilt.