def get_svr_probability(self):
     #leave the Error checking to svm.cpp code
     ret = svmc.svm_get_svr_probability(self.model)
     if ret == 0:
         raise TypeError(
             "not a regression model or probability information not available"
         )
     return ret
	def get_svr_probability(self):
		#leave the Error checking to svm.cpp code
		ret = svmc.svm_get_svr_probability(self.model)
		if ret == 0:
			raise TypeError, "not a regression model or probability information not available"
		return ret