Consumer_complaints_generalization
CONSUMER COMPLAINTS GENERALIZATION PROJECT
GENERAL
This is the expert.ai Symbolic project for Consumer Complaints Dataset generalization that is referred in this TDS article. Please notice that this project is composed of human made rules (found in the folder rules) that are made on top of a text analysis engine. The engine is not available here on github but will be automatically downloaded after opening the project folder in Studio IDE (see Download section below). In the folder "package/libraries", you can find the zip file "Consumer_complaints_generalization_20211215123126_scp" which contains the dataset used for this experiment. Please check the Donwload section below for instructions on how to correctly import it.
This project was developed to mimic lab conditions: we worked with 80k training documents, and tested on the remaining 9k. We built hand-made rules to catch significant textual clues for each class. You can find one rule file for each Consumer Complaint class, and some other files used for developments. We optimized the rules through a propagation tool, since we developed the project in a handful of days it was not possible to read and analyze the whole training set. So we applied an automatic tool that creates ready-made rules for each class and we picked the ones that guaranteed the best coverage. We allowed a multi-label classification, since the rules project is made to catch any textual clue in the document for each class, meaning that some documents might be referring to more than one class at a time.
DOWNLOAD
Please make sure you have aGit installed on your machine before going forward. You can download this folder, and then open it using expert.ai Studio IDE. If you don't already have the Studio plugin installed, please follow the instructions. You can also find the installer in expert.ai developers' portal. Please notice that you will need to create an account to access the portal.
Once the project is opened and initialized, you can import the annotated dataset provided in the folder "package/libraries", under the name of "Consumer_complaints_generalization_20211215123126_scp". To do so, in Studio IDE, go in the menu called "Studio", select "Import Library" and select the dataset. The process should start automatically and fill the two folders "Test", where you'll find the documents, and "Ann" where you'll find the annotation - in BRAT format, compatible with Studio.
TESTING
Once you have downloaded the project and the dataset, as described in the previous section, you can test the solution. To do so, hover your mouse cursor over the "test" folder icon and now you can choose:
- You can right click on this folder and select "Test all documents" to test everything in the test folder (both test and training set);
- You can navigate to a specific subfolder (e.g. "test set") and right click on the icon and then select "Test all documents" to test only that subfolder.
Consumer_complaints_generalization
- 0
- 0
- 0
- 0
- 0
- almost 3 years ago
- December 16, 2021
Other
Fri, 22 Nov 2024 04:20:19 GMT