0
$\begingroup$

Can a dataset with only binary digits 0's and 1's perform good classification such as decision tree and naive Bayes

$\endgroup$
1
  • 1
    $\begingroup$ That's just like true and false for the decision trees $\endgroup$
    – Aditya
    Mar 21 '18 at 22:43
1
$\begingroup$

Yes. Many data sets are one-hot encoded into only 0s and 1s because some ML algorithms work best that way.

http://scikit-learn.org/stable/modules/generated/sklearn.preprocessing.OneHotEncoder.html

$\endgroup$
2
  • $\begingroup$ How can I encode my dataset to work in weka and give correct cross validation $\endgroup$ Mar 22 '18 at 4:37
  • 1
    $\begingroup$ That is a separate and overly broad question. Since it sounds like you're just starting out, you might want to check out the book that the Weka authors wrote: cs.waikato.ac.nz/ml/weka/book.html $\endgroup$
    – CalZ
    Mar 22 '18 at 11:39

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.