Graph-based few-shot learning with transformed feature propagation and optimal class allocation