Skip to content

Commit

Permalink
Fixed error string in documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
Thijsvanede committed Sep 23, 2020
1 parent be239bc commit f01d096
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions flowprint/flowprint.py
Original file line number Diff line number Diff line change
Expand Up @@ -171,11 +171,11 @@ def predict(self, X, y=None, default='common'):
y : ignored
default : 'common'|'largest'|other, default='common'
default : "common"|"largest"|"other", default="common"
Default to this strategy if no match is found
- 'common' : return the fingerprint with most flows
- 'largest': return the largest fingerprint
- other: return <other> as match, e.g. Fingerprint()/None
- "common" : return the fingerprint with most flows
- "largest": return the largest fingerprint
- other : return <other> as match, e.g. Fingerprint()/None
Returns
-------
Expand Down Expand Up @@ -228,11 +228,11 @@ def fit_predict(self, X, y=None, default='common'):
y : np.array of shape=(n_samples,), optional
If given, attach labels to fingerprints from X.
default : 'common'|'largest'|other, default='common'
default : "common"|"largest"|"other", default="common"
Default to this strategy if no match is found
- 'common' : return the fingerprint with most flows
- 'largest': return the largest fingerprint
- other: return <other> as match, e.g. Fingerprint()/None
- "common" : return the fingerprint with most flows
- "largest": return the largest fingerprint
- other : return <other> as match, e.g. Fingerprint()/None
Returns
-------
Expand All @@ -252,11 +252,11 @@ def recognize(self, X, y=None, default='common'):
y : ignored
default : 'common'|'largest'|other, default='common'
default : "common"|"largest"|"other", default="common"
Default to this strategy if no match is found
- 'common' : return the fingerprint with most flows
- 'largest': return the largest fingerprint
- other: return <other> as match, e.g. Fingerprint()/None
- "common" : return the fingerprint with most flows
- "largest": return the largest fingerprint
- other : return <other> as match, e.g. Fingerprint()/None
Returns
-------
Expand Down

0 comments on commit f01d096

Please sign in to comment.