我正在使用R執行我的分析,我將執行四種算法。分類任務中的所有二元預測變量
1. RF
2. Log Reg
3. SVM
4. LDA
我有50個預測變量和1個目標變量。我所有的預測變量和目標變量都只有二進制數字0和1。
我有以下問題:
Should I convert them all into factors?
Converting them into factors, and applying RF algorithms give 100% accuracy, I am very much surprised to see that as well.
Also, for other algorithms, how should i treat my variables priorly, before feeding them into my other algorithms.
感謝
https://stats.stackexchange.com/a/112052/1569 –
@HongOoi,即使在測試數據。 – Shivam