SlideShare a Scribd company logo
1 of 24
GENETIC
ALGORITHMS
AND THEIR APPLICATIONS IN DATA MINING
UNIVERSITY SCHOOL OF INFORMATION AND COMMUNICATION TECHNOLOGY
GENETIC ALGORITHMS
• DARWINIAN SELECTION:
Survival of the fittest
Understanding a GA means understanding the simple, iterative processes that
underpin evolutionary change
EXAMPLE: finding largest divisor of a big number
By applying Darwinian selection, only the best solutions will remain, thus
narrowing the search space.
BIOLOGICAL BACKGROUND (BASIC CONCEPTS)
• CHROMOSOME:
A set of genes. Chromosome contains the solution in form of genes.
• GENE:
A part of chromosome. A gene contains a part of solution. It determines the
solution. E.g. 16743 is a chromosome and 1, 6, 7, 4 and 3 are its genes.
BIOLOGICAL BACKGROUND (BASIC
CONCEPTS) CONTD..
• POPULATION:
• No. of individuals present with same length of chromosome.
• FITNESS:
• Fitness is the value assigned to an individual. It is based on how far or
close a individual is from the solution. Greater the fitness value better the
solution it contains.
BIOLOGICAL BACKGROUND (BASIC
CONCEPTS) CONTD..
• FITNESS FUNCTION:
Fitness function is a function which assigns fitness value to the individual. It
is problem specific.
FLOWCHART OF A GENETIC ALGORITHM
SELECTION
• Selection is the stage of a genetic algorithm in which individual
genomes are chosen from a population for later breeding
(recombination or crossover).
• We will discuss two techniques:
• Roulette Wheel Selection
• Rank Selection
ROULETTE WHEEL SELECTION
• Parents are selected according to their fitness.
• The better the chromosomes are, the more
chances to be selected they have.
• Imagine a roulette wheel where are placed all
chromosomes in the population, every has its
place big accordingly to its fitness function.
RANK SELECTION
• Rank selection first ranks the population
and then every chromosome receives
fitness from this ranking.
• The worst will have fitness 1, second
worst 2 etc. and the best will have
fitness N(number of chromosomes in
population).
OPERATORS
CROSSOVER
• Combine bits and pieces of good parents
• Speculate on new, possibly better children
• By itself, a random shuffle
BASIC CONCEPTS CONTD..
MUTATION
• Mutation is random alteration of a string
• Change a gene, small movement in the neighbourhood
• By itself, a random walk
DATA MINING
The goal of the data mining process is to extract information from
a data set and transform it into an understandable structure for
further use.
EXAMPLE
OCCUPATION: POLITICATION
BELONGS TO :ABC PARTY
AIM:
WANTS TO CONTEST UPCOMING ELECTIONS IN BYTELAND.
PROBLEM:
BUT NOT SURE FROM WHERE HE SHOULD CONTEST HIS
ELECTIONS..
KNOWS DATA MINING …
COLLECTS DATA OF ALL PREVOUS STATE AND
GENERAL ELECTIONS
PREPARES THE DATA MAKES IT CONSISTENT AND
NOISELESS
SPLITS INTO TWO EQUAL BUT MUTUALLY EXCLUSIVE
ELEMENTS, A TEST AND A TRAINING DATASET.
SETS PREDICTOR VARIABLE AS LITERACY
RATE, LOCALITY, ETC.
AND THE TARGET WOULD BE: WHETHER A PERSON
X WILL VOTE FOR A PARTY ABC OR NOT.
Feeds the input and output variable of training data into
software that run Genetic Algorithms on it
Software process the input of training data set and
matches against its output
E.g. After applying Genetic operators software establishes
two rules
Rule1:if voter X is belongs to locality A then he will vote for
party ABC.
Rule 2:if voter X is literate and belongs to locality A then
he will vote form party ABC.
Feeds the input variable of the test data, applies the rules
obtained from GA and check if the expected output
matches the actual output. Keeps the rule which gets
validated.
Now after applying Data mining and using Genetic Algorithms
politician knows that maximum probability of him wining
elections is to contest election from a constituency which have
• Maximum Number of literacy rate
• And falls in locality A.
ADVANTAGES
• Concepts are easy to understand due to techniques similar to the
natural processes like inheritance, mutation, etc.
• Can be used where traditional search methods fail.
• Useful where search space is large, complex or poorly understood.
ADVANTAGES CONTD..
• Provides us with several local optimums as well as the global
optimum.
• Solves problems with multiple solutions.
• Genetic algorithms are easily transferred to existing simulations
and problems.
LIMITATIONS
• Due to poorly known fitness functions, some optimization
problems cannot be solved by Genetic algorithms. These are called
Variant problems.
• There is no assurance of finding a global optimum. It happens very
often when the populations have a lot of individuals.
• Like other artificial intelligence techniques, the genetic algorithm
cannot assure constant optimization response times.
LIMITATIONS CONTD..
• While using genetic algorithms, it is true that the entire population
is improving, but this could not be said for an individual within this
population.
• Writing of fitness function must be accurate.
APPLICATIONS
• Optimization: GAs have been used in a wide variety of optimization tasks.
• Automatic Programming: for building computational structures like cellular
automata and sorting networks.
• Machine and Robot Learning: used for classification and prediction, and
protein structure prediction.
• Economic models: for development of bidding strategies in the emerging
markets.
CONCLUSIONS
• Genetic Algorithms are easy to apply to a wide range of
problems, like TSP, concept learning, etc.
• Results can be very good on some problems while rather poor
on others.
• If we use mutation only, it makes the algorithm very
slow, crossover makes it significantly faster.
CONCLUSIONS CONTD..
• They have applications in commercial, educational and scientific
areas.
• Very useful where developer does not have precise domain
expertise, because of their ability to explore and learn from their
domain.
THANK YOU

