[1] https://www.vice.com/en/article/wx5ypb/ai-can-guess-your-race-based-on-x-rays-and-researchers-dont-know-how
I believe this was with cancer not race. With a good data set you can create a projection with a mathematical tool that has capabilities to predict something. This sometimes called an AI, but includes a variety of methods and recipes in machine learning or adaptive filtering processes.
Mask mandates already are not providing a clear data set. I don't think an AI can help here. There are some studies indicating a 10% decrease in transmission on average, but are those studies are riddled with confounders.
There are various types of masks and different situations. With highly trained personal in full protective gear transmission still reached up to 70% in some settings. If enough viral load is present it is very easy to get infected with the slightest mistake. So this would count for 30 % or more in transmission reduciton, which is better than 0% without masks.
In public, where people are even less capable to wear these mask correctly, this drops below 10 %. Which is basically in the statistical noise for this kind of thing. You will not be able to predict or notice a 10% change in an exponential growing curve that easily.
Especially if it's riddled with confounders and weird onset behaviour.