Python 3.x Jupyter笔记本中的输出不再冗长
我在笔记本上再也看不到完整的输出了。作为一个例子,我看到以下内容:Python 3.x Jupyter笔记本中的输出不再冗长,python-3.x,jupyter,Python 3.x,Jupyter,我在笔记本上再也看不到完整的输出了。作为一个例子,我看到以下内容: Pipeline(步骤=[('scaler',StandardScaler()),('clf',LogisticRegression())]) 而不是: Pipeline(memory=None, steps=[('scaler', StandardScaler(copy=True, with_mean=True, with_std=True)),
Pipeline(步骤=[('scaler',StandardScaler()),('clf',LogisticRegression())])
而不是:
Pipeline(memory=None,
steps=[('scaler',
StandardScaler(copy=True, with_mean=True, with_std=True)),
('clf',
LogisticRegression(C=1.0, class_weight=None, dual=False,
fit_intercept=True, intercept_scaling=1,
l1_ratio=None, max_iter=100,
multi_class='warn', n_jobs=None,
penalty='l2', random_state=None,
solver='warn', tol=0.0001, verbose=0,
warm_start=False))],
verbose=False)
执行的代码是:
pipeline = Pipeline([
('scaler',StandardScaler()),
('clf', LogisticRegression())
])
# use the pipeline object as you would
# a regular classifier
pipeline.fit(X_train,y_train)
有什么见解吗?
谢谢