Skip to content

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

Description

@HLouy

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions