Community & Support
Learn
Marketplace
Discussions
Categories
Discussions
General
Platform
Academic
Partner
Regional
User Groups
Documentation
Events
Altair Exchange
Share or Download Projects
Resources
News & Instructions
Programs
YouTube
Employee Resources
This tab can be seen by employees only. Please do not share these resources externally.
Groups
Join a User Group
Support
Altair RISE
A program to recognize and reward our most engaged community members
Nominate Yourself Now!
Home
Discussions
Community Q&A
[Solved] Convert regular attribute to label?
indu625
Hi,
I used the R extension and wrote an R script that removes the label attribute from a set, does some transforming, then concatenates the label with the rest of the data.
ie) x <- dataSet[,2]
y <- {some processing of x}
resultSet <- cbind( dataSet[,1] , y) ##here dataSet[,1] is the label
The problem is that when I do this, the attribute changes from label to just a normal attribute. My question is, is the a way to convert a normal attribute to a label?
Thanks in advance,
I
Find more posts tagged with
AI Studio
Accepted answers
All comments
MariusHelf
Hi I,
you can use the Set Role operator for that. Just select the attribute which should be the label and set its role to "label".
For an introduction of RapidMiner's basic concepts please have a look at our documentation material and the video tutorials in the post linked in my signature.
All the best,
Marius
Quick Links
All Categories
Recent Discussions
Activity
Unanswered
日本語 (Japanese)
한국어(Korean)
Groups