Thank you for answer.
I did that (encoding), but I would like algorithms from WEKA to
distinguish numerical from nominal attributes, cause it becomes highly
important there, do you know how to do it?
btw. I just get null pointer from
"Object predictedClassValue = knn.classify(inst);"
any idea how to check what went wrongin this case?
Best regards
Marcin Witkowski
W dniu 2015-09-04 o 13:23, Thomas Abeel pisze:
> There are currently only numerical attributes. You can easily encode
> nominal attributes either numerically or binary.
>
> best,
> Thomas
>
> On 9/4/2015 11:44 AM, Marcin wrote:
>> Hi all,
>>
>> I am usinf Java-ml for last two days, and I come across the problem of
>> data types. I did not find information whether Java-ml treats attributes
>> as nominal or numerical and how to force him to treat them as nominal.
>>
>> Thanks for all the help.
>>
>> Best Regards
>> Marcin Witkowski
>>
>> ------------------------------------------------------------------------------
>> _______________________________________________
>> Java-ml-support mailing list
>> Jav...@li...
>> https://lists.sourceforge.net/lists/listinfo/java-ml-support
>
> ------------------------------------------------------------------------------
> _______________________________________________
> Java-ml-support mailing list
> Jav...@li...
> https://lists.sourceforge.net/lists/listinfo/java-ml-support
>
|