-
-
Notifications
You must be signed in to change notification settings - Fork 231
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鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
Simplify scan metadata #1772
Simplify scan metadata #1772
Conversation
giskard/slicing/tree_slicer.py
Outdated
|
||
# Need at least a split, otherwise return now. | ||
if dt.tree_.node_count < 2: | ||
logger.debug("No split found, stopping now.") | ||
return [] | ||
|
||
# track analytics with a 10% probability | ||
if np.random.rand() < 0.1: |
Check notice
Code scanning / SonarCloud
numpy.random.Generator should be preferred to numpy.random.RandomState Low
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
All good but please remove extraneous changes
|
No description provided.