This mini project report explores the optimization of genetic algorithms using the Iris flower dataset as part of a Bachelor of Engineering program. The study introduces machine learning concepts, particularly focusing on the k-means algorithm for pattern recognition in identifying iris species based on measured features. The project's outcomes demonstrate the application of machine learning to enhance pattern recognition processes.