Skip to content

transform xgboostImpute and rangerImpute into a generic function with methods for formula and data #73

@alexkowa

Description

@alexkowa

@GregorDeCillia I included a new function xgboostImpute very similar to your rangerImpute function. On first sight, it performs very well. The functions take formulas as first input.
To make it more pipe-friendly and aligned with other imputation functions, should we
A) simply change the order of parameters so the first input is the data set (possibly breaking code of some)
B) create new generic functions that make a method dispatch based on the first input

@GregorDeCillia and also @matthias-da @JohannesGuss what do you think?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions