Resets weights of examples.