I have a script that exports MFE and MAE into a CSV file along with other signals for machine learning. Would this help you out?