Clustering Analysis of Simple K Means Algorithm for Various Data Sets in Function Optimization Problem (Fop) of Evolutionary Programming

Similar documents
Optimization Technique for Maximization Problem in Evolutionary Programming of Genetic Algorithm in Data Mining

ISSN: [Keswani* et al., 7(1): January, 2018] Impact Factor: 4.116

DETERMINING MAXIMUM/MINIMUM VALUES FOR TWO- DIMENTIONAL MATHMATICLE FUNCTIONS USING RANDOM CREOSSOVER TECHNIQUES

CHAPTER 5 ENERGY MANAGEMENT USING FUZZY GENETIC APPROACH IN WSN

Preprocessing of Stream Data using Attribute Selection based on Survival of the Fittest

1. Introduction. 2. Motivation and Problem Definition. Volume 8 Issue 2, February Susmita Mohapatra

Optimization of Association Rule Mining through Genetic Algorithm

Grid Scheduling Strategy using GA (GSSGA)

Comparative Study on VQ with Simple GA and Ordain GA

The k-means Algorithm and Genetic Algorithm

A New Selection Operator - CSM in Genetic Algorithms for Solving the TSP

Genetic Algorithm for Dynamic Capacitated Minimum Spanning Tree

A Genetic Algorithm for Graph Matching using Graph Node Characteristics 1 2

Heuristic Optimisation

Evolutionary Computation. Chao Lan

Time Complexity Analysis of the Genetic Algorithm Clustering Method

CHAPTER 6 REAL-VALUED GENETIC ALGORITHMS

The Genetic Algorithm for finding the maxima of single-variable functions

A NOVEL APPROACH FOR PRIORTIZATION OF OPTIMIZED TEST CASES

Machine Evolution. Machine Evolution. Let s look at. Machine Evolution. Machine Evolution. Machine Evolution. Machine Evolution

Genetic Algorithms for Vision and Pattern Recognition

[Premalatha, 4(5): May, 2015] ISSN: (I2OR), Publication Impact Factor: (ISRA), Journal Impact Factor: 2.114

Evolutionary Algorithms. CS Evolutionary Algorithms 1

Using a genetic algorithm for editing k-nearest neighbor classifiers

Approach Using Genetic Algorithm for Intrusion Detection System

A Web Page Recommendation system using GA based biclustering of web usage data

Introduction to Genetic Algorithms. Based on Chapter 10 of Marsland Chapter 9 of Mitchell

Evolving SQL Queries for Data Mining

Monika Maharishi Dayanand University Rohtak

Knowledge Discovery using PSO and DE Techniques

Genetic Algorithm for Finding Shortest Path in a Network

CHAPTER 4 FEATURE SELECTION USING GENETIC ALGORITHM

Genetic Algorithms Variations and Implementation Issues

Genetic Programming for Data Classification: Partitioning the Search Space

Generation of Ultra Side lobe levels in Circular Array Antennas using Evolutionary Algorithms

Classification and Optimization using RF and Genetic Algorithm

Neuro-fuzzy, GA-Fuzzy, Neural-Fuzzy-GA: A Data Mining Technique for Optimization

Evolutionary Computation Algorithms for Cryptanalysis: A Study

GENETIC ALGORITHM VERSUS PARTICLE SWARM OPTIMIZATION IN N-QUEEN PROBLEM

Artificial Intelligence Application (Genetic Algorithm)

INTERNATIONAL JOURNAL OF ENGINEERING SCIENCES & MANAGEMENT

JHPCSN: Volume 4, Number 1, 2012, pp. 1-7

Hybrid of Genetic Algorithm and Continuous Ant Colony Optimization for Optimum Solution

A Comparative Study of Linear Encoding in Genetic Programming

Chapter 8 The C 4.5*stat algorithm

Genetic Algorithms. Kang Zheng Karl Schober

Automated Test Data Generation and Optimization Scheme Using Genetic Algorithm

Classification of Concept-Drifting Data Streams using Optimized Genetic Algorithm

ARTIFICIAL INTELLIGENCE (CSCU9YE ) LECTURE 5: EVOLUTIONARY ALGORITHMS

Task Graph Scheduling on Multiprocessor System using Genetic Algorithm

Improving Classifier Performance by Imputing Missing Values using Discretization Method

GENETIC ALGORITHM with Hands-On exercise

A Genetic Algorithm Approach for Clustering

Segmentation of Noisy Binary Images Containing Circular and Elliptical Objects using Genetic Algorithms

Genetic Algorithm for Dynamic Capacitated Minimum Spanning Tree

Iteration Reduction K Means Clustering Algorithm

