Skip to content

Commit cbfbcdb

Browse files
committed
rm redundant code
1 parent d20a29b commit cbfbcdb

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

src/model_traits.jl

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,6 @@ const MODEL_TRAITS = [
1010
:prediction_type, :implemented_methods, :hyperparameters,
1111
:hyperparameter_types, :hyperparameter_ranges]
1212

13-
const SUPERVISED_TRAITS = setdiff(MODEL_TRAITS, [:output_scitype])
14-
15-
const UNSUPERVISED_TRAITS = setdiff(MODEL_TRAITS,
16-
[:target_scitype, :prediction_type, :supports_weights])
17-
1813
for trait in MODEL_TRAITS
1914
ex = quote
2015
$trait(x) = $trait(typeof(x))

0 commit comments

Comments
 (0)