#NEWLINE# def _fprime( score , x_full , k_params , alpha ) : #NEWLINE# #INDENT# '\n    The regularized derivative\n    ' #NEWLINE# x_params = x_full [ : score ] #NEWLINE# return np . append ( score ( x_params ) , alpha )