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

BNLikelihood #630

Open
kkatsano opened this issue Sep 4, 2024 · 0 comments
Open

BNLikelihood #630

kkatsano opened this issue Sep 4, 2024 · 0 comments
Labels
new Label applied to new issues question General question about the software

Comments

@kkatsano
Copy link

kkatsano commented Sep 4, 2024

Environment details

If you are already running SDMetrics, please indicate the following details about the environment in
which you are running it:

  • SDMetrics version:0.15.1
  • Python version:3.10.14
  • Operating System:Ubuntu

Problem description

I've tried to use BNLikelihood but cannot get it to work even with the installed pomegranate package

What I already tried

at first I installed the latest version of pomegranate 1.1.0 which failed importing BayesianNetwork as in the latest pomegranate version it is stored under bayesian_network.BayesianNetwork. I tried to downgrade pomegranate to versions 0.14.4 and 0.14.2 but got an istallation error

pip install pomegranate==0.14.4
Traceback (most recent call last):
        File "/home/kkatsano/DS/evaluation/evaluation10/lib/python3.10/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 353, in <module>
          main()
        File "/home/kkatsano/DS/evaluation/evaluation10/lib/python3.10/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 335, in main
          json_out['return_val'] = hook(**hook_input['kwargs'])
        File "/home/kkatsano/DS/evaluation/evaluation10/lib/python3.10/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 118, in get_requires_for_build_wheel
          return hook(config_settings)
        File "/tmp/pip-build-env-p3eg1msr/overlay/lib/python3.10/site-packages/setuptools/build_meta.py", line 332, in get_requires_for_build_wheel
          return self._get_build_requires(config_settings, requirements=[])
        File "/tmp/pip-build-env-p3eg1msr/overlay/lib/python3.10/site-packages/setuptools/build_meta.py", line 302, in _get_build_requires
          self.run_setup()
        File "/tmp/pip-build-env-p3eg1msr/overlay/lib/python3.10/site-packages/setuptools/build_meta.py", line 503, in run_setup
          super().run_setup(setup_script=setup_script)
        File "/tmp/pip-build-env-p3eg1msr/overlay/lib/python3.10/site-packages/setuptools/build_meta.py", line 318, in run_setup
          exec(code, locals())
        File "<string>", line 61, in <module>
        File "/tmp/pip-build-env-p3eg1msr/overlay/lib/python3.10/site-packages/Cython/Build/Dependencies.py", line 1154, in cythonize
          cythonize_one(*args)
        File "/tmp/pip-build-env-p3eg1msr/overlay/lib/python3.10/site-packages/Cython/Build/Dependencies.py", line 1321, in cythonize_one
          raise CompileError(None, pyx_file)
      Cython.Compiler.Errors.CompileError: pomegranate/utils.pyx
      [end of output]
@kkatsano kkatsano added new Label applied to new issues question General question about the software labels Sep 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new Label applied to new issues question General question about the software
Projects
None yet
Development

No branches or pull requests

1 participant