Options

m x n non-symmetrical matrix

mansoorbahrianmansoorbahrian Member Posts: 6 Contributor II
edited November 2018 in Help
Dear members,

I have developed an operator which displays the m x n matrices as an output of data transformation algorithms, I am using NumericalMatrix class to display it. It was working in RapidMiner 4.5 but not in 5.0. In RapidMiner 5.0 internally the "DataTableSymmetricalMatrixAdapter" class takes the number of column-names and display matrix accordingly. For example, if the original matrix is 20 x 2 then the displayed matrix is 2 x 2.

Can you please guide me that is there a different way in 5.0 to achieve the desired output?

Best Regards
Mansoor

Answers

  • Options
    landland RapidMiner Certified Analyst, RapidMiner Certified Expert, Member Posts: 2,531 Unicorn
    Hi Mansoor,
    for a quick solution you will need to fix this yourself. You can go along with the class DataTableSymmetricalMatrixAdapter and modify it to allow non symetrical matrices. All you have to do is to correct the method getNumberOfRows. You might also wish to overwrite the getColumnName and getColumnIndex methods to suit your need.

    Greetings,
    ย  Sebastian
Sign In or Register to comment.