Transpose
Synopsis
This operator transposes the input ExampleSet i.e. the current rows become columns of the output ExampleSet and current columns become rows of the output ExampleSet. This operator works very similar to the well known transpose operation for matrices.
Description
This operator transposes the input ExampleSet i.e. the current rows become the columns of the output ExampleSet and the current columns become the rows of the output ExampleSet. In other words every example or row becomes a column with attribute values and each attribute column becomes an example row. This operator works very similar to the well known transpose operation for matrices. The transpose of a transpose of a matrix is same as the original matrix, but the same rule cannot be applied here because the types of the original ExampleSet and the transpose of the transpose of an ExampleSet may be different.
If anidattribute is part of the input ExampleSet, theidswill become the names of the new attributes. The names of the old attributes will be transformed into theidvalues of a newidattribute. All other new attributes will haveregularrole after the transformation. You can use the
operator after the transpose operator to assign roles to new attributes.
如果所有旧属性甲型肝炎e the same value type, all new attributes will have the same value type. If at least one nominal attribute is part of the input ExampleSet, the type of all new attributes will be nominal. If the old attribute values were all mixed numbers, the type of all new attributes will be real. This operator produces a copy of the data in the main memory. Therefore, it should not be used on very large data sets.
Input
example set input
This input port expects an ExampleSet. It is output of the Retrieve operator in the attached Example Process.
Output
example set output
The transpose of the input ExampleSet is output of this port.
original
The ExampleSet that was given as input is passed without changing to the output through this port. This is usually used to reuse the same ExampleSet in further operators or to view the ExampleSet in the Results Workspace.