Transforming AI from black box to glass box