SMU Research Data Repository (RDR)
Browse
Intention-Mining-TSE-master.zip (26.17 MB)

Data and source code for "Automating Intention Mining"

Download (26.17 MB)
dataset
posted on 2022-10-03, 08:32 authored by Qiao HUANG, Xin XIA, David LODavid LO, Gail C. MURPHY

 The dataset and source code for paper "Automating Intention Mining". 


The code is based on dennybritz's implementation of Yoon Kim's paper Convolutional Neural Networks for Sentence Classification. 


By default, the code uses Tensorflow 0.12. Some errors might be reported when using other versions of Tensorflow due to the incompatibility of some APIs.


Running 'online_prediction.py', you can input any sentence and check the classification result produced by a pre-trained CNN model. The model uses all sentences of the four Github projects as training data.


Running 'play.py', you can get the evaluation result of cross-project prediction. Please check the code for more details of the configuration. By default, it will use the four Github projects as training data to predict the sentences in DECA dataset, and in this setting, the category 'aspect evaluation' and 'others' are dropped since DECA dataset does not contain these two categories.

 

History

Confidential or personally identifiable information

  • I confirm that the uploaded data has no confidential or personally identifiable information.

Usage metrics

    School of Computing and Information Systems

    Exports

    RefWorks
    BibTeX
    Ref. manager
    Endnote
    DataCite
    NLM
    DC