본문 바로가기

[Day40] Movie Rec 1. 추천 시스템 개요 및 대회 소개 추천 시스템 소개 사용자가 사용한 아이템에 대해 제안을 제공하는 소프트웨어 도구나 기술 일상생활에서 접하고 있는 다양한 개인화된 서비스의 일종 목적 사용자의 선호를 모델링하고 이를 통해 비즈니스 목표를 달성하는 것 사례 netflix, facebook, alibaba Personalized Education : 지식 수준 모델링을 해서 학습 컨텐츠 제공 Personalized Healthcare : 질병 진단, 의약품 처방 이력을 종합해서 미래의 질병 예측 기존 ML 방법론과의 차이 사용자와 아이템의 로그 데이터를 바탕으로 사용자가 좋아할만한 아이템을 추천한다. 기존 ML 지도학습의 하나인 Logistic Regression으로 수행해보자 $$rating(user,item) = f(user,item)=W..
[Day8] Pytorch 6. 모델 불러오기 : model.save(), load, checkpoint, freeze, transfer learning 최근 finetuning을 많이 하기 때문에 다른 사람이 만든 모델을 불러오고 사용하는 방법을 알아보자 학습 결과에 대한 모델과 파라미터 저장 학습의 결과를 저장해주는 함수이다. 모델의 architecture 와 parameter를 저장한다. 또한 중간과정을 저장해서 나중에 최선의 결과인 모델을 선택할 수 있다 model.state_dict() : 모델의 파라미터 표시 torch.save(model.state_dict()) : 모델의 파라미터 저장 model.pt 라는 pd파일로 저장 load_state_dict() : 파라미터만 load torch.save() : 모델의 architecture와 파라미터가 함께 저장 torch.load() : 모델의 architecture와 파라미터가 함께 load f..
[ML] Auto ML : Regression 사용하기 Auto ML 설치는 이전 게시물을 참고하길 바랍니다. [ML] Colabolatory 에서 Auto ML 설치 (ERROR: pip's dependency resolver does not currently take into account all the packages !pip install --upgrade setuptools ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This datascience 0.10.6 requres folium==0.2.1, but you ha.. chae52.tistory.com 공식 사이트이다. auto-sklearn — Au..
[ML] Colabolatory 에서 Auto ML 설치 (ERROR: pip's dependency resolver does not currently take into account all the packages that are installed.) !pip install --upgrade setuptools ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This datascience 0.10.6 requres folium==0.2.1, but you have folium 0.8.3 which is incompatible. WARNING: The following packages were previously imported in this runtime: [pkg_recources] You must restart the runtime in order to use newly installed versions. ..