Deconfounded classification by an intervention approach