日常更新
This commit is contained in:
		
							parent
							
								
									794bb9e1db
								
							
						
					
					
						commit
						c6f19c630f
					
				|  | @ -14,7 +14,6 @@ from typing import Literal | |||
| 
 | ||||
| import numpy | ||||
| from pyLSHash import LSHash | ||||
| 
 | ||||
| # 导入模块 | ||||
| from pydantic import BaseModel, Field, model_validator | ||||
| 
 | ||||
|  | @ -326,8 +325,6 @@ class RecommenderSystem: | |||
|                     else 0 | ||||
|                 ) | ||||
| 
 | ||||
|                 print(pair, similarity) | ||||
| 
 | ||||
|                 # 加权物品的相似度 | ||||
|                 items_recall[item_recall]["scores"] += ( | ||||
|                     behaviors["scores"][item_heuristic] * similarity | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue