CS454 AI Based Software Engineering
Repository for Group Project of CS454, KAIST, 2019 Fall
About the Course
Please refer to the Course Homepage
This class covers metaheuristic optimisation algorithms and their application to software engineering problems. The goal of the class is twofold: the first objective is to understand major classes of metaheuristic algorithms, including local search algorithms and population based optimisation (such as genetic algorithm and particle swarm optimisation). The second objective is to study the application of these algorithms to software engineering problems. For this, the class will introduce the fundamental concepts in so called Search Based Software Engineering, and then study various application cases across the software development lifecycle (requirements, design, planning, testing, maintenance, etc). The desired learning outcome is to be able to use metaheuristic optimisation to automate, and/or gain insights into, software engineering tasks.
The first half of the course will be a series of lectures on metaheuristic algoithms. The second half will be a series of case studies based on paper presentations, given by students, about important and/or recent papers in the field of Search Based Software Engineering.
About the Group Project
Please refer to the document.
The course project requires you to identify and formulate an SBSE problem and solve it using a metaheuristic approach.
About the Project
Testing False Positive Speech Recognition Using Evolutionary Algorithms
Roadmap and Responsibility
- Plan & Run: People to whom it may concern
- Audio: Juan(C++), Sungwoo(C)
- Genetic Algorithm: Kihoon
- Fitness: Sungwoo(Incomprehensibility), Taehyeon, Juan(Interpretability)
- Human in the Loop: Taehyeon, Hyunchang
- Preprocessing: Taehyeon
- Evaluation: Hyunchang, Kihoon
- Coursework: Everyone
- AI Study: Kihoon, Juan, Sungwoo
- Pitch Presentation
- Final Presentation
Sorted by Korean alphabetical order
About the Code
The project used many third-party libraries, multiple programming languages, and/or co-working process with diverse code hierarchy. Please thoroughly follow below instructions to run the code in your environment.
Run and Test Google API
Since Google Speech API does not support C++, we made a python program and export the result through the pipe.
- Enable Google Speech To Text API at Google Cloud Platform Console
- Make and Download Your Private Key, we named it
- Export your private key for the current session.
$ export GOOGLE_APPLICATION_CREDENTIALS="/path/to/google_api_key.json"
- Install Python Google Speech Module
$ pip install --upgrade google-cloud-speech
- Run the code with your audio file (arguments: filenameand sample rate)
$ python3 google_api_python.py "path/to/audio_file.wav" 48000