Testing error in production
This commit is contained in:
		
							parent
							
								
									24ca5a885c
								
							
						
					
					
						commit
						5db21468c2
					
				|  | @ -27,9 +27,6 @@ def calibration_curve(y_true, y_prob, *, n_bins=5, strategy="uniform"): | ||||||
| 
 | 
 | ||||||
|     try: |     try: | ||||||
|         binids = np.digitize(y_prob, bins) - 1 |         binids = np.digitize(y_prob, bins) - 1 | ||||||
| 
 |  | ||||||
|         raise ValueError |  | ||||||
| 
 |  | ||||||
|     except Exception as e: |     except Exception as e: | ||||||
|         np.set_printoptions(threshold=sys.maxsize) |         np.set_printoptions(threshold=sys.maxsize) | ||||||
|         logging.info("=" * 40) |         logging.info("=" * 40) | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue
	
	Block a user