Skip to content

Simplify DataFrame => Matrix? #1

@johnmyleswhite

Description

@johnmyleswhite

I'm really glad to have this package. Thanks for creating it!

The API is still in flux, but I believe the following should now work if you're interested in shrinking your README file:

iris = data("datasets", "iris")
features = matrix(iris[:, 2:5])
labels = iris[:, "Species"]

We're also debating how to handle providing formula interfaces for models like decision trees so that you could just write:

build_tree(Species ~ Petal_Length + Petal_Width, iris)

If you have requests there, please let me know.

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