Skip to content

refactor(_mf_class.py): improve code quality and fix potential issues#42

Open
DataboyUsen wants to merge 1 commit intosoftmin:mainfrom
DataboyUsen:main
Open

refactor(_mf_class.py): improve code quality and fix potential issues#42
DataboyUsen wants to merge 1 commit intosoftmin:mainfrom
DataboyUsen:main

Conversation

@DataboyUsen
Copy link
Copy Markdown
Contributor

  • Replace random_state handling with proper rng instance initialization
  • Remove pandas dependency by using numpy-only operations
  • Fix convergence check: apply abs() to obj_diff before comparison
  • Porperly move the initialization of model parameters to fit() method
  • Fix spelling errors in comments and docstrings

- Replace random_state handling with proper rng instance initialization
- Remove pandas dependency by using numpy-only operations
- Fix convergence check: apply abs() to obj_diff before comparison
- Porperly move the initialization of model parameters to fit() method
- Fix spelling errors in comments and docstrings
@codecov
Copy link
Copy Markdown

codecov bot commented Apr 3, 2026

Codecov Report

❌ Patch coverage is 0% with 24 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
rehline/_mf_class.py 0.00% 24 Missing ⚠️

📢 Thoughts on this report? Let us know!

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.

1 participant