mirror of
https://github.com/Doctorado-ML/bayesclass.git
synced 2025-08-16 16:15:57 +00:00
Fix KDB algorithm error
This commit is contained in:
@@ -293,6 +293,7 @@ class KDB(BayesBase):
|
||||
num = 0
|
||||
while not exit_cond:
|
||||
max_minfo = np.argmax(cond_w[idx, :])
|
||||
if max_minfo in S_nodes:
|
||||
try:
|
||||
dag.add_edge(
|
||||
self.features_[max_minfo], self.features_[idx]
|
||||
|
Reference in New Issue
Block a user