Commit 2af6c8c1 by 王金柱

精排序

parent 1cc4e6be
......@@ -11,7 +11,7 @@ from tornado.concurrent import run_on_executor
from ydl_ai_recommender.src.utils.log import create_logger
from ydl_ai_recommender.src.core.rank.ranker import Ranker
from ydl_ai_recommender.src.core.rank.ranker import RankByXGB
from ydl_ai_recommender.src.core.rank.rankByXgb import RankByXGB
logger = create_logger(__name__, 'rank_service.log', is_rotating=True)
......
......@@ -13,8 +13,6 @@ from tornado.concurrent import run_on_executor
from ydl_ai_recommender.src.utils.log import create_logger
from ydl_ai_recommender.src.core.recommender import UserCFRecommender
from ydl_ai_recommender.src.core.recommender import RecommendByXgboost
logger = create_logger(__name__, 'service.log', is_rotating=True)
recommender = UserCFRecommender(top_n=2, k=50, u2c='order')
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment