Did I find the right examples for you? yes no

# Orange.projection.mds.MDS

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

```
# Run the MDS
mds = Orange.projection.mds.MDS(matrix, dim=3)
mds.torgerson()

```

```            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()
```

```
# Run 100 steps of MDS optimization
mds = Orange.projection.mds.MDS(distance)
mds.run(100)

```

```
# Run the Torgerson approximation and calculate stress
mds = Orange.projection.mds.MDS(matrix)
mds.torgerson()
mds.calc_stress(Orange.projection.mds.KruskalStress)
```

```            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()
```

```
#if self.mds == None:
self.mds = Orange.projection.mds.MDS(matrix)

if mdsFromCurrentPos:
```

```    def __mds_test_helper(self, matrix, proj_dim):