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

Updated deprecated functions and types #123

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

TheoFABIEN
Copy link

This pull request updates deprecated functions and data types to ensure compatibility with recent versions of the dependencies, as the repository does not specify package versions.

Changes include:

  • Replaced sklearn.utils.linear_assignment_ with scipy.optimize.linear_sum_assignment (since linear_assignment is deprecated in sklearn).
  • Replaced np.int with int (deprecated in NumPy).
  • Replaced np.float with float (deprecated in NumPy).

Replaced the deprecated linear_assignment from sklearn with the linear_sum_assignment from scipy + slight adaptations to the output format of this new function.
np.int is deprecated in recent version, so I replaced it with the built-in int.
Replaced the deprecated np.int with the built-in int.
np.float is deprecated alias for the built-in float, so I replaced it with float.
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