Regression summary in Python
<p>I am quite new to Python. I would like to get a summary of a logistic regression like in R. I have created variables x_train and y_train and I am trying to get a logistic regression</p>

<pre><code>import numpy as np
import matplotlib.pyplot as plt
from sklearn import linear_model

clf = linear_model.LogisticRegression(C=1e5)
clf.fit(x_train, y_train)
</code></pre>

<p>What I get is:</p>

<pre><code>LogisticRegression(C=100000.0, class_weight=None, dual=False,
    fit_intercept=True, intercept_scaling=1, max_iter=100,
    multi_class='ovr', n_jobs=1, penalty='l2', random_state=None,
    solver='liblinear', tol=0.0001, verbose=0, warm_start=False)
</code></pre>

<p>I would like to have a summary with significative levels, R2 ecc.</p>