I have doubt with Naive bayes with numeric and non numeric features . like I have 5 independent independent parameter on these i want to classify data .
Male,Suspicion of Alcohol,Weekday,12am-4am,75,30-39 Male,Moving Traffic Violation,Weekday,12am-4am,0,20-24 Male,Suspicion of Alcohol,Weekend,4am-8am,12,40-49 Male,Suspicion of Alcohol,Weekday,12am-4am,0,50-59 Female,Road Traffic Collision,Weekend,12pm-4pm,0,20-24 Male,Road Traffic Collision,Weekday,12pm-4pm,0,25-29 Male,Road Traffic Collision,Weekday,8pm-12pm,0,Other Male,Other,Weekday,8am-12pm,23,60-69 Male,Moving Traffic Violation,Weekend,12pm-4pm,26,30-39 Female,Road Traffic Collision,Weekend,4am-8am,61,16-19 Male,Moving Traffic Violation,Weekend,4pm-8pm,74,25-29 Male,Road Traffic Collision,Weekday,12am-4am,0,Other Male,Moving Traffic Violation,Weekday,8pm-12pm,0,16-19 Male,Road Traffic Collision,Weekday,8pm-12pm,0,Other Male,Moving Traffic Violation,Weekend,4am-8am,0,30-39
You can see some parameters are numeric some are non numeric . Any know how to convert non numeric data to numeric data .
- How to convert non numeric to numeric
- If i use TF then it will be right or not
- If TF is right then why