Yes, actually, it has been done. Scientists took a large number of pictutres of men and women, then had a very large number of men and women rate the people in the pictrures for how beautiful they were. A computer was taught to recognize whether a person was male or female, and then measured how long it took to make that decision. They showed that when the computer would recognize a person's sex quickly, it was also someone people rated as being more beautiful than people the computer took a longer time to recognize. So that computer can look at a person (or their picture), guess what sex that person is, measure how long it took to decide, and that tells the computer how beautiful that person is.