Skip to content

Commit

Permalink
Merge pull request #7 from JuliaAI/main
Browse files Browse the repository at this point in the history
Update README.md
  • Loading branch information
EssamWisam authored Oct 3, 2023
2 parents 907211b + 8c64609 commit b8eb2c9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# MLJBalancing
A package providing composite models wrapping class imbalance algorithms from [Imbalance.jl](https://github.com/JuliaAI/Imbalance.jl) with classifiers from [MLJ](https://github.com/alan-turing-institute/MLJ.jl).

## Instalattion
## Instalation
```julia
import Pkg;
Pkg.add("MLJBalancing")
Expand All @@ -17,6 +17,7 @@ This package allows chaining of resampling methods from Imbalance.jl with classi
```julia
SMOTENC = @load SMOTENC pkg=Imbalance verbosity=0
TomekUndersampler = @load TomekUndersampler pkg=Imbalance verbosity=0
LogisticClassifier = @load LogisticClassifier pkg=MLJLinearModels verbosity=0

oversampler = SMOTENC(k=5, ratios=1.0, rng=42)
undersampler = TomekUndersampler(min_ratios=0.5, rng=42)
Expand Down

0 comments on commit b8eb2c9

Please sign in to comment.