#NEWLINE# def load_data_set( self , data_set ) : #NEWLINE# #INDENT# self . data_set = data_set #NEWLINE# self . num_users = ( np . amax ( self [ : , constants . USER_INDEX ] ) + 1 ) #NEWLINE# self . num_movies = ( np . amax ( data_set [ : , constants . MOVIE_INDEX ] ) + 1 )