CSC207-2023Y-UofT / ai-playground

course-project-neural-network created by GitHub Classroom
https://csc207-2023y-uoft.github.io/ai-playground/
Apache License 2.0
3 stars 1 forks source link

Implemented the call to FeatureController when the playbutton is clic… #60

Closed alvina-yang closed 1 year ago

alvina-yang commented 1 year ago

Integration of the FeatureController functionality in response to the play button click event. The pull request includes a total of 43 changes, consisting of 30 additions and 13 deletions across various Java classes and FXML views within the project.

The main focus of this implementation is on the DataAttributesController and MlParametersController classes, along with related FXML views. The changes in the pull request enable the system to respond to user interactions, specifically when the play button is clicked. Here's an overview of the key modifications made in the pull request:

DataAttributesController.java: Added handlers for different dataset selection buttons, namely cluster, radial, spiral, and rectangular. Implemented methods to handle these dataset selections and update related parameters. Created methods to handle slider value changes and initialize attributes based on user interactions. FeaturesHiddenLayersController.java: Modified the selectedButtons list to be declared as a public static ArrayList to enable its accessibility across classes. GraphSystemController.java: No significant changes were made in this class as part of this pull request. MlParametersController.java: Added methods to handle various user selections related to problem type (classification/regression), activation functions, regularization types, and learning rates. Created a handler for the play button click event, which triggers the FeatureController to generate training data based on the selected dataset, activation functions, and other parameters. data-attributes-view.fxml and ml-parameters-view.fxml: Modified the FXML files to include appropriate event handlers and bindings to UI elements based on the changes in the associated Java classes.