From 299db000cbd2e2914619eb920761994302a27592 Mon Sep 17 00:00:00 2001 From: MainHHH Date: Mon, 25 Nov 2024 16:41:22 +0900 Subject: [PATCH] =?UTF-8?q?[fix]=20=EC=B6=94=EC=B2=9C=EC=8B=9C=EC=8A=A4?= =?UTF-8?q?=ED=85=9C=EC=9D=B4=20DB=20=EC=A0=95=EB=B3=B4=EB=A5=BC=20?= =?UTF-8?q?=EC=B0=B8=EC=A1=B0=ED=95=98=EB=8F=84=EB=A1=9D=20=EB=B3=80?= =?UTF-8?q?=EA=B2=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- contentfiltering.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contentfiltering.py b/contentfiltering.py index c74cd43..c40f69c 100644 --- a/contentfiltering.py +++ b/contentfiltering.py @@ -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): """멀티 라벨 인코딩 처리 부분"""