SlideShare a Scribd company logo
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

Naive bayes
Naive bayesNaive bayes
Naive bayes
Ashraf Uddin
 
Multilayer perceptron
Multilayer perceptronMultilayer perceptron
Multilayer perceptron
omaraldabash
 
Genetic Algorithm
Genetic AlgorithmGenetic Algorithm
Genetic Algorithm
Pratheeban Rajendran
 
Problem solving agents
Problem solving agentsProblem solving agents
Problem solving agents
Megha Sharma
 
Hierarchical Clustering
Hierarchical ClusteringHierarchical Clustering
Hierarchical Clustering
Carlos Castillo (ChaTo)
 
MACHINE LEARNING - GENETIC ALGORITHM
MACHINE LEARNING - GENETIC ALGORITHMMACHINE LEARNING - GENETIC ALGORITHM
MACHINE LEARNING - GENETIC ALGORITHM
Puneet Kulyana
 
Genetic algorithm ppt
Genetic algorithm pptGenetic algorithm ppt
Genetic algorithm ppt
Mayank Jain
 
Heuristic Search Techniques Unit -II.ppt
Heuristic Search Techniques Unit -II.pptHeuristic Search Techniques Unit -II.ppt
Heuristic Search Techniques Unit -II.ppt
karthikaparthasarath
 
Decision tree
Decision treeDecision tree
Decision tree
R A Akerkar
 
Ga
GaGa
knowledge representation using rules
knowledge representation using rulesknowledge representation using rules
knowledge representation using rules
Harini Balamurugan
 
K - Nearest neighbor ( KNN )
K - Nearest neighbor  ( KNN )K - Nearest neighbor  ( KNN )
K - Nearest neighbor ( KNN )
Mohammad Junaid Khan
 
Local search algorithm
Local search algorithmLocal search algorithm
Local search algorithm
Megha Sharma
 
Minmax Algorithm In Artificial Intelligence slides
Minmax Algorithm In Artificial Intelligence slidesMinmax Algorithm In Artificial Intelligence slides
Minmax Algorithm In Artificial Intelligence slides
SamiaAziz4
 
Type Checking(Compiler Design) #ShareThisIfYouLike
Type Checking(Compiler Design) #ShareThisIfYouLikeType Checking(Compiler Design) #ShareThisIfYouLike
Type Checking(Compiler Design) #ShareThisIfYouLike
United International University
 
search strategies in artificial intelligence
search strategies in artificial intelligencesearch strategies in artificial intelligence
search strategies in artificial intelligence
Hanif Ullah (Gold Medalist)
 
Heuristic Search Techniques {Artificial Intelligence}
Heuristic Search Techniques {Artificial Intelligence}Heuristic Search Techniques {Artificial Intelligence}
Heuristic Search Techniques {Artificial Intelligence}
FellowBuddy.com
 
Genetic Algorithm
Genetic AlgorithmGenetic Algorithm
Genetic Algorithm
rabidityfactor
 
Support Vector Machines ( SVM )
Support Vector Machines ( SVM ) Support Vector Machines ( SVM )
Support Vector Machines ( SVM )
Mohammad Junaid Khan
 
Types of clustering and different types of clustering algorithms
Types of clustering and different types of clustering algorithmsTypes of clustering and different types of clustering algorithms
Types of clustering and different types of clustering algorithms
Prashanth Guntal
 

What's hot (20)

Naive bayes
Naive bayesNaive bayes
Naive bayes
 
Multilayer perceptron
Multilayer perceptronMultilayer perceptron
Multilayer perceptron
 
Genetic Algorithm
Genetic AlgorithmGenetic Algorithm
Genetic Algorithm
 
Problem solving agents
Problem solving agentsProblem solving agents
Problem solving agents
 
Hierarchical Clustering
Hierarchical ClusteringHierarchical Clustering
Hierarchical Clustering
 
MACHINE LEARNING - GENETIC ALGORITHM
MACHINE LEARNING - GENETIC ALGORITHMMACHINE LEARNING - GENETIC ALGORITHM
MACHINE LEARNING - GENETIC ALGORITHM
 
Genetic algorithm ppt
Genetic algorithm pptGenetic algorithm ppt
Genetic algorithm ppt
 
Heuristic Search Techniques Unit -II.ppt
Heuristic Search Techniques Unit -II.pptHeuristic Search Techniques Unit -II.ppt
Heuristic Search Techniques Unit -II.ppt
 
Decision tree
Decision treeDecision tree
Decision tree
 
Ga
GaGa
Ga
 
knowledge representation using rules
knowledge representation using rulesknowledge representation using rules
knowledge representation using rules
 
K - Nearest neighbor ( KNN )
K - Nearest neighbor  ( KNN )K - Nearest neighbor  ( KNN )
K - Nearest neighbor ( KNN )
 
Local search algorithm
Local search algorithmLocal search algorithm
Local search algorithm
 
Minmax Algorithm In Artificial Intelligence slides
Minmax Algorithm In Artificial Intelligence slidesMinmax Algorithm In Artificial Intelligence slides
Minmax Algorithm In Artificial Intelligence slides
 
Type Checking(Compiler Design) #ShareThisIfYouLike
Type Checking(Compiler Design) #ShareThisIfYouLikeType Checking(Compiler Design) #ShareThisIfYouLike
Type Checking(Compiler Design) #ShareThisIfYouLike
 
search strategies in artificial intelligence
search strategies in artificial intelligencesearch strategies in artificial intelligence
search strategies in artificial intelligence
 
Heuristic Search Techniques {Artificial Intelligence}
Heuristic Search Techniques {Artificial Intelligence}Heuristic Search Techniques {Artificial Intelligence}
Heuristic Search Techniques {Artificial Intelligence}
 
Genetic Algorithm
Genetic AlgorithmGenetic Algorithm
Genetic Algorithm
 
Support Vector Machines ( SVM )
Support Vector Machines ( SVM ) Support Vector Machines ( SVM )
Support Vector Machines ( SVM )
 
Types of clustering and different types of clustering algorithms
Types of clustering and different types of clustering algorithmsTypes of clustering and different types of clustering algorithms
Types of clustering and different types of clustering algorithms
 

Viewers also liked

Genetic Algorithms
Genetic AlgorithmsGenetic Algorithms
Genetic Algorithms
Karthik Sankar
 
Genetic Algorithm by Example
Genetic Algorithm by ExampleGenetic Algorithm by Example
Genetic Algorithm by Example
Nobal Niraula
 
Genetic Algorithms Made Easy
Genetic Algorithms Made EasyGenetic Algorithms Made Easy
Genetic Algorithms Made Easy
Prakash Pimpale
 
Genetic Algorithms
Genetic AlgorithmsGenetic Algorithms
Genetic Algorithms
Shruti Railkar
 
Where To Promote an API
Where To Promote an APIWhere To Promote an API
Where To Promote an API
Sezion
 
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
error007
 
Satish kumar tripathi ,RITEE RAIPUR
Satish kumar tripathi ,RITEE RAIPURSatish kumar tripathi ,RITEE RAIPUR
Satish kumar tripathi ,RITEE RAIPUR
satish3090
 
Task scheduling Survey in Cloud Computing
Task scheduling Survey in Cloud ComputingTask scheduling Survey in Cloud Computing
Task scheduling Survey in Cloud Computing
Ramandeep Kaur
 
cloud scheduling
cloud schedulingcloud scheduling
cloud scheduling
Mudit Verma
 
Iot
IotIot
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 2015
Lothar Wieske
 
Introduction to Genetic Algorithms
Introduction to Genetic AlgorithmsIntroduction to Genetic Algorithms
Introduction to Genetic Algorithms
Ahmed Othman
 
Fs Ch 11
Fs Ch 11Fs Ch 11
Fs Ch 11
warren142
 
The Arduino WiFi Shield
The Arduino WiFi ShieldThe Arduino WiFi Shield
The Arduino WiFi Shield
kellison00
 
Genetic algorithm
Genetic algorithmGenetic algorithm
Genetic algorithm
garima931
 
Radar Application
Radar ApplicationRadar Application
Radar Application
mathurrohitji
 
radar technology
radar technologyradar technology
radar technology
vipin mishra
 
Fuzzy logic
Fuzzy logicFuzzy logic
Fuzzy logic
Babu Appat
 
Radar
RadarRadar
Radar
MaulikS2
 

Viewers also liked (20)

Genetic Algorithms
Genetic AlgorithmsGenetic Algorithms
Genetic Algorithms
 
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
 
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
 
Introduction to Genetic Algorithms
Introduction to Genetic AlgorithmsIntroduction to Genetic Algorithms
Introduction to Genetic Algorithms
 
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
 
