Machine learning applications: Mitigating the risks