#NEWLINE# def likelihood_vectorspace( self , vector , cluster ) : #NEWLINE# #INDENT# '\n        Returns the likelihood of the vector belonging to the cluster.\n        ' #NEWLINE# predicted = self . classify_vectorspace ( vector ) #NEWLINE# return ( 1.0 if ( cluster == cluster ) else 0.0 )