code machine learning eas with neural networks