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
Ad

More Related Content

What's hot (20)

Genetic programming
Genetic programmingGenetic programming
Genetic programming
Meghna Singh
 
Hill climbing algorithm
Hill climbing algorithmHill climbing algorithm
Hill climbing algorithm
Dr. C.V. Suresh Babu
 
I. AO* SEARCH ALGORITHM
I. AO* SEARCH ALGORITHMI. AO* SEARCH ALGORITHM
I. AO* SEARCH ALGORITHM
vikas dhakane
 
Mycin
MycinMycin
Mycin
vini89
 
Genetic Algorithm
Genetic AlgorithmGenetic Algorithm
Genetic Algorithm
SHIMI S L
 
Genetic Algorithms - Artificial Intelligence
Genetic Algorithms - Artificial IntelligenceGenetic Algorithms - Artificial Intelligence
Genetic Algorithms - Artificial Intelligence
Sahil Kumar
 
Principle source of optimazation
Principle source of optimazationPrinciple source of optimazation
Principle source of optimazation
Siva Sathya
 
AI: Logic in AI
AI: Logic in AIAI: Logic in AI
AI: Logic in AI
DataminingTools Inc
 
Genetic algorithm
Genetic algorithmGenetic algorithm
Genetic algorithm
manalishipra
 
Hill climbing
Hill climbingHill climbing
Hill climbing
Mohammad Faizan
 
Hill climbing algorithm in artificial intelligence
Hill climbing algorithm in artificial intelligenceHill climbing algorithm in artificial intelligence
Hill climbing algorithm in artificial intelligence
sandeep54552
 
Genetic algorithm raktim
Genetic algorithm raktimGenetic algorithm raktim
Genetic algorithm raktim
Raktim Halder
 
Genetic Algorithm
Genetic AlgorithmGenetic Algorithm
Genetic Algorithm
rabidityfactor
 
I.BEST FIRST SEARCH IN AI
I.BEST FIRST SEARCH IN AII.BEST FIRST SEARCH IN AI
I.BEST FIRST SEARCH IN AI
vikas dhakane
 
Text Classification
Text ClassificationText Classification
Text Classification
RAX Automation Suite
 
Introduction to Genetic algorithms
Introduction to Genetic algorithmsIntroduction to Genetic algorithms
Introduction to Genetic algorithms
Akhil Kaushik
 
Introduction and architecture of expert system
Introduction  and architecture of expert systemIntroduction  and architecture of expert system
Introduction and architecture of expert system
premdeshmane
 
Genetic Algorithm
Genetic AlgorithmGenetic Algorithm
Genetic Algorithm
SEKHARREDDYAMBATI
 
I.ITERATIVE DEEPENING DEPTH FIRST SEARCH(ID-DFS) II.INFORMED SEARCH IN ARTIFI...
I.ITERATIVE DEEPENING DEPTH FIRST SEARCH(ID-DFS) II.INFORMED SEARCH IN ARTIFI...I.ITERATIVE DEEPENING DEPTH FIRST SEARCH(ID-DFS) II.INFORMED SEARCH IN ARTIFI...
I.ITERATIVE DEEPENING DEPTH FIRST SEARCH(ID-DFS) II.INFORMED SEARCH IN ARTIFI...
vikas dhakane
 
K-Nearest Neighbor(KNN)
K-Nearest Neighbor(KNN)K-Nearest Neighbor(KNN)
K-Nearest Neighbor(KNN)
Abdullah al Mamun
 
Genetic programming
Genetic programmingGenetic programming
Genetic programming
Meghna Singh
 
I. AO* SEARCH ALGORITHM
I. AO* SEARCH ALGORITHMI. AO* SEARCH ALGORITHM
I. AO* SEARCH ALGORITHM
vikas dhakane
 
Genetic Algorithm
Genetic AlgorithmGenetic Algorithm
Genetic Algorithm
SHIMI S L
 
Genetic Algorithms - Artificial Intelligence
Genetic Algorithms - Artificial IntelligenceGenetic Algorithms - Artificial Intelligence
Genetic Algorithms - Artificial Intelligence
Sahil Kumar
 
Principle source of optimazation
Principle source of optimazationPrinciple source of optimazation
Principle source of optimazation
Siva Sathya
 
Hill climbing algorithm in artificial intelligence
Hill climbing algorithm in artificial intelligenceHill climbing algorithm in artificial intelligence
Hill climbing algorithm in artificial intelligence
sandeep54552
 
Genetic algorithm raktim
Genetic algorithm raktimGenetic algorithm raktim
Genetic algorithm raktim
Raktim Halder
 
