When Should the Machine Learn by Itself?