Genetic algorithm
Genetic algorithmGenetic algorithm
Genetic algorithm
 
Radar Application
Radar ApplicationRadar Application
Radar Application
 
radar technology
radar technologyradar technology
radar technology
 
Fuzzy logic
Fuzzy logicFuzzy logic
Fuzzy logic
 
Radar
RadarRadar
Radar
 

Similar to Genetic algorithms in Data Mining

Genetic algorithms
Genetic algorithmsGenetic algorithms
Genetic algorithms
Sadhana Singh
 
Introduction to genetic algorithms
Introduction to genetic algorithmsIntroduction to genetic algorithms
Introduction to genetic algorithms
shadanalam
 
CSA 3702 machine learning module 4
CSA 3702 machine learning module 4CSA 3702 machine learning module 4
CSA 3702 machine learning module 4
Nandhini S
 
Genetic Algorithm
Genetic AlgorithmGenetic Algorithm
Genetic Algorithm
SEKHARREDDYAMBATI
 
CI_L11_Optimization_ag2_eng.pptx
CI_L11_Optimization_ag2_eng.pptxCI_L11_Optimization_ag2_eng.pptx
CI_L11_Optimization_ag2_eng.pptx
SantiagoGarridoBulln
 
Genetic algorithms mahyar
Genetic algorithms   mahyarGenetic algorithms   mahyar
Genetic algorithms mahyar
Mahyar Teymournezhad
 
Genetic algorithm fitness function
Genetic algorithm fitness functionGenetic algorithm fitness function
Genetic algorithm fitness function
Prof Ansari
 
CI_L02_Optimization_ag2_eng.pdf
CI_L02_Optimization_ag2_eng.pdfCI_L02_Optimization_ag2_eng.pdf
CI_L02_Optimization_ag2_eng.pdf
SantiagoGarridoBulln
 
GA of a Paper 2012.pptx
GA of a Paper 2012.pptxGA of a Paper 2012.pptx
GA of a Paper 2012.pptx
waqasjavaid26
 
introduction of genetic algorithm
introduction of genetic algorithmintroduction of genetic algorithm
introduction of genetic algorithm
ritambharaaatre
 
Machine learning
Machine learningMachine learning
Machine learning
business Corporate
 
Recommendation engine Using Genetic Algorithm
Recommendation engine Using Genetic AlgorithmRecommendation engine Using Genetic Algorithm
Recommendation engine Using Genetic Algorithm
Vaibhav Varshney
 
Flowchart of ga
Flowchart of gaFlowchart of ga
Flowchart of ga
DEEPIKA T
 
Geneticalgorithms 100403002207-phpapp02
Geneticalgorithms 100403002207-phpapp02Geneticalgorithms 100403002207-phpapp02
Geneticalgorithms 100403002207-phpapp02
Amna Saeed
 
Final ppt
Final pptFinal ppt
Final ppt
Gyandeep Kansal
 
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
KelvinCheah4
 
Genetic Algorithm
Genetic Algorithm Genetic Algorithm
Genetic Algorithm
Bhushan Mohite
 
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
 
0101.genetic algorithm
0101.genetic algorithm0101.genetic algorithm
0101.genetic algorithm
Ahmad Almubarrok
 
Genetic algorithm
Genetic algorithmGenetic algorithm
Genetic algorithm
DurgeshPratapSIngh8
 

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...
 
0101.genetic algorithm
0101.genetic algorithm0101.genetic algorithm
0101.genetic algorithm
 
Genetic algorithm
Genetic algorithmGenetic algorithm
Genetic algorithm
 

Recently uploaded

writing about opinions about Australia the movie
writing about opinions about Australia the moviewriting about opinions about Australia the movie
writing about opinions about Australia the movie
Nicholas Montgomery
 
LAND USE LAND COVER AND NDVI OF MIRZAPUR DISTRICT, UP
LAND USE LAND COVER AND NDVI OF MIRZAPUR DISTRICT, UPLAND USE LAND COVER AND NDVI OF MIRZAPUR DISTRICT, UP
LAND USE LAND COVER AND NDVI OF MIRZAPUR DISTRICT, UP
RAHUL
 
How to Make a Field Mandatory in Odoo 17
How to Make a Field Mandatory in Odoo 17How to Make a Field Mandatory in Odoo 17
How to Make a Field Mandatory in Odoo 17
Celine George
 
The basics of sentences session 6pptx.pptx
The basics of sentences session 6pptx.pptxThe basics of sentences session 6pptx.pptx
The basics of sentences session 6pptx.pptx
heathfieldcps1
 
