as far as I'm aware, it's the frequency of use that determines skill, which is why it's advisable to create low-level training spells and use them often. For example, to train illusion quickly, create and cast a 10 second light spell, and cast it wherever you go to boost your illusion skill.