Did I find the right examples for you? yes no

All Samples(9)  |  Call(9)  |  Derive(0)  |  Import(0)

src/o/r/Orange-2.7.2/docs/reference/rst/code/mds-euclid-torgerson-3d.py   Orange(Download)
 
# Run the MDS
mds = Orange.projection.mds.MDS(matrix, dim=3)
mds.torgerson()
 

src/o/r/Orange-2.7.2/Orange/OrangeWidgets/VisualizeQt/OWNxCanvas3D.py   Orange(Download)
            distances = distances.avgLinkage(components)
 
        mds = Orange.projection.mds.MDS(distances)
        mds.optimize(10, Orange.projection.mds.SgnRelStress, 0)
        rect = self.data_rect()
 
        distances.matrixType = Orange.core.SymMatrix.Symmetric
        mds = Orange.projection.mds.MDS(distances)
        mds.optimize(10, Orange.projection.mds.SgnRelStress, 0)
        rect = self.data_rect()

src/o/r/Orange-2.7.2/docs/reference/rst/code/mds-scatterplot.py   Orange(Download)
 
# Run 100 steps of MDS optimization
mds = Orange.projection.mds.MDS(distance)
mds.run(100)
 

src/o/r/Orange-2.7.2/docs/reference/rst/code/mds-advanced.py   Orange(Download)
 
# Run the Torgerson approximation and calculate stress
mds = Orange.projection.mds.MDS(matrix)
mds.torgerson()
mds.calc_stress(Orange.projection.mds.KruskalStress)

src/o/r/Orange-Network-0.3.2/orangecontrib/network/widgets/OWNxCanvasQt.py   Orange-Network(Download)
            return 0
 
        mds = projection.mds.MDS(distances)
        mds.optimize(10, projection.mds.SgnRelStress, 0)
        rect = self.data_rect()
 
        distances.matrixType = core.SymMatrix.Symmetric
        mds = projection.mds.MDS(distances)
        mds.optimize(10, projection.mds.SgnRelStress, 0)
        rect = self.data_rect()

src/o/r/Orange-Network-0.3.2/orangecontrib/network/network.py   Orange-Network(Download)
 
        #if self.mds == None: 
        self.mds = Orange.projection.mds.MDS(matrix)
 
        if mdsFromCurrentPos:

src/o/r/Orange-2.7.2/Orange/testing/unit/tests/test_mds.py   Orange(Download)
    def __mds_test_helper(self, matrix, proj_dim):
        proj = mds.MDS(matrix, dim=proj_dim)
        proj.torgerson()
        proj.smacof_step()
        proj.run(100)