How to Add Chatter in the odoo 17 ERP Module
How to Add Chatter in the odoo 17 ERP ModuleHow to Add Chatter in the odoo 17 ERP Module
How to Add Chatter in the odoo 17 ERP Module
Celine George
 
Cognitive Development Adolescence Psychology
Cognitive Development Adolescence PsychologyCognitive Development Adolescence Psychology
Cognitive Development Adolescence Psychology
paigestewart1632
 
Pride Month Slides 2024 David Douglas School District
Pride Month Slides 2024 David Douglas School DistrictPride Month Slides 2024 David Douglas School District
Pride Month Slides 2024 David Douglas School District
David Douglas School District
 
The History of Stoke Newington Street Names
The History of Stoke Newington Street NamesThe History of Stoke Newington Street Names
The History of Stoke Newington Street Names
History of Stoke Newington
 
PCOS corelations and management through Ayurveda.
PCOS corelations and management through Ayurveda.PCOS corelations and management through Ayurveda.
PCOS corelations and management through Ayurveda.
Dr. Shivangi Singh Parihar
 
How to Build a Module in Odoo 17 Using the Scaffold Method
How to Build a Module in Odoo 17 Using the Scaffold MethodHow to Build a Module in Odoo 17 Using the Scaffold Method
How to Build a Module in Odoo 17 Using the Scaffold Method
Celine George
 
PIMS Job Advertisement 2024.pdf Islamabad
PIMS Job Advertisement 2024.pdf IslamabadPIMS Job Advertisement 2024.pdf Islamabad
PIMS Job Advertisement 2024.pdf Islamabad
AyyanKhan40
 
Community pharmacy- Social and preventive pharmacy UNIT 5
Community pharmacy- Social and preventive pharmacy UNIT 5Community pharmacy- Social and preventive pharmacy UNIT 5
Community pharmacy- Social and preventive pharmacy UNIT 5
sayalidalavi006
 
clinical examination of hip joint (1).pdf
clinical examination of hip joint (1).pdfclinical examination of hip joint (1).pdf
clinical examination of hip joint (1).pdf
Priyankaranawat4
 
How to Fix the Import Error in the Odoo 17
How to Fix the Import Error in the Odoo 17How to Fix the Import Error in the Odoo 17
How to Fix the Import Error in the Odoo 17
Celine George
 
Pengantar Penggunaan Flutter - Dart programming language1.pptx
Pengantar Penggunaan Flutter - Dart programming language1.pptxPengantar Penggunaan Flutter - Dart programming language1.pptx
Pengantar Penggunaan Flutter - Dart programming language1.pptx
Fajar Baskoro
 
Liberal Approach to the Study of Indian Politics.pdf
Liberal Approach to the Study of Indian Politics.pdfLiberal Approach to the Study of Indian Politics.pdf
Liberal Approach to the Study of Indian Politics.pdf
WaniBasim
 
A Independência da América Espanhola LAPBOOK.pdf
A Independência da América Espanhola LAPBOOK.pdfA Independência da América Espanhola LAPBOOK.pdf
A Independência da América Espanhola LAPBOOK.pdf
Jean Carlos Nunes Paixão
 
South African Journal of Science: Writing with integrity workshop (2024)
South African Journal of Science: Writing with integrity workshop (2024)South African Journal of Science: Writing with integrity workshop (2024)
South African Journal of Science: Writing with integrity workshop (2024)
Academy of Science of South Africa
 
Your Skill Boost Masterclass: Strategies for Effective Upskilling
Your Skill Boost Masterclass: Strategies for Effective UpskillingYour Skill Boost Masterclass: Strategies for Effective Upskilling
Your Skill Boost Masterclass: Strategies for Effective Upskilling
Excellence Foundation for South Sudan
 
Natural birth techniques - Mrs.Akanksha Trivedi Rama University
Natural birth techniques - Mrs.Akanksha Trivedi Rama UniversityNatural birth techniques - Mrs.Akanksha Trivedi Rama University
Natural birth techniques - Mrs.Akanksha Trivedi Rama University
Akanksha trivedi rama nursing college kanpur.
 

Recently uploaded (20)

writing about opinions about Australia the movie
writing about opinions about Australia the moviewriting about opinions about Australia the movie
writing about opinions about Australia the movie
 
