weka.filters.unsupervised.attribute.Discretize

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

weka.filters.unsupervised.attribute.Discretize

sa afef
Hi everyone , i'm using the antminer+ algorithm in which they use the weka.filters.unsupervised.attribute.Discretize i try the code with the iris dataset and it works but when i try my dataset it dosen't work i guess that this filter cannot discritize .
This my data :

41.8241,-41.9204,10.7439,10.7439,abnormal
270.5901,-199.684,60.2395,0.0355,normal
23.6432,-37.9542,9.0756,9.0756,abnormal
176.9294,-127.5427,43.1083,0.8391,normal
546.9005,-287.3905,78.9544,-0.34,abnormal
83.4217,-61.8049,20.9506,-0.5699,normal
280.9994,-242.724,66.8652,0.8622,abnormal
142.2644,-164.3232,43.061,-0.2335,abnormal
Can you please tell me how to fix this?
Thanks.

_______________________________________________
Wekalist mailing list
Send posts to: [hidden email]
List info and subscription status: https://list.waikato.ac.nz/mailman/listinfo/wekalist
List etiquette: http://www.cs.waikato.ac.nz/~ml/weka/mailinglist_etiquette.html
Reply | Threaded
Open this post in threaded view
|

Re: weka.filters.unsupervised.attribute.Discretize

Mark Hall
Antminer appears to be a third-party Weka-based project. It is probably best to contact the authors directly about any issues.

Weka's unsupervised discretization filter does not have any problem with your data though:

krypton:temp mhall$ java weka.filters.unsupervised.attribute.Discretize -i test.arff
@relation test-weka.filters.unsupervised.attribute.Discretize-B10-M-1.0-Rfirst-last

@attribute one {'\'(-inf-75.96893]\'','\'(75.96893-128.29466]\'','\'(128.29466-180.62039]\'','\'(180.62039-232.94612]\'','\'(232.94612-285.27185]\'','\'(285.27185-337.59758]\'','\'(337.59758-389.92331]\'','\'(389.92331-442.24904]\'','\'(442.24904-494.57477]\'','\'(494.57477-inf)\''}
@attribute two {'\'(-inf--262.44687]\'','\'(-262.44687--237.50324]\'','\'(-237.50324--212.55961]\'','\'(-212.55961--187.61598]\'','\'(-187.61598--162.67235]\'','\'(-162.67235--137.72872]\'','\'(-137.72872--112.78509]\'','\'(-112.78509--87.84146]\'','\'(-87.84146--62.89783]\'','\'(-62.89783-inf)\''}
@attribute three {'\'(-inf-16.06348]\'','\'(16.06348-23.05136]\'','\'(23.05136-30.03924]\'','\'(30.03924-37.02712]\'','\'(37.02712-44.015]\'','\'(44.015-51.00288]\'','\'(51.00288-57.99076]\'','\'(57.99076-64.97864]\'','\'(64.97864-71.96652]\'','\'(71.96652-inf)\''}
@attribute four {'\'(-inf-0.56148]\'','\'(0.56148-1.69286]\'','\'(1.69286-2.82424]\'','\'(2.82424-3.95562]\'','\'(3.95562-5.087]\'','\'(5.087-6.21838]\'','\'(6.21838-7.34976]\'','\'(7.34976-8.48114]\'','\'(8.48114-9.61252]\'','\'(9.61252-inf)\''}
@attribute class {abnormal,normal}

@data

'\'(-inf-75.96893]\'','\'(-62.89783-inf)\'','\'(-inf-16.06348]\'','\'(9.61252-inf)\'',abnormal
'\'(232.94612-285.27185]\'','\'(-212.55961--187.61598]\'','\'(57.99076-64.97864]\'','\'(-inf-0.56148]\'',normal
'\'(-inf-75.96893]\'','\'(-62.89783-inf)\'','\'(-inf-16.06348]\'','\'(8.48114-9.61252]\'',abnormal
'\'(128.29466-180.62039]\'','\'(-137.72872--112.78509]\'','\'(37.02712-44.015]\'','\'(0.56148-1.69286]\'',normal
'\'(494.57477-inf)\'','\'(-inf--262.44687]\'','\'(71.96652-inf)\'','\'(-inf-0.56148]\'',abnormal
'\'(75.96893-128.29466]\'','\'(-62.89783-inf)\'','\'(16.06348-23.05136]\'','\'(-inf-0.56148]\'',normal
'\'(232.94612-285.27185]\'','\'(-262.44687--237.50324]\'','\'(64.97864-71.96652]\'','\'(0.56148-1.69286]\'',abnormal
'\'(128.29466-180.62039]\'','\'(-187.61598--162.67235]\'','\'(37.02712-44.015]\'','\'(-inf-0.56148]\'',abnormal

Cheers,
Mark.

On 7/05/17, 9:51 AM, "sa afef" <[hidden email] on behalf of [hidden email]> wrote:

    Hi everyone , i'm using the antminer+ algorithm in which they use the weka.filters.unsupervised.attribute.Discretize i try the code with the iris dataset and it works but when i try my dataset it dosen't work i guess that this filter cannot discritize .This my data :
   
    41.8241,-41.9204,10.7439,10.7439,abnormal
    270.5901,-199.684,60.2395,0.0355,normal
    23.6432,-37.9542,9.0756,9.0756,abnormal
    176.9294,-127.5427,43.1083,0.8391,normal
    546.9005,-287.3905,78.9544,-0.34,abnormal
    83.4217,-61.8049,20.9506,-0.5699,normal
    280.9994,-242.724,66.8652,0.8622,abnormal
    142.2644,-164.3232,43.061,-0.2335,abnormal
   
    Can you please tell me how to fix this?
    Thanks.
   
    _______________________________________________
    Wekalist mailing list
    Send posts to: [hidden email]
    List info and subscription status: https://list.waikato.ac.nz/mailman/listinfo/wekalist
    List etiquette: http://www.cs.waikato.ac.nz/~ml/weka/mailinglist_etiquette.html
   


_______________________________________________
Wekalist mailing list
Send posts to: [hidden email]
List info and subscription status: https://list.waikato.ac.nz/mailman/listinfo/wekalist
List etiquette: http://www.cs.waikato.ac.nz/~ml/weka/mailinglist_etiquette.html