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

ANMM not working #10

Open
marcosmrai opened this issue May 26, 2023 · 0 comments
Open

ANMM not working #10

marcosmrai opened this issue May 26, 2023 · 0 comments

Comments

@marcosmrai
Copy link

Hello, I'm starting a research on DML and trying to use your code, follows the code and the error:

from sklearn.datasets import load_iris
from dml import ANMM

Loading dataset

iris = load_iris()
X = iris['data']
y = iris['target']

Initializing transformers and predictors

anmm = ANMM(n_enemies=3)
anmm.fit(X, y)

AttributeError: 'ANMM' object has no attribute 'n_enemies'

I'm using sklearn 0.24.1, thanks.

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