Khushboo Arora, Samiksha Agarwal, Rohit Tanwar

4/22/2014. Genetic Algorithms. Diwakar Yagyasen Department of Computer Science BBDNITM. Introduction

Automatic Generation of Fuzzy Classification Rules from Data

Graphical Approach to Solve the Transcendental Equations Salim Akhtar 1 Ms. Manisha Dawra 2

An experimental evaluation of a parallel genetic algorithm using MPI

Hybrid Flowshop Scheduling Using Discrete Harmony Search And Genetic Algorithm

Genetic Programming. and its use for learning Concepts in Description Logics

Function Approximation and Feature Selection Tool

IJMIE Volume 2, Issue 9 ISSN:

Outline. Motivation. Introduction of GAs. Genetic Algorithm 9/7/2017. Motivation Genetic algorithms An illustrative example Hypothesis space search

An Efficient Analysis for High Dimensional Dataset Using K-Means Hybridization with Ant Colony Optimization Algorithm

CLUSTERING BIG DATA USING NORMALIZATION BASED k-means ALGORITHM

Genetic Programming. Charles Chilaka. Department of Computational Science Memorial University of Newfoundland

An Unsupervised Classification of Cancer Genes Using Genetic Algorithm

An Application of Genetic Algorithm for Auto-body Panel Die-design Case Library Based on Grid

AN IMPROVED ITERATIVE METHOD FOR SOLVING GENERAL SYSTEM OF EQUATIONS VIA GENETIC ALGORITHMS

Genetic programming. Lecture Genetic Programming. LISP as a GP language. LISP structure. S-expressions

Comparative Study of Clustering Algorithms using R

A Performance Assessment on Various Data mining Tool Using Support Vector Machine

A New Approach for Energy Efficient Routing in MANETs Using Multi Objective Genetic Algorithm

International Journal of Digital Application & Contemporary research Website: (Volume 1, Issue 7, February 2013)

Suppose you have a problem You don t know how to solve it What can you do? Can you use a computer to somehow find a solution for you?

Escaping Local Optima: Genetic Algorithm

A THREAD BUILDING BLOCKS BASED PARALLEL GENETIC ALGORITHM

Role of Genetic Algorithm in Routing for Large Network

Computational Intelligence

Hybridization EVOLUTIONARY COMPUTING. Reasons for Hybridization - 1. Naming. Reasons for Hybridization - 3. Reasons for Hybridization - 2

Introduction to Genetic Algorithms

A Genetic Programming Approach for Distributed Queries

Dynamic Clustering of Data with Modified K-Means Algorithm

Information Fusion Dr. B. K. Panigrahi


A Genetic Algorithm for Minimum Tetrahedralization of a Convex Polyhedron

Topological Machining Fixture Layout Synthesis Using Genetic Algorithms

Improvement of Web Search Results using Genetic Algorithm on Word Sense Disambiguation

Multi-Objective Optimization Using Genetic Algorithms

IMPROVED FUZZY ASSOCIATION RULES FOR LEARNING ACHIEVEMENT MINING

Automatic Clustering using a Genetic Algorithm with New Solution Encoding and Operators

Genetic Programming: A study on Computer Language

Traffic Signal Control Based On Fuzzy Artificial Neural Networks With Particle Swarm Optimization

RECORD DEDUPLICATION USING GENETIC PROGRAMMING APPROACH

Attribute Selection with a Multiobjective Genetic Algorithm

Final Project Report: Learning optimal parameters of Graph-Based Image Segmentation

Codebook generation for Image Compression with Simple and Ordain GA

Transcription:

