Apply Numeric2Polynominal (or other preprocessing operators) on feature subsets
nicugeorgian
MemberPosts:31Guru
Hi,
I know that the operatorNumeric2Polynominalmapsallattributes' numeric values to the corresponding nominal values. If I understood correctly, it'sonlythe attributes' values that are mapped, and not the label (whose numerical value is to be predicted).
Is there a way (or an operator) to maponly的数值someattributes to the corresponding nominal values? I would actually need it for all but one attribute.
Thanks,
Geo
I know that the operatorNumeric2Polynominalmapsallattributes' numeric values to the corresponding nominal values. If I understood correctly, it'sonlythe attributes' values that are mapped, and not the label (whose numerical value is to be predicted).
Is there a way (or an operator) to maponly的数值someattributes to the corresponding nominal values? I would actually need it for all but one attribute.
Thanks,
Geo
0
Answers
yes, for this purpose the operator "AttributeSubsetPreprocessing" can be used. The attributes on which the inner operators should be applied can be defined via regular expressions. This example applies a discretization on all attributes but on attribute "att3": Cheers,
Ingo