Efficient K-Shot Learning with Regularized Deep Networks