def func_inference(crosscat): n_step = 1000 if integration else 1 synthesizer = GibbsCrossCat(crosscat) synthesizer.transition_structure_cpp(N=n_step) synthesizer.transition_hypers_distributions() synthesizer.transition_hypers_row_divide() return synthesizer
def func(crosscat): synthesizer = GibbsCrossCat(crosscat, Cd=self.Cd, Ci=self.Ci) synthesizer.transition_structure_cpp(N=N, S=S, outputs=outputs, progress=progress) return synthesizer.crosscat