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

feat: add DARTSClassifier #164

Closed
wants to merge 22 commits into from
Closed

feat: add DARTSClassifier #164

wants to merge 22 commits into from

Conversation

hollandjg
Copy link
Member

Description

Add a new wrapper DARTSClassifier to do classification using DARTS.

resolves AutoResearch/autora-theorist-darts#8

Type of change:

  • New feature (non-breaking change which adds functionality)

autora/skl/darts.py Outdated Show resolved Hide resolved
autora/skl/darts.py Outdated Show resolved Hide resolved

return y

def predict_proba(self, X: np.ndarray) -> np.ndarray:
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

curious about the use of the function name predict_proba instead of just predict_prob

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's a scikit-learn naming convention. No idea why they chose it.

@hollandjg hollandjg closed this Jan 19, 2023
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

Successfully merging this pull request may close these issues.

DARTS Classifier
2 participants