Using artificial intelligence to engineer materials' properties