https://machinelearningmastery.com/save-arima-time-series-forecasting-model-python/ from statsmodels.tsa.arima_model import ARIMA, ARIMAResults# fit modelmodel = ARIMA(X, order=(1,1,1))model_fit = model.fit()# save modelmodel_fit.save('model.pkl')# load modelloaded = ARIMAResults.load('model.pkl')
https://www.kaggle.com/thebrownviking20/everything-you-can-do-with-a-time-series
https://datascienceschool.net/view-notebook/8959673a97214e8fafdb159f254185e9/
https://jupyter-notebook.readthedocs.io/en/stable/public_server.html https://goodtogreate.tistory.com/entry/IPython-Notebook-%EC%84%A4%EC%B9%98%EB%B0%A9%EB%B2%95 https://cw9206.tistory.com/51 c = get_config()c.NotebookApp.password = ' ' # 비밀번호 생성 후, 얻은 hash key 기입c.NotebookApp.open_browser = 'False' # 원격 서버에서 browser를 열 필요가 없으므로 Falsec.NotebookApp.ip = ' ' # 원격 서버의 내부 IP 기입c.NotebookApp.notebook..
np.log( train_mean_log ) 를 np.log(np.array(train_mean_log,dtype=np.float32)) 로 바꿔줘보자
https://dmm.biologists.org/content/6/2/293
피터 틸은 강의실에 앉아있는 대신, 새로운 걸 만들고 새로운 걸 만들고자 노력하는 청년들에게 10만달러를 지급하는 장학금 제도를 운영하고 있다.그는 재능 있는 사람들이 모두 똑같은 명문대에 진학해 몇 개 안되는 똑같은 과목을 공부하고, 결국 몇 개의 똑같은 직업을 선택하는 사회는 비전이 없다고 강조한다.그 또한 스탠퍼드 대학에서 법학을 공부하던시절, 이 같은 잘못된 길과 답에 열중했었다고 회상한다.그는 끝없는 경쟁에 내몰리는 젊은이들을 위해 이렇게 조언했다."어디서 어떻게 누구와 경쟁할 것인지를 고민하지 마라, 그 대신 '더 큰 성공을 위해 경쟁심을 버리려면 어떻게 해야할까?'를 자신에게 질문하라. " 승부욕(경쟁심)이 강한 체스 선수가 있다고 해보자. 그의 뜨거운 승부욕은 마침내 그를 체스 대회 우승자..
from statsmodels.tsa.stattools import adfuller def test_stationarity(x): # x 시간과 값이 주어진 pandas series # Determining rolling statistics rolmean = x.rolling(window=22, center=False).mean() # 22개 기준으로 이동평균 rolstd = x.rolling(window=12, center=False).std() # 12개 기준으로 이동표준편차 # Plot rolling statistics orig = plt.plot(x.values, color='blue', label='Original') # 원래값 mean = plt.plot(rolmean.values, color..