5b58ab5c45be8923e5d74e3bc84101be1ad13066,Orange/widgets/unsupervised/owmds.py,OWMDS,_setup_plot,#OWMDS#,749

Before Change


                self._similar_pairs = fpairs = numpy.empty(2 * p, dtype=int)
                fpairs[::2] = indcs[0][sorted]
                fpairs[1::2] = indcs[1][sorted]
            for i in range(int(len(emb_x[self._similar_pairs]) / 2)):
                item = QGraphicsLineItem(
                    emb_x[self._similar_pairs][i * 2],
                    emb_y[self._similar_pairs][i * 2],

After Change


            emb_x_pairs = emb_x_pairs[pairs_mask, :]
            emb_y_pairs = emb_y_pairs[pairs_mask, :]

            curve = pg.PlotCurveItem(
                emb_x_pairs.ravel(), emb_y_pairs.ravel(),
                pen=pg.mkPen(0.8, width=2, cosmetic=True),
                connect="pairs", antialias=True)
            self.plot.addItem(curve)

        data = numpy.arange(size)
        self._scatter_item = item = ScatterPlotItem(
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: biolab/orange3
Commit Name: 5b58ab5c45be8923e5d74e3bc84101be1ad13066
Time: 2017-08-21
Author: ales.erjavec@fri.uni-lj.si
File Name: Orange/widgets/unsupervised/owmds.py
Class Name: OWMDS
Method Name: _setup_plot


Project Name: NeuromorphicProcessorProject/snn_toolbox
Commit Name: 9b254aaf76efaa0a3789a67137c9817684862cf9
Time: 2019-07-11
Author: bodo.rueckauer@intel.com
File Name: snntoolbox/simulation/target_simulators/loihi_target_sim.py
Class Name: SNN
Method Name: set_inputs


Project Name: Pinafore/qb
Commit Name: a6b5bd922d228e07177465cf4eca058954d3f8ad
Time: 2016-07-29
Author: mkhooja@gmail.com
File Name: qanta/guesser/classify/learn_classifiers.py
Class Name:
Method Name: compute_recall_accuracy