More Related Content

What's hot

Neural Networks in Data Mining - “An Overview”
Neural Networks  in Data Mining -   “An Overview”Neural Networks  in Data Mining -   “An Overview”
Neural Networks in Data Mining - “An Overview”Dr.(Mrs).Gethsiyal Augasta
 
Genetic algorithm
Genetic algorithmGenetic algorithm
Genetic algorithmgarima931
 
Introduction to genetic programming
Introduction to genetic programmingIntroduction to genetic programming
Introduction to genetic programmingabhishek singh
 
05 Clustering in Data Mining
05 Clustering in Data Mining05 Clustering in Data Mining
05 Clustering in Data MiningValerii Klymchuk
 
04 Classification in Data Mining
04 Classification in Data Mining04 Classification in Data Mining
04 Classification in Data MiningValerii Klymchuk
 
Activation functions and Training Algorithms for Deep Neural network
Activation functions and Training Algorithms for Deep Neural networkActivation functions and Training Algorithms for Deep Neural network
Activation functions and Training Algorithms for Deep Neural networkGayatri Khanvilkar
 
Introduction to Recurrent Neural Network
Introduction to Recurrent Neural NetworkIntroduction to Recurrent Neural Network
Introduction to Recurrent Neural NetworkKnoldus Inc.
 
Regularization in deep learning
Regularization in deep learningRegularization in deep learning
Regularization in deep learningKien Le
 
Machine Learning: Introduction to Neural Networks
Machine Learning: Introduction to Neural NetworksMachine Learning: Introduction to Neural Networks
Machine Learning: Introduction to Neural NetworksFrancesco Collova'
 
Feedforward neural network
Feedforward neural networkFeedforward neural network
Feedforward neural networkSopheaktra YONG
 
Introduction to Genetic Algorithms
Introduction to Genetic AlgorithmsIntroduction to Genetic Algorithms
Introduction to Genetic AlgorithmsAhmed Othman
 
Feature Selection in Machine Learning
Feature Selection in Machine LearningFeature Selection in Machine Learning
Feature Selection in Machine LearningUpekha Vandebona
 
Genetic algorithms vs Traditional algorithms
Genetic algorithms vs Traditional algorithmsGenetic algorithms vs Traditional algorithms
Genetic algorithms vs Traditional algorithmsDr. C.V. Suresh Babu
 
The n Queen Problem
The n Queen ProblemThe n Queen Problem
The n Queen ProblemSukrit Gupta
 

What's hot (20)

Genetic Algorithm
Genetic AlgorithmGenetic Algorithm
Genetic Algorithm
 
Unit 1 chapter 1 Design and Analysis of Algorithms
Unit 1   chapter 1 Design and Analysis of AlgorithmsUnit 1   chapter 1 Design and Analysis of Algorithms
Unit 1 chapter 1 Design and Analysis of Algorithms
 
Neural Networks in Data Mining - “An Overview”
Neural Networks  in Data Mining -   “An Overview”Neural Networks  in Data Mining -   “An Overview”
Neural Networks in Data Mining - “An Overview”
 
Genetic algorithm
Genetic algorithmGenetic algorithm
Genetic algorithm
 
Introduction to genetic programming
Introduction to genetic programmingIntroduction to genetic programming
Introduction to genetic programming
 
05 Clustering in Data Mining
05 Clustering in Data Mining05 Clustering in Data Mining
05 Clustering in Data Mining
 
Clustering in Data Mining
Clustering in Data MiningClustering in Data Mining
Clustering in Data Mining
 
04 Classification in Data Mining
04 Classification in Data Mining04 Classification in Data Mining
04 Classification in Data Mining
 
Activation functions and Training Algorithms for Deep Neural network
Activation functions and Training Algorithms for Deep Neural networkActivation functions and Training Algorithms for Deep Neural network
Activation functions and Training Algorithms for Deep Neural network
 
Genetic Algorithms
Genetic AlgorithmsGenetic Algorithms
Genetic Algorithms
 
Greedy algorithm
Greedy algorithmGreedy algorithm
Greedy algorithm
 
Introduction to Recurrent Neural Network
Introduction to Recurrent Neural NetworkIntroduction to Recurrent Neural Network
Introduction to Recurrent Neural Network
 
Gradient descent method
Gradient descent methodGradient descent method
Gradient descent method
 
Regularization in deep learning
Regularization in deep learningRegularization in deep learning
Regularization in deep learning
 
Machine Learning: Introduction to Neural Networks
Machine Learning: Introduction to Neural NetworksMachine Learning: Introduction to Neural Networks
Machine Learning: Introduction to Neural Networks
 
Feedforward neural network
Feedforward neural networkFeedforward neural network
Feedforward neural network
 
Introduction to Genetic Algorithms
Introduction to Genetic AlgorithmsIntroduction to Genetic Algorithms
Introduction to Genetic Algorithms
 
Feature Selection in Machine Learning
Feature Selection in Machine LearningFeature Selection in Machine Learning
Feature Selection in Machine Learning
 
Genetic algorithms vs Traditional algorithms
Genetic algorithms vs Traditional algorithmsGenetic algorithms vs Traditional algorithms
Genetic algorithms vs Traditional algorithms
 
The n Queen Problem
The n Queen ProblemThe n Queen Problem
The n Queen Problem
 

Viewers also liked

Genetic Algorithm by Example
Genetic Algorithm by ExampleGenetic Algorithm by Example
Genetic Algorithm by ExampleNobal Niraula
 
Genetic Algorithms Made Easy
Genetic Algorithms Made EasyGenetic Algorithms Made Easy
Genetic Algorithms Made EasyPrakash Pimpale
 
Genetic algorithms
Genetic algorithmsGenetic algorithms
Genetic algorithmszamakhan
 
Where To Promote an API
Where To Promote an APIWhere To Promote an API
Where To Promote an APISezion
 
Chapter -11 Data Mining Concepts and Techniques 2nd Ed slides Han & Kamber
Chapter -11 Data Mining Concepts and Techniques 2nd Ed slides Han & KamberChapter -11 Data Mining Concepts and Techniques 2nd Ed slides Han & Kamber
Chapter -11 Data Mining Concepts and Techniques 2nd Ed slides Han & Kambererror007
 
Satish kumar tripathi ,RITEE RAIPUR
Satish kumar tripathi ,RITEE RAIPURSatish kumar tripathi ,RITEE RAIPUR
Satish kumar tripathi ,RITEE RAIPURsatish3090
 
Task scheduling Survey in Cloud Computing
Task scheduling Survey in Cloud ComputingTask scheduling Survey in Cloud Computing
Task scheduling Survey in Cloud ComputingRamandeep Kaur
 
cloud scheduling
cloud schedulingcloud scheduling
cloud schedulingMudit Verma
 
Concurrency Technology Roadmap
Concurrency Technology Roadmap Concurrency Technology Roadmap
Concurrency Technology Roadmap Concurrency, Inc.
 
Cloud Computing - Technology Radar 2015 / Apr 27th 2015
Cloud Computing - Technology Radar 2015 / Apr 27th 2015Cloud Computing - Technology Radar 2015 / Apr 27th 2015
Cloud Computing - Technology Radar 2015 / Apr 27th 2015Lothar Wieske
 
The Arduino WiFi Shield
The Arduino WiFi ShieldThe Arduino WiFi Shield
The Arduino WiFi Shieldkellison00
 
