589442365d133fb993b4ea14b45a9123c6973e46,lazyflow/operators/obsolete/classifierOperators.py,OpTrainRandomForestBlocked,execute,#OpTrainRandomForestBlocked#Any#Any#Any#,117

Before Change


            finally:
                self.progressSignal(100)
            assert RF is not None, "RF = %r" % RF
            result[0]=RF
        
        return result

    def setInSlot(self, slot, key, value):

After Change


                    def train_and_store(number):
                        result[number] = vigra.learning.RandomForest(self._tree_count) 
                        result[number].learnRF(featMatrix.astype(numpy.float32),labelsMatrix.astype(numpy.uint32))
                    req = Request(partial(train_and_store, i))
                    req.submit()
                    requests.append(req)

                for r in requests:
                    r.wait()
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 7

Instances


Project Name: ilastik/ilastik
Commit Name: 589442365d133fb993b4ea14b45a9123c6973e46
Time: 2012-09-13
Author: christoph.straehle@iwr.uni-heidelberg.de
File Name: lazyflow/operators/obsolete/classifierOperators.py
Class Name: OpTrainRandomForestBlocked
Method Name: execute


Project Name: ilastik/ilastik
Commit Name: 890dcf0662a1150b7ea70a8d6af89c5d3cf8d343
Time: 2019-05-07
Author: k-dominik@users.noreply.github.com
File Name: ilastik/workflows/carving/carvingGui.py
Class Name: CarvingGui
Method Name: _exportMeshes


Project Name: ilastik/ilastik
Commit Name: efd6b7c39fbefbb1e6f5fdc67ff1d2c64f65d46e
Time: 2012-09-13
Author: christoph.straehle@iwr.uni-heidelberg.de
File Name: lazyflow/operators/obsolete/classifierOperators.py
Class Name: OpTrainRandomForest
Method Name: getOutSlot