Contents - Index


DATA >ATTRIBUTE

PURPOSE Create a network from attribute data.

DESCRIPTION Convert a vector of valued attributes to a matrix based upon either exact matches, differences, absolute differences, squared differences, product or sums of the values.

PARAMETERS
Dataset containing attribute vector: 
Name of data file containing vector of valued attributes. This vector must be a row or column of a matrix , it can be the only row or column. Data type: Matrix 
    
Vector is Row or Column?:
Choose either row or column

Which Row/Col (Default = 1)
The number of the row or column that contains the attributes to be converted.
  
Method: (Default = Absolute Difference).
Choices are:

Exact Matches 
Matrix X is formed by X(i,j) = 1 if vector(i) = vector(j) and 0 otherwise.

Difference
Matrix X is formed by X(i,j) = vector(i) - vector(j).

Absolute Difference
Matrix X is formed by X(i,j) = ABS (Vector(i) - vector(j)).

Squared Difference
Matrix X is formed by X(i,j) = (vector(i) - vector(j))^2.

Product
Matrix X is formed by X(i,j) = vector(i) * vector(j).

Sum
Matrix X is formed by X(i,j) = vector(i) + vector(j).

Output dataset: 
Name of file which contains constructed matrix.


LOG FILE Constructed matrix.

TIMING O(N^2).

COMMENTS None.

REFERENCES None.