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

General Doc refresher #232

Merged
merged 11 commits into from
Mar 3, 2025
Merged

General Doc refresher #232

merged 11 commits into from
Mar 3, 2025

Conversation

MMathisLab
Copy link
Member

  • small changes to home/landing page
  • changed ref. of figures to 2023
  • added ref to 2025 paper

@cla-bot cla-bot bot added the CLA signed label Mar 2, 2025
-typo fix
@MMathisLab MMathisLab requested a review from stes March 2, 2025 14:26
@MMathisLab MMathisLab added the documentation Improvements or additions to documentation label Mar 2, 2025
- update suggestion on data split
Copy link
Member

@stes stes left a comment

Choose a reason for hiding this comment

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

lgtm

MMathisLab and others added 3 commits March 2, 2025 20:11
Co-authored-by: Steffen Schneider <[email protected]>
- indent error fixed
- changed infoNCE to new GoF
@MMathisLab
Copy link
Member Author

note; test failing; need to investigate in usage.rst

1274      # 8. Adapt the model to a new session
1275      cebra_model.fit(new_neural_data, adapt = True)
12[76](https://github.com/AdaptiveMotorControlLab/CEBRA/actions/runs/13618482342/job/38064623999?pr=232#step:11:77) 
1277      # 9. Decode discrete labels behavior from the embedding
1278      decoder = cebra.KNNDecoder()
1279      decoder.fit(train_embedding, train_discrete_label)
1280      prediction = decoder.predict(valid_embedding)
1281      assert prediction.shape == (30,)
12[82](https://github.com/AdaptiveMotorControlLab/CEBRA/actions/runs/13618482342/job/38064623999?pr=232#step:11:83) 
UNEXPECTED EXCEPTION: AttributeError("'numpy.ndarray' object has no attribute 'continuous_index'")
Traceback (most recent call last):
  File "/opt/hostedtoolcache/Python/3.10.16/x64/lib/python3.10/site-packages/pytest_sphinx.py", line 421, in _DocTestRunner__run
    exec(
  File "<doctest usage.rst[37]>", line 44, in <module>
AttributeError: 'numpy.ndarray' object has no attribute 'continuous_index'
usage.rst:1282: UnexpectedException

- finx numpy() doctest
- small typo fix (label)
@MMathisLab MMathisLab merged commit 823c9ca into main Mar 3, 2025
12 checks passed
@MMathisLab MMathisLab deleted the MMathisLab/doc_refresh branch March 3, 2025 13:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA signed documentation Improvements or additions to documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants