A class implementing Stress Minimization by Majorizing a Complex Function (SMACOF).
Created by IntelliJ IDEA. User: da Date: 10/8/11 Time: 2:43 AM
A class implementing Stress Minimization by Majorizing a Complex Function (SMACOF).
Created by IntelliJ IDEA. User: da Date: 10/8/11 Time: 2:43 AM
01 Syntax
02 Methods
| Name | Overloads | Summary |
|---|---|---|
| .ctor | 2 | Construct a new SMACOF instance. |
| iterate | 2 | Perform majorization iterations until the maximum number of iterations is reached, the maximum runtime has elapsed, or the change in normalized stress falls below the threshold,… |
| majorize | 3 | SMACOF algorithm (weighted). |
| stress | 2 | Compute the absolute stress between a weighted distance matrix and a configuration of coordinates. |
| normalizedStress | 2 | Compute the normlized stress between a weighted distance matrix and a configuration of coordinates. |
03 Properties
| Name | Overloads | Summary |
|---|---|---|
| StressProp | 1 | Compute the absolute stress for this SMACOF instance. |
| NormalizedStressProp | 1 | Compute the normalized stress for this SMACOF instance. |
04 Members
Double()(), Double()(), Double()())Construct a new SMACOF instance.
| Name | Type | Description |
|---|---|---|
d | Double()() | distance matrix |
x | Double()() | initial coordinate matrix |
w | Double()() | weights matrix |
Double()(), Double()())Construct a SMACOF instance without weights.
| Name | Type | Description |
|---|---|---|
d | Double()() | distance matrix |
x | Double()() | initial coordinate matrix |
Int32)Perform n majorization iterations using this SMACOF instance.
| Name | Type | Description |
|---|---|---|
n | Int32 | number of iterations |
report
Int32, Int32)Perform majorization iterations until the maximum number of iterations is reached, the maximum runtime has elapsed, or the change in normalized stress falls below the threshold, whichever comes first.
| Name | Type | Description |
|---|---|---|
iter | Int32 | maximum number of iterations |
threshold | Int32 | threshold for change in normalized stress |
report
Double()(), Double()(), Double()(), Int32, Int32)SMACOF algorithm (weighted).
| Name | Type | Description |
|---|---|---|
x | Double()() | coordinates matrix |
d | Double()() | distance matrix |
w | Double()() | weights matrix |
iter | Int32 | maximum iterations |
threshold | Int32 | halting threshold for change in normalized stress |
report
Double()(), Double()(), Int32, Int32)SMACOF algorithm (unweighted).
| Name | Type | Description |
|---|---|---|
x | Double()() | coordinates matrix |
d | Double()() | distance matrix |
iter | Int32 | maximum iterations |
threshold | Int32 | halting threshold for change in normalized stress |
report
Double()(), Double()(), Double()(), Int32)Bare SMACOF algorithm. Convenient for reading the algorithm.
| Name | Type | Description |
|---|---|---|
x | Double()() | coordinates matrix |
d | Double()() | distance matrix |
w | Double()() | weights matrix |
iter | Int32 | number of iterations |
Double()(), Double()(), Double()())Compute the absolute stress between a weighted distance matrix and a configuration of coordinates.
| Name | Type | Description |
|---|---|---|
d | Double()() | distance matrix |
w | Double()() | weights matrix |
x | Double()() | coordinates matrix |
stress
Double()(), Double()())Compute the absolute stress between a distance matrix and a configuration of coordinates.
| Name | Type | Description |
|---|---|---|
d | Double()() | distance matrix |
x | Double()() | coordinates matrix |
stress
Double()(), Double()(), Double()())Compute the normlized stress between a weighted distance matrix and a configuration of coordinates.
| Name | Type | Description |
|---|---|---|
d | Double()() | distance matrix |
w | Double()() | weights matrix |
x | Double()() | coordinate matrix |
normalized stress
Double()(), Double()())Return the normlized stress between a distance matrix and a configuration of coordinates.
| Name | Type | Description |
|---|---|---|
d | Double()() | distance matrix |
x | Double()() | coordinate matrix |
normalized stress
Compute the absolute stress for this SMACOF instance.
stress
Compute the normalized stress for this SMACOF instance.
normalized stress