Artificial Neural Network Trained to Predict High-Harmonic Flux