Skip to content

Commit 77f3740

Browse files
EssamWisamablaom
andauthored
Update src/encoders/missingness_encoding/interface_mlj.jl
Co-authored-by: Anthony Blaom, PhD <[email protected]>
1 parent 9fb4c27 commit 77f3740

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/encoders/missingness_encoding/interface_mlj.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ Train the machine using `fit!(mach, rows=...)`.
103103
- `features=[]`: A list of names of categorical features given as symbols to exclude or include from encoding
104104
- `ignore=true`: Whether to exclude or includes the features given in `features`
105105
- `ordered_factor=false`: Whether to encode `OrderedFactor` or ignore them
106-
- `label_for_missing=Dict{<:Type, <:Any}()= Dict( AbstractString => "missing", Char => 'm', )`: A
106+
- `label_for_missing::Dict{<:Type, <:Any}()= Dict( AbstractString => "missing", Char => 'm', )`: A
107107
dictionary where the possible values for keys are the types in `Union{Char, AbstractString, Number}` and where each value
108108
signifies the new level to map into given a column raw super type. By default, if the raw type of the column subtypes `AbstractString`
109109
then missing values will be replaced with `"missing"` and if the raw type subtypes `Char` then the new value is `'m'`

0 commit comments

Comments
 (0)