diff --git a/Project.toml b/Project.toml index a6ff2ba..8a2bd8a 100644 --- a/Project.toml +++ b/Project.toml @@ -2,7 +2,7 @@ name = "MLJTransforms" uuid = "23777cdb-d90c-4eb0-a694-7c2b83d5c1d6" authors = ["Essam and contributors"] -version = "0.1.4" +version = "0.1.5" [deps] BitBasis = "50ba71b6-fa0f-514d-ae9a-0916efc90dcf" diff --git a/src/transformers/other_transformers/one_hot_encoder.jl b/src/transformers/other_transformers/one_hot_encoder.jl index 10ef2e7..748f95d 100644 --- a/src/transformers/other_transformers/one_hot_encoder.jl +++ b/src/transformers/other_transformers/one_hot_encoder.jl @@ -214,8 +214,8 @@ Train the machine using `fit!(mach, rows=...)`. (`ignore=true`). This default behavior can be modified by the `ordered_factor` flag. -- `ordered_factor=false`: when `true`, `OrderedFactor` features are - universally excluded +- `ordered_factor=true`: when `false`, `OrderedFactor` features are + left untouched. - `drop_last=false`: whether to drop the column corresponding to the final class of encoded features. For example, a three-class feature