Pinned밑바닥부터 시작하는 추천시스템 with Kubeflow백엔드 엔지니어로서 밑바닥부터 만든 추천시스템에 대한 경험을 나누고자 합니다. 많은 온라인 서비스에서 추천시스템은 중요한 요소가 되었습니다. 유튜브의 알고리즘, 넷플릭스의 영화 추천, 아마존의 상품 추천등은 이제는 너무나 익숙한 일상이 되었습니다. 저는 백엔드 엔지니어로서, 추천시스템을 구현하는 경험을 하게 되었습니 …Recommendations21 min readRecommendations21 min read
Pinned[딥러닝] 10분안에 이미지 캡쳐 탐지 서비스 만들기딥러닝 라이브러리를 활용해 간단한 이미지 이미지의 캡쳐 여부를 판단할 수 있는 서비스를 만들어보고 실무에서 이를 활용했던 후기를 공유하도록 하겠습니다. Requirements 준비물은 Python3.6버전 이상과 딥러닝 라이브러리가 필요합니다. 여기서 딥러닝라이브러리는 파이토치를 사용하도록 하겠습니다. 꼭 파이토치일 필요는 없으며 텐서플 …Resnet12 min readResnet12 min read
Oct 26[Troubleshoot] ImportError: urllib3 v2.0 only supports OpenSSL 1.1.1+If you have a trouble like below when import tensorflow or tensorflow recommenders, just install urllib lower version. Error message ImportError: urllib3 v2.0 only supports OpenSSL 1.1.1+ Solution pip install urllib3==1.26.6 It’s done! 🚀 Reference https://github.com/googleapis/python-bigquery/issues/15651 min read1 min read
Sep 21[Tip] github Permission denied (publickey).If you experience the following problem when doing a git push or pull, it is often caused by not having a ssh key added to your ssh-agent. If your github repository has remote set up well, you can easily solve the problem with the command below. git@github.com: Permission denied (publickey). fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists.Github1 min readGithub1 min read
Sep 5[Paper review] Factorization machineFactorization machine 모델(이하 FM)에 대하여 알아보고, Pytorch로 구현해보도록 하겠습니다. 논문 내용 및 수식정리 추천서비스를 만들때, 주로 user-item interaction(rating) matrix를 사용합니다. 행이 유저가 되고 열이 컨텐츠가 되어 특정 인덱스의 값은 컨텐츠에 대한 유저의 선호도 …Recsys10 min readRecsys10 min read
Aug 26How to retry in PythonLet’s find out how to use retry logic in Python. Main code def retryable(total_try_cnt=5, sleep_in_sec=0, retryable_exceptions=()): """ Usage: Specify exception to retry in method to retry and use as decorator Retry total_try_cnt number of times, Raise if error occurs at the end…Python1 min readPython1 min read
Aug 2[Paper review] Matrix Factorization Techniques for Recommender SystemsMatrix Factorization Techniques for Recommender Systems As the Netflix Prize competition has demonstrated, matrix factorization models are superior to classic nearest neighbor…ieeexplore.ieee.org 본 페이퍼를 간략하게 읽고 기억나는 부분을 한 줄씩 정리하고, Pytorch로 구현해보도록 합니다. Recommender system strategies Contents based filtering은 유저와 상품이 가진 본연의 특성으로 프로필을 만듭니다. Collaborative filtering은 유저와 상품간의 관계를 사용합니다. 장점은 해당 도메인에 대하여 알 …Mf6 min readMf6 min read
Jun 19[핸즈온 추천시스템] Neural Collaborative Filtering (NCF)란?머신러닝 알고리즘인 Neural Collaborative Filtering(NCF)에 대해 알아보고 Pytorch를 활용하여 구현해봅니다. 이 모델은 스트리밍 플랫폼이나 다양한 이커머스에서 적용되었습니다. 이 모델을 제안한 논문은 무려 5천번이 넘게 인용되었습니다. (https://arxiv.org/abs/170 …Recommender Systems10 min readRecommender Systems10 min read
Jun 14[핸즈온 추천시스템] Matrix Factorization (MF)란?행렬분해란 무엇인지 알아보고, python을 활용해 추천시스템을 만들어 보겠습니다. — 용어설명 행렬분해 하나의 행렬을 두개 이상의 행렬의 곱과 같도록 행렬을 분해하는 것을 의미합니다. 보통 행렬분해한 후 분해된 행렬의 일부로 원본 행렬을 추정하도록 사용합니다. 연관된 알고리즘은 PCA, SVD, MF 입니다. PCA, SVD, MF PCA(Principle Component Analysis) 주성분분석은 행렬의 차원축소로 기억하면 좋습니 …Recommender Systems10 min readRecommender Systems10 min read
Jun 3[Bugfix] Andriod studio 설치후 실행안되는 이슈java.nio.file.AccessDeniedException 문제 해결 이슈 안드로이드 스튜디오 java.nio.file.AccessDeniedException 로 인해 실행자체가 안됨 원인 /Users/사용자/Library/Application Support/Google 폴더에 대한 권한 사용자가 아닌 Root에 있기 때문에 접근권한 에러가 발생 해결방법 /Users/사용자/Library/Application Support/Google 파일 소유권을 사용자로 변경해준다. # 소유자 변경 sudo chown -R $USER ~/Library/Application\ Support/Google # 비밀번호 입력 # 변경된 소유자 확인 ll ~/Library/Application\ Support | grep Google | awk '{print $3}'2 min read2 min read