Skip to content

Commit

Permalink
Rename type_of_target -> target_type in docs
Browse files Browse the repository at this point in the history
  • Loading branch information
ClaudioSalvatoreArcidiacono committed Dec 10, 2024
1 parent 0d2ecf3 commit 90b9a53
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions docs/API/utils/infer_target_type.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
::: sklearo.utils.infer_target_type
1 change: 0 additions & 1 deletion docs/API/utils/infer_type_of_target.md

This file was deleted.

3 changes: 2 additions & 1 deletion sklearo/encoding/target.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,8 @@ class TargetEncoder(BaseTargetEncoder):
target_type (str): Type of the target variable.
- If `'auto'`, the type is inferred from the target variable.
- If `'auto'`, the type is inferred from the target variable using
[`infer_target_type`][sklearo.utils.infer_target_type].
- If `'binary'`, the target variable is binary.
- If `'multiclass'`, the target variable is multiclass.
- If `'continuous'`, the target variable is continuous.
Expand Down

0 comments on commit 90b9a53

Please sign in to comment.