- kakao base code : https://github.com/kakao-arena/brunch-article-recommendation
- kakao arena homepage : https://arena.kakao.com/c/2
```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
```
$> 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 model output
https://www.kaggle.com/hyeonho/mf-based-popular
```bash
default directory
./kakao-arena/
$> python train1.py
$> python train2.py
$> python inference.py
```
## **final output**
```bash
inference/recommend.txt
```
- follow based popular
- article based model
- march focus model
- nmf model
- python 3.6
- numpy 1.16
- pandas 0.24.2
- tqdm 4.32.1