Skip to content

Conversation

@Pahandrovich
Copy link
Contributor

No description provided.

@Pahandrovich Pahandrovich self-assigned this Feb 25, 2022
@Pahandrovich Pahandrovich marked this pull request as ready for review February 25, 2022 15:45
@Pahandrovich
Copy link
Contributor Author

/intelci: run

1 similar comment
@Pahandrovich
Copy link
Contributor Author

/intelci: run

@Pahandrovich
Copy link
Contributor Author

/intelci: run

Copy link
Contributor

@Alexsandruss Alexsandruss left a comment

Choose a reason for hiding this comment

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

Minor: "complex method" warnings and notices should be disabled or fixed in future.

@Pahandrovich
Copy link
Contributor Author

/intelci: run

else:
def func(x, *args):
return _multinomial_loss_grad(x, *args)[0:2]
if sklearn_check_version('1.1'):
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
if sklearn_check_version('1.1'):
if sklearn_check_version('1.1') and loss is not None:

Copy link
Contributor

Choose a reason for hiding this comment

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

but maybe loss=None at line 431 was redundant...

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I think explicitly specifying loss = None is safer

@Pahandrovich
Copy link
Contributor Author

/intelci: run

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.

4 participants