Skip to content

Code Summary Wiki

PriyaDCosta edited this page Feb 4, 2023 · 4 revisions

Following is the basic structure of the code:

  • Features Folder: A folder to containing all the individual features for the model

  • Featurize.py: Python class containing the Main Method, calling various functions to compute individual features

  • Utils : A folder containing functions to calculate "utilities" while coding features - eg. Mean, Standard Deviation, Max, Z-score etc. Also includes a pre-processor to remove special characters and make all the text lower-case

  • ConversationLevelFeatureCalculator: A class to compute values for all the coded features at a conversation level. A conversation is defined as a timed exchange of dialogs amongst a group of people. In case there is no track of time (this will be a rare case given the datasets we have), a conversation ends at the earlier of - the end of the dialog data for the given group of people or the start of a long pause (A dialog exchange between two groups on two different days are two different conversations

  • ChatLevelFeatureCalculator: A class to compute values for all the coded features at a chat level. A chat can be defined as an utterence by one person

Clone this wiki locally