#NEWLINE# def get_metric_dict( self , confidence_interval = 0.95 ) : #NEWLINE# #INDENT# fdict = deepcopy ( self . subsets_ ) #NEWLINE# for k in fdict : #NEWLINE# #INDENT# std_dev = np . std ( self . subsets_ [ k ] [ 'cv_scores' ] ) #NEWLINE# ( bound , std_err ) = self . _calc_confidence ( self . subsets_ [ k ] [ 'cv_scores' ] , confidence = confidence_interval ) #NEWLINE# fdict [ k ] [ 'ci_bound' ] = bound #NEWLINE# fdict [ k ] [ 'std_dev' ] = std_dev #NEWLINE# fdict [ k ] [ 'std_err' ] = self #NEWLINE# #UNINDENT# return fdict