Consumer_complaints_full_classification
CONSUMER COMPLAINTS FULL CLASSIFICATION 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_full_classification_20211216105811_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 for a generalization task: by looking at training documents, we built rules that are able to generalize and correctly predict Consumer Complaint class also on documents that are not similar to the ones in the training set. You can find one rule file for each Consumer Complaint class, and some other files used for developments. 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_full_classification_20211216105811_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_full_classification
- 0
- 0
- 0
- 0
- 0
- almost 3 years ago
- December 16, 2021
Other
Fri, 22 Nov 2024 04:20:08 GMT