Skip to content

Preparing the data  #7

@bgreenwell

Description

@bgreenwell

Hi @eddelbuettel, first off, thanks for porting CORELS to R. I'm writing a book about trees and came across this while writing about rule-based models and it seems really promising. That being said, would you be open to a few PRs? Starting with this one on formatting the data for the users. I have some starter code I was using for a couple of examples that wouldn't be difficult to generalize, but wanted to check if you had a specific design in mind first? E.g., a formula method

corels(Edibility ~ ., data = mushroom, ...)   OR   corels(X, y, ...)

where X and y are both constructed and written out to a temporary (or user-specified) location, or maybe even just a simple prepareData() function? Soon after, I can submit at least one or two good examples to include that seems perfect for this type of algorithm. Happy to hear your thoughts. Obviously numeric inputs would have to be re-encoded by the user before hand.

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