I am performing regression over the data set.This is my dataset
I am performing-: regr = linear_model.LinearRegression() regr.fit(feat1, label)
Now I am getting the error -:This is the error message
As you can see the error is in 76.76.172.48 which is my SrcAddr column in data set. How can I solve this error? Pardon if the question seems not being clearly explained.
It seems that all the related solutions are converting the field into numeric by method of One Hot Encoding but I want to retain the IP field as it is.