https://www.npr.org/sections/codeswitch/2014/04/16/303721251...
yes, it is also a training set problem. training on real-world data will reproduce racial bias, because racial bias exists in the world. racism in, racism out.
but the more direct cause of this kind of thing is the racism of the police using these tools, the states deploying these tools, and the private enterprises making these tools.