日常更新

This commit is contained in:
marslbr 2025-10-30 19:04:10 +08:00
parent 794bb9e1db
commit c6f19c630f
1 changed files with 0 additions and 3 deletions

View File

@ -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