Generate Dataset

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

Generate Dataset

Bajraktarevic@t-online.de
Hi,

I'm beginner in Data Mining.
How can I generate an dataset (10 attributes+ class) that
suitable for Naive Bayes(classification accuracy) and
other dataset (10 attributes+ class) that suitable for
Decison Tree.

Thanks!

Best regards,
Amir Bajraktarevic



_______________________________________________
Wekalist mailing list
[hidden email]
https://list.scms.waikato.ac.nz/mailman/listinfo/wekalist
Reply | Threaded
Open this post in threaded view
|

Re: Generate Dataset

Mary.Felkin
Any text editor can write a dataset in arff format.

You write :

@RELATION <dataset name>

@ATTRIBUTE A1 <Either a list of comma-separated possible
values between {} or real>
@ATTRIBUTE A2 <Same as above>
etc
@ATTRIBUTE A10 <Same as above>
@ATTRIBUTE class <A list of comma-separated possible values between {}>

@DATA
<Values in a row per example, csv format, the last is the class>


Example: XOR.arff

@RELATION XOR

@ATTRIBUTE A1 {0, 1}
@ATTRIBUTE A2 {0, 1}
@ATTRIBUTE class {0, 1}

@DATA
0,0,0
0,1,1
1,0,1
1,1,0

Don't forget a newline at the end of the file, and to save it
with the extension .arff

Mary





[hidden email] wrote:

> Hi,
>
> I'm beginner in Data Mining.
> How can I generate an dataset (10 attributes+ class) that
> suitable for Naive Bayes(classification accuracy) and
> other dataset (10 attributes+ class) that suitable for
> Decison Tree.
>
> Thanks!
>
> Best regards,
> Amir Bajraktarevic
>
>
>
> _______________________________________________
> Wekalist mailing list
> [hidden email]
> https://list.scms.waikato.ac.nz/mailman/listinfo/wekalist
>


_______________________________________________
Wekalist mailing list
[hidden email]
https://list.scms.waikato.ac.nz/mailman/listinfo/wekalist