#NEWLINE# def initialize( self , X , Y ) : #NEWLINE# #INDENT# n_features = X . shape [ 1 ] #NEWLINE# if ( self . size_joint_feature is None ) : #NEWLINE# #INDENT# self . size_joint_feature = n_features #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# if ( self . size_joint_feature != n_features ) : #NEWLINE# #INDENT# raise ValueError ( ( 'Expected %d features, got %d' % ( self . size_joint_feature , n_features ) ) )