You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
~/anaconda3/envs/ml/lib/python3.6/site-packages/FEW-0.0.38-py3.6-macosx-10.7-x86_64.egg/few/few.py in transform(self, x, inds, labels)
395 # return np.asarray(Parallel(n_jobs=10)(delayed(self.out)(I,x,labels,self.otype) for I in self._best_inds)).transpose()
396 return np.asarray(
--> 397 [self.out(I,x,labels,self.otype) for I in self._best_inds]).transpose()
398
399
TypeError: 'NoneType' object is not iterable
The text was updated successfully, but these errors were encountered:
looks like you're using an old version of FEW (0.0.38). (Did that get installed when you ran pip install few? It shouldn't.) The latest version is 0.0.46 (0.0.48 on github), and fixes this issue.
If original features are found by FEW, transform() method fails with TypeError
eg:
Model: original features
TypeError Traceback (most recent call last)
in ()
----> 1 Phi = learner.transform(X_test.values)
~/anaconda3/envs/ml/lib/python3.6/site-packages/FEW-0.0.38-py3.6-macosx-10.7-x86_64.egg/few/few.py in transform(self, x, inds, labels)
395 # return np.asarray(Parallel(n_jobs=10)(delayed(self.out)(I,x,labels,self.otype) for I in self._best_inds)).transpose()
396 return np.asarray(
--> 397 [self.out(I,x,labels,self.otype) for I in self._best_inds]).transpose()
398
399
TypeError: 'NoneType' object is not iterable
The text was updated successfully, but these errors were encountered: