Skip to content

ANMM not working #10

@marcosmrai

Description

@marcosmrai

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.

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