A man stands in front of a sign and a group of people.

Canada's federal government has used artificial intelligence in nearly 300 projects and initiatives, new research has found — including to help predict the outcome of tax cases, sort temporary visa applications and promote diversity in hiring.