示例#1
0
	def highestScoringLV(self,w, labelY):
		return CommonApp.highestScoringLVGeneral(w,labelY,self.params,self.psis())
示例#2
0
	def psi(self, y,h, doPadCanonicalPsi = True):
		psi = (self.psis()[h,:]).T
		if doPadCanonicalPsi:
			return CommonApp.padCanonicalPsi(psi, y, self.params)
		else:
			return psi