Skip to content

Commit

Permalink
[fix] 추천시스템이 DB 정보를 참조하도록 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
MainHHH committed Nov 25, 2024
1 parent 14a3308 commit 299db00
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contentfiltering.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ def encode_features(self, save_to_file=True):
self.encoded_features.to_csv(self.encoded_file, index=False,encoding='utf-8')

# 상품명을 타깃 변수로 설정
self.target = self.df['goodsNo'].reindex(self.encoded_features.index)
self.target = self.df['goodsName'].reindex(self.encoded_features.index)

def _multi_label_encode(self, column, mlb, prefix):
"""멀티 라벨 인코딩 처리 부분"""
Expand Down

0 comments on commit 299db00

Please sign in to comment.