I am using Weka to classify a data set. The .arrf data file looks like this. The problem I am facing while classifying is that A lot of classifiers like NaiveBayes etc. won't take the string attribute to classify it. Those two string attributes are important features for classification. I tried converting the string to nominal type using the filter but it doesn't convert it to nominal. How should I go about it considering the dataset I have ?
@RELATION transaction
@ATTRIBUTE transactionType {'CC Credit',Trans,Exp,Dep,Check}
@ATTRIBUTE number numeric
@ATTRIBUTE posting {Yes,No}
@ATTRIBUTE String1 string
@ATTRIBUTE String2 string
@ATTRIBUTE amount real
@ATTRIBUTE class {1,2}
@DATA
'CC Credit',?,Yes,'XYZ Bank','ONLINE PYMT Aug',-1582100.38,1
Trans,?,Yes,?,'ACH DEBIT XYZ CREDIT CRD-EPAY',-59219.40,2
Exp,?,Yes,'First Nolastname','ACH DEBIT First Nolastname-RECEIVER',-176011.56,2
