Researchers have developed a new AI tool to detect diabetes. Here is how it will work and how it can be used to classify diabetes into different groups.