I.BEST FIRST SEARCH IN AI
I.BEST FIRST SEARCH IN AII.BEST FIRST SEARCH IN AI
I.BEST FIRST SEARCH IN AI
vikas dhakane
 
Introduction to Genetic algorithms
Introduction to Genetic algorithmsIntroduction to Genetic algorithms
Introduction to Genetic algorithms
Akhil Kaushik
 
Introduction and architecture of expert system
Introduction  and architecture of expert systemIntroduction  and architecture of expert system
Introduction and architecture of expert system
premdeshmane
 
I.ITERATIVE DEEPENING DEPTH FIRST SEARCH(ID-DFS) II.INFORMED SEARCH IN ARTIFI...
I.ITERATIVE DEEPENING DEPTH FIRST SEARCH(ID-DFS) II.INFORMED SEARCH IN ARTIFI...I.ITERATIVE DEEPENING DEPTH FIRST SEARCH(ID-DFS) II.INFORMED SEARCH IN ARTIFI...
I.ITERATIVE DEEPENING DEPTH FIRST SEARCH(ID-DFS) II.INFORMED SEARCH IN ARTIFI...
vikas dhakane
 

Viewers also liked (20)

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
zamakhan
 
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
Iot
Anusha Yeleswarapu
 
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
 
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
zamakhan
 
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
 
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
 
The Arduino WiFi Shield
The Arduino WiFi ShieldThe Arduino WiFi Shield
The Arduino WiFi Shield
kellison00
 
Genetic algorithm
Genetic algorithmGenetic algorithm
Genetic algorithm
garima931
 
Ad

Similar to Genetic algorithms in Data Mining (20)

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
 
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
 
geneticprogramming-.pptx Genetics programing
geneticprogramming-.pptx Genetics programinggeneticprogramming-.pptx Genetics programing
geneticprogramming-.pptx Genetics programing
singhrajat7860
 
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
 
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 fitness function
Genetic algorithm fitness functionGenetic algorithm fitness function
Genetic algorithm fitness function
Prof Ansari
 
geneticprogramming-.pptx Genetics programing
geneticprogramming-.pptx Genetics programinggeneticprogramming-.pptx Genetics programing
geneticprogramming-.pptx Genetics programing
singhrajat7860
 
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
 
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
 
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
 
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
 
Ad

Recently uploaded (20)

History Of The Monastery Of Mor Gabriel Philoxenos Yuhanon Dolabani
History Of The Monastery Of Mor Gabriel Philoxenos Yuhanon DolabaniHistory Of The Monastery Of Mor Gabriel Philoxenos Yuhanon Dolabani
History Of The Monastery Of Mor Gabriel Philoxenos Yuhanon Dolabani
fruinkamel7m
 
How To Maximize Sales Performance using Odoo 18 Diverse views in sales module
How To Maximize Sales Performance using Odoo 18 Diverse views in sales moduleHow To Maximize Sales Performance using Odoo 18 Diverse views in sales module
How To Maximize Sales Performance using Odoo 18 Diverse views in sales module
Celine George
 
Rock Art As a Source of Ancient Indian History
Rock Art As a Source of Ancient Indian HistoryRock Art As a Source of Ancient Indian History
Rock Art As a Source of Ancient Indian History
Virag Sontakke
 
How to Clean Your Contacts Using the Deduplication Menu in Odoo 18
How to Clean Your Contacts Using the Deduplication Menu in Odoo 18How to Clean Your Contacts Using the Deduplication Menu in Odoo 18
How to Clean Your Contacts Using the Deduplication Menu in Odoo 18
Celine George
 
Classification of mental disorder in 5th semester bsc. nursing and also used ...
Classification of mental disorder in 5th semester bsc. nursing and also used ...Classification of mental disorder in 5th semester bsc. nursing and also used ...
Classification of mental disorder in 5th semester bsc. nursing and also used ...
parmarjuli1412
 
puzzle Irregular Verbs- Simple Past Tense
puzzle Irregular Verbs- Simple Past Tensepuzzle Irregular Verbs- Simple Past Tense
puzzle Irregular Verbs- Simple Past Tense
OlgaLeonorTorresSnch
 
Botany Assignment Help Guide - Academic Excellence
Botany Assignment Help Guide - Academic ExcellenceBotany Assignment Help Guide - Academic Excellence
Botany Assignment Help Guide - Academic Excellence
online college homework help
 
CNS infections (encephalitis, meningitis & Brain abscess
CNS infections (encephalitis, meningitis & Brain abscessCNS infections (encephalitis, meningitis & Brain abscess
CNS infections (encephalitis, meningitis & Brain abscess
Mohamed Rizk Khodair
 
Final Evaluation.docx...........................
Final Evaluation.docx...........................Final Evaluation.docx...........................
Final Evaluation.docx...........................
l1bbyburrell
 
Ancient Stone Sculptures of India: As a Source of Indian History
Ancient Stone Sculptures of India: As a Source of Indian HistoryAncient Stone Sculptures of India: As a Source of Indian History
Ancient Stone Sculptures of India: As a Source of Indian History
Virag Sontakke
 
Cultivation Practice of Onion in Nepal.pptx
Cultivation Practice of Onion in Nepal.pptxCultivation Practice of Onion in Nepal.pptx
Cultivation Practice of Onion in Nepal.pptx
UmeshTimilsina1
 
MCQ PHYSIOLOGY II (DR. NASIR MUSTAFA) MCQS)
MCQ PHYSIOLOGY II (DR. NASIR MUSTAFA) MCQS)MCQ PHYSIOLOGY II (DR. NASIR MUSTAFA) MCQS)
MCQ PHYSIOLOGY II (DR. NASIR MUSTAFA) MCQS)
Dr. Nasir Mustafa
 
Origin of Brahmi script: A breaking down of various theories
Origin of Brahmi script: A breaking down of various theoriesOrigin of Brahmi script: A breaking down of various theories
Origin of Brahmi script: A breaking down of various theories
PrachiSontakke5
 
U3 ANTITUBERCULAR DRUGS Pharmacology 3.pptx
U3 ANTITUBERCULAR DRUGS Pharmacology 3.pptxU3 ANTITUBERCULAR DRUGS Pharmacology 3.pptx
U3 ANTITUBERCULAR DRUGS Pharmacology 3.pptx
Mayuri Chavan
 
2025 The Senior Landscape and SET plan preparations.pptx
2025 The Senior Landscape and SET plan preparations.pptx2025 The Senior Landscape and SET plan preparations.pptx
2025 The Senior Landscape and SET plan preparations.pptx
mansk2
 
Search Matching Applicants in Odoo 18 - Odoo Slides
Search Matching Applicants in Odoo 18 - Odoo SlidesSearch Matching Applicants in Odoo 18 - Odoo Slides
Search Matching Applicants in Odoo 18 - Odoo Slides
Celine George
 
Myasthenia gravis (Neuromuscular disorder)
Myasthenia gravis (Neuromuscular disorder)Myasthenia gravis (Neuromuscular disorder)
Myasthenia gravis (Neuromuscular disorder)
Mohamed Rizk Khodair
 
How to Create Kanban View in Odoo 18 - Odoo Slides
How to Create Kanban View in Odoo 18 - Odoo SlidesHow to Create Kanban View in Odoo 18 - Odoo Slides
How to Create Kanban View in Odoo 18 - Odoo Slides
Celine George
 
All About the 990 Unlocking Its Mysteries and Its Power.pdf
All About the 990 Unlocking Its Mysteries and Its Power.pdfAll About the 990 Unlocking Its Mysteries and Its Power.pdf
All About the 990 Unlocking Its Mysteries and Its Power.pdf
TechSoup
 
Form View Attributes in Odoo 18 - Odoo Slides
Form View Attributes in Odoo 18 - Odoo SlidesForm View Attributes in Odoo 18 - Odoo Slides
Form View Attributes in Odoo 18 - Odoo Slides
Celine George
 
History Of The Monastery Of Mor Gabriel Philoxenos Yuhanon Dolabani
History Of The Monastery Of Mor Gabriel Philoxenos Yuhanon DolabaniHistory Of The Monastery Of Mor Gabriel Philoxenos Yuhanon Dolabani
History Of The Monastery Of Mor Gabriel Philoxenos Yuhanon Dolabani
fruinkamel7m
 
How To Maximize Sales Performance using Odoo 18 Diverse views in sales module
How To Maximize Sales Performance using Odoo 18 Diverse views in sales moduleHow To Maximize Sales Performance using Odoo 18 Diverse views in sales module
How To Maximize Sales Performance using Odoo 18 Diverse views in sales module
Celine George
 
Rock Art As a Source of Ancient Indian History
Rock Art As a Source of Ancient Indian HistoryRock Art As a Source of Ancient Indian History
Rock Art As a Source of Ancient Indian History
Virag Sontakke
 
How to Clean Your Contacts Using the Deduplication Menu in Odoo 18
How to Clean Your Contacts Using the Deduplication Menu in Odoo 18How to Clean Your Contacts Using the Deduplication Menu in Odoo 18
How to Clean Your Contacts Using the Deduplication Menu in Odoo 18
Celine George
 
