Skip to content

Process no longer completes #98

Open
@pkudva-leavened

Description

I installed this project a few weeks ago and was able to run it and get results using the default VI and HMC methods for some basic data. Now it doesn't work anymore. There are a couple of deprecation warnings, but I don't remember if they were present since the beginning.

Expected Behavior

Process takes less than 5 minutes to return the summary and plot.

Current Behavior

Process does not complete, ps status code S+ after about 30 seconds of CPU time and stays that way
Summary and report are not printed in terminal even after 30 minutes

$ python3 tfcausalimpact.py
2024-05-14 11:26:59.928855: I tensorflow/core/platform/cpu_feature_guard.cc:210] This TensorFlow binary is optimized to use available CPU instructions in performance-critical operations.
To enable the following instructions: AVX2 FMA, in other operations, rebuild TensorFlow with the appropriate compiler flags.
/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/causalimpact/data.py:263: FutureWarning: DataFrame.applymap has been deprecated. Use DataFrame.map instead.
  if not data.applymap(np.isreal).values.all():
WARNING:tensorflow:From /Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/tensorflow/python/autograph/impl/api.py:459: StructuralTimeSeries.joint_log_prob (from tensorflow_probability.python.sts.structural_time_series) is deprecated and will be removed after 2022-03-01.
Instructions for updating:
Please use `StructuralTimeSeries.joint_distribution(observed_time_series).log_prob`

Context (Environment)

python version 3.10.11
First encountered May 7 on version 0.0.14. Version 0.0.15 did not fix the issue

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions