본문 바로가기

Machine Learning

Python - Prophet 라이브러리 사용법,fit,predict,periods

Prophet 이란?

페이스북에서 만든 오픈소스

Seasonal time series data를 분석할 수 있는 딥러닝 라이브러리다

프로펫 공식 페이지 : https://facebook.github.io/prophet/docs/quick_start.html#python-api

 

 

Prophet 사용방법

 

데이터를 Prophet 에 맞도록 가공

 # 필요한 컬럼은 ds, y (컬럼 이름을 맞춰야함)

 

Prophet을 변수로 지정하고 fit 사용하여 학습시키기

 

미래 DataFrame 생성

예측

시각화