Classification of mental disorder in 5th semester bsc. nursing and also used ...
Classification of mental disorder in 5th semester bsc. nursing and also used ...Classification of mental disorder in 5th semester bsc. nursing and also used ...
Classification of mental disorder in 5th semester bsc. nursing and also used ...
parmarjuli1412
 
puzzle Irregular Verbs- Simple Past Tense
puzzle Irregular Verbs- Simple Past Tensepuzzle Irregular Verbs- Simple Past Tense
puzzle Irregular Verbs- Simple Past Tense
OlgaLeonorTorresSnch
 
Botany Assignment Help Guide - Academic Excellence
Botany Assignment Help Guide - Academic ExcellenceBotany Assignment Help Guide - Academic Excellence
Botany Assignment Help Guide - Academic Excellence
online college homework help
 
CNS infections (encephalitis, meningitis & Brain abscess
CNS infections (encephalitis, meningitis & Brain abscessCNS infections (encephalitis, meningitis & Brain abscess
CNS infections (encephalitis, meningitis & Brain abscess
Mohamed Rizk Khodair
 
Final Evaluation.docx...........................
Final Evaluation.docx...........................Final Evaluation.docx...........................
Final Evaluation.docx...........................
l1bbyburrell
 
Ancient Stone Sculptures of India: As a Source of Indian History
Ancient Stone Sculptures of India: As a Source of Indian HistoryAncient Stone Sculptures of India: As a Source of Indian History
Ancient Stone Sculptures of India: As a Source of Indian History
Virag Sontakke
 
Cultivation Practice of Onion in Nepal.pptx
Cultivation Practice of Onion in Nepal.pptxCultivation Practice of Onion in Nepal.pptx
Cultivation Practice of Onion in Nepal.pptx
UmeshTimilsina1
 
MCQ PHYSIOLOGY II (DR. NASIR MUSTAFA) MCQS)
MCQ PHYSIOLOGY II (DR. NASIR MUSTAFA) MCQS)MCQ PHYSIOLOGY II (DR. NASIR MUSTAFA) MCQS)
MCQ PHYSIOLOGY II (DR. NASIR MUSTAFA) MCQS)
Dr. Nasir Mustafa
 
Origin of Brahmi script: A breaking down of various theories
Origin of Brahmi script: A breaking down of various theoriesOrigin of Brahmi script: A breaking down of various theories
Origin of Brahmi script: A breaking down of various theories
PrachiSontakke5
 
U3 ANTITUBERCULAR DRUGS Pharmacology 3.pptx
U3 ANTITUBERCULAR DRUGS Pharmacology 3.pptxU3 ANTITUBERCULAR DRUGS Pharmacology 3.pptx
U3 ANTITUBERCULAR DRUGS Pharmacology 3.pptx
Mayuri Chavan
 
2025 The Senior Landscape and SET plan preparations.pptx
2025 The Senior Landscape and SET plan preparations.pptx2025 The Senior Landscape and SET plan preparations.pptx
2025 The Senior Landscape and SET plan preparations.pptx
mansk2
 
Search Matching Applicants in Odoo 18 - Odoo Slides
Search Matching Applicants in Odoo 18 - Odoo SlidesSearch Matching Applicants in Odoo 18 - Odoo Slides
Search Matching Applicants in Odoo 18 - Odoo Slides
Celine George
 
Myasthenia gravis (Neuromuscular disorder)
Myasthenia gravis (Neuromuscular disorder)Myasthenia gravis (Neuromuscular disorder)
Myasthenia gravis (Neuromuscular disorder)
Mohamed Rizk Khodair
 
How to Create Kanban View in Odoo 18 - Odoo Slides
How to Create Kanban View in Odoo 18 - Odoo SlidesHow to Create Kanban View in Odoo 18 - Odoo Slides
How to Create Kanban View in Odoo 18 - Odoo Slides
Celine George
 
All About the 990 Unlocking Its Mysteries and Its Power.pdf
All About the 990 Unlocking Its Mysteries and Its Power.pdfAll About the 990 Unlocking Its Mysteries and Its Power.pdf
All About the 990 Unlocking Its Mysteries and Its Power.pdf
TechSoup
 
Form View Attributes in Odoo 18 - Odoo Slides
Form View Attributes in Odoo 18 - Odoo SlidesForm View Attributes in Odoo 18 - Odoo Slides
Form View Attributes in Odoo 18 - Odoo Slides
Celine George
 

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

  • #3: These are adaptive procedures used for solving complex problems of optimization and search using the techniques of natural evolution.
  翻译: