AI - Min learning
AI - Min learning
MACHINE LEARNING
In ML users have to provide the data sets. DL allows extraction of data automatically
DEEP LEARNING
Mention four examples of machines that are smart but not AI.
Automatic gates in shopping malls / remote control drones/ a fully automatic washing machine/
image tagging.
Virtual Personal Assistants, Recommendation systems like Netflix, Face Apps, Online Fraud Detection
Supervised learning
Supervised learning is a type of machine learning where the model is trained on labeled data,
we can say that the dataset is known to the person who is training the machine.
The goal of supervised learning is to learn a mapping between input data and the corresponding output labels,
Let's say we want to build a model that can classify images of animals into three categories: dogs, cats, and birds.
Classification
Regression
Classification
This model works on discrete dataset which means the data need not be continuous.
The goal of a classification model is to learn a mapping between input data and a set of predefined classes or
labels.
For example, in the grading system, students are classified on the basis of the grades they obtain with respect to
their marks in the examination.
So, the data which has been fed to the machine is continuous.
Regression analysis is a statistical method used to establish a relationship between two or more variables.
It helps to understand how the value of a dependent variable (target variable) changes when one or more
predictor variables are varied.
For example, if you wish to predict your next salary, then you would put in the data of your previous salary, any
increments, etc., and would train the model.
Clustering:
Refers to the unsupervised learning algorithm which can cluster the unknown data according to the patterns or
trends identified out of it.
The patterns observed might be the ones which are known to the developer or it might even come up with some
unique patterns out of it
Clustering Applications
What is intelligence
Intelligence is a mental quality
Intelligence is the ability to learn, understanding, self-awareness, learning,
emotional knowledge, reasoning, planning, creativity, critical thinking, and
problem-solving.
It consists of the abilities to learn from experience, adapt to new situations,
understand and handle abstract concepts, and use knowledge to perform a task
efficiently.
Neural Networks Neural networks are loosely modelled after how neurons in the human brain behave.
The key advantage of neural networks are that they are able to extract data features automatically without
needing the input of the programmer.
A neural network is essentially a system of organizing machine learning algorithms to perform certain tasks.
It is a fast and efficient way to solve problems for which the dataset is very large, such as in images.
As seen in the figure given, the larger Neural Networks tend to perform better with larger amounts of data
whereas the traditional machine learning algorithms stop improving after a certain saturation point.
This is a representation of how neural network work. A Neural Network is divided into multiple layers and each
layer is further divided into several blocks called nodes. Each node has its own task to accomplish which is then
passed to the next layer. The first layer of a Neural Network is known as the input layer. The job of an input layer
is to acquire data and feed it to the Neural Network. No processing occurs at the input layer. Next to it, are the
hidden layers. Hidden layers are the layers in which the whole processing occurs. Their name essentially means
that these layers are hidden and are not visible to the user. Each node of these hidden layers has its own machine
learning algorithm which it executes on the data received from the input layer. The processed output is then fed
to the subsequent hidden layer.
of the network. There can be multiple hidden layers in a neural network system and their number depends upon
the complexity of the function for which the network has been configured. Also, the number of nodes in each
layer can vary accordingly. The last hidden layer passes the final processed data to the output layer which then
gives it to the user as the final output. Similar to the input layer, output layer too does not process the data which
it acquires. It is meant for user-interface.
Types of Data
For Data Science, usually the data is collected in the form of tables. These tabular datasets can be stored in
different formats. Some of the commonly used formats are:
1. CSV: CSV stands for comma separated values. It is a simple file format used to store tabular data.
Each line of this file is a data record and reach record consists of one or more fields which are separated by
commas.
Since the values of records are separated by a comma, hence they are known as CSV files.
2. Spreadsheet: A Spreadsheet is a piece of paper or a computer program which is used for accounting and
recording data using rows and columns into which information can be entered.
Microsoft excel is a program which helps in creating spreadsheets
3. SQL: SQL is a programming language also known as Structured Query Language.
It is a domain specific language used in programming and is designed for managing data held in different
kinds of DBMS (Database Management System)
It is particularly useful in handling structured data. A lot of other formats of databases also exist, you can
explore them online! Data Access After collecting the data, t