Skip to content

Conversation

ERJLM
Copy link

@ERJLM ERJLM commented Jan 21, 2025

Updated the value of the 'learner__loss' key in the param_grid of basis.py. The previous value ('log') was incorrect, and was leading to the following error: "The 'loss' parameter of SGDClassifier must be a str among {'hinge', 'modified_huber', 'huber', 'squared_error', 'epsilon_insensitive', 'squared_epsilon_insensitive', 'perceptron', 'squared_hinge', 'log_loss'}. Got 'log' instead." The current value ('log_loss') works as expected.

Updated the value of the 'learner__loss' key in the param_grid of basis.py.
The previous value ('log') was incorrect, and was leading to the following error: "The 'loss' parameter of SGDClassifier must be a str among {'hinge', 'modified_huber', 'huber', 'squared_error', 'epsilon_insensitive', 'squared_epsilon_insensitive', 'perceptron', 'squared_hinge', 'log_loss'}. Got 'log' instead."
The current value ('log_loss') works as expected.
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.

1 participant