|  |  | @ -8,17 +8,11 @@ import java.util.stream.Collectors; | 
			
		
	
		
			
				
					|  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  | public class BatchScoreCalculator { | 
			
		
	
		
			
				
					|  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |     /** | 
			
		
	
		
			
				
					|  |  |  |      * 每个指标都是一条数据,每一条数据中包含该指标的一组样本 | 
			
		
	
		
			
				
					|  |  |  |      */ | 
			
		
	
		
			
				
					|  |  |  |     private List<IndexInputVO> indexVOS; | 
			
		
	
		
			
				
					|  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |     /** | 
			
		
	
		
			
				
					|  |  |  |      * 执行计算 | 
			
		
	
		
			
				
					|  |  |  |      * @return 每一条都是一个指标的,所有样本对应的,得分值 | 
			
		
	
		
			
				
					|  |  |  |      */ | 
			
		
	
		
			
				
					|  |  |  |     public List<IndexOutputVO> exec(List<IndexInputVO> indexInputVOS) { | 
			
		
	
		
			
				
					|  |  |  |         this.indexVOS = indexInputVOS; | 
			
		
	
		
			
				
					|  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |         return indexInputVOS.stream().map(i -> { | 
			
		
	
		
			
				
					|  |  |  |             String indexId = i.getIndexId(); | 
			
		
	
	
		
			
				
					|  |  | 
 |