Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fusion model patch for 2.0.1rc4 #366

Merged
merged 14 commits into from
Dec 13, 2024
Merged

Fusion model patch for 2.0.1rc4 #366

merged 14 commits into from
Dec 13, 2024

Conversation

celikbasak
Copy link
Member

@celikbasak celikbasak commented Nov 15, 2024

Overview

Offline analysis workflow change, fusion model training-testing added, bugfix in gaze reshaper & gaze model.

Ticket

Contributions

  • Offline analysis workflow updated to include train-test split for fusion analysis if there are multiple active devices.
  • Fusion.py added for generating model performance measures.
  • Bugfix in GazeReshaper where all NaN values are removed. Further tests addded.
  • Unused gaze models removed. Gaze model name updates.
  • All models are updated in accordance with scikit-learn estimators.

Test

  • Unit tests to be implemented.

Documentation

  • Model documentation will be updated.

Changelog

  • CHANGELOG.md updated.

@celikbasak celikbasak requested a review from tab-cmd November 15, 2024 04:39
@tab-cmd tab-cmd requested a review from lawhead November 15, 2024 18:48
Copy link
Contributor

@tab-cmd tab-cmd left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some more minor changes and questions. Thanks again for getting this through!

bcipy/signal/model/evaluate/fusion.py Outdated Show resolved Hide resolved
bcipy/signal/model/evaluate/fusion.py Outdated Show resolved Hide resolved
bcipy/signal/model/evaluate/fusion.py Outdated Show resolved Hide resolved
bcipy/signal/model/evaluate/fusion.py Outdated Show resolved Hide resolved
bcipy/signal/model/evaluate/fusion.py Outdated Show resolved Hide resolved
bcipy/signal/model/evaluate/fusion.py Outdated Show resolved Hide resolved
bcipy/signal/model/offline_analysis.py Outdated Show resolved Hide resolved
bcipy/signal/model/offline_analysis.py Show resolved Hide resolved
bcipy/signal/model/offline_analysis.py Outdated Show resolved Hide resolved
CHANGELOG.md Outdated Show resolved Hide resolved
@tab-cmd tab-cmd self-requested a review November 24, 2024 23:53
bcipy/signal/model/evaluate/fusion.py Outdated Show resolved Hide resolved
bcipy/signal/model/evaluate/fusion.py Outdated Show resolved Hide resolved
@celikbasak
Copy link
Member Author

Thank you so much for your updates/bug fixes Tab!!

@tab-cmd
Copy link
Contributor

tab-cmd commented Dec 9, 2024

@celikbasak This needs documentation (README and docstring) and an integration test. Then, it can be merged! If you can tackle the documentation, I will add some tests.


def evaluate(self, test_data: np.ndarray, test_labels: np.ndarray):
...
class GaussianProcess(SignalModel):
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is missing several important methods. It doesn't seem like it could be used online as-is

@tab-cmd tab-cmd merged commit a36ee91 into 2.0.1rc4 Dec 13, 2024
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.

3 participants