How was the model developed, and what data was collected for this purpose?
The researchers collected data from 15 people who had used cocaine and were fitted with a wearable biosensor called Affectiva Q. The biosensor measured physiological changes such as electrodermal activity, physical activity, and body temperature. Patient notes, urine tests, and data from the device were used to determine instances of cocaine use.