ml_mean_target_apply: Apply mean target encoding

Description Usage Arguments Value See Also

View source: R/ml_mean_target_apply.R

Description

This function is used to apply mean target encoding mapping table that was output from function ml_mean_target_encoder

Usage

1
2
3
4
5
ml_mean_target_apply(
  calculate_columns_mean_table,
  applying_dataset,
  impute_missing = T
)

Arguments

calculate_columns_mean_table

mean target encoding mapping table outputed from function ml_mean_target_encoder

applying_dataset

new dataset that you wish to apply same mean target encoding

impute_missing

determine if we want to impute missing when new dataste levels could not be found in mapping table, defualt is to impute

Value

dataset that has been applied mean target encoding

See Also

ml_mean_target_encoder


ddzr/XL.RPackage documentation built on June 8, 2020, 12:36 a.m.