datasciencecampus / pygrams

Extracts key terminology (n-grams) from any large collection of documents (>1000) and forecasts emergence
https://datasciencecampus.github.io/pygrams
Other
62 stars 23 forks source link

pns option 0 (all models) excludes the SSM model due to a simple range error. #388

Open l-bailey-fnc opened 1 year ago

l-bailey-fnc commented 1 year ago

Change pygrams.py line 187-189 to:

if args.timeseries: if 0 in args.predictor_names: algs_codes = list(filter(lambda x: x != 5, range(1, 8))) # incude 7 by stopping at 8, and exclude broken ARIMA (5).

To Reproduce Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior A clear and concise description of what you expected to happen.

Screenshots If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

Smartphone (please complete the following information):

Additional context Add any other context about the problem here.