SlideShare a Scribd company logo
1 of 17
Machine Learning
Support Vector Machines
A Support Vector Machine (SVM) can be imagined as a surface that creates a
boundary between points of data plotted in multidimensional that represent
examples and their feature values
The goal of a SVM is to create a flat boundary called a hyperplane, which divides
the space to create fairly homogeneous partitions on either side
SVMs can be adapted for use with nearly any type of learning task, including
both classification and numeric prediction
Classification with hyper planes
For example, the following figure depicts hyperplanes that separate groups
of circles and squares in two and three dimensions. Because the circles and
squares can be separated perfectly by the straight line or flat surface, they
are said to be linearly separable
Which is the “best” Fit!
In two dimensions, the task of the SVM algorithm is to identify a line that
separates the two classes. As shown in the following figure, there is more than
one choice of dividing line between the groups of circles and squares. How does
the algorithm choose
Linear Hyperplane for 2-classes
SVM Objective
OBJECTIVE: CONSTRAINT:
Min
Nonlinearly separable data
A cost value (denoted as C) is applied to all points that violate the constraints,
and rather than finding the maximum margin, the algorithm attempts to minimize
the total cost. We can therefore revise the optimization problem to:
Using kernels for non-linear spaces
A key feature of SVMs is their ability to map the problem into a higher
dimension space using a process known as the kernel trick. In doing so, a
nonlinear relationship may suddenly appear to be quite linear.
After the kernel trick has been applied, we look at the data
through the lens of a new dimension: altitude. With the addition
of this feature, the classes are now perfectly linearly separable
Neural Networks
Understanding neural networks
An Artificial Neural Network (ANN) models the relationship between a set of input
signals and an output signal using a model derived from our understanding of
how a biological brain responds to stimuli from sensory inputs. Just as a brain
uses a network of interconnected cells called neurons to create a massive parallel
processor, ANN uses a network of artificial neurons or nodes to solve learning
problems
The human brain is made up of about 85 billion neurons, resulting in a
network capable of representing a tremendous amount of knowledge
For instance, a cat has roughly a billion neurons, a mouse has about 75
million neurons, and a cockroach has only about a million neurons. In
contrast, many ANNs contain far fewer neurons, typically only several
hundred, so we're in no danger of creating an artificial brain anytime in the
near future
Biological to artificial neurons
Incoming signals are received by the cell's dendrites through a biochemical process. The
process allows the impulse to be weighted according to its relative importance or frequency. As
the cell body begins accumulating the incoming signals, a threshold is reached at which the cell
fires and the output signal is transmitted via an electrochemical process down the axon. At the
axon's terminals, the electric signal is again processed as a chemical signal to be passed to the
neighboring neurons.
This directed network diagram defines a
relationship between the input signals
received by the dendrites (x variables), and
the output signal (y variable). Just as with the
biological neuron, each dendrite's signal is
weighted (w values) according to its
importance. The input signals are summed
by the cell body and the signal is passed on
according to an activation function denoted
by f
A typical artificial neuron with n input dendrites can be
represented by the formula that follows. The w weights
allow each of the n inputs (denoted by xi) to contribute
a greater or lesser amount to the sum of input signals.
The net total is used by the activation function f(x), and
the resulting signal, y(x), is the output axon
In biological sense, the activation function could be imagined as a process that
involves summing the total input signal and determining whether it meets the firing
threshold. If so, the neuron passes on the signal; otherwise, it does nothing. In ANN
terms, this is known as a threshold activation function, as it results in an output signal
only once a specified input threshold has been attained
The following figure depicts a typical threshold function; in this case,
the neuron fires when the sum of input signals is at least zero.
Because its shape resembles a stair, it is sometimes called a unit step
activation function
Network topology
The ability of a neural network to learn is rooted in its topology, or the
patterns and structures of interconnected neurons
key characteristics
• The number of layers
• Whether information in the network is allowed to travel backward
• The number of nodes within each layer of the network
Number of layers
The input and output nodes are arranged in groups known as layers
Input nodes process the incoming data exactly as it is received, the
network has only one set of connection weights (labeled here as w1,
w2, and w3). It is therefore termed a single-layer network
Thank you

More Related Content

Similar to Python data science course

Machine learning
Machine learningMachine learning
Machine learningkrishna1132
 
Machine Learning Course Training
Machine Learning Course TrainingMachine Learning Course Training
Machine Learning Course Trainingpriyankaravilla
 
Data analytics certification in mumbai
Data analytics certification in mumbaiData analytics certification in mumbai
Data analytics certification in mumbaiTejaspathiLV
 
Machine learning course
Machine learning courseMachine learning course
Machine learning courseAPT
 
Machine Learning Course
Machine Learning CourseMachine Learning Course
Machine Learning CourseAPT
 
Machine learning
Machine learningMachine learning
Machine learningAPT
 
Machine learning course
Machine learning courseMachine learning course
Machine learning courseAPT
 
Artificial intelligence training
Artificial intelligence trainingArtificial intelligence training
Artificial intelligence trainingprasad22966
 
Artificial intelligence training
Artificial intelligence trainingArtificial intelligence training
Artificial intelligence trainingprasad22966
 
Artificial intelligence training in pune pdf converted
Artificial intelligence training in pune pdf convertedArtificial intelligence training in pune pdf converted
Artificial intelligence training in pune pdf convertedsripadojwarumavilas
 
Artificial Neural Networks ppt.pptx for final sem cse
Artificial Neural Networks  ppt.pptx for final sem cseArtificial Neural Networks  ppt.pptx for final sem cse
Artificial Neural Networks ppt.pptx for final sem cseNaveenBhajantri1
 

Similar to Python data science course (12)

Machine learning
Machine learningMachine learning
Machine learning
 
Machine Learning Course Training
Machine Learning Course TrainingMachine Learning Course Training
Machine Learning Course Training
 
Data analytics certification in mumbai
Data analytics certification in mumbaiData analytics certification in mumbai
Data analytics certification in mumbai
 
Machine learning
Machine learningMachine learning
Machine learning
 
Machine learning course
Machine learning courseMachine learning course
Machine learning course
 
Machine Learning Course
Machine Learning CourseMachine Learning Course
Machine Learning Course
 
Machine learning
Machine learningMachine learning
Machine learning
 
Machine learning course
Machine learning courseMachine learning course
Machine learning course
 
Artificial intelligence training
Artificial intelligence trainingArtificial intelligence training
Artificial intelligence training
 
Artificial intelligence training
Artificial intelligence trainingArtificial intelligence training
Artificial intelligence training
 
Artificial intelligence training in pune pdf converted
Artificial intelligence training in pune pdf convertedArtificial intelligence training in pune pdf converted
Artificial intelligence training in pune pdf converted
 
Artificial Neural Networks ppt.pptx for final sem cse
Artificial Neural Networks  ppt.pptx for final sem cseArtificial Neural Networks  ppt.pptx for final sem cse
Artificial Neural Networks ppt.pptx for final sem cse
 

More from bhuvan8999

Machine learning certification
Machine learning certificationMachine learning certification
Machine learning certificationbhuvan8999
 
Business analytics course in delhi
Business analytics course in delhiBusiness analytics course in delhi
Business analytics course in delhibhuvan8999
 
Data analytics certification training in hyderabad
Data analytics certification training in hyderabadData analytics certification training in hyderabad
Data analytics certification training in hyderabadbhuvan8999
 
Digital marketing training in hyderabad
Digital marketing training in hyderabadDigital marketing training in hyderabad
Digital marketing training in hyderabadbhuvan8999
 
Data scientist course in bangalore
Data scientist course in bangaloreData scientist course in bangalore
Data scientist course in bangalorebhuvan8999
 
Data science courses in bangalore
Data science courses in bangaloreData science courses in bangalore
Data science courses in bangalorebhuvan8999
 
Data science python training
Data science python trainingData science python training
Data science python trainingbhuvan8999
 
Data science certification course
Data science certification courseData science certification course
Data science certification coursebhuvan8999
 
Data science training and placements
Data science training and placementsData science training and placements
Data science training and placementsbhuvan8999
 
Data science training ang placements
Data science training ang placementsData science training ang placements
Data science training ang placementsbhuvan8999
 
Python data science course
Python data science coursePython data science course
Python data science coursebhuvan8999
 
Python data science course
Python data science coursePython data science course
Python data science coursebhuvan8999
 
Data science online
Data science onlineData science online
Data science onlinebhuvan8999
 
Data analytics training in Bangalore
Data analytics training in BangaloreData analytics training in Bangalore
Data analytics training in Bangalorebhuvan8999
 
PMP online training
PMP online trainingPMP online training
PMP online trainingbhuvan8999
 

More from bhuvan8999 (16)

Machine learning certification
Machine learning certificationMachine learning certification
Machine learning certification
 
Business analytics course in delhi
Business analytics course in delhiBusiness analytics course in delhi
Business analytics course in delhi
 
Data analytics certification training in hyderabad
Data analytics certification training in hyderabadData analytics certification training in hyderabad
Data analytics certification training in hyderabad
 
Digital marketing training in hyderabad
Digital marketing training in hyderabadDigital marketing training in hyderabad
Digital marketing training in hyderabad
 
Data scientist course in bangalore
Data scientist course in bangaloreData scientist course in bangalore
Data scientist course in bangalore
 
Data science courses in bangalore
Data science courses in bangaloreData science courses in bangalore
Data science courses in bangalore
 
Data science python training
Data science python trainingData science python training
Data science python training
 
Data science certification course
Data science certification courseData science certification course
Data science certification course
 
Data science training and placements
Data science training and placementsData science training and placements
Data science training and placements
 
Data science training ang placements
Data science training ang placementsData science training ang placements
Data science training ang placements
 
Python data science course
Python data science coursePython data science course
Python data science course
 
Python data science course
Python data science coursePython data science course
Python data science course
 
Data science online
Data science onlineData science online
Data science online
 
Data analytics training in Bangalore
Data analytics training in BangaloreData analytics training in Bangalore
Data analytics training in Bangalore
 
Iot training
Iot trainingIot training
Iot training
 
PMP online training
PMP online trainingPMP online training
PMP online training
 

Recently uploaded

Blooming Together_ Growing a Community Garden Worksheet.docx
Blooming Together_ Growing a Community Garden Worksheet.docxBlooming Together_ Growing a Community Garden Worksheet.docx
Blooming Together_ Growing a Community Garden Worksheet.docxUnboundStockton
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfsanyamsingh5019
 
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTiammrhaywood
 
internship ppt on smartinternz platform as salesforce developer
internship ppt on smartinternz platform as salesforce developerinternship ppt on smartinternz platform as salesforce developer
internship ppt on smartinternz platform as salesforce developerunnathinaik
 
Presiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsPresiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsanshu789521
 
How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17Celine George
 
_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting Data_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting DataJhengPantaleon
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Krashi Coaching
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformChameera Dedduwage
 
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Celine George
 
Biting mechanism of poisonous snakes.pdf
Biting mechanism of poisonous snakes.pdfBiting mechanism of poisonous snakes.pdf
Biting mechanism of poisonous snakes.pdfadityarao40181
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxGaneshChakor2
 
EPANDING THE CONTENT OF AN OUTLINE using notes.pptx
EPANDING THE CONTENT OF AN OUTLINE using notes.pptxEPANDING THE CONTENT OF AN OUTLINE using notes.pptx
EPANDING THE CONTENT OF AN OUTLINE using notes.pptxRaymartEstabillo3
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Educationpboyjonauth
 
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
History Class XII Ch. 3 Kinship, Caste and Class (1).pptx
History Class XII Ch. 3 Kinship, Caste and Class (1).pptxHistory Class XII Ch. 3 Kinship, Caste and Class (1).pptx
History Class XII Ch. 3 Kinship, Caste and Class (1).pptxsocialsciencegdgrohi
 
Science lesson Moon for 4th quarter lesson
Science lesson Moon for 4th quarter lessonScience lesson Moon for 4th quarter lesson
Science lesson Moon for 4th quarter lessonJericReyAuditor
 

Recently uploaded (20)

TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdfTataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
 
Blooming Together_ Growing a Community Garden Worksheet.docx
Blooming Together_ Growing a Community Garden Worksheet.docxBlooming Together_ Growing a Community Garden Worksheet.docx
Blooming Together_ Growing a Community Garden Worksheet.docx
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdf
 
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
 
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
 
internship ppt on smartinternz platform as salesforce developer
internship ppt on smartinternz platform as salesforce developerinternship ppt on smartinternz platform as salesforce developer
internship ppt on smartinternz platform as salesforce developer
 
Presiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsPresiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha elections
 
How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17
 
_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting Data_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting Data
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy Reform
 
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
 
Biting mechanism of poisonous snakes.pdf
Biting mechanism of poisonous snakes.pdfBiting mechanism of poisonous snakes.pdf
Biting mechanism of poisonous snakes.pdf
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptx
 
Model Call Girl in Bikash Puri Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Bikash Puri  Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Bikash Puri  Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Bikash Puri Delhi reach out to us at 🔝9953056974🔝
 
EPANDING THE CONTENT OF AN OUTLINE using notes.pptx
EPANDING THE CONTENT OF AN OUTLINE using notes.pptxEPANDING THE CONTENT OF AN OUTLINE using notes.pptx
EPANDING THE CONTENT OF AN OUTLINE using notes.pptx
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Education
 
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
 
History Class XII Ch. 3 Kinship, Caste and Class (1).pptx
History Class XII Ch. 3 Kinship, Caste and Class (1).pptxHistory Class XII Ch. 3 Kinship, Caste and Class (1).pptx
History Class XII Ch. 3 Kinship, Caste and Class (1).pptx
 
Science lesson Moon for 4th quarter lesson
Science lesson Moon for 4th quarter lessonScience lesson Moon for 4th quarter lesson
Science lesson Moon for 4th quarter lesson
 

Python data science course

  • 3. A Support Vector Machine (SVM) can be imagined as a surface that creates a boundary between points of data plotted in multidimensional that represent examples and their feature values The goal of a SVM is to create a flat boundary called a hyperplane, which divides the space to create fairly homogeneous partitions on either side SVMs can be adapted for use with nearly any type of learning task, including both classification and numeric prediction
  • 4. Classification with hyper planes For example, the following figure depicts hyperplanes that separate groups of circles and squares in two and three dimensions. Because the circles and squares can be separated perfectly by the straight line or flat surface, they are said to be linearly separable
  • 5. Which is the “best” Fit! In two dimensions, the task of the SVM algorithm is to identify a line that separates the two classes. As shown in the following figure, there is more than one choice of dividing line between the groups of circles and squares. How does the algorithm choose
  • 8. Nonlinearly separable data A cost value (denoted as C) is applied to all points that violate the constraints, and rather than finding the maximum margin, the algorithm attempts to minimize the total cost. We can therefore revise the optimization problem to:
  • 9. Using kernels for non-linear spaces A key feature of SVMs is their ability to map the problem into a higher dimension space using a process known as the kernel trick. In doing so, a nonlinear relationship may suddenly appear to be quite linear. After the kernel trick has been applied, we look at the data through the lens of a new dimension: altitude. With the addition of this feature, the classes are now perfectly linearly separable
  • 11. Understanding neural networks An Artificial Neural Network (ANN) models the relationship between a set of input signals and an output signal using a model derived from our understanding of how a biological brain responds to stimuli from sensory inputs. Just as a brain uses a network of interconnected cells called neurons to create a massive parallel processor, ANN uses a network of artificial neurons or nodes to solve learning problems The human brain is made up of about 85 billion neurons, resulting in a network capable of representing a tremendous amount of knowledge For instance, a cat has roughly a billion neurons, a mouse has about 75 million neurons, and a cockroach has only about a million neurons. In contrast, many ANNs contain far fewer neurons, typically only several hundred, so we're in no danger of creating an artificial brain anytime in the near future
  • 12. Biological to artificial neurons Incoming signals are received by the cell's dendrites through a biochemical process. The process allows the impulse to be weighted according to its relative importance or frequency. As the cell body begins accumulating the incoming signals, a threshold is reached at which the cell fires and the output signal is transmitted via an electrochemical process down the axon. At the axon's terminals, the electric signal is again processed as a chemical signal to be passed to the neighboring neurons.
  • 13. This directed network diagram defines a relationship between the input signals received by the dendrites (x variables), and the output signal (y variable). Just as with the biological neuron, each dendrite's signal is weighted (w values) according to its importance. The input signals are summed by the cell body and the signal is passed on according to an activation function denoted by f A typical artificial neuron with n input dendrites can be represented by the formula that follows. The w weights allow each of the n inputs (denoted by xi) to contribute a greater or lesser amount to the sum of input signals. The net total is used by the activation function f(x), and the resulting signal, y(x), is the output axon
  • 14. In biological sense, the activation function could be imagined as a process that involves summing the total input signal and determining whether it meets the firing threshold. If so, the neuron passes on the signal; otherwise, it does nothing. In ANN terms, this is known as a threshold activation function, as it results in an output signal only once a specified input threshold has been attained The following figure depicts a typical threshold function; in this case, the neuron fires when the sum of input signals is at least zero. Because its shape resembles a stair, it is sometimes called a unit step activation function
  • 15. Network topology The ability of a neural network to learn is rooted in its topology, or the patterns and structures of interconnected neurons key characteristics • The number of layers • Whether information in the network is allowed to travel backward • The number of nodes within each layer of the network
  • 16. Number of layers The input and output nodes are arranged in groups known as layers Input nodes process the incoming data exactly as it is received, the network has only one set of connection weights (labeled here as w1, w2, and w3). It is therefore termed a single-layer network