neural network
neural networkneural network
neural networkSTUDENT
 
Chapter 5 - Fuzzy Logic
Chapter 5 - Fuzzy LogicChapter 5 - Fuzzy Logic
Chapter 5 - Fuzzy LogicAshique Rasool
 

Viewers also liked (20)

Genetic Algorithm by Example
Genetic Algorithm by ExampleGenetic Algorithm by Example
Genetic Algorithm by Example
 
Genetic Algorithms Made Easy
Genetic Algorithms Made EasyGenetic Algorithms Made Easy
Genetic Algorithms Made Easy
 
Genetic algorithms
Genetic algorithmsGenetic algorithms
Genetic algorithms
 
Genetic Algorithms
Genetic AlgorithmsGenetic Algorithms
Genetic Algorithms
 
Where To Promote an API
Where To Promote an APIWhere To Promote an API
Where To Promote an API
 
Chapter -11 Data Mining Concepts and Techniques 2nd Ed slides Han & Kamber
Chapter -11 Data Mining Concepts and Techniques 2nd Ed slides Han & KamberChapter -11 Data Mining Concepts and Techniques 2nd Ed slides Han & Kamber
Chapter -11 Data Mining Concepts and Techniques 2nd Ed slides Han & Kamber
 
Satish kumar tripathi ,RITEE RAIPUR
Satish kumar tripathi ,RITEE RAIPURSatish kumar tripathi ,RITEE RAIPUR
Satish kumar tripathi ,RITEE RAIPUR
 
Task scheduling Survey in Cloud Computing
Task scheduling Survey in Cloud ComputingTask scheduling Survey in Cloud Computing
Task scheduling Survey in Cloud Computing
 
cloud scheduling
cloud schedulingcloud scheduling
cloud scheduling
 
Iot
IotIot
Iot
 
Concurrency Technology Roadmap
Concurrency Technology Roadmap Concurrency Technology Roadmap
Concurrency Technology Roadmap
 
Cloud Computing - Technology Radar 2015 / Apr 27th 2015
Cloud Computing - Technology Radar 2015 / Apr 27th 2015Cloud Computing - Technology Radar 2015 / Apr 27th 2015
Cloud Computing - Technology Radar 2015 / Apr 27th 2015
 
Fs Ch 11
Fs Ch 11Fs Ch 11
Fs Ch 11
 
The Arduino WiFi Shield
The Arduino WiFi ShieldThe Arduino WiFi Shield
The Arduino WiFi Shield
 
Radar Application
Radar ApplicationRadar Application
Radar Application
 
radar technology
radar technologyradar technology
radar technology
 
Fuzzy logic
Fuzzy logicFuzzy logic
Fuzzy logic
 
Radar
RadarRadar
Radar
 
neural network
neural networkneural network
neural network
 
Chapter 5 - Fuzzy Logic
Chapter 5 - Fuzzy LogicChapter 5 - Fuzzy Logic
Chapter 5 - Fuzzy Logic
 

Similar to Genetic algorithms in Data Mining

Introduction to genetic algorithms
Introduction to genetic algorithmsIntroduction to genetic algorithms
Introduction to genetic algorithmsshadanalam
 
CSA 3702 machine learning module 4
CSA 3702 machine learning module 4CSA 3702 machine learning module 4
CSA 3702 machine learning module 4Nandhini S
 
Genetic algorithm fitness function
Genetic algorithm fitness functionGenetic algorithm fitness function
Genetic algorithm fitness functionProf Ansari
 
GA of a Paper 2012.pptx
GA of a Paper 2012.pptxGA of a Paper 2012.pptx
GA of a Paper 2012.pptxwaqasjavaid26
 
introduction of genetic algorithm
introduction of genetic algorithmintroduction of genetic algorithm
introduction of genetic algorithmritambharaaatre
 
Recommendation engine Using Genetic Algorithm
Recommendation engine Using Genetic AlgorithmRecommendation engine Using Genetic Algorithm
Recommendation engine Using Genetic AlgorithmVaibhav Varshney
 
Flowchart of ga
Flowchart of gaFlowchart of ga
Flowchart of gaDEEPIKA T
 
Geneticalgorithms 100403002207-phpapp02
Geneticalgorithms 100403002207-phpapp02Geneticalgorithms 100403002207-phpapp02
Geneticalgorithms 100403002207-phpapp02Amna Saeed
 
