How to effectively use topic models for software engineering tasks? An approach based on Genetic Algorithms