Skip to content

Conversation

@niharika2999
Copy link
Contributor

Implemented functional constraints in a class within constraints.py and a few example notebooks.

Jimmy-INL and others added 30 commits December 27, 2022 23:34
…aint on data) for all shape classes into BaseConstraint
…s in BaseConstraint. Changed constraints to get_constraint_indices. Notebook reflects the chnages
…testing functions on dataframe (OPTITWIST jupyter notebook)
…ons in _constraints based on discussions with Josh and Mohammad
…ser defined constraints and examples on how to implement it
…on to be greater than the optimal number suggested by plain QR and example notebook reflecting the same
…w changes for the constraints class), addressing Josh's comments on this class and notebooks reflecting all of the functionalities of this class
… way user defined constraints are plotted for various string,equation implementations
…l as being able to plot on multiple axes for plot_constraints_on_data and subsequent plotting functions. Adding different colours to annotate_sensors and plotting_selected_sensors to reflect effect of constraints on sensors selected. Jupyter notebooks updated to reflect these changes
…tion as the matplotlib ellipse function requires the diameter or the vertical and horizontal axis and we were giving it half_major_axis and half_minor_axis)
…ction() of class Ellipse(), the functional_constraints_class notebook reflects these chnages
@yb6599
Copy link
Collaborator

yb6599 commented Mar 14, 2025

@niharika2999 None of the checks are passing, here are some fixes needed for them to pass:
Build Checks: Some indentations are not done properly in pysensors/utils/_norm_calc.py in the returnInstance function.
Linting Check: These will need to be resolved manually, run pre-commit run --all-files and you'll see a list of the instances where linting check fails.
Test Checks will only run after Build Checks pass, but you can test locally to see if there is any issue.

@codecov-commenter
Copy link

Welcome to Codecov 🎉

Once you merge this PR into your default branch, you're all set! Codecov will compare coverage reports and display results in all future pull requests.

Thanks for integrating Codecov - We've got you covered ☂️

@yb6599
Copy link
Collaborator

yb6599 commented Apr 10, 2025

LGTM

@yb6599 yb6599 merged commit bb761b3 into dynamicslab:master Apr 10, 2025
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants