I am running a script looping over a few factors like shown in one of the recent experts videos. I would like to print the information I care about like the information constant IC. However that output is buried between text like:
Pipeline Execution Time: 15.22 Seconds
Dropped 7.8% entries from factor data: 7.8% in forward returns
computation and 0.0% in binning phase (set max_loss=0 to see
potentially suppressed Exceptions). max_loss is 95.0%, not exceeded:
OK! 4 9.553432 0.814430 0.516202 0.498325
Is there any way to silence that output coming from Pipeline and get_clean_factor_and_forward_returns? That way i can just print out the output I care about with it getting buried?
I tried to use os to suppress stdout, but that import is restricted. Is there another way?
Thanks!