LAND USE LAND COVER AND NDVI OF MIRZAPUR DISTRICT, UP
LAND USE LAND COVER AND NDVI OF MIRZAPUR DISTRICT, UPLAND USE LAND COVER AND NDVI OF MIRZAPUR DISTRICT, UP
LAND USE LAND COVER AND NDVI OF MIRZAPUR DISTRICT, UP
 
How to Make a Field Mandatory in Odoo 17
How to Make a Field Mandatory in Odoo 17How to Make a Field Mandatory in Odoo 17
How to Make a Field Mandatory in Odoo 17
 
The basics of sentences session 6pptx.pptx
The basics of sentences session 6pptx.pptxThe basics of sentences session 6pptx.pptx
The basics of sentences session 6pptx.pptx
 
How to Add Chatter in the odoo 17 ERP Module
How to Add Chatter in the odoo 17 ERP ModuleHow to Add Chatter in the odoo 17 ERP Module
How to Add Chatter in the odoo 17 ERP Module
 
Cognitive Development Adolescence Psychology
Cognitive Development Adolescence PsychologyCognitive Development Adolescence Psychology
Cognitive Development Adolescence Psychology
 
Pride Month Slides 2024 David Douglas School District
Pride Month Slides 2024 David Douglas School DistrictPride Month Slides 2024 David Douglas School District
Pride Month Slides 2024 David Douglas School District
 
The History of Stoke Newington Street Names
The History of Stoke Newington Street NamesThe History of Stoke Newington Street Names
The History of Stoke Newington Street Names
 
PCOS corelations and management through Ayurveda.
PCOS corelations and management through Ayurveda.PCOS corelations and management through Ayurveda.
PCOS corelations and management through Ayurveda.
 
How to Build a Module in Odoo 17 Using the Scaffold Method
How to Build a Module in Odoo 17 Using the Scaffold MethodHow to Build a Module in Odoo 17 Using the Scaffold Method
How to Build a Module in Odoo 17 Using the Scaffold Method
 
PIMS Job Advertisement 2024.pdf Islamabad
PIMS Job Advertisement 2024.pdf IslamabadPIMS Job Advertisement 2024.pdf Islamabad
PIMS Job Advertisement 2024.pdf Islamabad
 
Community pharmacy- Social and preventive pharmacy UNIT 5
Community pharmacy- Social and preventive pharmacy UNIT 5Community pharmacy- Social and preventive pharmacy UNIT 5
Community pharmacy- Social and preventive pharmacy UNIT 5
 
clinical examination of hip joint (1).pdf
clinical examination of hip joint (1).pdfclinical examination of hip joint (1).pdf
clinical examination of hip joint (1).pdf
 
How to Fix the Import Error in the Odoo 17
How to Fix the Import Error in the Odoo 17How to Fix the Import Error in the Odoo 17
How to Fix the Import Error in the Odoo 17
 
Pengantar Penggunaan Flutter - Dart programming language1.pptx
Pengantar Penggunaan Flutter - Dart programming language1.pptxPengantar Penggunaan Flutter - Dart programming language1.pptx
Pengantar Penggunaan Flutter - Dart programming language1.pptx
 
Liberal Approach to the Study of Indian Politics.pdf
Liberal Approach to the Study of Indian Politics.pdfLiberal Approach to the Study of Indian Politics.pdf
Liberal Approach to the Study of Indian Politics.pdf
 
A Independência da América Espanhola LAPBOOK.pdf
A Independência da América Espanhola LAPBOOK.pdfA Independência da América Espanhola LAPBOOK.pdf
A Independência da América Espanhola LAPBOOK.pdf
 
South African Journal of Science: Writing with integrity workshop (2024)
South African Journal of Science: Writing with integrity workshop (2024)South African Journal of Science: Writing with integrity workshop (2024)
South African Journal of Science: Writing with integrity workshop (2024)
 
Your Skill Boost Masterclass: Strategies for Effective Upskilling
Your Skill Boost Masterclass: Strategies for Effective UpskillingYour Skill Boost Masterclass: Strategies for Effective Upskilling
Your Skill Boost Masterclass: Strategies for Effective Upskilling
 
Natural birth techniques - Mrs.Akanksha Trivedi Rama University
Natural birth techniques - Mrs.Akanksha Trivedi Rama UniversityNatural birth techniques - Mrs.Akanksha Trivedi Rama University
Natural birth techniques - Mrs.Akanksha Trivedi Rama University
 

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.