Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Datasets with multiple targets #16

Open
hayesall opened this issue Sep 2, 2021 · 0 comments
Open

Datasets with multiple targets #16

hayesall opened this issue Sep 2, 2021 · 0 comments

Comments

@hayesall
Copy link
Member

hayesall commented Sep 2, 2021

The pos/neg/facts setup feels limiting when a dataset has multiple potential targets.

Consider imdb—where female_gender and workedunder are common targets.

There's usually a target in mind, but you can setup the problem with any target you like.


Side Note:

The following setup prescribes predicting y using X.

from sklearn.datasets import load_breast_cancer

X, y = load_breast_cancer(return_X_y=True)

But the vectors can be re-ordered to to predict the third column X[:, 3] after substituting y with the third column.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant