In a large bowl add shredded potatoes and mix in the flour, onion, garlic, herbs, eggs, salt and pepper. Mix well, until sweet potatoes are coated.
Heat 1 tablespoon of oil in a large skillet over medium heat. Form a small cake with the mix and add to hot skillet. Mixture will be wet, but will stay together once it is cooked. I made the cakes as I was ready to add to hot skillet. Add more oil as needed (when skillet dries out).
Cook for about 5 minutes on each side until nice and brown.