#NEWLINE# def __init__( self , n_components = None , init = None , solver = 'cd' , tol = 0.0001 , max_iter = 200 , random_state = None , alpha = 0.0 , l1_ratio = 0.0 , verbose = 0 , shuffle = False , nls_max_iter = 2000 , sparseness = None , beta = 1 , eta = 0.1 ) : #NEWLINE# #INDENT# self . n_components = n_components #NEWLINE# self . init = init #NEWLINE# self . solver = solver #NEWLINE# self . tol = tol #NEWLINE# self . max_iter = max_iter #NEWLINE# self . random_state = random_state #NEWLINE# self . alpha = alpha #NEWLINE# self . l1_ratio = l1_ratio #NEWLINE# self . verbose = verbose #NEWLINE# self . shuffle = shuffle #NEWLINE# if ( sparseness is not None ) : #NEWLINE# #INDENT# warnings . warn ( "Controlling regularization through the sparseness, beta and eta arguments is only available for 'pg' solver, which will be removed in release 0.19. Use another solver with L1 or L2 regularization instead." , DeprecationWarning ) #NEWLINE# #UNINDENT# self . nls_max_iter = nls_max_iter #NEWLINE# self . sparseness = sparseness #NEWLINE# self . beta = beta #NEWLINE# self . eta = eta