Created
May 16, 2012 03:10
-
-
Save laserson/2707012 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
AttributeError Traceback (most recent call last) | |
/n/Church_Lab/laserson/MS_HIV_HiSeq_data_20120113/<ipython console> in <module>() | |
/n/home00/laserson/local-site-packages/nimfa-1.0-py2.7.egg/nimfa/mf_run.pyc in mf_run(mf_model) | |
166 if repr(mf_model) not in l_factorization: | |
167 raise utils.MFError("Unrecognized MF method.") | |
--> 168 return mf_model.run() | |
169 | |
170 def _compatibility(mf_model): | |
/n/home00/laserson/local-site-packages/nimfa-1.0-py2.7.egg/nimfa/models/nmf.pyc in run(self) | |
123 def run(self): | |
124 """Run the specified MF algorithm.""" | |
--> 125 return self.factorize() | |
126 | |
127 def basis(self): | |
/n/home00/laserson/local-site-packages/nimfa-1.0-py2.7.egg/nimfa/methods/factorization/nmf.pyc in factorize(self) | |
81 mffit = mf_fit.Mf_fit(self) | |
82 self.callback_init(mffit) | |
---> 83 while self.is_satisfied(p_obj, c_obj, iter): | |
84 p_obj = c_obj if not self.test_conv or iter % self.test_conv == 0 else p_obj | |
85 self.update() | |
/n/home00/laserson/local-site-packages/nimfa-1.0-py2.7.egg/nimfa/methods/factorization/nmf.pyc in is_satisfied(self, p_obj, c_obj, iter) | |
123 return True | |
124 if self.conn_change != None: | |
--> 125 return self.__is_satisfied(p_obj, c_obj, iter) | |
126 if self.min_residuals and iter > 0 and p_obj - c_obj < self.min_residuals: | |
127 return False | |
/n/home00/laserson/local-site-packages/nimfa-1.0-py2.7.egg/nimfa/methods/factorization/nmf.pyc in __is_satisfied(self, p_obj, c_obj, iter) | |
144 :type iter: `int` | |
145 """ | |
--> 146 self._conn_change = 0 if c_obj == 1 else self._conn_change + 1 | |
147 if self._conn_change >= self.conn_change: | |
148 return False | |
AttributeError: 'Nmf' object has no attribute '_conn_change' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment