Hi, all
I recently executed the filter replace missing values, without the parameter
-unset-class-temporarily and with parameter -unset-class-temporarily
exactly:
java -classpath ./weka.jar
weka.filters.unsupervised.attribute.ReplaceMissingValues
-unset-class-temporarily -i withmissingvalues.arff -o
outputwithoutclass.arff
java -classpath ./weka.jar
weka.filters.unsupervised.attribute.ReplaceMissingValues -i
withmissingvalues.arff -o outputwithclass.arff
but both executions, his output file are same on content. It's this
behavior normal?
weka version: 3.6.7
java version "1.7.0_03"
Grettings.
Jennifer.
The difference will only be seen if you have missing values in your class
attribute. Missing class attributes will be replaced if you unset the class
- otherwise the class values will be left alone.
HTH,
/paul
On Thu, Jun 7, 2012 at 8:33 AM, Jennifer Maldonado <>wrote:
> Hi, all
>
> I recently executed the filter replace missing values, without the parameter
> -unset-class-temporarily and with parameter -unset-class-temporarily
> exactly:
>
> java -classpath ./weka.jar
> weka.filters.unsupervised.attribute.ReplaceMissingValues
> -unset-class-temporarily -i withmissingvalues.arff -o
> outputwithoutclass.arff
> java -classpath ./weka.jar
> weka.filters.unsupervised.attribute.ReplaceMissingValues -i
> withmissingvalues.arff -o outputwithclass.arff
>
> but both executions, his output file are same on content. It's this
> behavior normal?
> weka version: 3.6.7
> java version "1.7.0_03"
>
> Grettings.
> Jennifer.
>
>
>
> _______________________________________________
> Wekalist mailing list
> Send posts to:
> List info and subscription status:
> https://list.scms.waikato.ac.nz/mailman/listinfo/wekalist
> List etiquette:
> http://www.cs.waikato.ac.nz/~ml/weka/mailinglist_etiquette.html
>
>
--
For all your kids (or young at heart) gift needs visit
www.testedonchildren.co.nz
Tested on Children we believe is the Funnist Internet Based Toy Shop in the
world and we not only give you all the top branded products but also help
you discover products that you never knew existed.
Hi,
well, the file has missing values in the class attribute, but nothing, is
the same content between the them (outputs).
Grettings.
thanks.
Jennifer.
2012/6/6 Paul <>
> The difference will only be seen if you have missing values in your class
> attribute. Missing class attributes will be replaced if you unset the class
> - otherwise the class values will be left alone.
>
> HTH,
>
> /paul
>
>
> On Thu, Jun 7, 2012 at 8:33 AM, Jennifer Maldonado <>wrote:
>
>> Hi, all
>>
>> I recently executed the filter replace missing values, without the parameter
>> -unset-class-temporarily and with parameter -unset-class-temporarily
>> exactly:
>>
>> java -classpath ./weka.jar
>> weka.filters.unsupervised.attribute.ReplaceMissingValues
>> -unset-class-temporarily -i withmissingvalues.arff -o
>> outputwithoutclass.arff
>> java -classpath ./weka.jar
>> weka.filters.unsupervised.attribute.ReplaceMissingValues -i
>> withmissingvalues.arff -o outputwithclass.arff
>>
>> but both executions, his output file are same on content. It's this
>> behavior normal?
>> weka version: 3.6.7
>> java version "1.7.0_03"
>>
>> Grettings.
>> Jennifer.
>>
>>
>>
>> _______________________________________________
>> Wekalist mailing list
>> Send posts to:
>> List info and subscription status:
>> https://list.scms.waikato.ac.nz/mailman/listinfo/wekalist
>> List etiquette:
>> http://www.cs.waikato.ac.nz/~ml/weka/mailinglist_etiquette.html
>>
>>
>
>
> --
>
> For all your kids (or young at heart) gift needs visit
> www.testedonchildren.co.nz
>
> Tested on Children we believe is the Funnist Internet Based Toy Shop in
> the world and we not only give you all the top branded products but also
> help you discover products that you never knew existed.
>
>
> _______________________________________________
> Wekalist mailing list
> Send posts to:
> List info and subscription status:
> https://list.scms.waikato.ac.nz/mailman/listinfo/wekalist
> List etiquette:
> http://www.cs.waikato.ac.nz/~ml/weka/mailinglist_etiquette.html
>
>
That does seem strange. However when using the command line (although not
intuitive) you have to define which attribute is the class. If you change
your commands to the following (assuming your class value is the last
attribute) it should work as design.
java -classpath ./weka.jar
weka.filters.unsupervised.attribute.ReplaceMissingValues *-c
last*-unset-class-temporarily -i withmissingvalues.arff -o
outputwithoutclass.arff
java -classpath ./weka.jar
weka.filters.unsupervised.attribute.ReplaceMissingValues *-c last* -i
withmissingvalues.arff -o outputwithclass.arff
HTH,
/paul
On Thu, Jun 7, 2012 at 9:25 AM, Jennifer Maldonado <>wrote:
> Hi,
> well, the file has missing values in the class attribute, but nothing, is
> the same content between the them (outputs).
>
> Grettings.
>
> thanks.
> Jennifer.
>
>
>
>
>
> 2012/6/6 Paul <>
>
>> The difference will only be seen if you have missing values in your class
>> attribute. Missing class attributes will be replaced if you unset the class
>> - otherwise the class values will be left alone.
>>
>> HTH,
>>
>> /paul
>>
>>
>> On Thu, Jun 7, 2012 at 8:33 AM, Jennifer Maldonado <>wrote:
>>
>>> Hi, all
>>>
>>> I recently executed the filter replace missing values, without the parameter
>>> -unset-class-temporarily and with parameter -unset-class-temporarily
>>> exactly:
>>>
>>> java -classpath ./weka.jar
>>> weka.filters.unsupervised.attribute.ReplaceMissingValues
>>> -unset-class-temporarily -i withmissingvalues.arff -o
>>> outputwithoutclass.arff
>>> java -classpath ./weka.jar
>>> weka.filters.unsupervised.attribute.ReplaceMissingValues -i
>>> withmissingvalues.arff -o outputwithclass.arff
>>>
>>> but both executions, his output file are same on content. It's this
>>> behavior normal?
>>> weka version: 3.6.7
>>> java version "1.7.0_03"
>>>
>>> Grettings.
>>> Jennifer.
>>>
>>>
>>>
>>> _______________________________________________
>>> Wekalist mailing list
>>> Send posts to:
>>> List info and subscription status:
>>> https://list.scms.waikato.ac.nz/mailman/listinfo/wekalist
>>> List etiquette:
>>> http://www.cs.waikato.ac.nz/~ml/weka/mailinglist_etiquette.html
>>>
>>>
>>
>>
>> --
>>
>> For all your kids (or young at heart) gift needs visit
>> www.testedonchildren.co.nz
>>
>> Tested on Children we believe is the Funnist Internet Based Toy Shop in
>> the world and we not only give you all the top branded products but also
>> help you discover products that you never knew existed.
>>
>>
>> _______________________________________________
>> Wekalist mailing list
>> Send posts to:
>> List info and subscription status:
>> https://list.scms.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:
> List info and subscription status:
> https://list.scms.waikato.ac.nz/mailman/listinfo/wekalist
> List etiquette:
> http://www.cs.waikato.ac.nz/~ml/weka/mailinglist_etiquette.html
>
>
--
For all your kids (or young at heart) gift needs visit
www.testedonchildren.co.nz
Tested on Children we believe is the Funnist Internet Based Toy Shop in the
world and we not only give you all the top branded products but also help
you discover products that you never knew existed.
2012/6/6 Paul <>
> That does seem strange. However when using the command line (although not
> intuitive) you have to define which attribute is the class. If you change
> your commands to the following (assuming your class value is the last
> attribute) it should work as design.
>
> java -classpath ./weka.jar
> weka.filters.unsupervised.attribute.ReplaceMissingValues *-c last*-unset-class-temporarily -i withmissingvalues.arff -o
> outputwithoutclass.arff
> java -classpath ./weka.jar
> weka.filters.unsupervised.attribute.ReplaceMissingValues *-c last* -i
> withmissingvalues.arff -o outputwithclass.arff
>
>
well, I probed again and nothing, I think that functionality is not
working..
thanks
Jennifer.
HTH,
> /paul
>
>
>
> On Thu, Jun 7, 2012 at 9:25 AM, Jennifer Maldonado <>wrote:
>
>> Hi,
>> well, the file has missing values in the class attribute, but nothing,
>> is the same content between the them (outputs).
>>
>> Grettings.
>>
>> thanks.
>> Jennifer.
>>
>>
>>
>>
>>
>> 2012/6/6 Paul <>
>>
>>> The difference will only be seen if you have missing values in your
>>> class attribute. Missing class attributes will be replaced if you unset the
>>> class - otherwise the class values will be left alone.
>>>
>>> HTH,
>>>
>>> /paul
>>>
>>>
>>> On Thu, Jun 7, 2012 at 8:33 AM, Jennifer Maldonado <>wrote:
>>>
>>>> Hi, all
>>>>
>>>> I recently executed the filter replace missing values, without the parameter
>>>> -unset-class-temporarily and with parameter -unset-class-temporarily
>>>> exactly:
>>>>
>>>> java -classpath ./weka.jar
>>>> weka.filters.unsupervised.attribute.ReplaceMissingValues
>>>> -unset-class-temporarily -i withmissingvalues.arff -o
>>>> outputwithoutclass.arff
>>>> java -classpath ./weka.jar
>>>> weka.filters.unsupervised.attribute.ReplaceMissingValues -i
>>>> withmissingvalues.arff -o outputwithclass.arff
>>>>
>>>> but both executions, his output file are same on content. It's this
>>>> behavior normal?
>>>> weka version: 3.6.7
>>>> java version "1.7.0_03"
>>>>
>>>> Grettings.
>>>> Jennifer.
>>>>
>>>>
>>>>
>>>> _______________________________________________
>>>> Wekalist mailing list
>>>> Send posts to:
>>>> List info and subscription status:
>>>> https://list.scms.waikato.ac.nz/mailman/listinfo/wekalist
>>>> List etiquette:
>>>> http://www.cs.waikato.ac.nz/~ml/weka/mailinglist_etiquette.html
>>>>
>>>>
>>>
>>>
>>> --
>>>
>>> For all your kids (or young at heart) gift needs visit
>>> www.testedonchildren.co.nz
>>>
>>> Tested on Children we believe is the Funnist Internet Based Toy Shop in
>>> the world and we not only give you all the top branded products but also
>>> help you discover products that you never knew existed.
>>>
>>>
>>> _______________________________________________
>>> Wekalist mailing list
>>> Send posts to:
>>> List info and subscription status:
>>> https://list.scms.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:
>> List info and subscription status:
>> https://list.scms.waikato.ac.nz/mailman/listinfo/wekalist
>> List etiquette:
>> http://www.cs.waikato.ac.nz/~ml/weka/mailinglist_etiquette.html
>>
>>
>
>
> --
>
> For all your kids (or young at heart) gift needs visit
> www.testedonchildren.co.nz
>
> Tested on Children we believe is the Funnist Internet Based Toy Shop in
> the world and we not only give you all the top branded products but also
> help you discover products that you never knew existed.
>
>
> _______________________________________________
> Wekalist mailing list
> Send posts to:
> List info and subscription status:
> https://list.scms.waikato.ac.nz/mailman/listinfo/wekalist
> List etiquette:
> http://www.cs.waikato.ac.nz/~ml/weka/mailinglist_etiquette.html
>
>
Just to clarify - I've attached the three files I used to experiment with
this. 1 input file (modified iris dataset ARFF) and two output files (one
with the class left along, the other with the class temporarily unset).
Below are the two commands I used to generate the output:
weka.filters.unsupervised.attribute.ReplaceMissingValues -c last
-unset-class-temporarily -i MissingClassiris.arff -o ReplacedClass.arff
weka.filters.unsupervised.attribute.ReplaceMissingValues -c last -i
MissingClassiris.arff -o NO_ReplacedClass.arff
/paul
On Thu, Jun 7, 2012 at 11:35 AM, Jennifer Maldonado <>wrote:
>
> 2012/6/6 Paul <>
>
>> That does seem strange. However when using the command line (although not
>> intuitive) you have to define which attribute is the class. If you change
>> your commands to the following (assuming your class value is the last
>> attribute) it should work as design.
>>
>> java -classpath ./weka.jar
>> weka.filters.unsupervised.attribute.ReplaceMissingValues *-c last*-unset-class-temporarily -i withmissingvalues.arff -o
>> outputwithoutclass.arff
>> java -classpath ./weka.jar
>> weka.filters.unsupervised.attribute.ReplaceMissingValues *-c last* -i
>> withmissingvalues.arff -o outputwithclass.arff
>>
>>
> well, I probed again and nothing, I think that functionality is not
> working..
>
> thanks
>
> Jennifer.
>
> HTH,
>> /paul
>>
>>
>>
>> On Thu, Jun 7, 2012 at 9:25 AM, Jennifer Maldonado <>wrote:
>>
>>> Hi,
>>> well, the file has missing values in the class attribute, but nothing,
>>> is the same content between the them (outputs).
>>>
>>> Grettings.
>>>
>>> thanks.
>>> Jennifer.
>>>
>>>
>>>
>>>
>>>
>>> 2012/6/6 Paul <>
>>>
>>>> The difference will only be seen if you have missing values in your
>>>> class attribute. Missing class attributes will be replaced if you unset the
>>>> class - otherwise the class values will be left alone.
>>>>
>>>> HTH,
>>>>
>>>> /paul
>>>>
>>>>
>>>> On Thu, Jun 7, 2012 at 8:33 AM, Jennifer Maldonado <>wrote:
>>>>
>>>>> Hi, all
>>>>>
>>>>> I recently executed the filter replace missing values, without the parameter
>>>>> -unset-class-temporarily and with parameter -unset-class-temporarily
>>>>> exactly:
>>>>>
>>>>> java -classpath ./weka.jar
>>>>> weka.filters.unsupervised.attribute.ReplaceMissingValues
>>>>> -unset-class-temporarily -i withmissingvalues.arff -o
>>>>> outputwithoutclass.arff
>>>>> java -classpath ./weka.jar
>>>>> weka.filters.unsupervised.attribute.ReplaceMissingValues -i
>>>>> withmissingvalues.arff -o outputwithclass.arff
>>>>>
>>>>> but both executions, his output file are same on content. It's this
>>>>> behavior normal?
>>>>> weka version: 3.6.7
>>>>> java version "1.7.0_03"
>>>>>
>>>>> Grettings.
>>>>> Jennifer.
>>>>>
>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> Wekalist mailing list
>>>>> Send posts to:
>>>>> List info and subscription status:
>>>>> https://list.scms.waikato.ac.nz/mailman/listinfo/wekalist
>>>>> List etiquette:
>>>>> http://www.cs.waikato.ac.nz/~ml/weka/mailinglist_etiquette.html
>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>>
>>>> For all your kids (or young at heart) gift needs visit
>>>> www.testedonchildren.co.nz
>>>>
>>>> Tested on Children we believe is the Funnist Internet Based Toy Shop in
>>>> the world and we not only give you all the top branded products but also
>>>> help you discover products that you never knew existed.
>>>>
>>>>
>>>> _______________________________________________
>>>> Wekalist mailing list
>>>> Send posts to:
>>>> List info and subscription status:
>>>> https://list.scms.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:
>>> List info and subscription status:
>>> https://list.scms.waikato.ac.nz/mailman/listinfo/wekalist
>>> List etiquette:
>>> http://www.cs.waikato.ac.nz/~ml/weka/mailinglist_etiquette.html
>>>
>>>
>>
>>
>> --
>>
>> For all your kids (or young at heart) gift needs visit
>> www.testedonchildren.co.nz
>>
>> Tested on Children we believe is the Funnist Internet Based Toy Shop in
>> the world and we not only give you all the top branded products but also
>> help you discover products that you never knew existed.
>>
>>
>> _______________________________________________
>> Wekalist mailing list
>> Send posts to:
>> List info and subscription status:
>> https://list.scms.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:
> List info and subscription status:
> https://list.scms.waikato.ac.nz/mailman/listinfo/wekalist
> List etiquette:
> http://www.cs.waikato.ac.nz/~ml/weka/mailinglist_etiquette.html
>
>
--
For all your kids (or young at heart) gift needs visit
www.testedonchildren.co.nz
Tested on Children we believe is the Funnist Internet Based Toy Shop in the
world and we not only give you all the top branded products but also help
you discover products that you never knew existed.
it's work.
In the file arff isn't had defined the class attribute.
Exactly this line
@ATRIBUTTE class {valueone, valuetwo}
And that's the problem.
thanks for the patience.
Grettings
Jennifer.
2012/6/6 Paul <>
> Just to clarify - I've attached the three files I used to experiment with
> this. 1 input file (modified iris dataset ARFF) and two output files (one
> with the class left along, the other with the class temporarily unset).
>
> Below are the two commands I used to generate the output:
> weka.filters.unsupervised.attribute.ReplaceMissingValues -c last
> -unset-class-temporarily -i MissingClassiris.arff -o ReplacedClass.arff
> weka.filters.unsupervised.attribute.ReplaceMissingValues -c last -i
> MissingClassiris.arff -o NO_ReplacedClass.arff
>
> /paul
>
>
>
> On Thu, Jun 7, 2012 at 11:35 AM, Jennifer Maldonado <>wrote:
>
>>
>> 2012/6/6 Paul <>
>>
>>> That does seem strange. However when using the command line (although
>>> not intuitive) you have to define which attribute is the class. If you
>>> change your commands to the following (assuming your class value is the
>>> last attribute) it should work as design.
>>>
>>> java -classpath ./weka.jar
>>> weka.filters.unsupervised.attribute.ReplaceMissingValues *-c last*-unset-class-temporarily -i withmissingvalues.arff -o
>>> outputwithoutclass.arff
>>> java -classpath ./weka.jar
>>> weka.filters.unsupervised.attribute.ReplaceMissingValues *-c last* -i
>>> withmissingvalues.arff -o outputwithclass.arff
>>>
>>>
>> well, I probed again and nothing, I think that functionality is not
>> working..
>>
>> thanks
>>
>> Jennifer.
>>
>> HTH,
>>> /paul
>>>
>>>
>>>
>>> On Thu, Jun 7, 2012 at 9:25 AM, Jennifer Maldonado <>wrote:
>>>
>>>> Hi,
>>>> well, the file has missing values in the class attribute, but nothing,
>>>> is the same content between the them (outputs).
>>>>
>>>> Grettings.
>>>>
>>>> thanks.
>>>> Jennifer.
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> 2012/6/6 Paul <>
>>>>
>>>>> The difference will only be seen if you have missing values in your
>>>>> class attribute. Missing class attributes will be replaced if you unset the
>>>>> class - otherwise the class values will be left alone.
>>>>>
>>>>> HTH,
>>>>>
>>>>> /paul
>>>>>
>>>>>
>>>>> On Thu, Jun 7, 2012 at 8:33 AM, Jennifer Maldonado <>wrote:
>>>>>
>>>>>> Hi, all
>>>>>>
>>>>>> I recently executed the filter replace missing values, without the parameter
>>>>>> -unset-class-temporarily and with parameter -unset-class-temporarily
>>>>>> exactly:
>>>>>>
>>>>>> java -classpath ./weka.jar
>>>>>> weka.filters.unsupervised.attribute.ReplaceMissingValues
>>>>>> -unset-class-temporarily -i withmissingvalues.arff -o
>>>>>> outputwithoutclass.arff
>>>>>> java -classpath ./weka.jar
>>>>>> weka.filters.unsupervised.attribute.ReplaceMissingValues -i
>>>>>> withmissingvalues.arff -o outputwithclass.arff
>>>>>>
>>>>>> but both executions, his output file are same on content. It's this
>>>>>> behavior normal?
>>>>>> weka version: 3.6.7
>>>>>> java version "1.7.0_03"
>>>>>>
>>>>>> Grettings.
>>>>>> Jennifer.
>>>>>>
>>>>>>
>>>>>>
>>>>>> _______________________________________________
>>>>>> Wekalist mailing list
>>>>>> Send posts to:
>>>>>> List info and subscription status:
>>>>>> https://list.scms.waikato.ac.nz/mailman/listinfo/wekalist
>>>>>> List etiquette:
>>>>>> http://www.cs.waikato.ac.nz/~ml/weka/mailinglist_etiquette.html
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>> --
>>>>>
>>>>> For all your kids (or young at heart) gift needs visit
>>>>> www.testedonchildren.co.nz
>>>>>
>>>>> Tested on Children we believe is the Funnist Internet Based Toy Shop
>>>>> in the world and we not only give you all the top branded products but also
>>>>> help you discover products that you never knew existed.
>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> Wekalist mailing list
>>>>> Send posts to:
>>>>> List info and subscription status:
>>>>> https://list.scms.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:
>>>> List info and subscription status:
>>>> https://list.scms.waikato.ac.nz/mailman/listinfo/wekalist
>>>> List etiquette:
>>>> http://www.cs.waikato.ac.nz/~ml/weka/mailinglist_etiquette.html
>>>>
>>>>
>>>
>>>
>>> --
>>>
>>> For all your kids (or young at heart) gift needs visit
>>> www.testedonchildren.co.nz
>>>
>>> Tested on Children we believe is the Funnist Internet Based Toy Shop in
>>> the world and we not only give you all the top branded products but also
>>> help you discover products that you never knew existed.
>>>
>>>
>>> _______________________________________________
>>> Wekalist mailing list
>>> Send posts to:
>>> List info and subscription status:
>>> https://list.scms.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:
>> List info and subscription status:
>> https://list.scms.waikato.ac.nz/mailman/listinfo/wekalist
>> List etiquette:
>> http://www.cs.waikato.ac.nz/~ml/weka/mailinglist_etiquette.html
>>
>>
>
>
> --
>
> For all your kids (or young at heart) gift needs visit
> www.testedonchildren.co.nz
>
> Tested on Children we believe is the Funnist Internet Based Toy Shop in
> the world and we not only give you all the top branded products but also
> help you discover products that you never knew existed.
>
>
> _______________________________________________
> Wekalist mailing list
> Send posts to:
> List info and subscription status:
> https://list.scms.waikato.ac.nz/mailman/listinfo/wekalist
> List etiquette:
> http://www.cs.waikato.ac.nz/~ml/weka/mailinglist_etiquette.html
>
>