#NEWLINE# def get_joint_feature_map( self , idx , y = ( - 1 ) ) : #NEWLINE# #INDENT# if ( y == ( - 1 ) ) : #NEWLINE# #INDENT# y = self . y [ idx ] #NEWLINE# #UNINDENT# nd = self . dims #NEWLINE# mc = self . num_classes #NEWLINE# psi = matrix ( 0.0 , ( ( nd * mc ) , 1 ) ) #NEWLINE# psi [ ( nd * y ) : ( nd * ( y + 1 ) ) ] = self . X [ : , idx ] #NEWLINE# return psi