Skip to content

Commit

Permalink
Merge pull request #12 from qtux/fix_typo
Browse files Browse the repository at this point in the history
transform: Fix typo in FeatureRep example
  • Loading branch information
dmbee committed Dec 8, 2018
2 parents e0a18f2 + 936930c commit 1508bbd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion seglearn/transform.py
Original file line number Diff line number Diff line change
Expand Up @@ -794,7 +794,7 @@ class FeatureRep(BaseEstimator, TransformerMixin):
>>> y = data['y']
>>> fts = {'mean': mean, 'var': var, 'std': std, 'skew': skew}
>>> clf = Pype([('seg', SegmentX()),
>>> ('ftr', FeatureRep(features = fts))),
>>> ('ftr', FeatureRep(features = fts)),
>>> ('rf',RandomForestClassifier())])
>>> clf.fit(X, y)
>>> print(clf.score(X, y))
Expand Down

0 comments on commit 1508bbd

Please sign in to comment.