dvdmjohnson / d3m_michigan_primitives

Contains primitives developed by the University of Michigan team as part of the Data Driven Discovery (D3M) project
Other
2 stars 0 forks source link

Update GRASTA and GROUSE #40

Closed rszeto closed 4 years ago

rszeto commented 4 years ago

See #38

rszeto commented 4 years ago

@kgilman Code is not indented properly, so genjson.py fails. Please push properly-indented code to the Kyle branch.

Please run the internal tests and pipelines before pushing.

root@07d9899fa274:/spider# michigan-private/genjson.py 
Traceback (most recent call last):
  File "michigan-private/genjson.py", line 13, in <module>
    import spider.pipelines as spls
  File "/spider/spider/pipelines/__init__.py", line 2, in <module>
    from .GRASTAAutoMPGPipeline import GRASTAAutoMPGPipeline
  File "/spider/spider/pipelines/GRASTAAutoMPGPipeline.py", line 5, in <module>
    from spider.unsupervised_learning.grasta import GRASTA
  File "/spider/spider/unsupervised_learning/grasta/__init__.py", line 12, in <module>
    from .grasta import GRASTA, GRASTAHyperparams
  File "/spider/spider/unsupervised_learning/grasta/grasta.py", line 77
    self.admm_max_itr = admm_max_itr
       ^
IndentationError: expected an indented block
rszeto commented 4 years ago

GRASTA test fails.

======================================================================
FAIL: test (spider.tests.grasta_test.Test_GRASTA)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/spider/spider/tests/grasta_test.py", line 104, in test
    self.assertLess(U_err , 1e-5)
AssertionError: 1.5516924648611677e-05 not less than 1e-05

----------------------------------------------------------------------