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

[Bug]: WARNING:root:MDLP was not imported successfully #241

Open
1 task done
HLouy opened this issue Nov 14, 2024 · 0 comments
Open
1 task done

[Bug]: WARNING:root:MDLP was not imported successfully #241

HLouy opened this issue Nov 14, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@HLouy
Copy link

HLouy commented Nov 14, 2024

Contact Details

No response

Short description of the problem here.

I got this warning when import causalNex

from causalnex.structure import StructureModel
from causalnex.plots import plot_structure, NODE_STYLE, EDGE_STYLE
from causalnex.structure.notears import from_pandas
from causalnex.network import BayesianNetwork
from causalnex.discretiser import Discretiser

image

CausalNex Version

0.12.1

Python Version

3.8.19

Relevant code snippet

from causalnex.structure import StructureModel # create empty structure
from causalnex.plots import plot_structure, NODE_STYLE, EDGE_STYLE # Visualize
from causalnex.structure.notears import from_pandas # applied NOTEARS
from causalnex.network import BayesianNetwork # applied BayesianNetwork
from causalnex.discretiser import Discretiser
import networkx as nx # exporting the Structure

from matplotlib import pyplot as plt
import numpy as np
import pandas as pd
from sklearn.preprocessing import LabelEncoder
from sklearn.model_selection import train_test_split

Relevant log output

WARNING:root:MDLP was not imported successfully

Code of Conduct

  • I agree to follow this project's Code of Conduct
@HLouy HLouy added the bug Something isn't working label Nov 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant