Re: [R] [e1071] Features that are factors when exporting a model with write.svm

2014-02-21 Thread Matthew Wood
the scale file. On Fri, Feb 21, 2014 at 1:50 PM, Matthew Wood wrote: > I have a trained SVM that I want to export with write.svm and > eventually use in libSVM. Some of my features are factors. Standard > libSVM only works with features that are doubles, so I need to figure > ou

[R] [e1071] Features that are factors when exporting a model with write.svm

2014-02-21 Thread Matthew Wood
I have a trained SVM that I want to export with write.svm and eventually use in libSVM. Some of my features are factors. Standard libSVM only works with features that are doubles, so I need to figure out how my features should be represented and used. How does e1071 treat factors in an SVM? For fe