Permalink
Browse files

removing assert for debug

  • Loading branch information...
1 parent 69ca71e commit e8cc69e86f15ad9d442408152c11585d2b0e00f0 @agramfort agramfort committed Sep 20, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 scikits/learn/feature_selection/rfe.py
@@ -185,7 +185,7 @@ def fit(self, X, y, cv=None):
for train, test in cv:
ranking_ = rfe.fit(X[train], y[train]).ranking_
- assert n_models == np.max(ranking_)
+ # assert n_models == np.max(ranking_)
for k in range(n_models):
mask = ranking_ >= (k+1)
clf.fit(X[train][:,mask], y[train])

0 comments on commit e8cc69e

Please sign in to comment.