Ohjeah / sparsereg

a collection of modern sparse (regularized) linear regression algorithms.
MIT License
61 stars 21 forks source link

sindy.py - example bug/User error #9

Closed TarenGorman closed 7 years ago

TarenGorman commented 7 years ago

Expected Behavior

example\sindy.py to print score and equations.

Actual Behavior

TypeError: 'tuple' object does not support item assignment

Screenshot of traceback

http://imgur.com/a/s2Ph3

Steps to Reproduce the Problem

In ipython console

  1. runfile('../sparsereg-master/example/sindy.py', wdir='../sparsereg-master/example')

    In powershell

  2. cd to '../sparsereg-master/example/
  3. python sindy.py

    In cmd

  4. cd to '../sparsereg-master/example/
  5. python sindy.py

Specifications

Ohjeah commented 7 years ago

Fixed in ed04f102af845de08f107b97b08f4a31cc8fb72c. Thanks for the report.