Clustering Analysis of Simple K Means Algorithm for Various Data Sets in Function Optimization Problem (Fop) of Evolutionary Programming R. Karthick 1, Dr. Malathi.A 2 Research Scholar, Department of Computer Applications, Karpagam University, Coimbatore, Tamil Nadu, India 1 Assistant Professor, PG and Research Department of Computer Science, Govt. Arts College, Coimbatore, Tamil Nadu, India 2 ABSTRACT: Evolutionary Algorithms are based on some influential principles like Survival of the Fittest and with some natural phenomena in Genetic Inheritance. The key for searching the solution in improved function optimization problems are based only on Selection and Mutation operators. In this paper a Selection algorithm for data set is chosen so as to identify the survival of the fittest and also the simple K means clustering algorithm is analyzed on different data sets to check for the performance of the K means on different data set which gives best accuracy to identify the best solution. KEYWORDS: Evolutionary Programming, Function Optimization, Genetic Algorithm K-means clustering I. INTRODUCTION Inspired by Darwinian principles of evolution and natural selection, a significant amount of computational models and methods have been studied under the umbrella of evolutionary computation[1] The evolutionary algorithm is a population based algorithm. To solve the function optimization or parameter optimization problems the Evolutionary strategies are used. The evolutionary algorithm uses the selections schemes to focus the selection of higher or best fitness from the population. For standard selection schemes this is controlled by appropriately setting the parameters that govern the selection pressure on the individuals [2]. The major steps followed in calculating the fitness are i) Mutation operation is performed in current population ii) Identification of Individual selection for the next generation. The survival of the fittest among the natural populations is based on natural selection strategies. By mimicking this process, evolutionary algorithm are able to evolve solutions to real world problems, if they have been suitable encoded. The Evolutionary algorithms have been applied to solve some practical problems like global optimization, machine learning. The offspring are produced based on the operations performed between two randomly generated populations. For calculating and choosing the best solutions among the populations, various selections like Tournament and Rank Based Selection Strategies are used. Individuals live one period (one generation), compete between themselves, and the better ones (Fitter for environments) are reproduced. Offsprings differ from the parents individuals because the genetic operators act during reproduction [4]. The K- means clustering algorithm is also taken here to compare the results of various data set for getting the best solution. This paper mainly focused on calculating the best solution among various two randomly generated populations and also the comparison of K-means clustering with various data set. Copyright to IJIRSET DOI: 10.15680/IJIRSET.2015.0405015 2762

II. EVOLUTIONARY PROGRAMMING STRATEGIES Evolutionary Strategies were developed as a method to solve parameter optimization problems [5]. To aspire the evolution of artificial intelligence, the evolutionary programming had developed for the ability to predict the changes in the environment. The individuals undergoes a Gaussian distribution method of addition zero mean Gaussian variable of standard deviation. The Survival of the fittest from the parent and the offspring becomes the parent of next generation [6]. The next generations are called as offspring. The procreation of a population in the general computer programs are based Evolutionary programming techniques. GP has been mainly intended for discovering computer programs able to solve particular classes of optimization problems [7]. The evolutionary search algorithm is applied iteratively to arrive at a near optimum solution. [8]. In the Genetic algorithm the set of data (represented in numbers) called as Chromosomes and the elements in the data are called as genes The survival of the Fittest is identified by calculating the function. GENETIC ALGORITHM AND IT S OPERATORS The operation of GAs begins with a population of a random string representing design or decision variables. The population is then operated by three main operators; reproduction, crossover and mutation to create a new population of points [9]. To start with the function optimizations in the genetic algorithm we need to set the population in the encoded format and define it as members. Cross over and mutation, operators based on reproduction, are used to create the next generation.[10] For creating next generation, crossover plays a vital role here by combining the members in the current generated population. The mutation systematically changes elements of a solution from the current generation in order to create a member of the next generation [10]. To find the best solution or survival of the fittest, genetic algorithms uses the cross over and mutation and performs the operation. Genetic algorithms are well suited for searching complex, highly non-linear spaces because they avoid becoming trapped in a local minimum [11]. III. CLUSTERING In this technique we split the data into various groups and it is termed as clusters. Each cluster contains the homogeneous data from other cluster s data [12]. Data Clustering refers to unsupervised learning technique, which offers refined and more abstract views to the inherent structure of a data set by partitioning it into a number of disjoint or overlapping groups [13]. K- MEANS CLUSTERING K-Means is one of the simplest unsupervised learning algorithms to classify a given data set through a certain number of clusters fixed a priori [14]. The term k-means was first used by James MacQueen in 1967, though the idea goes back to 1957. The standard algorithm was first proposed bystuart Lloyd in 1957 as a technique of pulse-code modulation, though it wasn t published until 1982. K-means is a widely used partitional clustering method in the industries. the K-means algorithm is the most commonly used partitional clustering algorithm because it can be easily implemented as is the most efficient terms of the execution time [15]. IV. PROBLEM DESCRIPTION AND RELATED WORK The problem is that identifying the survival of the fittest (Best solution), from the randomly generated populations and also the breast cancer and diabetics data set is chosen and simple K means clustering algorithm is applied over it. An Experimental analysis report is compared for the above mentioned dataset with the K-means algorithm. In EP after identifying the best solution the tournament selection is applied to the new generations (offsprings) and the survival of the fittest is identified. The minimum best population is identified grouped in an order and at one stage there will be no changes in the offspring which is generated after the tournament selection. Various rules have been described to identify the offspring for the next generation. Rule 1: The newly generated individuals are given ranked according to the tournament operation which is applied. Copyright to IJIRSET DOI: 10.15680/IJIRSET.2015.0405015 2763

Rule 2: All the solutions are positioned at one location and one best solution is taken among them Rule 3: With a certain probability, collective solutions are taken for creating a subsequent selection. Rule 4 : By applying simple K means clustering algorithm is applied for the data sets a result analysis is studied and the best data set is chosen Rule 5: After choosing the data set which gives the best accuracy in K means again GA is applied. V. PROCESS INVOLVED IN EP S1. Generate two populations randomly between some ranges for example 1* (1, 10) and 2* (1, 10) S2. From the population generation calculate the fitness function based on our formulae S3. Sort the population in decreasing order based on the fitness. S4. Perform the operation till all the elements get sorted. S5. Perform a pair wise tournament between the fitness values and replace the new fitness value with the old fitness values. S6. Plot the graph based on the result which is generated. ALGORITHM //Input: A and B are generated randomly //Output: Best solution Begin A 1 *rand (1, 10); B 2* rand (1, 10); For generating the solution for every element in the population For i=1:10 F=A+2*B End for Return min (F) End Genetic Algorithm Approach to FOP Genetic Algorithm approach is engaged to optimally select the minimum best solution from the randomly generated population. To identify the global minimum search space the traditional genetic algorithms were used to explore the solutions. There are various ways in genetic algorithm to improve the performance of evolutionary programming. Here we follow Cross over and Mutation. The cross over encapsulates various elements in the current generation and creates an offspring (New Member). The mutation is nothing but sudden change in the element of the current population which is generated. Genetic algorithm are also well suited for searching complex, highly non-linear spaces because they avoid becoming trapped in a local minimum [11] In the evolutionary computation method, the fitness estimation is very much important, were the individual are considered as values and encodes only part of the solution. There are some basic outlines of genetic algorithm which are as follows Initialize the population Evaluating the fitness Creating a new population Selection Crossover Mutation Placing the new offspring which is generated Replacement by selection operations Testing Iterations for all populations. Copyright to IJIRSET DOI: 10.15680/IJIRSET.2015.0405015 2764

The GA s are known as Search algorithms, which are based on the phenomenon of natural selection and natural genetics. From our problem, a certain population is chosen (coding format) and the candidate for the solution to the optimization problem. The first form is nothing but we need to generate the population randomly. From the randomly generated populations we need to generate the offspring. The offspring inherits the characteristics of parents from which they have generated. After all the offspring s are generated a tournament operations is performed between them so that the low fitness is replaced by the best fitness. Tournament Selection The process involved in the tournament selection is as follows, 1. Two solutions are taken randomly from the available population. 2. Fitness is compared between the chosen populations 3. Best fitness replaces the least fitness 4. This determines the tournament selection selects the best individual in each tournament For example consider the below table1. A B Fitness 2.3845 1.5461 5.4766 2.8075 1.047 4.9646 1.5678 4.5756 10.719 2.6404 1.7966 6.2335 0.5189 2.1949 4.9087 2.9392 3.6458 10.2308 0.8143 2.1376 5.0896 0.757 2.8769 6.5108 2.6272 1.2591 5.1455 2.2119 4.9533 12.1186 Table1: Population and fitness. From the above population chose two solutions randomly e.g. 10.719 and 12.1186. Here the best solution is 12.1186 it replaces the 10.2308 like this the iteration happens for all the individuals and best solution is found. The below figure shows the fitness value which is raised on the final stage after the tournament selection operation is applied over it. Fig1. Fitness growth of population Copyright to IJIRSET DOI: 10.15680/IJIRSET.2015.0405015 2765

Crossover and Mutation Here, we use 1 point crossover. The crossover is used to create a new offspring. From the two populations the two offspring is generated. The below table depicts this, Population1 11011 001110001 Population2 11011 110000011 Offspring1 11011 110001111 Offspring2 11011 000110011 Table2: Single point Crossover After the operations which are performed in the crossover, the next step is we need to go for mutation. The mutation is nothing but sudden changes in the offspring. That is, in the binary encoding, the mutation occurs is the values of 0 changes to 1 and 1 changes to 0. Original Offspring1 1100011001101 Original Offspring2 1101111001100 *Mutated Offspring1 1101111001101 Mutated Offspring2 1111011001100 The genetic algorithm cycle is depicted in the below figure. Table3: Mutation. Population Replacement Selection Parents GA operation Offspring Fig2: GA Cycle VI. DATA SET The data sets from UCI repository. Here WEKA 3.7 tool is used to perform the clustering analysis of K-means. Here the K-Means Clustering algorithm is compared with the dataset to find the performance of the IRIS-Fisher Dataset, Hospitality Data Set, Breast Cancer Dataset and Diabetics Data set. Copyright to IJIRSET DOI: 10.15680/IJIRSET.2015.0405015 2766

