Adding New Error Metrics

💡

See File Tree Explanation to understand the project's file and folder structure

In order to add new error metrics to the approximator:

  1. Add the new error metric algorithm in the folder Analyzers

  2. Define how UI will look like for the new error metric in the folder Layout

  3. (Optional) Write validation logic/input constraints for the new error metrics in the folder Validators

  4. Add logic to handle UI input changes in folder Logic. This ties the UI events to the code that runs, akin to event handlers

    • See Error Analysis UI logic here
    • e.g: What to do when a certain button has been pressed
    • e.g: What to do when certain input filed has been filled
    • e.g: When button has been pressed:
      • runs validation logic, then
      • runs error metric algorithm, then
      • display result to user, then
      • (optional) clear any previous input values