[SOLVED] how to generate constant attribute that is function of example set


Is there a way to generate a constant attribute that is, for example, the median of some other attribute in the entire example set? For example, with input example set
1
2
3
4
5
generate median attribute to obtain
1, 3
2, 3
3, 3
4, 3
5, 3
Thanks
Isak
1
2
3
4
5
generate median attribute to obtain
1, 3
2, 3
3, 3
4, 3
5, 3
Thanks
Isak
0
Answers
Here's an example regards
Andrew
Summary: use Extract Macro operator, and generate new attribute using extracted macro.