def METHOD_NAME():
    lr = LogisticRegression(epochs=100, eta=0.01, minibatches=1, random_seed=1)
    lr.fit(X, y)
    idx = [0, 48, 99]  # sample labels: 0, 0, 1
    y_pred = lr.predict_proba(X[idx])
    expect = np.array([0.009, 0.012, 0.993])
    np.testing.assert_almost_equal(y_pred, expect, 3)