Preheat the oven to 350°F (175°C). Now you have to grate the potatoes. Do it either manually, using a box grater on the finest setting, or, I assume, you can use a food processor. I did everything manually and I can't guarantee that you will get the same result with a food processor.
Put the flour and all the spices into a large mixing bowl and mix. Stir in the grated sweet potatoes. Add the brown sugar, raisins, coconut milk and vanilla extract and mix everything well.
Grease a 8-inch (20cm) springform cake pan. Pour the mixture into the pan and bake for 40-60 minutes until it is firm to the touch. When done, remove from the oven and allow to stand for 30 minutes before serving. Enjoy!