VII. EXPRIEMENTAL PROCESS INVOLVED IN K-MEANS Here various data sets which is specified above is taken and K-means clustering algorithm is applied over the data set to identify the Number of iterations and squared errors on each data set. The below table shows the number of attributes and instances of various data set which is chosen from UCI repository. Data Set Attributes Instances Breast Cancer 10 699 Diabetes 3 768 IRIS Fisher 4 150 Hospitality 10 2728 Table 4: Details of Dataset Experimental Results The below table 5 shows the experimental results of various data set after the K- means clustering algorithm is applied. Clustering Algorithm Data Set Instances Iterations Squared Errors K Means Clustering Breast Cancer 699 5 260.42 Diabetes 768 3 1777.0 IRIS-Fisher 150 4 40.32 Hospitality 2728 36 3187.64 Table 5: Comparison of K-means on data set for Iterations The data sets are clustered into 0 and 1 instances based on the number of attributes of each data set. The below table 6 depicts the number of 0 and 1 instances with accuracy percentage level. Clustering Algorithm K Means Clustering Data Set Clustered Instances 0 1 Breast Cancer 245 (35%) 454 (65%) Diabetes 761 (99%) 7 (1%) IRIS-Fisher 50 (33%) 100 (67%) Hospitality 1439 (53%) 1289 (47%) Table 6: K-means on Data set for Clustered Instances Here we used K-means clustering algorithm for various data set and the number of iterations and squared errors are compared and identified using Weka Tool. The below figure depicts the comparison of various data sets based on the instances and iterations Copyright to IJIRSET DOI: 10.15680/IJIRSET.2015.0405015 2767

Figure: Comparison of K-means with various data set VIII. CONCLUSION AND FUTURE WORK In this paper the K- Means clustering algorithm along with function optimization is analyzed for randomly generated population and various data sets. In the randomly generated population the fitness values is raised based on the selection operation. In the K- Means algorithm, various data set is given in which it provides high result over diabetes data set in which it provides minimum number of iterations and maximum accuracy of zero clustered instances with 99%. The algorithms which is presented in GA and steps involved in EP are very much help to solve the problem of function optimization. In future, the most convenient of this problem is we can extend the parameters which have been declared and the function can also be added with additional parameters. The same data set is chosen for comparison of various clustering algorithms. Finally we can conclude that, identifying the best solutions based on the survival of the fittest from various populations and K- Means clustering produces high results in diabetes data set over other data. REFERENCES [1] X.Yao and Y.Xu, Recent Advances in Evolutionary Computations Int. J. Compt. Sci and technology [2] Shane Legg, Marcus Hutter, Akshat Kumar, Tournament versus Fitness Uniform Selection [3] Ajith Abraham, Natural Computation for Business Intelligence from Web Usage Mining [4] Halina Kwasnika, K-Model An Evolutionary Algorithm with New Schema of Representation. [5] Schwefel H.P On the Evolution of Evolutionary Computation. [6] Marc Schoenauer and Zbigniew Michalewicz, Evolutionary computation. [7] Mihai Oltean, Evolving Evolutionary Algorithms for function Optimization [8] Evolutionary Algorithms for optimizing bridge deck rehabilitation [9] Tom V.Mathew Genetic Algorithm. [10] Sarah wazirud, David C. Brogan and Paul F. Reynolds Jr, Coercion through optimization: A Classification of Optimization Techniques [11] Y.Carson and A.Maria: Simulation Optimization: Methods and Applications, proceedings of the 19777 Winter Simulation Conference, 1977 [12] Suman and Mrs. Pooja Mittal Comparison and Analysis of Various Clustering Methods in Data mining on Education data set using Weak tool. International Journal of Emerging science & Technology in Computer Science. Vo1. 3 Iss. 2 PP. 240 244 [13] Prakash Singh and Aarohi Surya, Performance Analysis of Clustering Algorithms in Data Mining in Weka Int. J. of Adv in Eng. and Tech. Vol.7 Iss 6 PP. 1866 1873 [14] S.C. Punitha, P.Ranjith Jeba Thangaiah and M. Punithavalli, Performance Analysis of Clustering using Partitioning and Hierarchical Clustering Techniques, Int. J. of Database Theory and Applications. Vol.7 No.6 PP. 233-240 [15] Bharat Chaudhari and Manan Parkah A Comparative Study of clustering algorithms using Weka Tools, Int. J of App. or Innovation in Engineering and Management. Vol.1. Iss.2. PP.154-158 Copyright to IJIRSET DOI: 10.15680/IJIRSET.2015.0405015 2768