[go: up one dir, main page]

Academia.eduAcademia.edu

OPTIMALLY MATCH GROUPS OF STUDENTS TO PLACEMENTS USING GENETIC ALGORITHM

—This paper proposed for find the optimum placement pairings for a group of students based on a prioritized list of constraints using the Genetic Algorithm. This approach will improves the quality of student placements by using Genetic Algorithm. Currently the matching of students to available placements is done manually by administrative staff who must consider many criteria whilst matching each student which is complex and time consuming.

International Journal of Engineering Science Invention Research & Development; Vol. III, Issue XII, JUNE 2017 www.ijesird.com, e-ISSN: 2349-6185 OPTIMALLY MATCH GROUPS OF STUDENTS TO PLACEMENTS USING GENETIC ALGORITHM 1 Mr. Vicky Shet, 2Ms. Pallavi Shetty, 3Mr. John McCrae , 1Student, 2Associate Professor, Department of MCA, NMAMIT, Nitte, 3C.E.O of Abyasa Ltd Abstract—This paper proposed for find the optimum placement pairings for a group of students based on a prioritized list of constraints using the Genetic Algorithm. This approach will improves the quality of student placements by using Genetic Algorithm. Currently the matching of students to available placements is done manually by administrative staff who must consider many criteria whilst matching each student which is complex and time consuming. Index Terms— Genetic Algorithm, Students Placements. I. INTRODUCTION ADVANCES in the computer science field of technology have drastically changed the ease and effectiveness of programming applications for finding solutions for complex problems. Now the use of artificial intelligence has made solving problems that were impossible before a reality. Concepts like Genetic algorithms and Artificial Neural Networks are being widely used in many fields like pattern recognition, prediction and constraint satisfaction problems. This project will take a task that is difficult and time intensive for humans to do and use AI to generate a software solution. Genetic Algorithm (GA) is search-based optimization technique. Genetic Algorithm is powerful which is mainly because of Genetics and Natural Selection for finding the solutions that are optimal and sufficient amount of time. Genetic algorithm can be generally be used in any areas where problems are Harder to solve and problems that would take very long time to solve. Matching group of Students to placement is gets harder as the number of students and placements increases where each of the students should be compared with every placements available along with the prioritized criteria’s listed. The University Administrative staff currently places students to Vicky Shet, Pallavi Shetty and John McCrae their placements manually by considering all criteria’s listed. II. PROBLEM DEFINITION This paper is for optimally placing the group of students in the university to available placements with the help of Genetic Algorithm by considering prioritized list of criteria’s while matching. The project was developed as module for sp1 of Abyasa. Currently in universities matching of students to placement done manually which is a time consuming and complex task. This approach will find optimal software solution which will be faster and easier. III. METHODOLOGY Basic Genetic Algorithm works as initially generating groups of possible solutions for a given problem. These groups of possible solutions undergoes selection, recombination, and mutation which mirror the natural selection. This generational process is repeated until a termination condition has been reached. Each individual solution is assigned a fitness value and the fitter individuals are given a higher chance to mate and yield more “fitter” individuals. The theme of GA is "Survival of the Fittest". For optimally placing the students to placement, Genetic Algorithm can be considered as best choice. Genetic Algorithm (GA) is a search optimization technique based on the principles of Natural Genetics and Natural Selection. They combine survival of the fittest among the population and over the generations GA will able to find the best combination of students to placements pairings. At the end of iterations GA guaranties that ijesird, Vol. III, Issue XII, June 2017/800 International Journal of Engineering Science Invention Research & Development; Vol. III, Issue XII, JUNE 2017 www.ijesird.com, e-ISSN: 2349-6185 an optimal or near optimal solution will be available. of genes in the population is based on the population size. A. GENETIC ENCODING To Represent a Gene so that could be used in the genetic algorithm we chose structure show in the figure 1. The Structure contains the linear array of students where index represents the placement for which corresponding student is assigned for that D. ELITISM Elitism is a concept of allowing the best genes from the current generation to carry over to the next, unaltered. This strategy is known as elitist selection and guarantees that the solution quality obtained by the GA will not decrease from one generation to the next. Here I have used elitism based on the elitism probability. E. GENETIC OPERATORS placements. Figure 1 For each of the student and placement pair there will be a fitness value that measures the how good a placement is based on the criteria given. Their might be situation where the students many be lesser than the placement, for such case we consider dummy students with least fitness value. The fitness of whole gene depends on the combined fitness of all the students and placements pairing contained in that gene. The figure 1 shows that six students placed to six different placements. B. CRITERIA’S The criteria’s is a list of rules that are need to be considered during placement. This criteria’s are being used while evaluating the fitness of a gene. The criteria includes the priority rating and is criteria optional or required such conditions along with the name. The Criteria’s may be like distance between students and placements should be lesser than 50 km. The other criteria s are like the student should have a same subject as placement has, Pupil premium of student must be have a good range from past history. Each Students must go to different placements which are not visited before. C. INITIALIZATION Initial population is created by using the available list of students and placements. The students and placements are randomly combined to create the genes. After the creation of gene we evaluate the fitness of students to placement pairing and then evaluating the students to placements. The number Vicky Shet, Pallavi Shetty and John McCrae 1. Selection This paper uses the Tournament selection method for the genetic algorithm that randomly selects small part of the population and selects the best two gene in that population which is used in the selection of the parent gene for generating the offspring’s. 2. Crossover Crossover is used to yield fitter chromosomes over the generation, from one generation to next generation. The crossover operator is analogous to reproduction and biological crossover. The new Chromosome shares many of the characteristics of its parents. Figure 2 Crossover that is produced by combining the parents’ gene which are selected by selection method from the population and generate a new gene using the two point crossover method. While crossover the parent 1 gene and parent 2 gene are chosen, then the two crossover points are randomly selected. Parent1 gene's first part and last parte are used as it is in the child gene. But parent2's gene section from crossover ijesird, Vol. III, Issue XII, June 2017/801 International Journal of Engineering Science Invention Research & Development; Vol. III, Issue XII, JUNE 2017 www.ijesird.com, e-ISSN: 2349-6185 point1 to crossover point 2 is placed only if it is in both parent otherwise students are randomly placed. 3. Mutation Mutation is used to maintain genetic diversity from one generation to next, which mimics the biological mutation. Mutation operation alters one or more gene values in a chromosome from its initial state. Here mutation operation that can modify the gene by swapping one students with other student based on the mutation probabilities which normally would be very small. shows the first test case where we included four students and seven placements with single criteria that all students who are near to the placements must be placed to such placements. The figure shows that all students’ properties are similar except for the location for even Placements also have the same properties except place property. As per Required result three students must be placed and in figure 1 we can see all the required students are been placed. Figure 3 F. Termination This Evolutions process or generations is repeated until a termination condition has been reached. Terminating condition here employed is that we have a maximum number of generations that generations can be evolved and minimum number of evolution or iteration that generation should be evolved. Termination can also occur when the fitness is greatest or if the similar result for continuously for many generations. IV. IMPLEMENTATION, ANALYSIS AND RESULTS We have built a web service so that any client can make call to the server with students, placements and criteria’s and gives back the result with list of student placement pairs using the JSON format which was developed as a module as part of internship project at Abyasa ltd. In order to evaluate the gene fitness we must compute some of the properties that are being used while evaluation based on the criteria. Such as distance so on. For some evaluation we use API calls for direction and distance server. To illustrate the concept we have tried many Test case which 95% of the students have been correctly placed to their respective placements. Figure 1 Vicky Shet, Pallavi Shetty and John McCrae Table 1 Table 2 ijesird, Vol. III, Issue XII, June 2017/802 International Journal of Engineering Science Invention Research & Development; Vol. III, Issue XII, JUNE 2017 www.ijesird.com, e-ISSN: 2349-6185 Another output is shows in the figure 2 which contains ten students and five placements with all other properties similar and for students except the mode of travel all other properties are similar. We want all who are travelling by the public transport must be placed and our solution output has all the required public transport are placed. Other than the students have public transport as mode of travel may be or may not be placed. [3] [4] [5] [6] V. CONCLUSION This project successfully places students to placements based on the prioritized list of constraints and produces an optimal or near optimal solution using the Genetic algorithm and which was developed and implemented successfully as internship project. This method improves the quality of student placement using Artificial intelligence. The fitness function is carefully designed so the solution yields optimal pairs of students and placements. The Genetic Algorithm for an optimal solution mainly depends on the fitness evaluation function and how we design the fitness function. Tournament selection is best suited for this problem which gets the best set of parents for genetic operations from a collection of genes. Our crossover makes a child gene with the best features of both the genes and gets better and better as each generation gets evolves and progresses. The Analysis shows that this approach works very well for finding student and placement combinations with the least number of iterations or evolutions. [7] [8] [9] Hanny Prastya Hariyadi, Triyanna Widiyaningtyas, M. Zainal Arifin, Siti Sendari. “Implementation of Genetic Algorithm to Academic Scheduling System” IEEE Region 10 Conference (TENCON),2016. Tadahiko RJlURATA and Hisao ISHIBUCHI "MOGA: MultiObjective Genetic Algorithms",Department of Industrial Engineering, University of Osaka Prefecture Gakuencho 1-1, Sakai, Osaka 593, JAPAN. Mustapha Ratli,Mansour Eddaly,Bassem Jarboui,Sylvain Lecomte,Saïd Hanafi,"Hybrid Genetic Algorithm for Biobjective Assignment Problem " presented at the 5th IESM Conference, October 2013, Rabat, Morocco. Ryan D. Friese,"Efficient Genetic Algorithm Encoding for Large-Scale Multi-Objective Resource Allocation" S. Venkatraman and G. G. Yen, "A Generic Framework for Constrained Optimization Using Genetic Algorithms," in IEEE Transactions on Evolutionary Computation, vol. 9, no. 4, pp. 424-435, Aug. 2005. Noraini Mohd Razali, John Geraghty,"Genetic Algorithm Performance with Different Selection Strategies in Solving TSP" John Grefenstette, Rajeev Gopal, Brian Rosmaita, Dirk Van Gucht,"Genetic Algorithms for the Travelling salesman problem" ACKNOWLEDGMENT The successful completion of any work would be incomplete without thanking the persons who made it perfect with their constant guidance and encouragement. I would like to thank the management of NITTE Education Trust, Karnataka for allowing to do internship project. Finally, I would like to thank the Abyasa Ltd Company for providing me facilities to carry out the internship project for final semester MCA. REFERENCES [1] [2] David E. Goldberg, "A Gentle Introduction To Genetic Algorithms", in Genetic Algorithms in Search, Optimization, and Machine Learning, INDIA: Pearson Education India, 2006, ch.1, pp. 10-17. A. D Bethke,"Gentic Algorithms as function optimizers", ph. D Thesis, Dept, Computer and Communication Science, Univ of Michigan(1981). Vicky Shet, Pallavi Shetty and John McCrae ijesird, Vol. III, Issue XII, June 2017/803