This boils down to the situation at hand.
In a situation where about 10,000 people are to be educated on the same topic, then online learning will be a more effective approach, especially when all 10,000 are from different locations worldwide.
In contrast, in a scenario where only a few employees or students are to be educated, one might want to consider a one-on-one training as a more effective approach.