Skip to content

getCssPreds: support a user-provided prediction function (beyond OLS) #140

Description

@gregfaletto

getCssPreds() fits OLS on the selected cluster representatives to form predictions. Add an argument for a user-provided prediction function — the prediction-side analogue of css()'s fitfun — to allow more general predictions than OLS (e.g. a regularized or nonlinear model on the representatives).

Scope: a predfun-style argument (defaulting to the current OLS) taking the training design/response and returning predictions on testX; validate + document.


Surfaced from an in-source TODO(gregfaletto) note in index.Rmd; filed and stripped as part of #96.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions