Skip to content

Instantly share code, notes, and snippets.

@unixpickle
Last active January 24, 2016 03:10
Show Gist options
  • Save unixpickle/2ca5db5b50b6abebc0a3 to your computer and use it in GitHub Desktop.
Save unixpickle/2ca5db5b50b6abebc0a3 to your computer and use it in GitHub Desktop.
Actor identification tree
Name Age Children Sings Acts Active HasBeenMarried Female
Leonardo DiCaprio 41 0 false true true false false
Johnny Depp 52 2 false true true true false
Brad Pitt 52 6 false true true true false
Tom Cruise 53 3 false true true true false
Tom Hanks 59 4 false true true true false
Christian Bale 41 2 false true true true false
Will Smith 47 0 false true true true false
Denzel Washington 61 4 false true true true false
Robert Downey Jr. 50 3 false true true true false
Angelina Jolie 40 6 false true true true true
Jennifer Lawrence 25 0 false true true false true
Natalie Portman 34 1 false true true true true
Scarlett Johansson 31 1 true true true true true
Jennifer Aniston 46 0 false true true true true
Emma Stone 27 0 false true true false true
Mila Kunis 32 1 false true true true true
Sandra Bullock 51 2 false true true true true
Kristen Stewart 25 0 false true true false true
Is the person over 40 years old? (Dead people are 0)
yes -> Does the person have more than 2 child(ren)?
yes -> Male
no -> Is the person over 43 years old? (Dead people are 0)
yes -> Is the person over 46 years old? (Dead people are 0)
yes -> Does the person have more than 0 child(ren)?
no -> Male
yes -> Is the person over 51 years old? (Dead people are 0)
yes -> Male
no -> Female
no -> Female
no -> Male
no -> Female
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment