Pure non-local machine-learned density functional theory for electron correlation