cdt15 / lingam

Python package for causal discovery based on LiNGAM.
https://sites.google.com/view/sshimizu06/lingam
MIT License
356 stars 54 forks source link

ValueError: trend 'nc' not supported for VAR #120

Open pmisiakos opened 5 months ago

pmisiakos commented 5 months ago

Hi! I got the following error when trying to use Varlingam

ValueError: trend 'nc' not supported for VAR the error seems to be caused from line 272 at file var_lingam.py

result = var.fit(maxlags=self._lags, trend="nc") but there is no nc available trend in the fit method of var.

ikeuchi-screen commented 5 months ago

Hi, @pmisiakos This has already been fixed in issue #86. Please update to v1.8.0 or higher.

pip install -U lingam