While they have similar flavors they are different plants. In American recipes the names yam and sweet potato are sometimes used interchangeably but are usually referring to sweet potatoes. Yams should also work with the spice blend in this recipe to give you a healthy yam recipe but may require more or less cooking time.