-
-
Notifications
You must be signed in to change notification settings - Fork 49
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
Verbose = True #7
Comments
If we are at it. SUOD/suod/models/parallel_processes.py Line 98 in ce50b69
|
I've made a pull request to address the issue: #12 Workaround@Blaxzter import contextlib
import joblib
import builtins as __builtin__
@contextlib.contextmanager
def _joblib_silent_print():
orig_fn = joblib.Parallel._print
orig_print = __builtin__.print
def silent_print(self, msg, msg_args):
return
@staticmethod
def _silent_print():
pass
joblib.Parallel._print = silent_print
__builtin__.print = _silent_print
try:
yield
finally:
joblib.Parallel._print = orig_fn
__builtin__.print = orig_print The call will look like this: with _joblib_silent_print():
detector = SUOD(**self.suod_kwargs)
self.detectors.append(detector.fit(x_train))
y_val_scores = detector.decision_function(x_val) # outlier scores This will remove following lines:
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The SUOD library clutters my console.
After a bit of digging, I found that in the Parallel(...) call, the parameter verbose is just set to true instead of self.verbose.
Would be nice if it's controlled through the objects verbose parameter.
Thanks for your work.
The text was updated successfully, but these errors were encountered: