I am trying to build a Machine Learning model that would predict the delay (the difference between the clear_date and the due_in_date) from the given dataset.
I've split the dataset into x_train, y_train, x_test, validation_set. I'm using Linear Regression model from sklearn library. When I try to fit my data into a Linear Regression model I get a weird error
could not convert string to float: 'CC6000'
How can I resolve this?
Here are the pictures of x_train and y_train [1]: https://i.stack.imgur.com/8RP2J.png [2]: https://i.stack.imgur.com/jB7qN.png [3]: https://i.stack.imgur.com/bDRQH.png