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

TypeError: Can't instantiate abstract class CategoricalDissimilarity with abstract methods compile_d_mat, d #47

Open
sangwonme opened this issue Aug 16, 2024 · 0 comments

Comments

@sangwonme
Copy link

Hi. Thanks for sharing the awesome python package!
I'm so glad there's a great implementation for gamma metric!

However, I need help with running the code.
I met error while running cat_dissim = CategoricalDissimilarity(continuum.categories, delta_empty=1), the code from tutorial here, the last cell.

cat_dissim = CategoricalDissimilarity(continuum.categories, delta_empty=1) TypeError: Can't instantiate abstract class CategoricalDissimilarity with abstract methods compile_d_mat, d

To be sure, I downloaded the same data (AlexPaulSuzan.csv) and installed/imported all modules that are needed.
Could you please explain what the error states for?

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

No branches or pull requests

1 participant