WIX3001 Lecture 6 Principles of GA.pptx
WIX3001 Lecture 6 Principles of GA.pptxWIX3001 Lecture 6 Principles of GA.pptx
WIX3001 Lecture 6 Principles of GA.pptxKelvinCheah4
 
Applied Artificial Intelligence Unit 4 Semester 3 MSc IT Part 2 Mumbai Univer...
Applied Artificial Intelligence Unit 4 Semester 3 MSc IT Part 2 Mumbai Univer...Applied Artificial Intelligence Unit 4 Semester 3 MSc IT Part 2 Mumbai Univer...
Applied Artificial Intelligence Unit 4 Semester 3 MSc IT Part 2 Mumbai Univer...Madhav Mishra
 

Similar to Genetic algorithms in Data Mining (20)

Genetic algorithms
Genetic algorithmsGenetic algorithms
Genetic algorithms
 
Introduction to genetic algorithms
Introduction to genetic algorithmsIntroduction to genetic algorithms
Introduction to genetic algorithms
 
CSA 3702 machine learning module 4
CSA 3702 machine learning module 4CSA 3702 machine learning module 4
CSA 3702 machine learning module 4
 
Genetic Algorithm
Genetic AlgorithmGenetic Algorithm
Genetic Algorithm
 
CI_L11_Optimization_ag2_eng.pptx
CI_L11_Optimization_ag2_eng.pptxCI_L11_Optimization_ag2_eng.pptx
CI_L11_Optimization_ag2_eng.pptx
 
Genetic algorithms mahyar
Genetic algorithms   mahyarGenetic algorithms   mahyar
Genetic algorithms mahyar
 
Genetic algorithm fitness function
Genetic algorithm fitness functionGenetic algorithm fitness function
Genetic algorithm fitness function
 
CI_L02_Optimization_ag2_eng.pdf
CI_L02_Optimization_ag2_eng.pdfCI_L02_Optimization_ag2_eng.pdf
CI_L02_Optimization_ag2_eng.pdf
 
GA of a Paper 2012.pptx
GA of a Paper 2012.pptxGA of a Paper 2012.pptx
GA of a Paper 2012.pptx
 
introduction of genetic algorithm
introduction of genetic algorithmintroduction of genetic algorithm
introduction of genetic algorithm
 
Machine learning
Machine learningMachine learning
Machine learning
 
Recommendation engine Using Genetic Algorithm
Recommendation engine Using Genetic AlgorithmRecommendation engine Using Genetic Algorithm
Recommendation engine Using Genetic Algorithm
 
Flowchart of ga
Flowchart of gaFlowchart of ga
Flowchart of ga
 
Geneticalgorithms 100403002207-phpapp02
Geneticalgorithms 100403002207-phpapp02Geneticalgorithms 100403002207-phpapp02
Geneticalgorithms 100403002207-phpapp02
 
Final ppt
Final pptFinal ppt
Final ppt
 
WIX3001 Lecture 6 Principles of GA.pptx
WIX3001 Lecture 6 Principles of GA.pptxWIX3001 Lecture 6 Principles of GA.pptx
WIX3001 Lecture 6 Principles of GA.pptx
 
Genetic Algorithm
Genetic Algorithm Genetic Algorithm
Genetic Algorithm
 
Applied Artificial Intelligence Unit 4 Semester 3 MSc IT Part 2 Mumbai Univer...
Applied Artificial Intelligence Unit 4 Semester 3 MSc IT Part 2 Mumbai Univer...Applied Artificial Intelligence Unit 4 Semester 3 MSc IT Part 2 Mumbai Univer...
Applied Artificial Intelligence Unit 4 Semester 3 MSc IT Part 2 Mumbai Univer...
 
Genetic algorithm
Genetic algorithmGenetic algorithm
Genetic algorithm
 
0101.genetic algorithm
0101.genetic algorithm0101.genetic algorithm
0101.genetic algorithm
 

Recently uploaded

How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17Celine George
 
General Principles of Intellectual Property: Concepts of Intellectual Proper...
General Principles of Intellectual Property: Concepts of Intellectual  Proper...General Principles of Intellectual Property: Concepts of Intellectual  Proper...
General Principles of Intellectual Property: Concepts of Intellectual Proper...Poonam Aher Patil
 
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptxSKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptxAmanpreet Kaur
 
Unit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptxUnit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptxVishalSingh1417
 
Fostering Friendships - Enhancing Social Bonds in the Classroom
Fostering Friendships - Enhancing Social Bonds  in the ClassroomFostering Friendships - Enhancing Social Bonds  in the Classroom
Fostering Friendships - Enhancing Social Bonds in the ClassroomPooky Knightsmith
 
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptxHMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptxEsquimalt MFRC
 
Single or Multiple melodic lines structure
Single or Multiple melodic lines structureSingle or Multiple melodic lines structure
Single or Multiple melodic lines structuredhanjurrannsibayan2
 
Vishram Singh - Textbook of Anatomy Upper Limb and Thorax.. Volume 1 (1).pdf
Vishram Singh - Textbook of Anatomy  Upper Limb and Thorax.. Volume 1 (1).pdfVishram Singh - Textbook of Anatomy  Upper Limb and Thorax.. Volume 1 (1).pdf
Vishram Singh - Textbook of Anatomy Upper Limb and Thorax.. Volume 1 (1).pdfssuserdda66b
 
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxRamakrishna Reddy Bijjam
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibitjbellavia9
 
Towards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptxTowards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptxJisc
 
How to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSHow to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSCeline George
 
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfUGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfNirmal Dwivedi
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsTechSoup
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...christianmathematics
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...ZurliaSoop
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdfQucHHunhnh
 
SOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning PresentationSOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning Presentationcamerronhm
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.christianmathematics
 

Recently uploaded (20)

How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17
 
General Principles of Intellectual Property: Concepts of Intellectual Proper...
General Principles of Intellectual Property: Concepts of Intellectual  Proper...General Principles of Intellectual Property: Concepts of Intellectual  Proper...
General Principles of Intellectual Property: Concepts of Intellectual Proper...
 
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptxSKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
 
Unit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptxUnit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptx
 
Fostering Friendships - Enhancing Social Bonds in the Classroom
Fostering Friendships - Enhancing Social Bonds  in the ClassroomFostering Friendships - Enhancing Social Bonds  in the Classroom
Fostering Friendships - Enhancing Social Bonds in the Classroom
 
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptxHMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
 
Single or Multiple melodic lines structure
Single or Multiple melodic lines structureSingle or Multiple melodic lines structure
Single or Multiple melodic lines structure
 
Vishram Singh - Textbook of Anatomy Upper Limb and Thorax.. Volume 1 (1).pdf
Vishram Singh - Textbook of Anatomy  Upper Limb and Thorax.. Volume 1 (1).pdfVishram Singh - Textbook of Anatomy  Upper Limb and Thorax.. Volume 1 (1).pdf
Vishram Singh - Textbook of Anatomy Upper Limb and Thorax.. Volume 1 (1).pdf
 
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docx
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibit
 
Towards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptxTowards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptx
 
How to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSHow to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POS
 
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfUGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The Basics
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
 
Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
 
SOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning PresentationSOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning Presentation
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.
 

