Skip to content

브런치 사용자를 위한 글 추천 대회[brunch 데이터를 활용해 사용자의 취향에 맞는 글을 예측하는 대회]

Notifications You must be signed in to change notification settings

hyeonho1028/kakao-arena

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

56 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Kakao arena 2nd Competition

"브런치 사용자를 위한 글 추천 대회"

- 3rd rema팀의 brunch recommendation code(leaderboard 5th)
- kakao arena homepage : https://arena.kakao.com/c/2

Description

path

​```bash
.
├── rawdata
│   ├── predict
│   │   └── test.users
│   ├── read
│   │   ├── 20181000100_2018...
│   │   └── ...
│   ├── magazine.json
│   ├── metadata.json
│   ├── users.json
│   ├── read_data_sort.csv(압축을 푸는 과정에서 파일 순서가 자동으로 섞이는데, 파일 순서를 보존하기 위해 sort를 저장했습니다.)
│   └── 0222_0301_1000_recommend.txt(카카오 기본 추천 파일)
├── pretrained
│   └── mf_test.csv
└── inference
​```

0222_0301_1000_recommend.txt(카카오 기본 추천 파일)

$> python mostpopular.py --from-dtm 2019020100 --to-dtm 2019030100 recommend ./res/predict/dev.users recommend.txt -> 카카오에서 제공한 방법
$> python mostpopular.py —from-dtm 2019022200 —to-dtm 2019030100 recommend ./res/predict/dev.users recommend.txt -> using code
https://github.com/kakao-arena/brunch-article-recommendation

modify - Insert using code
         mostpopular.py : topn=100 -> topn=1000

nmf_test.csv(pre-trained model)

nmf model output

https://www.kaggle.com/hyeonho/mf-based-popular

Example of usage

​```bash
default directory
./kakao-arena/

$> python train1.py
$> python train2.py
$> python inference.py
​```
## **final output**
​```bash
inference/recommend.txt
​```

Model description

  • follow based popular
  • article based model
  • march focus model
  • nmf model

Requirements

  • python 3.6
  • numpy 1.16
  • pandas 0.24.2
  • tqdm 4.32.1

About

브런치 사용자를 위한 글 추천 대회[brunch 데이터를 활용해 사용자의 취향에 맞는 글을 예측하는 대회]

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages