Answers.Body: <p>My first recommendation would be before you create an AI or ML based solution. Kindly consider using a business Q&amp;A Software such as Questions for Confluence by Atlassian among others. An enterprise multiple choice solution could be a simple and elegant fit for this problem.</p>
  
  <p>However, if one was to design a solution in accordance to your specification the first step to resolve the problem would definitely be one of applying NLP. In my answer I utilize the open source procedure laid out by EASE (Enhanced AI Scoring Engine) by Edx and a combined initiative of MIT and Harvard towards improving automated essay scoring (Parachuri V 2013). </p>
  
  <p>Computers cannot directly understand text the way people can. People naturally break sentences into units of meaning, however when using a computer we will first have to instruct the computer how to do it. This process is called tokenization. Tokenization is the task of chopping a phrase into pieces called tokens at the same time discarding some characters i.e. punctuation. </p>
  
  <p>After we tokenize the essay answers, we then convert the tokens into a matrix (bag of words model also known as vector space model). This model is a very convenient way to represent text in matrix form. Here we disregard grammar and even the word order but the frequency of words is retained.</p>
  
  <p>Now we can proceed to the machine learning part!</p>
  
  <p>Here I will recommend that we either use regression or classification. The difference between these two algorithms is that regression assumes you are using a continuous scale while classification is discrete. </p>
  
  <p>In statistical modeling, regression is a set of statistical processes for estimating the relationships in variables.</p>
  
  <blockquote>
    <p>A simple linear equation is $y=m*x+b$ , where y is the target value(score), m is a coefficient, and b is a constant.
    In linear regression, we would do something like $y=m{1}*x{1}+m{2}*x{2}+\dots+m{n}*x{n}+b$.</p>
  </blockquote>
  
  <p>Classification (also sometimes called a decision tree) on the other hand is a data mining method for assigning categories to a collection of data which is useful since we want to classify essays on the basis of their scores. </p>
  
  <p>The next step will be to measure the error in the scores that are generated by the algorithm on the previous step. </p>
  
  <p>In order to measure accuracy, lets use cross-validation. Here we split the training dataset randomly into n parts each segment is a 'fold'. This is called n-fold cross validation. We then iterate from 1 to n predicting the scores of the parts [n] from all the data in parts [!n].</p>
  
  <p>Hope this helps. </p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-12-24T20:22:29.997Z
Answers.LastActivityDate: 2017-12-24T20:22:29.997Z
Answers.UserDisplayName: Seth Simba
Body: <p>Imagine this theoretical situation:</p>
  
  <blockquote>
    <p>A group of people are asked to provide a solution for an imaginary
    problem via email. Then an AI service runs through their written
    solution, analyzing the kind of words and sentences they use,
    essentially exploring how they faced the problem. Then the service
    finds a personality portfolio of each person.</p>
  </blockquote>
  
  <p>Is there such an AI service which can find such personality portfolios by analyzing the text they use describing their solution to a problem? If there is not a current service, how might it be approached?</p>
  
  <p>Regards,
  Koppany</p>
  
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2017-12-24T05:54:37.883Z
Comments.Text: https://datascience.stackexchange.com/q/662/23402
Comments.UserDisplayName: quintumnia
Tags: <philosophy><emotional-intelligence><text-summarization>
Title: What AI service can define personality portfolio based on text?
UserDisplayName: Koppany
ThreadText: # What AI service can define personality portfolio based on text?
  
  (Asked by: username_0 on 2017-12-23)
  
  Imagine this theoretical situation:
  
  > A group of people are asked to provide a solution for an imaginary
  > problem via email. Then an AI service runs through their written
  > solution, analyzing the kind of words and sentences they use,
  > essentially exploring how they faced the problem. Then the service
  > finds a personality portfolio of each person.
  
  Is there such an AI service which can find such personality portfolios by analyzing the text they use describing their solution to a problem? If there is not a current service, how might it be approached?
  
  Regards,
  username_0
  
  **Tags:** philosophy, emotional-intelligence, text-summarization
  
  > **Comments:**
  > **username_1**: https://datascience.stackexchange.com/q/662/23402  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_2 on 2017-12-24. Score: 1
  
  My first recommendation would be before you create an AI or ML based solution. Kindly consider using a business Q&A Software such as Questions for Confluence by Atlassian among others. An enterprise multiple choice solution could be a simple and elegant fit for this problem.
  
  However, if one was to design a solution in accordance to your specification the first step to resolve the problem would definitely be one of applying NLP. In my answer I utilize the open source procedure laid out by EASE (Enhanced AI Scoring Engine) by Edx and a combined initiative of MIT and Harvard towards improving automated essay scoring (Parachuri V 2013).
  
  Computers cannot directly understand text the way people can. People naturally break sentences into units of meaning, however when using a computer we will first have to instruct the computer how to do it. This process is called tokenization. Tokenization is the task of chopping a phrase into pieces called tokens at the same time discarding some characters i.e. punctuation.
  
  After we tokenize the essay answers, we then convert the tokens into a matrix (bag of words model also known as vector space model). This model is a very convenient way to represent text in matrix form. Here we disregard grammar and even the word order but the frequency of words is retained.
  
  Now we can proceed to the machine learning part!
  
  Here I will recommend that we either use regression or classification. The difference between these two algorithms is that regression assumes you are using a continuous scale while classification is discrete.
  
  In statistical modeling, regression is a set of statistical processes for estimating the relationships in variables.
  
  > A simple linear equation is $y=m\*x+b$ , where y is the target value(score), m is a coefficient, and b is a constant.
  > In linear regression, we would do something like $y=m{1}\*x{1}+m{2}\*x{2}+\dots+m{n}\*x{n}+b$.
  
  Classification (also sometimes called a decision tree) on the other hand is a data mining method for assigning categories to a collection of data which is useful since we want to classify essays on the basis of their scores.
  
  The next step will be to measure the error in the scores that are generated by the algorithm on the previous step.
  
  In order to measure accuracy, lets use cross-validation. Here we split the training dataset randomly into n parts each segment is a 'fold'. This is called n-fold cross validation. We then iterate from 1 to n predicting the scores of the parts [n] from all the data in parts [!n].
  
  Hope this helps.
  
  
  ---
  
  