Preheat oven to 170C (350F). Grease and flour one large tube pan.
Sift the flour, baking soda, and baking powder together and set aside. Beat the eggs together with the spices for 5 minutes. Stir in the icing sugar and mix well. Beat in the vegetable oil and continue beating for 5 minutes.
Alternately add the flour mixture and the milk or water, 1 tablespoon at a time, to the egg mixture. With a spoon stir in the carrots and the walnuts. Pour batter into prepared pan.