NeuralProphet 不明なエラーでクラッシュ 

実現したいこと

  • NeuralProphetの不明なエラーでクラッシュを解消する

前提

Neural Prophetを使ってみようと思ったのですが、不明な理由でクラッシュしてしまいます。
コラボラトリを使用しています。
何が原因かわかりません。
どなたかよろしくお願いします。
当方初心者です。

必要な情報がほかにあれば教えていただきたいです。

発生している問題・エラーメッセージ

エラーメッセージ WARNING - (NP.forecaster.fit) - When Global modeling with local normalization, metrics are displayed in normalized scale. WARNING:NP.forecaster:When Global modeling with local normalization, metrics are displayed in normalized scale. INFO - (NP.df_utils._infer_frequency) - Major frequency MS corresponds to [98.936]% of the data. INFO:NP.df_utils:Major frequency MS corresponds to [98.936]% of the data. WARNING - (NP.df_utils._infer_frequency) - Defined frequency D is different than major frequency MS WARNING:NP.df_utils:Defined frequency D is different than major frequency MS INFO - (NP.config.init_data_params) - Setting normalization to global as only one dataframe provided for training. INFO:NP.config:Setting normalization to global as only one dataframe provided for training. INFO - (NP.utils.set_auto_seasonalities) - Disabling weekly seasonality. Run NeuralProphet with weekly_seasonality=True to override this. INFO:NP.utils:Disabling weekly seasonality. Run NeuralProphet with weekly_seasonality=True to override this. INFO - (NP.utils.set_auto_seasonalities) - Disabling daily seasonality. Run NeuralProphet with daily_seasonality=True to override this. INFO:NP.utils:Disabling daily seasonality. Run NeuralProphet with daily_seasonality=True to override this. INFO - (NP.config.set_auto_batch_epoch) - Auto-set batch_size to 16 INFO:NP.config:Auto-set batch_size to 16 INFO - (NP.config.set_auto_batch_epoch) - Auto-set epochs to 560 INFO:NP.config:Auto-set epochs to 560 WARNING - (NP.config.set_lr_finder_args) - Learning rate finder: The number of batches (6) is too small than the required number for the learning rate finder (207). The results might not be optimal. WARNING:NP.config:Learning rate finder: The number of batches (6) is too small than the required number for the learning rate finder (207). The results might not be optimal. Finding best initial lr: 97% 200/207 [00:02<00:00, 106.37it/s]

該当のソースコード

python

1pip install neuralprophet 2from neuralprophet import NeuralProphet 3 4import pandas as pd 5df = pd.read_csv("/content/kotora.csv")6 7df = df.rename(columns={"ym": "ds", "kotora": "y"})8df = df[["ds", "y"]]9m = NeuralProphet()10metrics = m.fit(df)11

試したこと

https://neuralprophet.com/quickstart.html
クイックスタートガイド通りのコードです。

10回ほど試しましたが毎度クラッシュしてしまいます。
コラボラトリーを使用していることが原因なのでしょうか。

補足情報(FW/ツールのバージョンなど)

ここにより詳細な情報を記載してください。

コメントを投稿

0 コメント