If it is determined at 706 that one or more potential microservice candidates of the monolithic application are not identified, at 710, computer-implemented method 700 can comprise modifying (e.g., via microservice generation system 102 and/or model component 108) the window size used by the model (e.g., the window size described above with reference to
At 712, computer-implemented method 700 can comprise re-training (e.g., via microservice generation system 102) the model to learn the cluster assignments and/or graph embeddings of the Java classes in the monolithic application based on the runtime traces of the different business function test cases executed at 710 and/or the modified window size.