Skip to content

Commit cf08e71

Browse files
ablaomOkonSamuel
andauthored
fix supports_class_weights default
Co-authored-by: Okon Samuel <[email protected]>
1 parent 39852ca commit cf08e71

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/metadata_utils.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ function metadata_model(
107107
target_scitype=target,
108108
output_scitype=output,
109109
supports_weights::Union{Nothing,Bool}=weights,
110-
supports_class_weights::Union{Nothing,Bool}=weights,
110+
supports_class_weights::Union{Nothing,Bool}=class_weights,
111111
docstring::Union{Nothing,String}=descr,
112112
load_path::Union{Nothing,String}=path,
113113
human_name::Union{Nothing,String}=nothing

0 commit comments

Comments
 (0)