Wrong deprecated method reported as replacement
In deprecated.in.py line 62-70
def _addDeprecatedMethods():
def deprecated_useNoApriori(learner):
"""
Deprecated methods in BNLearner for pyAgrum>1.1.1
"""
warnings.warn("""
** pyAgrum.BNLearner.useNoAriori() is deprecated from pyAgrum>1.1.1. Please use NoApriori() instead.
""", DeprecationWarning, stacklevel=2)
return learner.useNoApriori()
"Please use NoApriori() instead" should be clearly "Please use useNoPrior() instead"