Re: Adding outliers to our data

javed khan <[email protected]>
Newsgroups gmane.comp.ai.weka
Message-ID <CAJhui+uPwxGyMr84j-pf+PuykRtGU38g2pUGBxj=PHUV9=h_dg@mail.gmail.com>
Thank you Eibe for this.

I will try this expression and I hope it will work.

Best regards

On Tue, Jun 8, 2021 at 2:23 PM Eibe Frank <[email protected]> wrote:

> You can probably do this using an undocumented(?) feature of
> MathExpression. The expression language used in MathExpression (and
> AddExpression) supports calling static Java methods as part of the
> expression (which actually makes the NumericTransform filter in WEKA
> redundant). For example, to add uniform noise +/- 0.5 to your numeric
> target, assuming it is the last attribute in your data, you can use
>
> weka.filters.unsupervised.attribute.MathExpression -E
> "A-0.5+java(\'java.lang.Math\', \'double random()\')" -V -R last
> -unset-class-temporarily
>
> Note that the expression language also supports conditional statements, so
> you can do pretty sophisticated things with it.
>
> Cheers,
> Eibe
>
> On Tue, Jun 8, 2021 at 10:03 PM javed khan <[email protected]> wrote:
>
>> Good day to everyone
>>
>> My question is if it is possible we can add outliers to our
>> regression-based data using Weka explorer?
>>
>> There are indeed some outliers already in my data, but I want some ranges
>> of the outliers i.e. 20%, 40%, 70% and 100% differences from the original
>> data.
>>
>> Best regards
>> Javed
>> _______________________________________________
>> 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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.