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

sklearn version log/log_loss #124

Open
JAshcroft36 opened this issue Jul 4, 2024 · 1 comment
Open

sklearn version log/log_loss #124

JAshcroft36 opened this issue Jul 4, 2024 · 1 comment

Comments

@JAshcroft36
Copy link

When installing celltypist by 'pip install celltypist', I had this error with the function celltypist.train -

InvalidParameterError: The 'loss' parameter of SGDClassifier must be a str among {'huber', 'epsilon_insensitive', 'modified_huber', 'squared_epsilon_insensitive', 'squared_hinge', 'perceptron', 'log_loss', 'squared_error', 'hinge'}. Got 'log' instead.

This was due to an error related to the version of sklearn

Using 'pip install git+https://github.com/Teichlab/celltypist.git@main' solves the issue

@ChuanXu1
Copy link
Collaborator

ChuanXu1 commented Jul 6, 2024

@JAshcroft36, when you pip install celltypist, which version does it install?

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

2 participants