Permalink
Browse files

Fix doctest failing by last bug fixing.

  • Loading branch information...
1 parent 06c74d2 commit 35ce1ebb65e7a151e368d189f7a5c9a31d2b5624 @fabianp fabianp committed Sep 29, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 scikits/learn/pipeline.py
View
2 scikits/learn/pipeline.py
@@ -68,7 +68,7 @@ class Pipeline(BaseEstimator):
>>> # and a parameter 'C' of the svn
>>> anova_svm.fit(X, y, anova__k=10, svc__C=.1) #doctest: +ELLIPSIS
Pipeline(steps=[('anova', SelectKBest(k=10, score_func=<function f_regression at ...>)), ('svc', SVC(kernel='linear', C=0.1, probability=False, degree=3, coef0=0.0, eps=0.001,
- cache_size=100.0, shrinking=True, gamma=0.01))])
+ cache_size=100.0, shrinking=True, gamma=0.0))])
>>> prediction = anova_svm.predict(X)
>>> score = anova_svm.score(X)

0 comments on commit 35ce1eb

Please sign in to comment.