Skip to content

Commit 75418d4

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

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/encoders/missingness_encoding/missingness_encoding.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ types that are in `Union{Char, AbstractString, Number}`.
1414
- `features=[]`: A list of names of categorical features given as symbols to exclude or include from encoding
1515
- `ignore=true`: Whether to exclude or includes the features given in `features`
1616
- `ordered_factor=false`: Whether to encode `OrderedFactor` or ignore them
17-
- `label_for_missing=Dict{<:Type, <:Any}()= Dict( AbstractString => "missing", Char => 'm', )`: A
17+
- `label_for_missing::Dict{<:Type, <:Any}()= Dict( AbstractString => "missing", Char => 'm', )`: A
1818
dictionary where the possible values for keys are the types in `Union{Char, AbstractString, Number}` and where each value
1919
signifies the new level to map into given a column raw super type. By default, if the raw type of the column subtypes `AbstractString`
2020
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)