How can I set the rows to be the attributes and columns the samples in rapidminer?

折月煮酒 提交于 2019-12-24 07:35:07

问题


I have an excel file with data where the columns are the samples and the rows the attributes. I can't transpose the data, because the rows exceed the maximum number of columns. When I load this data into rapidminer, it automatically sets the columns as attributes and the rows as samples.

How can I set the columns as samples and the rows as attributes?


回答1:


Assuming that you mean that you can't transpose the data in Excel because of the row limitation, the shortest answer is to start your process in RapidMiner with the desired Read operator (Import - Data - Read CSV or Read Excel) and then use the RapidMiner's Transpose operator (Data Transformation - Rotation - Transpose).

Make sure to select "first row as names" in the Read... operator, if appropriate.



来源:https://stackoverflow.com/questions/21089583/how-can-i-set-the-rows-to-be-the-attributes-and-columns-the-samples-in-rapidmine

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!