Difference between revisions of "APA Feature Engineering"
Line 12: | Line 12: | ||
| style="border-bottom:2px solid #66ffcc; border-top:2px solid #66ffcc; background:#66ffcc;" width="1%" | | | style="border-bottom:2px solid #66ffcc; border-top:2px solid #66ffcc; background:#66ffcc;" width="1%" | | ||
| style="padding:0.3em; font-family:Helvetica; font-size:120%; border-bottom:2px solid #66ffcc; border-top:2px solid #66ffcc; background:#66ffcc; text-align:center;" width="12%" | | | style="padding:0.3em; font-family:Helvetica; font-size:120%; border-bottom:2px solid #66ffcc; border-top:2px solid #66ffcc; background:#66ffcc; text-align:center;" width="12%" | | ||
− | [[APA_Final_Progress|<font face ="Century Gothic" color="#000000"><strong> METHODOLOGY</strong></font>]] | + | [[APA_Final_Progress|<font face="Century Gothic" color="#000000"><strong> METHODOLOGY</strong></font>]] |
| style="border-bottom:2px solid #66ffcc; border-top:2px solid #66ffcc; background:#66ffcc;" width="1%" | | | style="border-bottom:2px solid #66ffcc; border-top:2px solid #66ffcc; background:#66ffcc;" width="1%" | | ||
| style="padding:0.3em; font-family:Helvetica; font-size:120%; border-bottom:2px solid #66ffcc; border-top:2px solid #66ffcc; background:#66ffcc; text-align:center;" width="18%" | | | style="padding:0.3em; font-family:Helvetica; font-size:120%; border-bottom:2px solid #66ffcc; border-top:2px solid #66ffcc; background:#66ffcc; text-align:center;" width="18%" | | ||
Line 49: | Line 49: | ||
'''Email Exchange Ratio:'''<br> | '''Email Exchange Ratio:'''<br> | ||
This metric will show the number of emails exchanged between the two employees as a ratio of the total number of emails exchanged by these employees. | This metric will show the number of emails exchanged between the two employees as a ratio of the total number of emails exchanged by these employees. | ||
− | We assume more information is being exchanged with larger email size. | + | We assume more information is being exchanged with larger email size. <br> |
− | <div style="text-align: center;"> | + | <div> |
− | [[Image:EmailExchangeRatioFormula.PNG|200px]] | + | <div style="border:1px solid rgb(85,198,225); -moz-border-radius:15px;width:250px;padding:10px;text-align: center;"> |
+ | [[Image:EmailExchangeRatioFormula.PNG|200px]] <br> | ||
+ | 𝑁𝑎𝑏: Number of emails exchanged between A and B <br> | ||
+ | 𝑁𝑎: Number of emails sent by A <br> | ||
+ | 𝑁𝑏:Number of emails sent by B | ||
+ | </div> | ||
[[Image:EmailExchangeRatioSQL.png|600px]] | [[Image:EmailExchangeRatioSQL.png|600px]] | ||
</div> | </div> | ||
+ | |||
<div style="text-align: center;">[[Image:EmailExchangeRatioResults.jpg|400px]]</div> | <div style="text-align: center;">[[Image:EmailExchangeRatioResults.jpg|400px]]</div> | ||
<br> | <br> |
Revision as of 18:10, 25 February 2017
Subject Line weightage: We will be using subject line weightage as one of the components in determining how important and relevant a single email exchange is to the business. Our approach will be as follows:
- First run an analysis on all the terms occurring in the entire dataset
- This analysis will filter out common words, prepositions and other unimportant words that could potentially skew the results.
- The analysis will return a listen of words along with the frequency of the term’s occurrence in the dataset.
- Based on the results obtained, we would like to calculate the tf-idf of each term.
- tf: how often does the term occur in the document
- idf: how often does the term occur in other documents
- tf-idf will allow us to find the most important terms in the set of documents
- Using the value of this tf-idf, we will assign each term a weightage based on how important it is in determining the importance to the business
- Each subject line of an email will then have an aggregated weightage of the terms appearing in itself.
Email Exchange Ratio:
This metric will show the number of emails exchanged between the two employees as a ratio of the total number of emails exchanged by these employees.
We assume more information is being exchanged with larger email size.
Average Email Exchange Size:
This metric takes the average of email sizes of all the emails exchanged between two employees A and B.
Email Chain Ratio:
This metric reveals the uniqueness of the communications between two employees by considering number of unique subject lines along with frequency of emails exchanged.
This shows the number of unique conversations taking place between the employees.
Rate of exchange of emails:
This metric shows how often emails are exchanged between two employees, in other words, it helps us understand the regularity of email exchange.