On the optimization of embedding spaces via information granulation for pattern recognition