A Neural Network For Cardinality Estimation