Closed ms440 closed 3 years ago
https://github.com/erdogant/bnlearn/blob/master/bnlearn/structure_learning.py#L16:
https://github.com/erdogant/bnlearn/blob/master/bnlearn/structure_learning.py#L16
Current code:
from pgmpy.estimators import ExhaustiveSearch, HillClimbSearch, ConstraintBasedEstimator
Proposed fix:
from pgmpy.estimators import ExhaustiveSearch, HillClimbSearch from pgmpy.estimators import PC as ConstraintBasedEstimator
Explanation:
pgmpy's estimators do not include ConstraintBasedEstimator. PC estimator could be used instead.
pgmpy
ConstraintBasedEstimator
PC
https://github.com/erdogant/bnlearn/blob/master/bnlearn/structure_learning.py#L16
:Current code:
Proposed fix:
Explanation:
pgmpy
's estimators do not includeConstraintBasedEstimator
.PC
estimator could be used instead.