def f(): fit = BinaryLogisticRegressionFitter( C=1.0/len(X), hasIntercept=True, method=method ).fit(X, y) return fit.predict_probability(X)
def f(): fit = BinaryLogisticRegressionFitter( C=1.0/len(X), hasIntercept=True, method=method ).fit(X, y) return fit.score(X, y)
def f(): fit = BinaryLogisticRegressionFitter(1).fit(X, y) return fit.score(X, y)
def f(): fit = BinaryLogisticRegressionFitter(1).fit(X, y) return fit.predict(X)
def f(): fit = BinaryLogisticRegressionFitter(1).fit(X, y) return fit.intercept, fit.coefficients
def f(): fit = BinaryLogisticRegressionFitter(C=1.0 / len(X), hasIntercept=True, method=method).fit(X, y) return fit.predict(X)
def f(): fit = BinaryLogisticRegressionFitter(C=1.0 / len(X), hasIntercept=True, method=method).fit(X, y) return fit.intercept, fit.coefficients