Using machine learning for building pseudoatom data banks and for interpreting electron density of atom types