You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thank you for providing the source code to your paper, I have a question.
Can this model be used to identify Java design patterns? According to my rough understanding, each line of input data of the current model is the path context of a code block, while the identification of design patterns needs to analyze the whole Java files even cross files. I want to ask if the code2vec model can complete the prediction in this scenario.
The text was updated successfully, but these errors were encountered:
By default, code2vec is only able to interpret single methods. However, some other studies have tried to overcome this limitation. For example, Compton et al. have used various aggregation methods on the method embeddings to create class-level embeddings. You could experiment yourself with some aggregation methods to combine the various java files and use the resulting embeddings to train a classifier on your task of classifying design patterns.
Thank you for providing the source code to your paper, I have a question.
Can this model be used to identify Java design patterns? According to my rough understanding, each line of input data of the current model is the path context of a code block, while the identification of design patterns needs to analyze the whole Java files even cross files. I want to ask if the code2vec model can complete the prediction in this scenario.
The text was updated successfully, but these errors were encountered: