We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 77f3740 commit 75418d4Copy full SHA for 75418d4
src/encoders/missingness_encoding/missingness_encoding.jl
@@ -14,7 +14,7 @@ types that are in `Union{Char, AbstractString, Number}`.
14
- `features=[]`: A list of names of categorical features given as symbols to exclude or include from encoding
15
- `ignore=true`: Whether to exclude or includes the features given in `features`
16
- `ordered_factor=false`: Whether to encode `OrderedFactor` or ignore them
17
- - `label_for_missing=Dict{<:Type, <:Any}()= Dict( AbstractString => "missing", Char => 'm', )`: A
+ - `label_for_missing::Dict{<:Type, <:Any}()= Dict( AbstractString => "missing", Char => 'm', )`: A
18
dictionary where the possible values for keys are the types in `Union{Char, AbstractString, Number}` and where each value
19
signifies the new level to map into given a column raw super type. By default, if the raw type of the column subtypes `AbstractString`
20
then missing values will be replaced with `"missing"` and if the raw type subtypes `Char` then the new value is `'m'`
0 commit comments