Skip to content

Commit

Permalink
Fix docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
KarelZe committed Dec 22, 2023
1 parent 07f3b18 commit 31fc248
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tclf/classical_classifier.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ def __init__(
>>> pred = clf.predict_proba(X)
Args:
layers (List[ tuple[str, str] ]): Layers of classical rule. Defaults to [].
layers (List[tuple[str, str]]): Layers of classical rule. Defaults to None, which results in classification by 'strategy' parameter.
features (List[str] | None, optional): List of feature names in order of columns. Required to match columns in feature matrix with label. Can be `None`, if `pd.DataFrame` is passed. Defaults to None.
random_state (float | None, optional): random seed. Defaults to 42.
strategy (Literal["random", "const"], optional): Strategy to fill unclassfied. Randomly with uniform probability or with constant 0. Defaults to "random".
Expand Down

0 comments on commit 31fc248

Please sign in to comment.