Example #1
0
	def __init__(self, n_states=None, n_features=None, inference_method=None,
			 neighborhood=4, class_weight=None):
		self.neighborhood = neighborhood
		GraphCRF.__init__(self, n_states=n_states, n_features=n_features,
			inference_method=inference_method, 
			class_weight=class_weight)
Example #2
0
 def __init__(self, n_labels=None, n_features=None, n_states_per_label=None,
              inference_method=None):
     self.n_labels = n_labels
     self.n_states_per_label = n_states_per_label
     GraphCRF.__init__(self, n_states=None, n_features=n_features,
                       inference_method=inference_method)