def _fprime(score, x_full, k_params, alpha):
    x_params = x_full[:k_params]
    # The derivative just appends a vector of constants
    return np.append(score(x_params), alpha)
Compares the given values taking into account any filters.
dataset/ETHPy150Open statsmodels/statsmodels/statsmodels/base/l1_slsqp.py/_fprime--crossover with--dataset/ETHPy150Open AppScale/appscale/AppServer/google/appengine/datastore/datastore_query.py/Order.cmp