Skip to content

non-standard data arguments #315

Closed
Closed
@topepo

Description

@topepo

In some cases, a model function that parsnip is calling has non-standard argument names for the data-oriented components.

For example, a function foo() that only has the x/y interface might have a signature like foo(X, Y) instead of the standard foo(x, y).

Some real examples:

  • sparklyr models use x as the data slot (and put it in the first position)
  • kernlab::ksvm(x, data) where x is a formula.
  • MASS::lda(x, grouping)

Metadata

Metadata

Assignees

No one assigned

    Labels

    featurea feature request or enhancement

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions