Skip to content

Decision_function expects one argument  #2

@samuelazran

Description

@samuelazran

First of all, this is a super cool and interesting algorithm! thank you for sharing it :)

The code fails on

def decision_function(self, X): 
return self.classifier.decision_function(self, X)

with an error stating that decision_function expects only one argument.

Shouldn't it be self.classifier.decision_function(X) without the self?

Cheers,

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