Genetic algorithms in Data Mining

  • 1. GENETIC ALGORITHMS AND THEIR APPLICATIONS IN DATA MINING UNIVERSITY SCHOOL OF INFORMATION AND COMMUNICATION TECHNOLOGY
  • 2. GENETIC ALGORITHMS • DARWINIAN SELECTION: Survival of the fittest Understanding a GA means understanding the simple, iterative processes that underpin evolutionary change EXAMPLE: finding largest divisor of a big number By applying Darwinian selection, only the best solutions will remain, thus narrowing the search space.
  • 3. BIOLOGICAL BACKGROUND (BASIC CONCEPTS) • CHROMOSOME: A set of genes. Chromosome contains the solution in form of genes. • GENE: A part of chromosome. A gene contains a part of solution. It determines the solution. E.g. 16743 is a chromosome and 1, 6, 7, 4 and 3 are its genes.
  • 4. BIOLOGICAL BACKGROUND (BASIC CONCEPTS) CONTD.. • POPULATION: • No. of individuals present with same length of chromosome. • FITNESS: • Fitness is the value assigned to an individual. It is based on how far or close a individual is from the solution. Greater the fitness value better the solution it contains.
  • 5. BIOLOGICAL BACKGROUND (BASIC CONCEPTS) CONTD.. • FITNESS FUNCTION: Fitness function is a function which assigns fitness value to the individual. It is problem specific.
  • 6. FLOWCHART OF A GENETIC ALGORITHM
  • 7. SELECTION • Selection is the stage of a genetic algorithm in which individual genomes are chosen from a population for later breeding (recombination or crossover). • We will discuss two techniques: • Roulette Wheel Selection • Rank Selection
  • 8. ROULETTE WHEEL SELECTION • Parents are selected according to their fitness. • The better the chromosomes are, the more chances to be selected they have. • Imagine a roulette wheel where are placed all chromosomes in the population, every has its place big accordingly to its fitness function.
  • 9. RANK SELECTION • Rank selection first ranks the population and then every chromosome receives fitness from this ranking. • The worst will have fitness 1, second worst 2 etc. and the best will have fitness N(number of chromosomes in population).
  • 10. OPERATORS CROSSOVER • Combine bits and pieces of good parents • Speculate on new, possibly better children • By itself, a random shuffle
  • 11. BASIC CONCEPTS CONTD.. MUTATION • Mutation is random alteration of a string • Change a gene, small movement in the neighbourhood • By itself, a random walk
  • 12. DATA MINING The goal of the data mining process is to extract information from a data set and transform it into an understandable structure for further use.
  • 13. EXAMPLE OCCUPATION: POLITICATION BELONGS TO :ABC PARTY AIM: WANTS TO CONTEST UPCOMING ELECTIONS IN BYTELAND. PROBLEM: BUT NOT SURE FROM WHERE HE SHOULD CONTEST HIS ELECTIONS.. KNOWS DATA MINING … COLLECTS DATA OF ALL PREVOUS STATE AND GENERAL ELECTIONS
  • 14. PREPARES THE DATA MAKES IT CONSISTENT AND NOISELESS SPLITS INTO TWO EQUAL BUT MUTUALLY EXCLUSIVE ELEMENTS, A TEST AND A TRAINING DATASET. SETS PREDICTOR VARIABLE AS LITERACY RATE, LOCALITY, ETC. AND THE TARGET WOULD BE: WHETHER A PERSON X WILL VOTE FOR A PARTY ABC OR NOT.
  • 15. Feeds the input and output variable of training data into software that run Genetic Algorithms on it Software process the input of training data set and matches against its output E.g. After applying Genetic operators software establishes two rules Rule1:if voter X is belongs to locality A then he will vote for party ABC. Rule 2:if voter X is literate and belongs to locality A then he will vote form party ABC. Feeds the input variable of the test data, applies the rules obtained from GA and check if the expected output matches the actual output. Keeps the rule which gets validated.
  • 16. Now after applying Data mining and using Genetic Algorithms politician knows that maximum probability of him wining elections is to contest election from a constituency which have • Maximum Number of literacy rate • And falls in locality A.
  • 17. ADVANTAGES • Concepts are easy to understand due to techniques similar to the natural processes like inheritance, mutation, etc. • Can be used where traditional search methods fail. • Useful where search space is large, complex or poorly understood.
  • 18. ADVANTAGES CONTD.. • Provides us with several local optimums as well as the global optimum. • Solves problems with multiple solutions. • Genetic algorithms are easily transferred to existing simulations and problems.
  • 19. LIMITATIONS • Due to poorly known fitness functions, some optimization problems cannot be solved by Genetic algorithms. These are called Variant problems. • There is no assurance of finding a global optimum. It happens very often when the populations have a lot of individuals. • Like other artificial intelligence techniques, the genetic algorithm cannot assure constant optimization response times.
  • 20. LIMITATIONS CONTD.. • While using genetic algorithms, it is true that the entire population is improving, but this could not be said for an individual within this population. • Writing of fitness function must be accurate.
  • 21. APPLICATIONS • Optimization: GAs have been used in a wide variety of optimization tasks. • Automatic Programming: for building computational structures like cellular automata and sorting networks. • Machine and Robot Learning: used for classification and prediction, and protein structure prediction. • Economic models: for development of bidding strategies in the emerging markets.
  • 22. CONCLUSIONS • Genetic Algorithms are easy to apply to a wide range of problems, like TSP, concept learning, etc. • Results can be very good on some problems while rather poor on others. • If we use mutation only, it makes the algorithm very slow, crossover makes it significantly faster.
  • 23. CONCLUSIONS CONTD.. • They have applications in commercial, educational and scientific areas. • Very useful where developer does not have precise domain expertise, because of their ability to explore and learn from their domain.

Editor's Notes

  1. These are adaptive procedures used for solving complex problems of optimization and search using the techniques of natural evolution.