I want to do survival analysis using scikitlearn (random forest, SVM). The data in the examples on scikitlearn is online, but my dataset is locally available. However, when I am applying the fit, it gives me an error as shown in the attached images.
my target is failure (1=failure, 0= censored) Can anyone help me solve this error
The screenshots of my data and the error is attached herewith. However, when I convert the data to array as attached in the image 2, i got another error as shown in figure 3.