Skip to content

add warning partial() doesn't work with rbart objects (yet) #35

@jbyoder

Description

@jbyoder

Running partial() on a model of class rbart fails, with error message

Error in pdbart(model, xind = x.vars, levs = lev, pl = FALSE) :
x.train must be a matrix, data.frame, formula, fitted bart model, or dbartsSampler

Can confirm that pdbart() doesn't recognize an rbart object as a fitted BART model; and the documentation for rbart_vi doesn't mention partials, so this is on some level a dbarts thing.

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