Answers.Body: <blockquote>
    <p>But if they enter a name that is not in any of their data sources, how would I train a model to decide if its pep or not?</p>
  </blockquote>
  
  <p>Based on just a person's name and nothing else, the accuracy of this model is going to be very low. Consider that most first name, surname combinations in Europe are going to be repeated across the population.</p>
  
  <p>However, the accuracy <em>might</em> still be slightly better than guessing. Some families and social classes could be more likely to be involved in political work, and a statistical model would pick up on that.</p>
  
  <p>To train the model, take your positive names, and combine with a random selection of names of people that are known to be "not political" or similar enough. It doesn't matter if some of the names are the same provided you are confident in your data. Probably you could just take a phone directory or the electoral register or some other list of general names. Provided your "political" people are a small fraction of all people, this will work well enough even if you have some of them in the negative class.</p>
  
  <p>Ideally you mix those name groups in the rough proportion that the bank expects to see "political" and "non-political" customers, so that your data set is a good representation of the target population.</p>
  
  <p>Then you train a classifier on the names. As this is text and sequence data, you will need a solution for that. Possibly LSTM would be suitable architecture, but so might some feature selection from the names in a more simple ML model.</p>
  
  <p>Remember to hold back some data (both positive and negative cases) for cross-validating and testing the model.</p>
  
  <p>Expect the accuracy of your model when testing to be low. Very low. I would not at all be surprised to find the end result unusable by itself.</p>
  
  <p>If this is seriously to be part of some bank's account setup process, there needs to be additional data used later in the process. A gate for additional checks based purely on someone's name will perform very poorly in my opinion.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-07-11T12:17:12.143Z
Answers.Text: thanks for the answer, thats why I asked, I am not an expert, but guessing something with just the name seems very difficult if not impossible to have a usable result.
Answers.UserDisplayName: Luis Valencia
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-07-11T12:20:24.113Z
Answers.Text: @LuisValencia: Yes, unless you pick a target that is strongly correlated with the name, such as what page of a telephone directory they will appear on, or whether two people are related (and this second one is never something you really want to guess with no other data)
Answers.UserDisplayName: Neil Slater
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-07-12T15:19:48.350Z
Answers.Text: I'm not sure why this is upvoted. For a bank, a solution like this is **criminally** bad. Banks have a legal "Know Your Customer" obligation. Using something like this would be a reason for the supervising authority to summon the CTO for a chewing out. Seriously.
Answers.UserDisplayName: MSalters
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-07-12T15:40:12.980Z
Answers.Text: @MSalters: I agree the situation is bad if this was used for real. That is not what the question is about however, and out of scope for AI Stack Exchange. I think the caveat in the last paragraph covers all that is necessary here. There is no evidence that anyone is considering doing this for real other than a thought experiment, and even if there were I think the correct place to handle those concerns would be Workplace, Security or other Stack Exchanges. All this site can realistically offer is "statistically the result will be very poor".
Answers.UserDisplayName: Neil Slater
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-07-12T15:42:41.863Z
Answers.Text: @MSalters: If you can offer an improvement to the answer which covers concerns, but doesn't jump on the OP just for asking a "can AI really do this" kind of question (answer, as here: yes, sort of, but it would not be usable, or possibly: no, not really, but you might see the needle move) then I'd be happy to incorporate it provided it doesn't turn the whole answer into: "don't do this"
Answers.UserDisplayName: Neil Slater
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-07-11T12:10:37.393Z
Answers.LastActivityDate: 2019-07-11T12:10:37.393Z
Answers.UserDisplayName: Neil Slater
Body: <p>First than all, I am not sure if this questions is more about Machine Learning, or if its Artificial Intelligence, if not, just let me know I will delete it.</p>
  
  <p>At my company we need to create a solution for banks, where a client comes in and they want to to open a bank account.</p>
  
  <p>They need to know if that person is a politician or political exposed person, maybe they work in the european comission, or they are family from a pep for example.</p>
  
  <p>The business users has lots of data sources where to get these people, for example: <a href="http://www.europarl.europa.eu/meps/en/full-list/all" rel="nofollow noreferrer">http://www.europarl.europa.eu/meps/en/full-list/all</a></p>
  
  <p>They want to train a Model (Machine Learning), where the end user can enter the name:  Bill Clinton for example, and then the system has to return the percentage of a person being political or not.</p>
  
  <p>Obviosly some persons are 100% politicial and the percentage will be 100%.</p>
  
  <p>But if they enter a name that is not in any of their data sources, how would I train a model to decide if its pep or not?</p>
  
  <p>quite confused</p>
  
  <p>thanks</p>
  
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2019-07-11T11:57:44.220Z
Comments.Text: From just the name, even "Bill Clinton" is not going to be 100% political. In fact, probably less than 20%. Most names are repeated. According to Google, I am a well-known jazz musician in the USA, the author of a fishing book in Australia, a Microsoft developer in the UK.
Comments.UserDisplayName: Neil Slater
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2019-07-11T11:59:20.193Z
Comments.Text: good point indeed
Comments.UserDisplayName: Luis Valencia
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2019-07-12T15:21:56.317Z
Comments.Text: In a certain sense, this is like asking "given just the last digit, write an AI to determine if a number is prime". One, you do not have enough information to start with, and two, you skipped the step of determining whether an AI is in fact the right tool for the job.
Comments.UserDisplayName: MSalters
Tags: <machine-learning>
Title: How to recognize with just name and last name if the person is a political exposed person
UserDisplayName: Luis Valencia
ThreadText: # How to recognize with just name and last name if the person is a political exposed person
  
  (Asked by: username_0 on 2019-07-11)
  
  First than all, I am not sure if this questions is more about Machine Learning, or if its Artificial Intelligence, if not, just let me know I will delete it.
  
  At my company we need to create a solution for banks, where a client comes in and they want to to open a bank account.
  
  They need to know if that person is a politician or political exposed person, maybe they work in the european comission, or they are family from a pep for example.
  
  The business users has lots of data sources where to get these people, for example: <http://www.europarl.europa.eu/meps/en/full-list/all>
  
  They want to train a Model (Machine Learning), where the end user can enter the name: Bill Clinton for example, and then the system has to return the percentage of a person being political or not.
  
  Obviosly some persons are 100% politicial and the percentage will be 100%.
  
  But if they enter a name that is not in any of their data sources, how would I train a model to decide if its pep or not?
  
  quite confused
  
  thanks
  
  **Tags:** machine-learning
  
  > **Comments:**
  > **username_1**: From just the name, even "Bill Clinton" is not going to be 100% political. In fact, probably less than 20%. Most names are repeated. According to Google, I am a well-known jazz musician in the USA, the author of a fishing book in Australia, a Microsoft developer in the UK.  
  > **username_0**: good point indeed  
  > **username_2**: In a certain sense, this is like asking "given just the last digit, write an AI to determine if a number is prime". One, you do not have enough information to start with, and two, you skipped the step of determining whether an AI is in fact the right tool for the job.  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2019-07-11. Score: 2
  
  > But if they enter a name that is not in any of their data sources, how would I train a model to decide if its pep or not?
  
  Based on just a person's name and nothing else, the accuracy of this model is going to be very low. Consider that most first name, surname combinations in Europe are going to be repeated across the population.
  
  However, the accuracy *might* still be slightly better than guessing. Some families and social classes could be more likely to be involved in political work, and a statistical model would pick up on that.
  
  To train the model, take your positive names, and combine with a random selection of names of people that are known to be "not political" or similar enough. It doesn't matter if some of the names are the same provided you are confident in your data. Probably you could just take a phone directory or the electoral register or some other list of general names. Provided your "political" people are a small fraction of all people, this will work well enough even if you have some of them in the negative class.
  
  Ideally you mix those name groups in the rough proportion that the bank expects to see "political" and "non-political" customers, so that your data set is a good representation of the target population.
  
  Then you train a classifier on the names. As this is text and sequence data, you will need a solution for that. Possibly LSTM would be suitable architecture, but so might some feature selection from the names in a more simple ML model.
  
  Remember to hold back some data (both positive and negative cases) for cross-validating and testing the model.
  
  Expect the accuracy of your model when testing to be low. Very low. I would not at all be surprised to find the end result unusable by itself.
  
  If this is seriously to be part of some bank's account setup process, there needs to be additional data used later in the process. A gate for additional checks based purely on someone's name will perform very poorly in my opinion.
  
  > **Comments:**
  > **username_0**: thanks for the answer, thats why I asked, I am not an expert, but guessing something with just the name seems very difficult if not impossible to have a usable result.  
  > **username_1**: @username_0: Yes, unless you pick a target that is strongly correlated with the name, such as what page of a telephone directory they will appear on, or whether two people are related (and this second one is never something you really want to guess with no other data)  
  > **username_2**: I'm not sure why this is upvoted. For a bank, a solution like this is **criminally** bad. Banks have a legal "Know Your Customer" obligation. Using something like this would be a reason for the supervising authority to summon the CTO for a chewing out. Seriously.  
  > **username_1**: @username_2: I agree the situation is bad if this was used for real. That is not what the question is about however, and out of scope for AI Stack Exchange. I think the caveat in the last paragraph covers all that is necessary here. There is no evidence that anyone is considering doing this for real other than a thought experiment, and even if there were I think the correct place to handle those concerns would be Workplace, Security or other Stack Exchanges. All this site can realistically offer is "statistically the result will be very poor".  
  > **username_1**: @username_2: If you can offer an improvement to the answer which covers concerns, but doesn't jump on the OP just for asking a "can AI really do this" kind of question (answer, as here: yes, sort of, but it would not be usable, or possibly: no, not really, but you might see the needle move) then I'd be happy to incorporate it provided it doesn't turn the whole answer into: "don't do this"  
  
  ---
  
  