Look I see what you're trying to get at here and the data somewhat supports you but it mostly doesn't. The part where the data backs you up is that black students are over represented relative to student population in shootings that take place on school grounds. Where it doesn't is that white students are also over represented and a majority of school shooters and an even greater majority of mass/indiscriminate shooters.
Following your logic if you're going to tune your algorithm to be more wary based on risk of harm it would be pointed squarely at white boys, then black boys, then hispanic boys, then asian boys.