Re: Normalize a few features (not all)

Peter Reutemann <[email protected]> Fri, 12 Aug 2022 04:04:15 +0000 (UTC)
Newsgroups gmane.comp.ai.weka
Message-ID <[email protected]>
Yes, that's expected behavior. Since you can specify an arbitrary number of filters (even acting.om the same attributes), these prefixes ensure that there is no clash in attribute names.

You can always use multiple RenameAttribute filters afterwards to fix this.

Use the MultiFilter to combine all these.

Cheers, Peter
--
Peter Reutemann
Dept. of Computer Science
University of Waikato, NZ
+64 (7) 858-5174 (office)
+64 (7) 577-5304 (home office)
http://www.cs.waikato.ac.nz/~fracpete/
http://www.data-mining.co.nz/

Aug 12, 2022 15:03:45 Neha gupta <[email protected]>:

> Hello Peter
> 
> When I apply the filter, why do I get the names of the features like "filtered-0-version", "filtered-0-loc", "filtered-0-wmc etc", rather than simply the features like version, loc, wmc etc. 
> 
> Best regards
> 
> On Wed, Aug 10, 2022 at 12:06 PM Neha gupta <[email protected]> wrote:
>> Thank you Peter for the useful information.
>> 
>> Best regards
>> 
>> On Wed, Aug 10, 2022 at 11:01 AM Peter Reutemann <[email protected]> wrote:
>>> 1-6,8-12
>>> 
>>> Cjeers, Peter
>>> --
>>> Peter Reutemann
>>> Dept. of Computer Science
>>> University of Waikato, NZ
>>> +64 (7) 858-5174 (office)
>>> +64 (7) 577-5304 (home office)
>>> http://www.cs.waikato.ac.nz/~fracpete/
>>> http://www.data-mining.co.nz/
>>> 
>>> Aug 10, 2022 20:43:35 Neha gupta <[email protected]>:
>>> 
>>>> How to specify the range, if we have features 1-12 and we want to normalize all features except number 7.
>>>> 
>>>> On Wed, Aug 10, 2022 at 3:17 AM Peter Reutemann <[email protected]> wrote:
>>>>>> In Weka explorer, is it possible I normalize only selected input features and not all?
>>>>>>
>>>>>> My requirement is to normalize all features except one, so can I do that?
>>>>> 
>>>>> You can use the PartitionedMultiFilter for that:
>>>>> https://weka.sourceforge.io/doc.dev/weka/filters/unsupervised/attribute/PartitionedMultiFilter.html
>>>>> 
>>>>> This meta-filter allows you to define attribute ranges and their
>>>>> associated filters. Just specify the correct range of attributes that
>>>>> you want to normalize and use Normalize as the filter.
>>>>> By default, all attributes not covered by the ranges will just be copied across.
>>>>> 
>>>>> Cheers, Peter
>>>>> -- 
>>>>> Peter Reutemann
>>>>> Dept. of Computer Science
>>>>> University of Waikato, NZ
>>>>> +64 (7) 858-5174 (office)
>>>>> +64 (7) 577-5304 (home office)
>>>>> https://www.cs.waikato.ac.nz/~fracpete/
>>>>> http://www.data-mining.co.nz/
>>>>> _______________________________________________
>>>>> Wekalist mailing list -- [email protected]
>>>>> Send posts to [email protected]
>>>>> To unsubscribe send an email to [email protected]
>>>>> To subscribe, unsubscribe, etc., visit https://list.waikato.ac.nz/postorius/lists/wekalist.list.waikato.ac.nz
>>>>> List etiquette: http://www.cs.waikato.ac.nz/~ml/weka/mailinglist_etiquette.html
>>> _______________________________________________
>>> Wekalist mailing list -- [email protected]
>>> Send posts to [email protected]
>>> To unsubscribe send an email to [email protected]
>>> To subscribe, unsubscribe, etc., visit https://list.waikato.ac.nz/postorius/lists/wekalist.list.waikato.ac.nz
>>> List etiquette: http://www.cs.waikato.ac.nz/~ml/weka/mailinglist_etiquette.html

_______________________________________________
Wekalist mailing list -- [email protected]
Send posts to [email protected]
To unsubscribe send an email to [email protected]
To subscribe, unsubscribe, etc., visit https://list.waikato.ac.nz/postorius/lists/wekalist.list.waikato.ac.nz
List etiquette: http://www.cs.waikato.ac.nz/~ml/weka/mailinglist_etiquette.html