#NEWLINE# def __init__( self , trainer , dataset , min_params = [ ( - 5 ) , ( - 15 ) ] , max_params = [ 15 , 3 ] , n_iterations = 5 , **kwargs ) : #NEWLINE# #INDENT# ' See GridSearchCostGamma and GridSearchDOE ' #NEWLINE# GridSearchDOE . __init__ ( self , min_params , max_params , n_iterations ) #NEWLINE# assert ( len ( min_params ) == 2 ) #NEWLINE# self . _trainer = trainer #NEWLINE# self . _dataset = dataset #NEWLINE# self . _n_folds = 5 #NEWLINE# self . _validator_kwargs = { #NEWLINE# #INDENT# #NEWLINE# #UNINDENT# } #NEWLINE# self . setArgs ( ** kwargs )