fixed issue with fit method. Earlier was using ancestors method which used to return all the nodes above it in the family which we didn't need. Now have replaced it with predecessors
fixed issue with fit method. Earlier was using ancestors method which used to return all the nodes above it in the family which we didn't need. Now have replaced it with predecessors

kris-singh/pgmpy,sandeepkrjha/pgmpy,anaviltripathi/pgmpy,liquidmetal/pgmpy,jhonatanoliveira/pgmpy,kislayabhi/pgmpy,anaviltripathi/pgmpy,pgmpy/pgmpy,jhonatanoliveira/pgmpy,abinashpanda/pgmpy,pratyakshs/pgmpy,palashahuja/pgmpy,sandeepkrjha/pgmpy,pratyakshs/pgmpy,ankurankan/pgmpy,abinashpanda/pgmpy,yashu-seth/pgmpy,palashahuja/pgmpy,liquidmetal/pgmpy,vivek425ster/pgmpy,yashu-seth/pgmpy,khalibartan/pgmpy,vivek425ster/pgmpy,ankurankan/pgmpy,pgmpy/pgmpy,kislayabhi/pgmpy,khalibartan/pgmpy,kris-singh/pgmpy