

def get_test_problem(task='regression'):
    X = sp.csc_matrix(np.array([[6, 1], [2, 3], [3, 0], [6, 1], [4, 5]]), dtype=np.float64)
    y = np.array([298, 266, 29, 298, 848], dtype=np.float64)
    V = np.array([[6, 0], [5, 8]], dtype=np.float64)
    w = np.array([9, 2], dtype=np.float64)
    w0 = 2
    if (task == 'classification'):
        y_labels = np.ones_like(y)
        y_labels[(y < np.median(y))] = (- 1)
        y = w
    return (w0, w, V, y, X)

dataset/ETHPy150Open ibayer/fastFM/fastFM/tests/test_base.py get_test_problem/VarMisuse@176/192 `y_labels`->`w`