Altair RISE
A program to recognize and reward our most engaged community members
Nominate Yourself Now!
Home
Discussions
Community Q&A
how to pass multiple key and value in filter example dynamically
sgnarkhede2016
Hello ,
I have four column
Attr_1 Attr_2 Attr_3 Attr_4
name Sachin product Credit Card;Insurence
In above four column Attr_1 and Attr_3 are Key and Attr_2 and Attr_4 values of of these key.
I want to store that key and values in macro then pass to filter example operator.how can i do that
Thanks,
Sachin N
Find more posts tagged with
AI Studio
Filtering
Accepted answers
All comments
Telcontar120
Your question is a bit unclear but you can do this in a variety of ways in RapidMiner. One approach would be to use Extract Macro or Generate Macro and Loop Examples to set these macros for each example in your dataset and then do whatever you are planning with this macro.
sgnarkhede2016
hello,
Problem is first case ,I have four column
Attr_1 Attr_2 Attr_3 Attr_4
name Sachin product Credit Card;Insurence
next iteration I have two column
Attr_1 Attr_2
name Sachin
if i used extract macro then first case it works but in second getting error Attr_3 and Attr_4 not present
Telcontar120
You can fix this if you harmonize your dataset to ensure that all records have the same attributes, even if they are blank or missing.
Quick Links
All Categories
Recent Discussions
Activity
Unanswered
日本語 (Japanese)
한국어(Korean)
Groups