Skip to content

Commit

Permalink
🐛 Random Resampling should allow categorical types as well
Browse files Browse the repository at this point in the history
  • Loading branch information
EssamWisam committed Jan 9, 2024
1 parent 031af23 commit b4c7ef9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/oversampling_methods/random_oversample/interface_mlj.jl
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@ MMI.metadata_model(
RandomOversampler,
input_scitype = Tuple{
Union{
Table(Continuous),
AbstractMatrix{Continuous}
Table(Union{Infinite, Finite}),
AbstractMatrix{Infinite}
},
AbstractVector
},
Expand Down
4 changes: 2 additions & 2 deletions src/undersampling_methods/random_undersample/interface_mlj.jl
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,8 @@ MMI.metadata_model(
RandomUndersampler,
input_scitype = Tuple{
Union{
Table(Continuous),
AbstractMatrix{Continuous}
Table(Union{Infinite, Finite}),
AbstractMatrix{Infinite}
},
AbstractVector
},
Expand Down

0 comments on commit b4c7ef9

Please sign in to comment.